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

body {
    font-family: Arial, sans-serif;
    background: #0b0b0b;
    color: white;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85)),
        #151515;
}

.overlay h1 {
    font-size: 64px;
    margin-bottom: 15px;
}

.overlay p {
    font-size: 22px;
    margin-bottom: 30px;
    color: #cccccc;
}

.btn,
button {
    display: inline-block;
    background: white;
    color: black;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover,
button:hover {
    background: #dddddd;
}

.info,
.tickets {
    max-width: 900px;
    margin: auto;
    padding: 80px 20px;
    text-align: center;
}

.info h2,
.tickets h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

.info p {
    color: #bbbbbb;
    font-size: 18px;
    line-height: 1.6;
}

.ticket-card {
    background: #171717;
    max-width: 400px;
    margin: 30px auto 0;
    padding: 35px;
    border-radius: 14px;
}

.ticket-card h3 {
    font-size: 26px;
}

.price {
    font-size: 32px;
    font-weight: bold;
    margin: 20px 0;
}

.ticket-card label {
    display: block;
    margin-bottom: 10px;
}

.ticket-card select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 7px;
    font-size: 16px;
}

.ticket-card button {
    width: 100%;
}

footer {
    text-align: center;
    padding: 30px;
    color: #777777;
}

.checkout-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.checkout-card {
    width: 100%;
    max-width: 500px;
    background: #171717;
    padding: 40px;
    border-radius: 15px;
}

.checkout-card h1 {
    margin-bottom: 30px;
    text-align: center;
}

.summary {
    background: #222222;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.summary p {
    margin: 10px 0;
}

.total {
    font-size: 22px;
}

.checkout-card label {
    display: block;
    margin: 15px 0 8px;
}

.checkout-card input {
    width: 100%;
    padding: 12px;
    border-radius: 7px;
    border: none;
    font-size: 16px;
}

.checkout-card button {
    width: 100%;
    margin-top: 25px;
}

.ticket-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.digital-ticket {
    width: 100%;
    max-width: 420px;
    background: #171717;
    padding: 35px;
    border-radius: 16px;
    text-align: center;
}

.digital-ticket h1 {
    font-size: 34px;
    margin-bottom: 10px;
}

.ticket-label {
    color: #999;
    margin-bottom: 25px;
}

#ticketInfo p {
    margin: 10px 0;
}

#qrImage {
    width: 260px;
    max-width: 100%;
    background: white;
    padding: 12px;
    margin: 25px 0;
    border-radius: 12px;
}

.ticket-warning {
    color: #aaa;
    font-size: 14px;
}

.ticket-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.ticket-options .ticket-card {
    margin: 30px 0 0;
}

.ticket-card.vip {
    border: 1px solid #ffffff;
}

/* =========================================
   SCANNER
========================================= */

.scanner-login-text {
    text-align: center;
    margin-bottom: 20px;
}

.scanner-password {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    padding: 12px;
}

.scanner-login-resultado {
    margin-top: 15px;
    text-align: center;
}

.scanner-panel-oculto {
    display: none;
}

.scanner-reader {
    width: 100%;
    margin-bottom: 20px;
}

.scanner-resultado {
    margin-top: 25px;
    text-align: center;
}

.scanner-siguiente-oculto {
    display: none;
    margin-top: 20px;
}

/* =====================================================
   TECHNODRIFT - NUEVA HOME
   Estos estilos solamente afectan index.html
===================================================== */

.home-page {
    margin: 0;
    min-height: 100vh;
    background: #050505;
    color: #ffffff;
    overflow-x: hidden;
}


/* =====================================================
   LANDING
===================================================== */

.home-page .landing {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}


/* Imagen original de TechnoDrift */

.home-page .landing-background {
    position: fixed;
    inset: 0;

    background-image:
        url("images/technodrift-bg.jpeg");

    background-repeat: no-repeat;
    background-position: center 42%;
    background-size: min(900px, 90vw);

    opacity: 0.72;

    z-index: -3;

    pointer-events: none;
}


/* Oscurece la imagen para permitir leer
   correctamente el contenido */

.home-page .landing-overlay {
    position: fixed;
    inset: 0;

    background:
        radial-gradient(circle at center 38%,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.40) 45%,
            rgba(0, 0, 0, 0.92) 100%),
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.88));

    z-index: -2;

    pointer-events: none;
}


/* =====================================================
   CONTENIDO
===================================================== */

.home-page .landing-content {
    position: relative;
    z-index: 1;

    width: min(1100px, 92%);

    margin: 0 auto;

    padding:
        90px 0 55px;

    text-align: center;
}


/* =====================================================
   MARCA
===================================================== */

.home-page .event-brand {
    margin-bottom: 65px;
}


.home-page .event-eyebrow {
    margin-bottom: 14px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 6px;

    color: #d7bf8a;
}


