:root {
    --bg-color: #0A0A0A;
    --gold-primary: #D4AF37;
    --gold-secondary: #AA8222;
    --gold-light: #F9E596;
    --text-main: #EFEFEF;
    --text-muted: #A0A0A0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effect & Watermark */
.glow-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, rgba(10, 10, 10, 1) 40%);
    z-index: -2;
    pointer-events: none;
}

.bg-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 800px;
    height: auto;
    opacity: 0.16;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
    z-index: -1;
    pointer-events: none;
}

/* Base Styles & Utilities */
h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
}

.gold-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 15px rgba(212, 175, 55, 0.2);
}

.gold-link {
    color: var(--gold-primary);
    text-decoration: none;
}

.gold-link:hover {
    text-decoration: underline;
}

/* Bilingual Support */
body.es .lang-en {
    display: none !important;
}

body.en .lang-es {
    display: none !important;
}

/* Header Utilities & Language Switcher */
.lang-btn {
    background: none;
    border: none;
    color: var(--gold-primary);
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn.active {
    font-weight: 700;
    text-shadow: 0px 0px 8px rgba(212, 175, 55, 0.4);
}

.lang-btn:hover {
    color: var(--text-main);
}

.lang-divider {
    color: var(--gold-primary);
    opacity: 0.6;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.max-w-lg {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 4rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.w-full {
    width: 100%;
    display: block;
    text-align: center;
}

/* Navbar */
.navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 130px;
    /* Nuevo alto Desktop */
    padding: 0 4%;
    background: #000;
    position: fixed;
    width: 100%;
    z-index: 2000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Desktop Layout */
.logo-wrapper {
    order: 1;
    flex: 0 1 auto;
}

.logo-wrapper img {
    height: 115px;
    /* Nuevo tamaño logo Desktop */
    width: auto;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
    display: block;
    transition: all 0.3s ease;
}

.nav-container {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
}

.btn-outline {
    order: 3;
    margin: 0 25px;
}

/* Botón posicionado antes del idioma */
.lang-switcher {
    order: 4;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.nav-links a:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    border: 2px solid var(--gold-primary);
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gold-primary);
    color: #000000;
    padding: 1.2rem 3rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid var(--gold-primary);
    cursor: pointer;
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

/* Forzar inversión de colores en TODOS los botones */
.btn-primary:hover,
.btn-primary:active,
.btn-outline:hover,
.btn-outline:active,
.age-card .btn-primary:hover,
.age-card .btn-primary:active,
.navbar .btn-outline:hover,
.navbar .btn-outline:active {
    background-color: #D4AF37 !important;
    color: #000000 !important;
    box-shadow: 0px 4px 10px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-1px) !important;
    transition: all 0.3s ease-in-out !important;
}

.btn-outline:hover span,
.btn-primary:hover span {
    color: #000000 !important;
}

/* Efecto hover de inversión para el botón de compra de entrada */
#entradas .btn-buy-ticket:hover,
#entradas .btn-buy-ticket:active {
    background-color: #000000 !important;
    color: #D4AF37 !important;
    border-color: #D4AF37 !important;
    box-shadow: 0px 4px 10px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-1px) !important;
    transition: all 0.3s ease-in-out !important;
}

#entradas .btn-buy-ticket:hover span {
    color: #D4AF37 !important;
}

/* Sections */
.section {
    padding: 5rem 2rem;
}

.alt-bg {
    background-color: rgba(255, 255, 255, 0.02);
}

.container,
.hero-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 0 15px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.section-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    padding-top: 150px;
    /* Protección del H1: 130px del header + 20px de respiro */
    background-image: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)), url('imagenes/Nightclub_lounge.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.logo-title {
    font-size: 4.2rem !important;
    text-align: center !important;
    margin: 0 auto 20px auto !important;
    width: 92%;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 2.2rem !important;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.hero .subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.hero-details {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

/* Visibilidad extrema para campos de formulario */
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    color: #FFFFFF !important;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Forzar color brillante en placeholders (textos de fondo) */
.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 400;
}

/* Sobrescribir colores opacos en las etiquetas (labels) */
.rsvp-form label {
    color: #FFFFFF !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 2.5rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1.05rem;
}

/* Highlight Box */
.highlight-box {
    background: #F5EEDC;
    /* Tono arena claro */
    border: 1px solid var(--gold-secondary);
    padding: 3rem 2rem;
    border-radius: 8px;
    color: #000000 !important;
}

.highlight-box p {
    color: #000000 !important;
    font-weight: 500;
}

.highlight-box h3,
.highlight-box .gold-text {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
    text-shadow: none;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold-primary);
}

.timeline-icon {
    font-size: 2rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1.05rem;
}

/* --- Sección Edades Consolidada --- */
.age-grid {
    display: flex !important;
    justify-content: center !important;
    margin-top: 2rem;
}

.age-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition-fast);
    max-width: 800px !important;
    width: 100%;
    margin: 0 auto;
}

.age-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-5px);
}

.age-img {
    width: 100%;
    height: auto !important;
    max-height: 550px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .age-card {
        max-width: 100% !important;
    }

    .age-img {
        height: 350px !important;
    }
}

.venue-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

/* Hosts & Venue */
.venue-placeholder {
    width: 100%;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: 8px;
}

.host-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.host-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.host-photo {
    width: 170px;
    /* Incremento del ~18% aplicado */
    height: 170px;
    /* Incremento del ~18% aplicado */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    border: 2px solid var(--gold-primary);
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-fast);
}

