/* ============================================
   BONITAS® PROFILE - ESTILOS
   Diseño oscuro, responsive, modern
   ============================================ */

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #4a9eff;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

/* Container principal */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px;
}

/* Header con logo y descripción */
.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.3);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(74, 158, 255, 0.5);
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 20px 0 10px;
    background: linear-gradient(135deg, #4a9eff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

/* Links principales */
.links-container {
    margin-bottom: 40px;
}

.link-button {
    display: block;
    background: var(--secondary-color);
    color: var(--text-primary);
    text-decoration: none;
    padding: 18px 24px;
    margin-bottom: 16px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.3);
    background: var(--primary-color);
}

.link-button:active {
    transform: translateY(-1px);
}

.link-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Botón especial WhatsApp Shop */
.link-button.whatsapp-shop {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    border: 2px solid #25D366;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 24px;
}

.link-button.whatsapp-shop .button-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 4px;
}

.link-button.whatsapp-shop .button-title {
    font-weight: 600;
    font-size: 1.05rem;
}

.link-button.whatsapp-shop .button-subtitle {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.9);
    font-weight: 400;
    line-height: 1.3;
}

.link-button.whatsapp-shop .button-subtitle strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000;
}

.link-button.whatsapp-shop:hover {
    background: linear-gradient(135deg, #0d6b5f 0%, #1faa52 100%);
    border-color: #1faa52;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    transform: translateY(-4px);
}

.link-button.whatsapp-shop::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Redes sociales */
.social-container {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeIn 1s ease;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-link:hover {
    border-color: var(--accent-color);
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 16px rgba(74, 158, 255, 0.3);
}

.social-link.instagram:hover { border-color: #E4405F; }
.social-link.facebook:hover { border-color: #1877F2; }
.social-link.youtube:hover { border-color: #FF0000; }

/* QR Code */
.qr-container {
    text-align: center;
    margin: 40px 0;
    animation: fadeIn 1.2s ease;
}

.qr-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#qr-code {
    display: inline-block;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.qr-image {
    display: block;
    width: 180px;
    height: 180px;
}

/* Ocultar QR en móvil */
@media (max-width: 768px) {
    .qr-container {
        display: none !important;
    }
}

/* Botón WhatsApp flotante */
#whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    transition: var(--transition);
    z-index: 1000;
    animation: pulse 2s infinite;
}

#whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.7);
}

/* Footer */
.footer {
    text-align: center;
    padding: 15px 10px 10px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.8);
    }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 10px;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .link-button {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    
    .link-button.whatsapp-shop {
        padding: 18px 20px;
        gap: 12px;
    }
    
    .link-button.whatsapp-shop .button-title {
        font-size: 1rem;
    }
    
    .link-button.whatsapp-shop .button-subtitle {
        font-size: 0.7rem;
    }
    
    .link-button.whatsapp-shop .button-subtitle strong {
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    #whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.8rem;
    }
    
    .qr-image {
        width: 160px;
        height: 160px;
    }
    
    .footer {
        padding: 10px 5px 5px;
        font-size: 0.75rem;
    }
    
    .social-container {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.3rem;
    }
    
    .brand-description {
        font-size: 0.9rem;
    }
    
    .link-button {
        padding: 14px 18px;
    }
}
