
/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root {
    --cream:    #FAF8F3;
    --cream2:   #F2EEE5;
    --ink:      #1A1714;
    --ink2:     #3D3930;
    --ink3:     #7A7166;
    --gold:     #4e54c8;
    --gold-lt:  #D4A84B;
    --green:    #2A5C45;
    --green-lt: #3D7A5E;
    --rust:     #C04B2A;
    --border:   #E2DBD0;
    --shadow:   rgba(26,23,20,0.08);
    --shadow-md:rgba(26,23,20,0.14);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;
    --font-mono:    'DM Mono', monospace;

    --r-sm:  6px;
    --r-md:  12px;
    --r-lg:  20px;
    --r-xl:  32px;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════════
   LOADER
═══════════════════════════════════════════ */
#page-loader {
    position: fixed; inset: 0; background: var(--cream);
    display: flex; flex-direction:column; align-items: center; justify-content: center;
    z-index: 99999999999; transition: opacity .5s ease, visibility .5s ease;
}
#page-loader.fade-out { opacity:0; visibility:hidden; }
.loader-bar {
    width: 120px; height: 2px; background: var(--border);
    border-radius: 2px; overflow: hidden;
}
.loader-bar-fill {
    width: 0%; height: 100%; background: var(--gold);
    border-radius: 2px;
    animation: barFill 1.6s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes barFill { to { width: 100%; } }

/* ═══════════════════════════════════════════
   OFFLINE OVERLAY
═══════════════════════════════════════════ */
.offline-overlay {
    position: fixed; inset: 0;
    background: rgba(250,248,243,.95);
    backdrop-filter: blur(8px);
    z-index: 9998; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .3s;
}
.offline-overlay.is-visible { opacity:1; pointer-events:all; }
.offline-content { text-align:center; }
.offline-content h2 { font-family: var(--font-display); font-size:1.8rem; margin:16px 0 8px; }
.offline-content p { color: var(--ink3); margin-bottom:24px; }
.retry-btn {
    padding: 12px 32px; background: var(--ink); color: var(--cream);
    border: none; border-radius: 50px; font-family: var(--font-body);
    font-size:.9rem; font-weight:600; letter-spacing:.5px; cursor:pointer; transition:.2s;
}
.retry-btn:hover { background: var(--gold); }

/* ═══════════════════════════════════════════
   TOP NAV
═══════════════════════════════════════════ */
.topnav {
    position: fixed; top:0; left:0; right:0; z-index:500;
    background: rgba(250,248,243,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex; align-items: center;
    padding: 0 32px;
    gap: 40px;
}
.nav-links button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.drawer-item {
    width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand span .imggtop { color: var(--gold); line-height: 1;  font-family: var(--font-display); width: 240px; height: 30px;display: block;object-fit: fill}
.nav-links {
    display: flex; align-items:center; gap: 28px;
    margin-left: auto;
    list-style: none;
}
.nav-links a {
    font-size: .875rem; font-weight: 500; color: var(--ink3);
    transition: color .2s; white-space:nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
    padding: 9px 22px; background: var(--ink); color: var(--cream);
    border-radius: 50px; font-weight: 600; font-size:.85rem;
    transition: background .2s, transform .2s;
}
.nav-links .nav-cta:hover { background: var(--gold); transform: translateY(-1px); }
.nav-hamburger {
    display: none; flex-direction:column; gap:5px; cursor:pointer; margin-left:auto;
    padding: 6px;
}
.nav-hamburger span {
    display:block; width:24px; height:2px;
    background: var(--ink); border-radius:2px;
    transition: .3s;
}

/* ═══════════════════════════════════════════
   DRAWER (MOBILE MENU)
═══════════════════════════════════════════ */
.drawer-overlay {
    position:fixed; inset:0; background:rgba(26,23,20,.4);
    z-index:800; opacity:0; pointer-events:none; transition:opacity .3s;
}
.drawer-overlay.open { opacity:1; pointer-events:all; }
.drawer {
    position:fixed; top:0; right:-320px; width:300px; height:100vh;
    background: var(--cream); z-index:900;
    padding: 32px 24px;
    border-left: 1px solid var(--border);
    transition: right .4s cubic-bezier(.4,0,.2,1);
    display:flex; flex-direction:column; gap:8px;
    overflow-y:auto;
}
.drawer.open { right:0; }
.drawer-head {
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom:24px;
}
.drawer-brand img { width:44px; height:44px; border-radius:10px; }
.drawer-brand span { color:var(--gold); }
.drawer-close {
    width:36px;height:36px; border-radius:50%; border:1px solid var(--border);
    background:none; font-size:1.1rem; cursor:pointer; display:flex;
    align-items:center; justify-content:center; color:var(--ink3); transition:.2s;
}
.drawer-close:hover { background:var(--ink); color:var(--cream); }
.drawer-item {
    display:flex; align-items:center; gap:12px;
    padding:13px 16px; border-radius:var(--r-md);
    color: var(--ink2); font-weight:500; font-size:.95rem;
    transition:.2s; cursor:pointer;
}
.drawer-item i { width:18px; color:var(--ink3); font-size:.9rem; }
.drawer-item:hover { background:var(--cream2); color:var(--ink); }
.drawer-item.active { background:var(--ink); color:var(--cream); }
.drawer-item.active i { color:var(--gold); }
.drawer-divider {
    font-size:.7rem; font-weight:600; letter-spacing:2px;
    text-transform:uppercase; color:var(--ink3);
    padding: 16px 16px 8px; margin-top:8px;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
    margin-top: 68px;
    min-height: 60vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    max-width: 1280px;
    margin-left: auto; margin-right: auto;
    padding: 7px 48px 8px;
    gap: 80px;
    align-items: center;
}
.hero-eyebrow {
    display:inline-flex; align-items:center; gap:8px;
    font-family: var(--font-mono); font-size:.75rem; font-weight:500;
    letter-spacing:2px; text-transform:uppercase; color:var(--gold);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 5.5vw, 5.5rem);
    font-weight: 900; line-height: 1.02;
    color: var(--ink);
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.hero-headline em {
    font-style: italic; color: var(--gold);
}
.hero-sub {
    font-size: 1.05rem; color: var(--ink3); line-height:1.75;
    max-width: 440px; margin-bottom: 40px;
}
.hero-actions {
    display:flex; gap:14px; flex-wrap:wrap; align-items:center;
}
.hero-pill {
    padding: 14px 32px; border-radius: 50px;
    font-weight: 600; font-size:.9rem; letter-spacing:.3px;
    transition: all .25s; cursor:pointer; border:none;
    font-family: var(--font-body);
}
.hero-pill.primary {
    background:var(--ink); color:var(--cream);
}
.hero-pill.primary:hover { background: var(--gold); transform:translateY(-2px); }
.hero-pill.ghost {
    background:transparent; color:var(--ink2);
    border: 1.5px solid var(--border);
}
.hero-pill.ghost:hover { border-color:var(--ink); background:var(--ink); color:var(--cream); }

/* ── HERO RIGHT — rotating images ── */
.hero-visual {
    position: relative; height: 480px;
}
.hero-img-frame {
    width: 100%;
    height: 100%;
    border-radius: 20px 20px 80px 20px;
    overflow: hidden; position:relative;
    background: var(--cream2);
    box-shadow: 0 40px 80px var(--shadow-md);
}
.hero-fader {
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover; opacity:0;
    animation: heroFade 20s infinite;
    transition: opacity 1s ease;
}
.hero-fader:nth-child(1) { animation-delay:0s; }
.hero-fader:nth-child(2) { animation-delay:4s; }
.hero-fader:nth-child(3) { animation-delay:8s; }
.hero-fader:nth-child(4) { animation-delay:12s; }
.hero-fader:nth-child(5) { animation-delay:16s; }
@keyframes heroFade {
    0%,100%  { opacity:0; }
    10%,25%  { opacity:1; }
    35%      { opacity:0; }
}
/* Floating stat chips */
.hero-chip {
    position:absolute; background:var(--cream);
    border: 1px solid var(--border);
    border-radius: 50px; padding: 10px 18px;
    display:flex; align-items:center; gap:10px;
    box-shadow: 0 8px 24px var(--shadow);
    font-size:.82rem; font-weight:600; color:var(--ink2);
    white-space:nowrap; z-index:2;
}
.hero-chip i { color:var(--gold); }
.hero-chip-1 { top:-16px; left:-24px; animation: chipFloat 4s ease-in-out infinite; }
.hero-chip-2 { bottom:40px; left:-36px; animation: chipFloat 4s ease-in-out infinite 2s; }
.hero-chip-3 { top:50%; right:-28px; transform:translateY(-50%); animation: chipFloat 4s ease-in-out infinite 1s; }
@keyframes chipFloat {
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-8px);}
}
.hero-chip-2 { animation-name:chipFloat2; }
@keyframes chipFloat2 {
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-10px);}
}

