:root {
    /* --- PALETA DE ORO REALISTA (STITCH STYLE) --- */
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #996515;
    --gold-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #996515 100%);
    --gold-glow: 0 0 20px rgba(212, 175, 53, 0.4);

    /* --- TONOS VINO PROFUNDOS (TEXTURED) --- */
    --wine-dark: #0f0202;
    --wine-medium: #1f0404;
    --wine-rich: radial-gradient(circle at center, #2d0a0a 0%, #0f0202 100%);

    /* --- TIPOGRAFÍA Y TEXTO (NO BLANCO PURO) --- */
    --text-main: #f5f5f5;
    /* Blanco roto/seda */
    --text-champagne: #eee1ba;
    /* Champán para párrafos premium */
    --text-muted: #a89a8e;
    /* Gris cálido */

    /* --- CRISTALERIA (GLASSMORPHISM) --- */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 53, 0.15);

    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--wine-rich);
    color: var(--text-champagne);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Tipografía de Lujo */
h1,
h2,
h3,
h4,
.cinzel {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.gold-title {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    letter-spacing: 4px;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Header & Nav - State of the Art Centered */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-container {
    height: 90px;
    display: flex;
    justify-content: center;
    /* CENTRADO TOTAL */
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-champagne);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--gold-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-light);
    text-shadow: 0 0 15px rgba(212, 175, 53, 0.4);
}

.btn-nav {
    background: var(--gold-gradient);
    color: var(--wine-dark) !important;
    padding: 12px 35px !important;
    font-weight: 800 !important;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(212, 175, 53, 0.2);
    margin-left: 20px;
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 53, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-bottom: 150px;
    background: radial-gradient(circle at center, var(--wine-medium) 0%, var(--wine-dark) 100%);
}

.hero-content {
    position: relative;
    bottom: auto;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    left: auto;
    right: auto;
}

.hero-badge {
    color: var(--gold-primary);
    font-size: 0.8rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.glitter-text {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #fff 0%, var(--gold-light) 40%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(212, 175, 53, 0.3));
}

.accent-text {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.btn-primary {
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    color: var(--wine-dark);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 53, 0.4);
}

.btn-secondary {
    padding: 18px 45px;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.pack-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pack-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.pack-list li::before {
    content: '✦ ';
    color: var(--gold-primary);
}

.price-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.price-main {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 5px;
}

.price-footer small {
    display: block;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

.kit-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 25px;
}

.glass-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--gold-light);
}

.glass-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.special-card {
    background: linear-gradient(135deg, rgba(212, 175, 53, 0.05), rgba(0, 0, 0, 0));
}

/* Dulce Tentación Teaser */
.dt-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 60px;
    background: linear-gradient(135deg, var(--wine-medium), var(--wine-light));
    border: 1px solid var(--glass-border);
}

.floating-img {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.btn-whatsapp {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 35px;
    background: #25D366;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Botones de Contacto Dark (Para fondos dorados) */
.btn-whatsapp-dark,
.btn-phone-dark {
    display: inline-block;
    background: #000;
    color: var(--gold-primary);
    padding: 18px 40px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 2px solid #000;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-whatsapp-dark:hover,
.btn-phone-dark:hover {
    background: #111;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--gold-light);
}

.social-links-contact {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-link-item {
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.85;
}

.social-link-item:hover {
    opacity: 1;
    transform: translateY(-4px);
}

/* Footer */
.main-footer {
    background: #000;
    border-top: 2px solid var(--gold-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-grid h4 {
    color: var(--gold-primary);
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {

    .dual-grid,
    .dt-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .specs-mini {
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* --- GENERADOR DOBLE TENTACIÓN (INTRIGA) --- */
.gala-generator {
    background: radial-gradient(circle at center, var(--wine-medium) 0%, var(--wine-dark) 100%);
    border: 2px solid var(--gold-primary);
    padding: 80px 40px;
    border-radius: 15px;
    margin: 100px auto;
    max-width: 1100px;
}

.generator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.column-title {
    font-family: 'Cinzel', serif;
    color: var(--gold-light);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-align: center;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.selector-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.select-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 22px;
    color: var(--text-champagne);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.select-btn:hover {
    background: rgba(212, 175, 53, 0.1);
    border-color: var(--gold-primary);
    transform: scale(1.02);
}

.select-btn.active {
    background: var(--gold-gradient);
    color: #000;
    font-weight: 900;
    box-shadow: 0 0 30px rgba(212, 175, 53, 0.3);
    border-color: #fff;
}

.reveal-container {
    margin-top: 80px;
    text-align: center;
    perspective: 2000px;
    min-height: 520px;
}

.gala-card {
    position: relative;
    width: 380px;
    height: 520px;
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.8s ease;
    opacity: 0;
    pointer-events: none;
}

.gala-card.show {
    opacity: 1;
    pointer-events: all;
}

.gala-card.flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    border: 2px solid var(--gold-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
}

.card-front {
    background: #000;
}

.card-back {
    background: linear-gradient(135deg, #0f0202, #2d0a0a);
    transform: rotateY(180deg);
}

.card-logo {
    width: 140px;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 15px rgba(212, 175, 53, 0.3));
}

.song-title {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 25px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 20px rgba(212, 175, 53, 0.4);
    letter-spacing: 3px;
}

.song-desc {
    font-size: 1rem;
    color: var(--text-champagne);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 40px;
    line-height: 1.6;
}

.reveal-hint {
    color: var(--gold-light);
    font-size: 0.75rem;
    letter-spacing: 4px;
    margin-top: 30px;
    text-transform: uppercase;
    opacity: 0.7;
}

@keyframes fadeInGala {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* RESPONSIVE PANTALLAS PEQUEÑAS Y MÓVILES */
@media (max-width: 900px) {

    /* Barra de navegación móvil: Fix del scroll horizontal y visibilidad de pestañas */
    .nav-container {
        padding: 0 10px;
        justify-content: flex-start;
    }

    .nav-links {
        gap: 15px;
        margin: 0;
        padding: 0 5px;
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        /* Permitir suave deslizamiento */
        align-items: center;
    }

    /* Ocultar barra de scroll pero mantener funcionalidad */
    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links li {
        /* CRÍTICO: Evita que los botones se encojan y desaparezcan */
        flex-shrink: 0;
        display: flex;
    }

    .nav-links a {
        white-space: nowrap;
        font-size: 0.75rem;
        letter-spacing: 1px;
        padding: 8px 5px;
    }

    .btn-nav {
        padding: 8px 15px !important;
        font-size: 0.7rem !important;
        margin-left: 0;
    }

    .kit-hero .gold-title,
    .section-header .gold-title {
        font-size: 2rem !important;
    }
}