/* ========================================
   PRÍNCIPE Y CENTAURO - ESTILOS PRINCIPALES
   Página de Enlaces Sociales
   ======================================== */

/* ===== VARIABLES Y RESET ===== */
:root {
    /* Paleta de colores - Elegancia dorada y beige */
    --color-gold-primary: #C4A662;
    --color-gold-secondary: #B8945F;
    --color-gold-light: #D4B87C;
    --color-gold-dark: #9E824D;
    --color-beige-light: #F5F1E8;
    --color-beige: #E8DCC8;
    --color-cream: #FFF8F0;
    --color-brown-soft: #8B7355;
    --color-brown-dark: #5C4E3B;
    --color-text-dark: #2C2416;
    --color-white: #FFFFFF;
    
    /* Tipografía */
    --font-title: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Sombras */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 12px 32px rgba(0, 0, 0, 0.15);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #F5F1E8 0%, #E8DCC8 50%, #F5F1E8 100%);
    color: var(--color-text-dark);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ===== DECORACIÓN DE FONDO ===== */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(196, 166, 98, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(184, 148, 95, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* ===== HEADER ===== */
.header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
}

.logo-container {
    margin-bottom: var(--spacing-md);
    animation: logoFloat 3s ease-in-out infinite;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(196, 166, 98, 0.3));
    transition: transform var(--transition-medium);
}

.logo:hover {
    transform: scale(1.05);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.main-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold-dark);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--color-brown-soft);
    font-weight: 400;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto var(--spacing-md);
    padding: 0 var(--spacing-sm);
}

.decorative-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold-primary), transparent);
    margin: var(--spacing-md) auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold-primary);
    font-size: 0.8rem;
}

.decorative-line::before {
    left: -20px;
}

.decorative-line::after {
    right: -20px;
}

/* ===== SECCIÓN DESCRIPTIVA ===== */
.description {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md);
}

.tagline {
    font-size: 1.3rem;
    color: var(--color-brown-dark);
    font-weight: 500;
    line-height: 1.8;
    font-style: italic;
}

.highlight {
    color: var(--color-gold-primary);
    font-weight: 600;
    position: relative;
}

/* ===== BOTONES DE REDES SOCIALES ===== */
.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.social-button {
    display: block;
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-secondary) 100%);
    color: var(--color-white);
    text-decoration: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

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

.social-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: var(--color-gold-light);
}

.social-button:active {
    transform: translateY(-2px) scale(1.01);
}

/* INSTAGRAM - Colores originales con gradiente */
.social-button.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-button.instagram:hover {
    border-color: #f09433;
    box-shadow: 0 12px 32px rgba(240, 148, 51, 0.4);
}

/* FACEBOOK - Colores originales */
.social-button.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.social-button.facebook:hover {
    border-color: #1877F2;
    box-shadow: 0 12px 32px rgba(24, 119, 242, 0.4);
}

/* WHATSAPP - Colores originales */
.social-button.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.social-button.whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

/* HISTORY - Plateado elegante */
.social-button.silver {
    background: linear-gradient(135deg, #E0E0E0 0%, #C0C0C0 25%, #A0A0A0 50%, #B0B0B0 75%, #F0F0F0 100%);
    color: #333; /* Darker text for better contrast on silver */
}

.social-button.silver .button-description {
    color: #444;
}

.social-button.silver:hover {
    border-color: #E0E0E0;
    box-shadow: 0 12px 32px rgba(192, 192, 192, 0.4);
}

/* OFFICIAL - Dorado más intenso/premium */
.social-button.official {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A028 25%, #FFD700 50%, #C5A028 75%, #D4AF37 100%);
}

.social-button.official:hover {
    border-color: #FFD700;
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5);
}

.button-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.button-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.button-title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.button-description {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 400;
}

/* ===== SECCIÓN DUALIDAD ===== */
.duality-section {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.duality-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.duality-item {
    flex: 1;
    text-align: center;
}

.duality-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--color-gold-dark);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    letter-spacing: 1.5px;
}

.duality-desc {
    font-size: 0.95rem;
    color: var(--color-brown-soft);
    font-style: italic;
    margin-bottom: var(--spacing-xs);
}

/* NUEVO: Nombres de fundadores */
.founder-name {
    font-size: 1rem;
    color: var(--color-gold-primary);
    font-weight: 600;
    font-family: var(--font-title);
    margin-top: var(--spacing-xs);
    letter-spacing: 0.5px;
}

.divider {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex: 0.3;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-primary), transparent);
}

.divider-icon {
    color: var(--color-gold-primary);
    font-size: 1.2rem;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
}

.copyright {
    font-size: 0.9rem;
    color: var(--color-brown-soft);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* NUEVO: Icono de verificado */
.verified-icon {
    color: var(--color-gold-primary);
    font-size: 1rem;
    animation: verifiedPulse 2s ease-in-out infinite;
}

@keyframes verifiedPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ===== ANIMACIONES ===== */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(5) {
    animation-delay: 0.5s;
}

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

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .social-button {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .button-title {
        font-size: 1.1rem;
    }
    
    .button-description {
        font-size: 0.9rem;
    }
    
    .icon {
        font-size: 1.8rem;
        min-width: 45px;
    }
    
    .founder-name {
        font-size: 0.9rem;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .container {
        padding: var(--spacing-sm);
    }
    
    .main-title {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }
    
    .subtitle {
        font-size: 0.95rem;
        padding: 0 var(--spacing-xs);
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .logo {
        max-width: 130px;
    }
    
    .social-button {
        padding: var(--spacing-sm);
    }
    
    .button-content {
        gap: var(--spacing-sm);
    }
    
    .button-title {
        font-size: 1rem;
    }
    
    .button-description {
        font-size: 0.85rem;
    }
    
    .icon {
        font-size: 1.6rem;
        min-width: 40px;
    }
    
    .duality-container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .divider {
        width: 100%;
        flex-direction: row;
    }
    
    .duality-title {
        font-size: 1.2rem;
    }
    
    .duality-desc {
        font-size: 0.9rem;
    }
    
    .founder-name {
        font-size: 0.85rem;
    }
    
    .copyright {
        font-size: 0.85rem;
        flex-wrap: wrap;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 360px) {
    .main-title {
        font-size: 1.5rem;
    }
    
    .logo {
        max-width: 110px;
    }
    
    .button-title {
        font-size: 0.95rem;
    }
    
    .button-description {
        font-size: 0.8rem;
    }
    
    .founder-name {
        font-size: 0.8rem;
    }
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enfoque visible para teclado */
.social-button:focus {
    outline: 3px solid var(--color-gold-primary);
    outline-offset: 4px;
}

/* ===== MEJORAS DE CARGA ===== */
@media (prefers-color-scheme: dark) {
    /* Opcional: modo oscuro en el futuro */
}