/* ── HERO STAT ROW ── */
.hero-stats {
    display:flex; gap: 26px; margin-top: 40px; flex-wrap:wrap; justify-content: center;
}
.hero-stat-num {
    font-family: var(--font-display); font-size:1.6rem; font-weight:900;
    color:var(--ink); line-height:1;
}
.hero-stat-label {
    font-size: 0.5rem; color:var(--ink3); font-weight:500;
    letter-spacing:.5px; margin-top:4px; text-transform:uppercase;
}
.hero-stat + .hero-stat { border-left: 1px solid var(--border); padding-left: 26px; }

/* ═══════════════════════════════════════════
   TAB BAR
═══════════════════════════════════════════ */
.tab-section {
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: sticky; top:64px; z-index:200;
}
.tab-inner {
    max-width:1280px; margin:0 auto;
    padding: 0 48px;
    display:flex; align-items:center; justify-content:space-between;
    gap: 24px;
}
.tab-buttons {
    display:flex; gap:0;
}
.tab-btn {
    padding: 18px 28px; background:none; border:none;
    font-family: var(--font-body); font-size:.875rem; font-weight:600;
    color: var(--ink3); cursor:pointer; position:relative;
    letter-spacing:.2px; transition:color .2s; white-space:nowrap;
}
.tab-btn::after {
    content:''; position:absolute; bottom:0; left:28px; right:28px; height:2px;
    background:var(--ink); transform:scaleX(0); transition:transform .25s;
}
.tab-btn.active { color:var(--ink); }
.tab-btn.active::after { transform:scaleX(1); }
.tab-btn:hover { color:var(--ink); }

