* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #292c33;
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
    padding: 20px;
    /* Ajustamos el padding para móviles */
    padding: clamp(10px, 5vw, 20px);
}

.profile {
    text-align: center;
    margin-bottom: 40px;
}

.avatar {
    width: clamp(120px, 20vw, 140px); 
    height: clamp(120px, 20vw, 140px);
    border-radius: 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: clamp(18px, 4vw, 24px); 
    color: #292c33;
    font-weight: bold;
    overflow: hidden;
}
.logo{
    object-fit: cover;
}
h1 {
    font-size: clamp(16px, 5vw, 20px);  /* Título responsive */
    margin-bottom: 10px;
    word-wrap: break-word;  /* Previene desbordamiento de texto */
}

p {
    color: #cccccc;
    margin-bottom: 30px;
    font-size: clamp(14px, 4vw, 16px);  /* Texto responsive */
    padding: 0 clamp(10px, 3vw, 20px);  /* Padding responsive */
    line-height: 1.4;
}

.links {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 3vw, 15px);  /* Espaciado responsive entre cards */
}

.link-card {
    background-color: #cff300;
    padding: clamp(14px, 4vw, 16px) clamp(16px, 5vw, 20px);  /* Padding responsive */
    border-radius: 8px;
    text-decoration: none;
    color: #292c33;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size: clamp(14px, 4vw, 16px);  /* Texto responsive */
}

/* Media queries para ajustes específicos */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .links {
        gap: 10px;
    }
    
    .link-card {
        padding: 14px 16px;
    }
}

/* Media query para pantallas muy pequeñas */
@media (max-width: 320px) {
    .container {
        padding: 10px;
    }
    
    .avatar {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

/* Media query para pantallas grandes */
@media (min-width: 1200px) {
    .container {
        max-width: 700px;  /* Un poco más ancho en pantallas grandes */
    }
    
    .link-card:hover {
        transform: scale(1.03);  /* Efecto hover más pronunciado en desktop */
    }
}

.link-card:hover {
    transform: scale(1.02);
    background-color: #cff300;
}

.link-card:active {
    transform: scale(0.98);  /* Efecto al hacer click/tap */
}

.dots {
    font-weight: bold;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;  /* Para el efecto ripple */
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
/*.link-card:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(6) { animation-delay: 0.6s; }*/

/* Aseguramos que el texto no se desborde en ningún caso */
.link-card span {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}