.home-page .event-brand h1 {
    margin: 0;

    font-size:
        clamp(54px,
            9vw,
            108px);

    line-height: 0.92;

    letter-spacing: -4px;

    font-weight: 900;

    color: #f5f0e6;

    text-shadow:
        0 4px 30px rgba(0, 0, 0, 0.8);
}


.home-page .event-subtitle {
    margin-top: 20px;

    font-size:
        clamp(16px,
            2vw,
            21px);

    color: #d1d1d1;

    letter-spacing: 1px;
}


/* =====================================================
   SECCIÓN DE BOLETOS
===================================================== */

.home-page .ticket-section {
    margin-top: 40px;
}


.home-page .section-label {
    margin-bottom: 22px;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 4px;

    color: #aaa;
}


/* Importante:
   sobrescribe solamente las tarjetas
   que están dentro de la nueva home */

.home-page .ticket-options {
    display: grid;

    grid-template-columns:
        repeat(2,
            minmax(0, 330px));

    justify-content: center;

    gap: 22px;
}


/* =====================================================
   TARJETAS
===================================================== */

.home-page .ticket-card {
    position: relative;

    width: 100%;
    max-width: none;

    margin: 0;

    padding: 30px;

    overflow: hidden;

    text-align: left;

    background:
        linear-gradient(145deg,
            rgba(30, 30, 30, 0.86),
            rgba(10, 10, 10, 0.82));

    border:
        1px solid rgba(255, 255, 255, 0.18);

    border-radius: 16px;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.38);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.home-page .ticket-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(255, 255, 255, 0.42);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.55);
}


/* VIP */

.home-page .ticket-card-vip {
    border-color:
        rgba(218,
            180,
            95,
            0.9);

    box-shadow:
        0 18px 55px rgba(0, 0, 0, 0.45),
        0 0 28px rgba(218, 180, 95, 0.08);
}


.home-page .ticket-card-vip:hover {
    border-color:
        #e0bc68;

    box-shadow:
        0 24px 65px rgba(0, 0, 0, 0.55),
        0 0 35px rgba(218, 180, 95, 0.12);
}


/* =====================================================
   HEADER DE TARJETA
===================================================== */

.home-page .ticket-card-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 14px;
}


.home-page .ticket-card-header h2 {
    margin: 0;

    font-size: 24px;

    letter-spacing: 1px;
}


.home-page .ticket-badge {
    padding:
        6px 9px;

    border:
        1px solid rgba(255, 255, 255, 0.2);

    border-radius: 20px;

    font-size: 9px;

    letter-spacing: 1.5px;

    color: #aaa;
}


.home-page .vip-badge {
    color: #e0bc68;

    border-color:
        rgba(224,
            188,
            104,
            0.5);
}


/* =====================================================
   DESCRIPCIÓN Y PRECIO
===================================================== */

.home-page .ticket-description {
    min-height: 38px;

    margin-bottom: 15px;

    color: #aaa;

    font-size: 14px;

    line-height: 1.5;
}


.home-page .price {
    margin:
        8px 0 25px;

    font-size: 35px;

    font-weight: 800;

    color: #f5f0e6;
}


.home-page .ticket-card-vip .price {
    color: #e0bc68;
}


.home-page .price span {
    margin-left: 3px;

    font-size: 13px;

    font-weight: 600;

    color: #999;
}


/* =====================================================
   CANTIDAD
===================================================== */

.home-page .quantity-control {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 18px;
}


.home-page .quantity-control label {
    display: block;

    margin: 0;

    color: #bbb;

    font-size: 13px;
}


.home-page .quantity-control select {
    width: 135px;

    margin: 0;

    padding:
        11px 12px;

    background:
        rgba(255, 255, 255, 0.08);

    color: white;

    border:
        1px solid rgba(255, 255, 255, 0.18);

    border-radius: 8px;

    outline: none;

    font-size: 14px;
}


.home-page .quantity-control select option {
    color: black;

    background: white;
}


/* =====================================================
   BOTONES
===================================================== */

.home-page .buy-button {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding:
        14px 18px;

    margin: 0;

    background: #f5f0e6;

    color: #111;

    border: 0;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background 0.15s ease;
}


.home-page .buy-button:hover {
    background: #ffffff;

    transform:
        translateY(-1px);
}


.home-page .buy-button-vip {
    background: #e0bc68;

    color: #090909;
}


.home-page .buy-button-vip:hover {
    background: #edca78;
}


/* =====================================================
   INFORMACIÓN INFERIOR
===================================================== */

.home-page .event-details {
    display: grid;

    grid-template-columns:
        repeat(3,
            minmax(0, 1fr));

    margin:
        65px auto 0;

    padding-top: 30px;

    max-width: 850px;

    border-top:
        1px solid rgba(255, 255, 255, 0.14);
}