/* ── SEARCH ── */
.tab-search {
    display:flex; align-items:center; gap:0;
    background:var(--cream2); border:1.5px solid var(--border);
    border-radius:50px; overflow:hidden; transition:.2s;
    height:40px;
}
.tab-search:focus-within { border-color:var(--ink); background:#fff; }
.tab-search input {
    background:none; border:none; outline:none;
    padding: 0 16px; font-family:var(--font-body);
    font-size: 16px; color:var(--ink); width:220px;
}
.tab-search input::placeholder { color:var(--ink3); }
.tab-search button {
    background:var(--ink); border:none; color:var(--cream);
    padding: 0 18px; height:100%; cursor:pointer;
    font-size:.8rem; font-weight:600; font-family:var(--font-body);
    transition:background .2s; white-space:nowrap;
}
.tab-search button:hover { background:var(--gold); }
.search-clear {
    display:block; text-align:center; padding:8px;
    font-size:.8rem; color:var(--ink3); cursor:pointer; transition:color .2s;
}
.search-clear:hover { color:var(--rust); }

/* ═══════════════════════════════════════════
   PROFESSIONAL ADS SLIDER
═══════════════════════════════════════════ */

/* --- Container & Layout --- */
.ads-section {
    max-width: 1280px;
    margin: 48px auto 0;
    padding: 0 48px;
}

.ads-label {
    font-family: var(--font-mono, monospace);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink3, #64748b);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Small tag/megaphone icon before the label text, added via CSS mask
   so no HTML change is required */
.ads-label::before {
    content: '';
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: var(--accent, #0d9488);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 6.5a4.95 4.95 0 1 1 0 7'/%3E%3Cpath d='M2 10v4a2 2 0 0 0 2 2h1l3 5v-5h3l4.5 3V4L11 7H5a2 2 0 0 0-2 2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 6.5a4.95 4.95 0 1 1 0 7'/%3E%3Cpath d='M2 10v4a2 2 0 0 0 2 2h1l3 5v-5h3l4.5 3V4L11 7H5a2 2 0 0 0-2 2Z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.ads-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border, #e2e8f0);
}

.ads-slider {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--cream2, #f1f5f9);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 24px -8px rgba(15, 23, 42, 0.18);
}

/* --- Slide & Image --- */
.ad-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out;
    display: block;
    text-decoration: none;
}

.ad-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.ad-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 6s ease;
}

.ad-slide.active img {
    transform: scale(1);
}

/* --- Overlay & Alignment --- */
.ad-overlay {
    position: absolute;
    inset: 0;
    /* softer, more directional gradient than a flat 90deg wash */
    background: linear-gradient(100deg, rgba(8, 12, 24, 0.88) 0%, rgba(8, 12, 24, 0.68) 42%, rgba(8, 12, 24, 0.15) 78%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    gap: 32px;
}

/* --- Ad Title (With 3-Dots Truncation) --- */
.ad-name {
    font-family: var(--font-display, system-ui, sans-serif);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0;
    flex: 1;

    /* Strict Truncation Engine */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- CTA Button (With SVG Icon) --- */
.ad-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    background: #ffffff;
    color: var(--ink, #0f172a);
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    text-transform: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

/* Crisp, resolution-independent SVG Icon applied via CSS Mask */
.ad-cta::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.ad-cta:hover {
    background: var(--accent, #0d9488);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -6px rgba(13, 148, 136, 0.55);
}

.ad-cta:hover::after {
    transform: translateX(4px);
}

.ad-cta:focus-visible {
    outline: 2px solid var(--accent, #0d9488);
    outline-offset: 2px;
}

/* --- Navigation Dots (now progress-style) --- */
.ad-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.ad-dot {
    position: relative;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.28);
    transition: background 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.ad-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* base "active/current" state stays a solid fill, matching original behavior */
.ad-dot.active {
    background: rgba(255, 255, 255, 0.4);
    width: 22px;
}

/* Fill sweeps left-to-right on the active dot to show time-until-next-slide.
   Purely decorative if no autoplay interval is used; harmless otherwise. */
.ad-dot.active::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 0%;
    background: #ffffff;
    border-radius: inherit;
    animation: ad-dot-fill 6s linear forwards;
}

@keyframes ad-dot-fill {
    from { width: 0%; }
    to { width: 100%; }
}

.ad-dot:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .ads-section { padding: 0 20px; margin-top: 24px; }
    .ad-overlay {
        padding: 0 24px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        background: linear-gradient(180deg, rgba(8, 12, 24, 0.55) 0%, rgba(8, 12, 24, 0.9) 100%);
    }
    .ad-name { font-size: 1.25rem; -webkit-line-clamp: 3; }
    .ad-cta { padding: 11px 20px; font-size: 0.8rem; }
}
/* ═══════════════════════════════════════════
   EVENTS GRID
═══════════════════════════════════════════ */
.events-section {
    max-width:1280px; margin:0 auto;
    padding:52px 48px 80px;
}
.events-header {
    display:flex; align-items:flex-end; justify-content:space-between;
    margin-bottom: 36px; gap:20px;
}
.events-title-block h2 {
    font-family:var(--font-display);
    font-size: clamp(1.8rem,3vw,2.6rem);
    font-weight:900; letter-spacing:-1px; color:var(--ink); line-height:1.1;
}
.events-title-block p {
    color:var(--ink3); font-size:.9rem; margin-top:8px;
}
.events-count {
    font-family:var(--font-mono); font-size:.78rem;
    color:var(--ink3); white-space:nowrap;
}

/* ── GRID ── */
.ev-grid {
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

/* ── CARD ── */
.ev-card {
    background:#fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow:hidden;
    display:flex; flex-direction:column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.ev-card:hover {
    transform:translateY(-6px);
    box-shadow: 0 24px 56px var(--shadow-md);
    border-color:transparent;
}
.ev-card-img {
    position:relative; height:280px; overflow:hidden;
    background:var(--cream2);
}
.ev-card-img img {
    width:100%; height:100%;
    object-fit:cover;
    transition:transform .55s ease;
}
.ev-card:hover .ev-card-img img { transform:scale(1.06); }
.ev-card-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to top, rgba(26,23,20,.35) 0%,transparent 50%);
}

/* ── Type pill ── */
.type-pill {
    position:absolute; top:14px; right:14px;
    padding:5px 12px; border-radius:50px;
    font-size:.7rem; font-weight:700; letter-spacing:1px;
    text-transform:uppercase; z-index:3;
}
.pill-vote   { background:var(--ink); color:var(--cream); }
.pill-ticket { background:var(--green); color:#fff; }

/* ── Status badge ── */
.ev-status {
    position:absolute; bottom:14px; left:14px;
    padding:5px 12px; border-radius:50px;
    font-size:.72rem; font-weight:700; letter-spacing:.8px;
    text-transform:uppercase; z-index:3;
    display:flex; align-items:center; gap:7px;
}
.status-live   { background:rgba(255,255,255,.95); color:#1a1a1a; }
.status-pending{ background:rgba(184,135,42,.9); color:#fff; }
.status-closed { background:rgba(26,23,20,.7); color:#fff; }
.live-pulse {
    width:7px; height:7px; border-radius:50%; background:#22c55e;
    box-shadow:0 0 0 0 rgba(34,197,94,.4);
    animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
    0%  { box-shadow:0 0 0 0 rgba(34,197,94,.5); }
    70% { box-shadow:0 0 0 8px rgba(34,197,94,0); }
    100%{ box-shadow:0 0 0 0 rgba(34,197,94,0); }
}

/* ── Countdown ── */
.card-countdown {
    position:absolute; top:14px; left:14px; z-index:3;
    background:rgba(26,23,20,.72); backdrop-filter:blur(6px);
    border-radius:50px; padding:6px 14px;
    display:flex; align-items:center; gap:2px;
    font-family:var(--font-mono); font-size:.72rem; color:#fff;
}
.cd-val { font-weight:500; }
.cd-sep { opacity:.5; margin:0 4px; }

/* ── Card body ── */
.ev-card-body {
    padding: 22px 24px 24px;
    display:flex; flex-direction:column; flex:1;
}
.ev-card-date {
    font-size:.75rem; font-weight:500; color:var(--ink3);
    letter-spacing:.4px; text-transform:uppercase;
    margin-bottom:8px;
}
.ev-card-title {
    font-family:var(--font-display);
    font-size:1.2rem; font-weight:700; line-height:1.25;
    color:var(--ink); margin-bottom:16px;
    flex:1;
}
.card-price {
    font-size:.85rem; color:var(--ink3); margin-bottom:16px;
}
.card-price strong { color:var(--green); font-weight:700; }

/* ── Buttons ── */
.card-btn {
    display:block; width:100%;
    padding:13px; text-align:center;
    border-radius:var(--r-md); font-weight:600; font-size:.875rem;
    transition:all .22s; cursor:pointer; letter-spacing:.2px;
    margin-top:auto;
}
.btn-vote {
    background:var(--ink); color:var(--cream);
}
.btn-vote:hover { background:var(--gold); }
.btn-ticket {
    background:var(--green); color:#fff;
}
.btn-ticket:hover { background:var(--green-lt); }
.btn-results {
    background:var(--cream2); color:var(--ink); border:1px solid var(--border);
}
.btn-results:hover { background:var(--ink); color:var(--cream); }
.btn-disabled {
    background:var(--cream2); color:var(--ink3);
    border:1px solid var(--border); pointer-events:none;
    cursor:not-allowed;
}

/* ── EMPTY STATE ── */
.empty-state {
    grid-column:1/-1; text-align:center;
    padding:80px 40px;
}
.empty-icon {
    width:64px; height:64px; margin:0 auto 20px;
    border-radius:50%; background:var(--cream2);
    display:flex; align-items:center; justify-content:center;
    font-size:1.6rem; color:var(--ink3);
}
.empty-state h3 {
    font-family:var(--font-display); font-size:1.4rem;
    font-weight:700; color:var(--ink); margin-bottom:8px;
}
.empty-state p { color:var(--ink3); font-size:.9rem; }

/* ═══════════════════════════════════════════
   SPONSORS
═══════════════════════════════════════════ */
.sponsors-section {
    border-top:1px solid var(--border);
    padding:56px 48px;
    max-width:1280px; margin:0 auto;
}
.sponsors-label {
    font-family:var(--font-mono); font-size:.7rem; font-weight:500;
    letter-spacing:2px; text-transform:uppercase; color:var(--ink3);
    text-align:center; margin-bottom:32px;
}
.sponsors-row {
    display:flex; justify-content:center; align-items:center;
    gap:48px; flex-wrap:wrap;
}
.sponsor-logo {
    height:42px; width:auto; object-fit:contain;
    filter:grayscale(80%) opacity(60%);
    transition:.3s;
}
.sponsor-logo:hover { filter:none; transform:scale(1.05); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
    background:#fff; border-top:1px solid var(--border);
    padding:64px 48px 40px;
}
.footer-grid {
    max-width:1280px; margin:0 auto;
    display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr;
    gap:48px; margin-bottom:56px;
}

.footer-brand-name { display: flex; align-items: center;} 
.footer-brand-name img { width:44px; height:44px; border-radius:10px; }

.footer-brand-name span { color:var(--gold); line-height: 1;  font-family: var(--font-display); }
.footer-tagline { font-size:.875rem; color:var(--ink3); line-height:1.7; }
.footer-contact { margin-top:20px; display:flex; flex-direction:column; gap:6px; }
.footer-contact a { font-size:.875rem; color:var(--ink3); transition:color .2s; }
.footer-contact a:hover { color:var(--gold); }
.footer-col h4 {
    font-size:.7rem; font-weight:700; letter-spacing:2px;
    text-transform:uppercase; color:var(--ink3); margin-bottom:16px;
}
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul a { font-size:.875rem; color:var(--ink3); transition:color .2s; }
.footer-col ul a:hover { color:var(--ink); }
.footer-bottom {
    max-width:1280px; margin:0 auto;
    display:flex; align-items:center; justify-content:space-between;
    padding-top:24px; border-top:1px solid var(--border);
    gap:20px; flex-wrap:wrap;
}
.footer-copy { font-size:.8rem; color:var(--ink3); }
.footer-copy strong { color:var(--ink); }
.social-row { display:flex; gap:12px; }
.s-icon {
    width:38px; height:38px; border-radius:50%;
    border:1px solid var(--border); display:flex;
    align-items:center; justify-content:center;
    color:var(--ink3); font-size:.85rem; transition:.2s;
}
.s-icon:hover { background:var(--ink); color:#fff; border-color:var(--ink); }

/* WhatsApp dropdown */
.wa-wrap { position:relative; }
.wa-menu {
    position:absolute; bottom:calc(100% + 10px); left:0;
    background:#fff; border:1px solid var(--border);
    border-radius:var(--r-md); box-shadow:0 12px 32px var(--shadow-md);
    min-width:220px; display:none; flex-direction:column; overflow:hidden;
    animation:fadeUp .2s ease;
}
@keyframes fadeUp {
    from{opacity:0;transform:translateY(8px)}
    to{opacity:1;transform:translateY(0)}
}
.wa-wrap:hover .wa-menu,
.wa-wrap.open .wa-menu {
    display: flex;
}
.wa-item {
    display:flex; align-items:center; gap:10px; padding:14px 18px;
    font-size:.875rem; font-weight:500; color:var(--ink2);
    border-bottom:1px solid var(--border); transition:.2s;
}
.wa-item:last-child { border-bottom:none; }
.wa-item:hover { background:var(--cream2); color:var(--green); }
.wa-item i { color:var(--green); width:16px; }
button.s-icon {
    cursor: pointer;
    font: inherit;
}

/* ═══════════════════════════════════════════
   PWA INSTALL PROMPT
═══════════════════════════════════════════ */
.install-banner {
    display:none; position:fixed; top:76px; right:20px;
    background:#fff; border:1px solid var(--border);
    border-radius:var(--r-lg); padding:14px 16px;
    box-shadow:0 16px 40px var(--shadow-md);
    z-index:490; max-width:280px;
    animation:slideLeft .3s ease;
}
@keyframes slideLeft {
    from{opacity:0;transform:translateX(20px)}
    to{opacity:1;transform:translateX(0)}
}
.install-inner { display:flex; align-items:center; gap:12px; }
.install-inner img { width:44px; height:44px; border-radius:10px; }
.install-text h4 { font-size:.85rem; font-weight:600; color:var(--ink); }
.install-text p  { font-size:.75rem; color:var(--ink3); }
.install-btns { display:flex; gap:8px; margin-top:12px; }
.inst-btn {
    padding:8px 16px; border-radius:50px; font-size:.78rem; font-weight:600;
    cursor:pointer; border:none; font-family:var(--font-body);
}
.inst-get { background:var(--ink); color:var(--cream); }
.inst-close { background:var(--cream2); color:var(--ink3); }

/* ═══════════════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════════════ */
.reveal {
    opacity:0;
    transform:translateY(30px);
    transition:opacity .6s ease, transform .6s ease;
}
.reveal.shown { opacity:1; transform:none; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width:1100px) {
    .hero { grid-template-columns:1fr; padding:56px 32px 40px; gap:48px; min-height:auto; }
    .hero-visual { height:320px; max-width:460px; margin:0 auto; width:100%; }
    .footer-grid { grid-template-columns:1fr 1fr; gap:36px; }
}
@media (max-width:768px) {
    .topnav { padding:0 20px; gap:0; }
    .nav-links { display:none; }
    .nav-hamburger { display:flex; }
    .tab-inner { padding:0 20px; flex-wrap:wrap; gap:0; }
    .tab-search { width:100%; margin:0 0 10px; }
    .tab-search input { width:100%; }
    .ads-section { padding:0 20px; margin-top:32px; }
    .events-section { padding:36px 20px 60px; }
    .events-header { flex-direction:column; align-items:flex-start; }
    .ev-grid { grid-template-columns:1fr; gap:20px; }
    .sponsors-section { padding:40px 20px; }
    .site-footer { padding:48px 20px 32px; }
    .footer-grid { grid-template-columns:1fr; gap:28px; }
    .footer-bottom { flex-direction:column; text-align:center; }
    .hero { padding:40px 20px 32px; }
    .hero-headline { letter-spacing:-1px; }
    .hero-chip-2,.hero-chip-3 { display:none; }
    .cookie-bar { bottom:-140px; }
    .cookie-bar.show { bottom:16px; }
}
@media (max-width:480px) {
    .tab-buttons { overflow-x:auto; white-space:nowrap; width:100%; }
    .tab-btn { padding:14px 18px; font-size:.82rem; }
}

/* Unique Newsletter Styling */
.nex-newsletter-container {
    margin: 40px 0;
    max-width: 450px;
}

.nex-newsletter-card {
    background:var(--cream); /* Semi-transparent dark brown */
    border: 1px solid var(--gold);
    padding: 24px;
    border-radius: 16px;
    backdrop-filter: blur(10px); /* Glass effect like your hero chips */
}

.nex-newsletter-card h4 {
    color: var(--gold); /* Your gold */
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
}

.nex-newsletter-card p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.nex-form {
    display: flex;
    gap: 10px;
}

.nex-input-group {
    position: relative;
    flex-grow: 1;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #f3a833;
    font-size: 0.8rem;
}

.nex-newsletter-card input {
    width: 100%;
    padding: 12px 12px 12px 35px;
    background: #1a1714;
    border: 1px solid #3d352f;
    border-radius: 8px;
    color: white;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    font-size: 16px;
}

.nex-newsletter-card input:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(243, 168, 51, 0.1);
}

.nex-newsletter-card button {
    background: var(--gold);
    color: #1a1714;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, background 0.3s ease;
}

.nex-newsletter-card button:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.nex-newsletter-card button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success/Error Messages */
.nex-status-msg {
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    display: none;
    padding: 10px;
    border-radius: 6px;
}

.msg-success {
    background: rgba(42, 92, 69, 0.2);
    color: #7cfc00;
    border: 1px solid #2A5C45;
}

.msg-error {
    background: rgba(192, 75, 42, 0.2);
    color: #ff6b6b;
    border: 1px solid #C04B2A;
}



/* ── CARD ACTIONS LAYOUT ── */
.card-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto; /* Ensures it stays at the bottom of the card body */
    position: relative;
}

/* Ensure the main button (Vote Now) takes up remaining space */
.card-actions-wrapper .card-btn {
    flex: 1;
    margin-top: 0; 
}

/* ── HYBRID ACTION AREA (Ticket Icon & Arrow) ── */
.hybrid-action-area {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mini-ticket-btn {
    width: 46px;
    height: 46px;
    background: var(--green);
    color: #fff;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(61, 122, 94, 0.2);
}

.mini-ticket-btn:hover {
    background: var(--green-lt);
    transform: scale(1.05);
}

/* ── BOUNCING ARROW OVERLAY ── */
.pencil-arrow-overlay {
    position: absolute;
    top: -55px; /* Adjust this to sit above the button */
    right: -10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none; /* Allows clicks to pass through to the button below */
    animation: bouncePointer 2s infinite ease-in-out;
    z-index: 10;
}

.arrow-text {
    font-family: var(--font-mono); /* Or a handwriting font if available */
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--ink);
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: -5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sketchy-arrow {
    width: 35px;
    height: 35px;
    font-weight:800;
    transform: rotate(50deg) scaleY(-1);
}

.sketchy-arrow path {
    stroke: var(--ink);
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── ANIMATIONS ── */
@keyframes bouncePointer {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

/* ── MOBILE ADJUSTMENTS ── */
@media (max-width: 480px) {
    .pencil-arrow-overlay {
        top: -45px;
        right: 0;
    }
    
    .mini-ticket-btn {
        width: 42px;
        height: 42px;
    }
}
.ads-event-card {
    width: 100%;
    min-width: 250px;
    min-height: 100px;
    overflow: hidden;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
}