/* ====================================================================
   Ultra Mexico 2026 — Tickets Page (recreation)
   ==================================================================== */

:root {
    --teal:        #4fd6c9;   /* General accent  */
    --teal-soft:   #6aa39e;   /* General sold-out */
    --pink:        #ff5ba6;   /* VIP accent      */
    --pink-soft:   #b56a8f;   /* VIP sold-out    */
    --coral:       #e0694c;   /* "Boletos" title */
    --agotadas:    #d35b7a;   /* sold-out border */
    --text:        #ffffff;
    --text-dim:    #9498a0;
    --header-h:    96px;
    --maxw:        1280px;
    --panel-w:     820px;
    --font-head:   'Oswald', 'Arial Narrow', sans-serif;
    --font-body:   'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    background: #000;            /* black base */
    position: relative;
    isolation: isolate;
}

/* Fixed festival photo at 75% opacity over the black background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('../assets/hero-bg.jpg') center top / cover no-repeat;
    opacity: 0.75;
}

/* Tickets page uses the RESISTANCE backdrop */
body.page-tickets::before {
    background-image: url('../assets/tickets-bg.png');
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ====================== HEADER ====================== */
.site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 100;
}
.site-header.sticky {
    position: fixed;
    background: rgba(4,4,7,0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
    animation: slideDown 0.3s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.header-inner {
    width: 100%;
    margin: 0;
    min-height: var(--header-h);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    gap: 28px;
}

/* ---- logo ---- */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    line-height: 1;
}
.logo-u svg { display: block; width: 38px; height: auto; }
.passport-logo .logo-u svg { width: 30px; }
.logo-wordmark { height: 48px; width: auto; display: block; }
.footer-wordmark { height: 34px; }
.logo-mark {
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: 0.04em;
}
.logo-mark sup { font-size: 0.4em; vertical-align: super; font-style: normal; }
.logo-sub {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.42em;
    margin-top: 2px;
}
.logo-date {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-top: 6px;
}

/* ---- nav ---- */
.main-nav { margin: 0 auto 0 28px; }
.nav-list { display: flex; align-items: center; gap: 10px; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 6px;
    color: var(--text);
    transition: color 0.18s ease;
    white-space: nowrap;
}
.nav-link:hover { color: var(--teal); }
.nav-link.active { color: var(--text); }
.caret { font-size: 0.55rem; opacity: 0.8; }

.flag-uk {
    display: inline-block;
    width: 22px; height: 15px;
    border-radius: 2px;
    background:
        linear-gradient(to bottom, transparent 40%, #fff 40% 60%, transparent 60%),
        linear-gradient(to right,  transparent 40%, #fff 40% 60%, transparent 60%),
        linear-gradient(48deg, transparent 47%, #fff 47% 53%, transparent 53%),
        linear-gradient(-48deg, transparent 47%, #cf142b 47% 53%, transparent 53%),
        #00247d;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
}

/* dropdowns */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 185px;
    background: rgba(10,10,14,0.97);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: all 0.18s ease;
    box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
    display: block;
    padding: 9px 18px;
    font-size: 0.78rem;
    color: var(--text-dim);
    transition: all 0.15s ease;
}
.dropdown li a:hover { color: #fff; background: rgba(79,214,201,0.12); }

/* ---- right cluster ---- */
.header-right { display: flex; align-items: center; gap: 22px; }
.account {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.account:hover { color: var(--teal); }
.account-u {
    width: 26px; height: 26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #2a2c33;
}
.account-u svg { width: 14px; height: 14px; display: block; }
.account { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; }
.worldwide-map svg { display: block; }
.worldwide-map:hover svg g { fill: var(--teal); }

/* hamburger */
.nav-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 6px; margin-left: auto;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====================== TICKETS PANEL ====================== */
.boletos {
    min-height: 100vh;
    padding: calc(var(--header-h) + 30px) 24px 80px;
    display: flex;
    justify-content: center;
}
.panel {
    width: 100%;
    max-width: var(--panel-w);
    background: rgba(8,8,10,0.62);
    backdrop-filter: blur(2px);
    padding: 30px 38px 40px;
}

.panel-title {
    color: var(--coral);
    font-weight: 400;
    font-size: 1.95rem;
    letter-spacing: 0.01em;
    padding-bottom: 20px;
    margin-bottom: 26px;
    border-bottom: 1px solid rgba(255,255,255,0.16);
}

.group-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 30px 0 16px;
}
.ticket-group.general .group-title { margin-top: 0; }

/* ---- ticket rows ---- */
.trow {
    display: flex;
    align-items: stretch;
    min-height: 86px;
    margin-bottom: 9px;
    overflow: hidden;
}
.trow-info, .trow-price, .trow-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 24px;
}
.trow-info  { flex: 1.4 1 0; gap: 4px; }
.trow-price { flex: 1.05 1 0; gap: 2px; border-left: 1px solid rgba(255,255,255,0.05); }
.trow-action{ flex: 1.0 1 0; align-items: center; justify-content: center; flex-direction: row; }

.tier {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}
.tname {
    font-size: 1.18rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.price { font-size: 1.7rem; font-weight: 800; line-height: 1.05; }
.cur   { font-size: 0.62rem; font-weight: 700; color: var(--text-dim); letter-spacing: 0.08em; }

/* AVAILABLE row backgrounds */
.trow.available .trow-info,
.trow.available .trow-price { background: #34343b; }
.trow.available .trow-action { background: #161619; }

/* SOLD-OUT row backgrounds */
.trow.soldout { background: rgba(18,18,22,0.5); }
.trow.soldout .trow-price,
.trow.soldout .trow-action { border-left-color: rgba(255,255,255,0.04); }

/* ----- color theming: GENERAL (teal) ----- */
.general .tier  { color: var(--teal); }
.general .available .price { color: var(--teal); }
.general .soldout .tier  { color: var(--teal-soft); }
.general .soldout .tname { color: #cfd2d6; }
.general .soldout .price { color: var(--teal-soft); }

/* ----- color theming: VIP (pink) ----- */
.vip .tier  { color: var(--pink); }
.vip .available .price { color: var(--pink); }
.vip .soldout .tier  { color: var(--pink-soft); }
.vip .soldout .tname { color: #cfd2d6; }
.vip .soldout .price { color: var(--pink-soft); }

/* ---- buttons ---- */
.btn-buy, .btn-soldout {
    display: inline-block;
    min-width: 150px;
    text-align: center;
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 26px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.general .btn-buy {
    background: #93c5bf;
    color: #10302d;
}
.general .btn-buy:hover { background: #b6ded9; box-shadow: 0 0 22px rgba(79,214,201,0.4); }
.vip .btn-buy {
    background: #e070a6;
    color: #2a0c1c;
}
.vip .btn-buy:hover { background: #f48ec0; box-shadow: 0 0 22px rgba(255,91,166,0.45); }

.btn-soldout {
    background: transparent;
    color: var(--agotadas);
    border: 1.5px solid var(--agotadas);
    cursor: not-allowed;
}

/* ---- disclaimer ---- */
.disclaimer {
    margin-top: 26px;
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ====================== HOME — HERO BANNER ====================== */
.home { padding: calc(var(--header-h) + 22px) 24px 70px; max-width: 1380px; margin: 0 auto; }
.home-hero { display: flex; justify-content: center; }
.hero-banner-link {
    display: block;
    width: 100%;
    max-width: 1000px;
    line-height: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-banner-link:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0,0,0,0.6); }
.hero-banner-link img { width: 100%; height: auto; display: block; }

/* ====================== HOME — CAROUSELS ====================== */
.carousels {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 36px;
    max-width: 1000px;
    margin: 32px auto 0;
}
.carousel { display: flex; flex-direction: column; min-width: 0; }
.carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.55);
    padding: 9px 14px;
}
.carousel-label {
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.carousel-controls { display: flex; gap: 4px; }
.carousel-controls button {
    width: 26px; height: 24px;
    background: transparent;
    border: none;
    color: #cfd2d6;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.15s ease;
    line-height: 1;
}
.carousel-controls button:hover { color: var(--teal); }
.cc-prev, .cc-next { font-size: 1.4rem; }

.carousel-viewport { overflow: hidden; background: #000; min-width: 0; }
.carousel-track { display: flex; transition: transform 0.5s ease; min-width: 0; }
.slide { flex: 0 0 100%; min-width: 0; max-width: 100%; }
.slide-media {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 16px;
}
.slide-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
}
.slide-media > * { position: relative; z-index: 1; }
.slide-tag {
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.45); padding: 3px 10px; margin-bottom: 10px;
}
.slide-title {
    font-weight: 800;
    font-size: clamp(1.4rem, 3.4vw, 2.3rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0,0,0,0.7);
    line-height: 1.02;
}
.slide-title-thin { font-weight: 400; letter-spacing: 0.42em; }
.slide-sub { font-weight: 700; letter-spacing: 0.5em; font-size: 0.9rem; margin-top: 6px; }
.slide-sub-inline { font-weight: 800; letter-spacing: 0.1em; }
.slide-date {
    margin-top: 12px; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.12em; color: #b6f25e;
}
.slide-watermark {
    position: absolute; right: 12px; bottom: 10px;
    font-family: var(--font-head); font-style: italic; font-weight: 700;
    font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.85);
    display: flex; flex-direction: column; line-height: 1; text-align: right;
}
.slide-watermark small { font-size: 0.55em; letter-spacing: 0.3em; font-style: normal; }

/* slide background themes (stand-ins until real artwork is dropped in) */
.slide-bali       { background: radial-gradient(circle at 50% 40%, #2f6e3a, #0b2412); }
.slide-taiwan     { background: radial-gradient(circle at 50% 40%, #2a4a55, #0a1418); }
.slide-singapore  { background: radial-gradient(circle at 50% 40%, #5a3a6e, #160a24); }
.slide-resistance { background: radial-gradient(circle at 50% 45%, #6e1a4a, #160510); }
.slide-australia  { background: radial-gradient(circle at 50% 45%, #155a52, #04140f); }
.slide-miami      { background: radial-gradient(circle at 50% 45%, #1d4f7a, #061018); }

/* image-based slides (NEWS + PRESS): full poster shown via contain,
   with a blurred copy of the same art filling the frame behind it */
.slide-img .slide-media { padding: 0; background: #000; }
.slide-img .slide-media::after { display: none; }
.slide-img .slide-media::before {
    content: "";
    position: absolute;
    inset: -30px;
    background: var(--slide-bg) center / cover no-repeat;
    filter: blur(26px) brightness(0.45);
    z-index: 0;
}
.slide-img .slide-media img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide-caption {
    background: #000;
    padding: 14px 18px;
    min-height: 4.6em;            /* keeps both carousels equal height */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: center;
    line-height: 1.4;
}

.carousel-dots {
    display: flex; justify-content: center; gap: 8px;
    padding: 12px 0 0;
}
.carousel-dots button {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none; cursor: pointer; padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots button.active { background: var(--teal); transform: scale(1.25); }

/* ====================== BIG FOOTER ====================== */
.big-footer {
    background: rgba(0,0,0,0.82);
    padding: 56px 24px 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 40px;
}
.footer-logo, .passport-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo .logo-text { display: grid; line-height: 1; }
.footer-rule { border: none; border-top: 1px solid rgba(255,255,255,0.18); margin: 20px 0; max-width: 260px; }
.footer-event { font-size: 0.85rem; color: #c9ccd2; line-height: 1.7; }
.footer-event strong { color: #fff; }

.footer-col ul li { margin-bottom: 13px; }
.footer-col ul li a { font-size: 0.92rem; color: #c9ccd2; transition: color 0.15s ease; }
.footer-col ul li a:hover { color: var(--teal); }

.footer-passport .passport-text {
    font-family: var(--font-head); font-weight: 700; font-style: italic;
    font-size: 1.1rem; line-height: 1;
}
.footer-passport .passport-text small { font-size: 0.5em; letter-spacing: 0.28em; font-style: normal; }
.passport-tiers { display: flex; gap: 4px; margin-left: 4px; }
.tier-coin {
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--font-head); font-style: italic; font-weight: 700;
    font-size: 0.7rem; color: #1a1a1a;
}
.tier-coin.silver { background: linear-gradient(145deg,#e8e8ee,#a9adb5); }
.tier-coin.gold   { background: linear-gradient(145deg,#ffd86b,#c8932e); }
.tier-coin.plat   { background: linear-gradient(145deg,#cdeaf0,#8fb6bf); }
.passport-copy { font-size: 0.9rem; color: #c9ccd2; margin: 16px 0 18px; line-height: 1.6; max-width: 320px; }
.passport-btn {
    display: inline-block;
    background: #4fe0e8;
    color: #062023;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    padding: 13px 40px;
    transition: background 0.2s ease;
}
.passport-btn:hover { background: #82eef3; }

.footer-social {
    display: flex; justify-content: center; gap: 20px;
    margin: 50px 0 26px;
}
.footer-social .soc {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    color: #e6e8ec;
    font-size: 1rem;
    transition: color 0.18s ease, transform 0.18s ease;
}
.footer-social .soc:hover { color: var(--teal); transform: translateY(-2px); }

.footer-copy {
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: #9aa0a8;
    margin-bottom: 12px;
}
.footer-legal {
    display: flex; justify-content: center; gap: 10px;
    font-size: 0.72rem; letter-spacing: 0.1em;
    color: #9aa0a8;
}
.footer-legal a:hover { color: var(--teal); }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1080px) {
    .nav-link { font-size: 0.66rem; padding: 9px 8px; }
    .header-inner { gap: 18px; }
}

@media (max-width: 880px) {
    .nav-toggle { display: flex; }
    .header-right { display: none; }
    .main-nav {
        position: fixed;
        top: 0; right: 0;
        width: min(82vw, 320px);
        height: 100vh;
        background: rgba(8,8,12,0.98);
        backdrop-filter: blur(10px);
        border-left: 1px solid rgba(255,255,255,0.08);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 90px 0 30px;
        margin: 0;
    }
    .main-nav.open { transform: translateX(0); }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-link { padding: 16px 26px; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .dropdown {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        border: none; box-shadow: none; background: rgba(0,0,0,0.4);
        padding: 0; display: none;
    }
    .has-dropdown.open-sub .dropdown { display: block; }
    .dropdown li a { padding-left: 42px; }
}

@media (max-width: 620px) {
    .panel { padding: 22px 18px 30px; }
    .trow { flex-direction: column; min-height: 0; }
    .trow-info, .trow-price, .trow-action { border-left: none; padding: 12px 18px; }
    .trow-info { gap: 2px; }
    .trow-price { flex-direction: row; align-items: baseline; gap: 8px; padding-top: 0; }
    .trow.available .trow-action { background: transparent; }
    .trow-action { padding-top: 4px; padding-bottom: 18px; }
    .btn-buy, .btn-soldout { width: 100%; }
    .tname { font-size: 1.05rem; }
    .price { font-size: 1.5rem; }
}

@media (max-width: 820px) {
    .carousels { grid-template-columns: 1fr; max-width: 560px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
    .footer-passport { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .footer-top { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-logo, .passport-logo { justify-content: center; }
    .footer-rule { margin-left: auto; margin-right: auto; }
    .passport-copy { margin-left: auto; margin-right: auto; }
    .footer-col ul { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