.home-page .event-detail {
    display: flex;

    align-items: center;

    gap: 13px;

    padding:
        5px 22px;

    text-align: left;
}


.home-page .event-detail+.event-detail {
    border-left:
        1px solid rgba(255, 255, 255, 0.14);
}


.home-page .detail-icon {
    flex-shrink: 0;

    font-size: 27px;

    color: #e0bc68;
}


.home-page .event-detail div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.home-page .detail-label {
    font-size: 9px;

    letter-spacing: 2px;

    color: #777;
}


.home-page .event-detail strong {
    font-size: 11px;

    line-height: 1.4;

    letter-spacing: 0.5px;

    color: #ddd;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 800px) {

    .home-page .landing-background {
        background-size:
            min(850px,
                120vw);

        background-position:
            center 20px;
    }


    .home-page .landing-content {
        width: min(94%, 650px);

        padding:
            65px 0 45px;
    }


    .home-page .event-brand {
        margin-bottom: 55px;
    }


    .home-page .event-brand h1 {
        letter-spacing: -2px;
    }


    .home-page .ticket-options {
        grid-template-columns: 1fr;

        max-width: 410px;

        margin: 0 auto;
    }


    .home-page .event-details {
        grid-template-columns: 1fr;

        max-width: 410px;

        gap: 0;
    }


    .home-page .event-detail {
        padding:
            18px 8px;
    }


    .home-page .event-detail+.event-detail {
        border-left: 0;

        border-top:
            1px solid rgba(255,
                255,
                255,
                0.12);
    }
}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 480px) {

    .home-page .landing-background {
        background-size: 150vw;

        background-position:
            center 20px;

        opacity: 0.58;
    }


    .home-page .landing-content {
        width: calc(100% - 28px);

        padding-top: 50px;
    }


    .home-page .event-eyebrow {
        font-size: 10px;

        letter-spacing: 4px;
    }


    .home-page .event-brand h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }


    .home-page .event-subtitle {
        max-width: 290px;

        margin:
            17px auto 0;

        font-size: 15px;

        line-height: 1.5;
    }


    .home-page .ticket-section {
        margin-top: 20px;
    }


    .home-page .ticket-card {
        padding: 24px 22px;
    }


    .home-page .price {
        font-size: 31px;
    }


    .home-page .quantity-control select {
        width: 130px;
    }


    .home-page .event-details {
        margin-top: 45px;
    }
}

/* =====================================================
   PATROCINADORES
===================================================== */

.home-page .sponsors {
    max-width: 850px;
    margin: 55px auto 0;
    padding-bottom: 25px;
}


.home-page .sponsors-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}


.home-page .sponsors-title span {
    flex: 1;
    height: 1px;

    background:
        linear-gradient(to right,
            transparent,
            rgba(224, 188, 104, 0.65));
}


.home-page .sponsors-title span:last-child {
    background:
        linear-gradient(to left,
            transparent,
            rgba(224, 188, 104, 0.65));
}


.home-page .sponsors-title p {
    margin: 0;

    color: #e0bc68;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 5px;
}


/* CONTENEDOR DE LOGOS */

.home-page .sponsors-logos {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 45px;

    min-height: 170px;
}


/* CADA PATROCINADOR */

.home-page .sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 280px;
    height: 160px;

    overflow: hidden;

    border-radius: 14px;

    background: rgba(0, 0, 0, 0.45);
}


/* LOGOS */

.home-page .sponsor-item img {
    width: 200px;
    height: 120px;

    object-fit: contain;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}


.home-page .sponsor-item:hover img {
    transform: scale(1.04);

    filter: brightness(1.08);
}


/* DIVISOR */

.home-page .sponsor-divider {
    width: 1px;
    height: 120px;

    flex-shrink: 0;

    background:
        linear-gradient(to bottom,
            transparent,
            rgba(224, 188, 104, 0.75),
            transparent);
}


/* =====================================================
   PATROCINADORES - CELULAR
===================================================== */

@media (max-width: 600px) {

    .home-page .sponsors {
        margin-top: 40px;
    }


    .home-page .sponsors-title {
        gap: 12px;
    }


    .home-page .sponsors-title p {
        font-size: 9px;
        letter-spacing: 3px;
    }


    .home-page .sponsors-logos {
        flex-direction: column;

        gap: 20px;
    }


    .home-page .sponsor-item {
        width: min(280px, 90%);
        height: 150px;
    }


    .home-page .sponsor-divider {
        width: 65%;
        height: 1px;

        background:
            linear-gradient(to right,
                transparent,
                rgba(224, 188, 104, 0.7),
                transparent);
    }

}

/* =========================================
   TERMINOS Y CONDICIONES
========================================= */

.tyc-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;

    background: rgba(0, 0, 0, 0.88);

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.tyc-modal.activo {
    display: flex;
}