/* Control de contención para móvil */
@media (max-width: 768px) {
    .host-photo {
        width: 155px;
        height: 155px;
    }
}

.host-card h3 {
    margin-bottom: 0.5rem;
}

.host-role {
    font-size: 0.95rem;
    color: var(--gold-light);
    font-weight: 300;
}

.host-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Tickets */
.ticket-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 1), rgba(10, 10, 10, 1));
    border: 1px solid var(--gold-primary);
    padding: 3rem;
    border-radius: 8px;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.1);
}

.ticket-card .price {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    margin: 1rem 0;
}

.ticket-card p.gold-text {
    font-weight: 600;
}

.ticket-includes {
    text-align: left;
    list-style: none;
    margin-bottom: 2rem;
}

.ticket-includes li {
    margin-bottom: 1rem;
    color: #FFFFFF !important;
    /* Blanco brillante */
    font-weight: 500;
    letter-spacing: 0.3px;
}

.check-icon {
    color: #2ecc71;
    margin-right: 10px;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
    /* Resalte glow verde */
}

.ticket-note {
    font-size: 0.8rem;
    color: var(--gold-primary);
    margin-bottom: 2rem;
}

/* Sponsors */
.sponsor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.sponsor-list span {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--text-muted);
}

/* Footer */
footer {
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 3rem 0;
    text-align: center;
}

/* Custom File Upload */
.custom-file-upload {
    border: 1px solid #D4AF37;
    color: #F5EEDC;
    background: black;
    padding: 12px;
    display: block;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
}

.custom-file-upload:hover {
    background: #D4AF37 !important;
    color: black !important;
}

.custom-file-upload input[type="file"] {
    display: none;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px !important;
        height: 110px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .logo-wrapper {
        order: 1 !important;
        flex: 0 1 auto;
        margin: 0;
    }

    .logo-wrapper img {
        height: 75px !important;
        max-width: 100% !important;
        margin: 0;
        display: block;
    }

    .navbar .btn-outline {
        order: 2 !important;
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
        margin: 0 5px !important;
        display: inline-block !important;
        flex: 0 1 auto;
    }

    .lang-switcher {
        order: 3 !important;
        flex: 0 1 auto;
        margin: 0;
    }

    .menu-toggle {
        order: 4 !important;
        display: block !important;
    }

    .nav-container {
        display: none !important;
    }

    /* Se oculta para el menu movil */

    .nav-container.active {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        border-left: 1px solid rgba(212, 175, 55, 0.2);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-links a {
        margin: 0;
        font-size: 1.5rem;
    }

    .hero {
        background-attachment: scroll !important;
        padding-top: 130px !important;
        min-height: 80vh !important;
    }

    .logo-title {
        font-size: 2.4rem !important;
        margin-bottom: 5px !important;
    }

    .hero-subtitle {
        font-size: 1.2rem !important;
    }

    p {
        margin-bottom: 0.8rem !important;
    }

    .section {
        padding: 2.5rem 1rem !important;
    }

    .highlight-box {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 1.5rem;
    }

    .highlight-box h3,
    .highlight-box .gold-text {
        font-size: 1.3rem;
    }

    .highlight-box p {
        font-size: 0.95rem;
    }

    .bg-watermark {
        width: 90%;
    }

    /* --- AJUSTES DE ESCALA Y ESPACIADO MÓVIL --- */
    /* Tipografía */
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.2 !important;
    }

    .logo-title {
        font-size: 2.1rem !important;
        line-height: 1.1 !important;
        margin-bottom: 10px !important;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Márgenes y Padding paramétrico */
    .section {
        padding: 3rem 1rem !important;
    }

    .mt-4 {
        margin-top: 2rem !important;
    }

    .mb-4 {
        margin-bottom: 1.5rem !important;
    }

    /* Contenedores y Grillas */
    .features-grid,
    .age-grid,
    .host-grid {
        gap: 1.2rem !important;
    }

    .feature-card {
        padding: 1.5rem !important;
    }

    .ticket-card {
        padding: 1.5rem !important;
    }

    .rsvp-form {
        padding: 1.5rem !important;
    }
}

@media (max-width: 412px) {

    /* Samsung S20/iPhone smaller screens */
    .logo-title {
        font-size: 2.2rem !important;
        /* Force smaller size for vertical screens */
    }
}

/* GDPR Gatekeeper Modal - Legal Shield */
.gdpr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
}

.gdpr-modal-box {
    background: #0A0A0A;
    border: 1px solid var(--gold-primary);
    padding: 2.5rem;
    max-width: 700px;
    width: 90%;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.15);
}

.gdpr-text-scroll {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 2rem;
    padding-right: 10px;
}

.gdpr-text-scroll::-webkit-scrollbar {
    width: 6px;
}

.gdpr-text-scroll::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}

.gdpr-modal-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: justify;
    line-height: 1.6;
    margin: 0;
}

.gdpr-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .gdpr-modal-box {
        padding: 1.5rem;
    }

    .gdpr-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .gdpr-buttons button {
        width: 100%;
    }
}

/* Custom Radio Buttons (Check Marks) */
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #EFEFEF;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
}

.radio-label input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label:hover .radio-custom {
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.radio-label input:checked+.radio-custom {
    background: rgba(212, 175, 55, 0.1);
}

.radio-label input:checked+.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--gold-primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}

/* Registro Wrapper Offset (Evita solapamiento con Navbar) */
.registro-wrapper {
    padding-top: 160px !important;
}

@media (max-width: 768px) {
    .registro-wrapper {
        padding-top: 130px !important;
        padding-bottom: 2rem !important;
    }
}