.tyc-box {
    width: 100%;
    max-width: 650px;

    background: #151515;
    border: 1px solid rgba(224, 188, 104, 0.45);
    border-radius: 14px;

    padding: 35px;

    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.7);

    position: relative;
}

/* ====================================================== */
/* BOTON CERRAR MODAL TYC */
/* ====================================================== */

.tyc-box .tyc-cerrar {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 36px;
    height: 36px;
    min-width: 0;

    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: transparent;
    color: #ffffff;

    font-size: 26px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    z-index: 100;

    box-shadow: none;
}

.tyc-box .tyc-cerrar:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.tyc-box h2 {
    text-align: center;

    margin-bottom: 25px;

    font-size: 28px;

    color: #e0bc68;
}

.tyc-texto {
    max-height: 320px;
    overflow-y: auto;

    background: #0b0b0b;

    border: 1px solid #292929;
    border-radius: 8px;

    padding: 20px;

    margin-bottom: 25px;

    line-height: 1.6;
    color: #d0d0d0;
}

.tyc-texto p {
    margin-bottom: 16px;
}

.tyc-check {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 25px;

    cursor: pointer;

    line-height: 1.4;
}

.tyc-check input {
    width: 18px;
    height: 18px;

    flex-shrink: 0;

    margin-top: 2px;

    cursor: pointer;
}

#continuarTyc,
#confirmarTyc {
    width: 100%;
}

#continuarTyc:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}


/* SEGUNDA CONFIRMACION */

.tyc-confirmacion {
    display: none;

    text-align: center;
}

.tyc-confirmacion p {
    margin-bottom: 15px;

    line-height: 1.5;
}

.tyc-confirmacion-aviso {
    color: #999;
    font-size: 14px;
}

.tyc-botones {
    display: flex;

    gap: 15px;

    margin-top: 30px;
}

.tyc-botones button {
    flex: 1;
}

.tyc-volver {
    background: #333;
    color: white;
}

.tyc-volver:hover {
    background: #444;
}


/* CELULAR */

@media (max-width: 600px) {

    .tyc-box {
        padding: 22px;

        max-height: 90vh;

        overflow-y: auto;
    }

    .tyc-box h2 {
        font-size: 23px;
    }

    .tyc-texto {
        max-height: 280px;

        font-size: 14px;
    }

    .tyc-botones {
        flex-direction: column;
    }
}

/* CORRECCION VISIBILIDAD MODAL TYC */

#tycModal.activo {
    display: flex !important;
}

#tycModal .tyc-box {
    display: block !important;
    position: relative;
    z-index: 10000;

    width: 100%;
    max-width: 650px;

    background: #151515 !important;
    color: #ffffff !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
}

/* ====================================================== */
/* CAMBIAR SELECCION */
/* ====================================================== */

.checkout-card .btn-volver {
    width: auto;
    height: auto;

    display: inline-flex;
    align-items: center;

    margin: 18px 0 22px 0;
    padding: 0;

    background: transparent;
    border: none;

    color: #cfcfcf;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    box-shadow: none;
}

.checkout-card .btn-volver:hover {
    background: transparent;
    color: #ffffff;
    text-decoration: underline;
}

/* ====================================================== */
/* TERMINOS EN CHECKOUT */
/* ====================================================== */

.terminos-checkout {
    margin: 24px 0;
    padding: 16px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
}

.checkout-card .btn-terminos {
    width: auto;
    height: auto;

    padding: 0;
    margin: 0;

    background: transparent;
    border: none;

    color: #e0bc68;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: none;
}

.checkout-card .btn-terminos:hover {
    background: transparent;
    text-decoration: underline;
}

.estado-terminos {
    margin: 8px 0 0 0;

    color: #aaaaaa;

    font-size: 13px;
    line-height: 1.4;
}

/* ====================================================== */
/* REDES SOCIALES */
/* ====================================================== */

.redes-sociales {
    text-align: center;

    margin: 45px auto 60px;
    padding: 0 20px;
}

.redes-titulo {
    margin-bottom: 14px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 4px;

    color: #e0bc68;
}

.redes-links {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;
}

.instagram-link {
    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.instagram-link:hover {
    opacity: 0.75;

    transform: translateY(-2px);
}

.redes-separador {
    color: #e0bc68;
}


/* ====================================================== */
/* REDES - MOVIL */
/* ====================================================== */

@media (max-width: 600px) {

    .redes-links {
        flex-direction: column;

        gap: 10px;
    }

    .redes-separador {
        display: none;
    }

}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.instagram-icon {
    width: 19px;
    height: 19px;

    fill: none;
    stroke: #e0bc68;
    stroke-width: 1.8;
}

.instagram-dot {
    fill: #e0bc68;
    stroke: none;
}

.instagram-link:hover {
    opacity: 0.75;
    transform: translateY(-2px);
}