/* =========================================
   TIKET ARENA — PREMIUM THEME (Green & Gold)
   ========================================= */

:root {
    /* ===== SILVER / PLATINUM THEME ===== */
    --green-900: #1a1d21;      /* darkest metallic */
    --green-800: #23272d;
    --green-700: #2c3138;
    --green-600: #3a4049;
    --green-500: #4b525c;
    --green-100: #e8eaed;
    --green-50:  #f4f5f7;

    --gold-700: #8a919c;      /* platinum dark */
    --gold-600: #a6adb8;
    --gold-500: #c0c6cf;
    --gold-400: #d4d9e0;
    --gold-300: #e5e9ee;
    --gold-100: #f0f2f5;
    --gold-gradient: linear-gradient(135deg, #d4d9e0 0%, #a6adb8 100%);

    --dark: #111418;
    --gray-700: #3f4650;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #eef0f3;
    --white: #ffffff;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-gold: 0 4px 14px 0 rgba(166, 173, 184, 0.35);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    background-color: var(--gray-100);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--green-900); }
.section-title { 
    position: relative; 
    display: inline-block; 
    margin-bottom: 1.5rem; 
    padding-bottom: 0.5rem;
    font-size: 1.5rem;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 3px;
    background: var(--gold-500);
    border-radius: 2px;
}

/* === NAVBAR === */
.navbar-arena {
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
    box-shadow: var(--shadow-md);
    padding: 0.8rem 0;
    border-bottom: 3px solid var(--gold-500);
    /* Pastikan navbar selalu di atas konten sticky (mis. sidebar Informasi Event) */
    z-index: 1030;
}
.navbar-arena .navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white) !important;
    letter-spacing: -0.5px;
}
.navbar-arena .navbar-brand img { border: 2px solid rgba(255,255,255,0.25); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.navbar-arena .navbar-brand span { color: var(--gold-400); }
.navbar-arena .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s;
    border-radius: var(--radius-sm);
}
.navbar-arena .nav-link:hover, .navbar-arena .nav-link.active {
    color: var(--gold-400) !important;
    background: rgba(255,255,255,0.1);
}

/* === HERO SECTION === */
.hero-arena {
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 50%, var(--green-600) 100%);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}
.hero-arena::before {
    content: "";
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(166,173,184,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-arena h1 { color: var(--white); text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero-arena .lead { opacity: 0.92; font-size: 1.15rem; max-width: 640px; }

/* === CARDS === */
.card-arena {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
    background: var(--white);
    overflow: hidden;
    /* Tinggi natural mengikuti konten. Untuk grid tinggi-sama (mis. kartu acara
       di beranda) gunakan util Bootstrap .h-100 pada kartunya — JANGAN paksa
       height:100% global, karena bikin kartu yang ditumpuk dalam satu kolom
       (mis. halaman detail acara) melar sepenuh kolom. */
}
.card-arena:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card-arena .card-header {
    background: var(--green-50);
    border-bottom: 1px solid var(--green-100);
    font-weight: 700;
    color: var(--green-800);
    padding: 1rem 1.25rem;
}
.card-arena .card-body { padding: 1.25rem; }

.event-card { position: relative; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.event-card .event-date-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--gold-gradient);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-gold);
    z-index: 2;
}
.event-card .card-body h5 { 
    font-size: 1.1rem; 
    margin-bottom: 0.5rem;
    color: var(--green-900);
}
.event-card .event-meta {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}
.event-card .event-meta i { color: var(--gold-600); margin-right: 4px; }

/* === BUTTONS === */
.btn-admin-gold {
    background: var(--gold-gradient);
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-gold);
    transition: all 0.2s;
}
.btn-admin-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(166,173,184,0.4);
    color: var(--white);
}
.btn-outline-arena {
    border: 2px solid var(--green-700);
    color: var(--green-700);
    font-weight: 600;
    border-radius: var(--radius-md);
}
.btn-outline-arena:hover {
    background: var(--green-700);
    color: var(--white);
}

/* === BADGES === */
.badge-gold {
    background: var(--gold-gradient);
    color: var(--white);
    padding: 0.35em 0.75em;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8em;
}
.badge-green {
    background: var(--green-700);
    color: var(--white);
    padding: 0.35em 0.75em;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.badge-pending { background: var(--gold-500); color: var(--white); }
.badge-paid { background: var(--green-600); color: var(--white); }
.badge-cancelled { background: var(--gray-500); color: var(--white); }

/* === STATS === */
.stat-arena {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--gold-500);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-arena:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-900);
    line-height: 1.2;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* === TABLES === */
.table-arena {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.table-arena thead th {
    background: var(--green-50);
    color: var(--green-900);
    font-weight: 700;
    border-bottom: 2px solid var(--green-100);
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
}
.table-arena tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
}
.table-arena tbody tr:hover { background: var(--green-50); }

/* === FORMS === */
.form-control:focus, .form-select:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(166,173,184,0.15);
}
.form-label { font-weight: 600; color: var(--gray-700); margin-bottom: 0.35rem; }

/* === TICKET STEPPER === */
.stepper-container { counter-reset: step; }
.step-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}
.step-item::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0; top: 0;
    width: 2.2rem; height: 2.2rem;
    background: var(--green-100);
    color: var(--green-800);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.step-item.active::before {
    background: var(--gold-gradient);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}
.step-item.completed::before {
    background: var(--green-600);
    color: var(--white);
    content: "✓";
}

/* === ADMIN SIDEBAR === */
.admin-sidebar {
    background: linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 100%);
    min-height: 100vh;
    width: 260px;
    position: fixed;
    left: 0; top: 0;
    z-index: 1050;
    transition: width 0.3s;
    border-right: 3px solid var(--gold-500);
}
.admin-sidebar.collapsed { width: 70px; }
.admin-sidebar .sidebar-brand {
    padding: 1.2rem 1rem;
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
    overflow: hidden;
}
.admin-sidebar .sidebar-brand span { color: var(--gold-400); }
.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 0.75rem 1.2rem;
    display: flex; align-items: center; gap: 0.75rem;
    transition: all 0.2s;
    white-space: nowrap;
}
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    border-left: 3px solid var(--gold-500);
}
.admin-sidebar .nav-link i { font-size: 1.1rem; min-width: 1.5rem; text-align: center; }
.admin-sidebar.collapsed .nav-text { display: none; }
.admin-sidebar.collapsed .sidebar-brand { font-size: 0; }
.admin-sidebar.collapsed .sidebar-brand::first-letter { font-size: 1.2rem; }

.admin-content {
    margin-left: 260px;
    padding: 1.5rem 2rem;
    transition: margin-left 0.3s;
    min-height: 100vh;
    background: var(--gray-100);
}
.admin-content.expanded { margin-left: 70px; }

/* === FOOTER === */
.footer-arena {
    background: var(--green-900);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 0;
    margin-top: auto;
    border-top: 3px solid var(--gold-500);
}
.footer-arena a { color: var(--gold-400); text-decoration: none; transition: color 0.2s; }
.footer-arena a:hover { color: var(--gold-300); }
.footer-brand { font-weight: 800; font-size: 1.3rem; color: var(--white); letter-spacing: -0.5px; }
.footer-brand span { color: var(--gold-400); }
.footer-title { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.9rem; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--gold-300); }
.footer-bottom {
    margin-top: 2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.15);
    color: rgba(255,255,255,0.6);
}

/* === UTILITIES === */
.text-gold { color: var(--gold-600) !important; }
.text-green { color: var(--green-700) !important; }
.bg-green-soft { background: var(--green-50); }
.bg-gold-soft { background: var(--gold-100); }
.line { height: 1px; background: var(--gray-300); margin: 1rem 0; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-arena { padding: 2.5rem 0; }
    .hero-arena h1 { font-size: 1.8rem; }
    .stat-value { font-size: 1.5rem; }
    .admin-sidebar { width: 70px; }
    .admin-sidebar .nav-text { display: none; }
    .admin-sidebar .sidebar-brand { font-size: 0; }
    .admin-content { margin-left: 70px; padding: 1rem; }
    .section-title { font-size: 1.25rem; }
}

/* Stats Icon Styling */
.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold-gradient);
    /* Ikon putih di atas silver hanya 1,72–2,26:1 (nyaris hilang).
       Hijau tua menembus 11,92:1 dan tetap selaras palet. */
    color: var(--green-900);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
}

/* (Definisi .stat-arena, .event-card, dan .hero-arena .lead dikonsolidasikan ke blok masing-masing di atas) */

/* Event List Card (horizontal layout) */
.event-list-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.event-list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.event-list-card .price-tag {
    color: var(--gold-700);
    font-weight: 800;
}

@media (max-width: 768px) {
    .event-list-card .row > div:first-child {
        border-radius: 16px 16px 0 0 !important;
        min-height: 100px !important;
        padding: 1.5rem !important;
        flex-direction: row;
        gap: 1rem;
    }
    .event-list-card .row > div:first-child .display-4 {
        font-size: 2rem;
    }
    .event-list-card .card-body {
        padding: 1.25rem !important;
    }
}

/* Fix card whitespace: section-title inside card-body should not stretch */
.card-body .section-title {
    margin-bottom: 0.75rem !important;
}
.tiny { font-size: 0.72rem; }
.text-white-75 { color: rgba(255,255,255,0.75) !important; }

/* Event detail info boxes */
.bg-green-soft, .bg-gold-soft { border-radius: 12px !important; }

/* Table-arena header icon alignment */
.table-arena thead th { white-space: nowrap; }

/* Ensure price never wraps */
.table-arena td { vertical-align: middle; }
.table-arena .text-nowrap { white-space: nowrap; }

/* Fix breadcrumb on dark hero */
.hero-arena .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* =========================================
   HOMEPAGE SECTIONS & POSTER COMPONENTS
   (poster acara + rombak homepage)
   ========================================= */
html { scroll-behavior: smooth; }

/* Judul section rata tengah */
.section-title-center {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}
.section-title-center::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 64px; height: 3px;
    background: var(--gold-500);
    border-radius: 2px;
}

/* --- HERO home --- */
.hero-home {
    padding: 4.5rem 0 5.5rem;
    /* Foto burung sebagai latar beranda; gradasi hijau di atasnya menjaga teks
       tetap terbaca. Lebih pekat di kiri (area teks) lalu memudar ke kanan agar
       fotonya tetap kelihatan. Di-scope ke .hero-home saja — hero halaman lain
       (mis. detail acara) tetap gradasi hijau polos. */
    background-image:
        linear-gradient(100deg, rgba(26,29,33,0.96) 0%, rgba(44,49,56,0.78) 38%, rgba(58,64,73,0.28) 78%, rgba(58,64,73,0.12) 100%),
        url("../images/hero-bird.jpg");
    background-size: cover;
    background-position: 78% center;
    background-repeat: no-repeat;
}
/* Teks putih di atas foto: beri bayangan tipis biar kontras di segala area. */
.hero-home .lead,
.hero-home .hero-badge,
.hero-home .hero-badges span { text-shadow: 0 1px 3px rgba(0,0,0,0.35); }
/* Emblem piala jadi mubazir di atas foto asli — sembunyikan khusus hero beranda. */
.hero-home .hero-illustration { display: none; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}
.text-gold-hero { color: var(--gold-400); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.hero-badges span { color: rgba(255,255,255,0.9); font-size: 0.88rem; font-weight: 500; }
.hero-badges i { color: var(--gold-400); }
.hero-illustration {
    width: 220px; height: 220px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(166,173,184,0.35), rgba(166,173,184,0.08));
    border: 2px solid rgba(255,255,255,0.15);
}
.hero-illustration i { font-size: 6rem; color: var(--gold-300); filter: drop-shadow(0 6px 14px rgba(0,0,0,0.3)); }

/* Stats mengambang di atas hero */
.stats-lift { margin-top: -3.5rem; position: relative; z-index: 2; }

/* --- Cara Daftar --- */
.how-step {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    border-top: 4px solid var(--green-600);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.how-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.how-step__num {
    position: absolute;
    top: -1rem; left: 50%;
    transform: translateX(-50%);
    width: 2.5rem; height: 2.5rem;
    background: var(--gold-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    box-shadow: var(--shadow-gold);
}
.how-step__icon { font-size: 2.25rem; color: var(--green-600); margin: 0.5rem 0 0.75rem; display: block; }

/* --- Feature cards --- */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem 1.25rem;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card__icon {
    width: 60px; height: 60px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 1.6rem;
}

/* --- CTA banner --- */
.cta-arena {
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.cta-arena::before {
    content: "";
    position: absolute; right: -40px; top: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(166,173,184,0.25), transparent 70%);
    border-radius: 50%;
}
.cta-arena__content { position: relative; z-index: 1; }
.cta-arena__content p { color: rgba(255,255,255,0.85); }

/* --- FAQ accordion --- */
.accordion-arena .accordion-item {
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.accordion-arena .accordion-button { font-weight: 600; color: var(--green-900); }
.accordion-arena .accordion-button:not(.collapsed) { background: var(--green-50); color: var(--green-900); box-shadow: none; }
.accordion-arena .accordion-button:focus { box-shadow: 0 0 0 3px rgba(166,173,184,0.15); }

/* --- Poster: partial (cover) --- */
.event-poster {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--green-50);
}
.event-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-poster__fallback {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,0.9);
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
}
.event-poster__fallback i { font-size: 2.75rem; opacity: 0.85; }
.event-card__media { position: relative; }

/* --- Poster: kartu horizontal /acara --- */
.event-list-media {
    position: relative;
    height: 100%;
    min-height: 210px;
    overflow: hidden;
    border-radius: 16px 0 0 16px;
}
.event-list-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-list-media__date {
    height: 100%; min-height: 210px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; color: #fff;
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
}
.event-list-media__badge {
    position: absolute; top: 0.75rem; left: 0.75rem;
    background: var(--gold-gradient);
    color: #fff;
    padding: 0.4rem 0.7rem;
    border-radius: 12px;
    text-align: center; line-height: 1.05;
    box-shadow: var(--shadow-gold);
}

/* --- Poster: banner detail --- */
.poster-banner {
    position: relative;
    max-width: 600px;
    margin: 0.25rem auto 0;
    padding: 1.1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Latar blur dari poster itu sendiri: mengisi sisa ruang (potret → samping,
   landscape → atas/bawah) supaya terlihat rapi & proporsional, bukan bar kosong. */
.poster-banner__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--poster);
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.5) saturate(1.15);
    transform: scale(1.25);
}
.poster-banner img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 620px;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 34px rgba(0,0,0,0.45);
}
.poster-banner__zoom {
    position: absolute;
    z-index: 2;
    right: 0.75rem; bottom: 0.75rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

/* Responsif: homepage & poster kartu horizontal */
@media (max-width: 768px) {
    .hero-home { padding: 3rem 0 4rem; }
    .stats-lift { margin-top: 1.5rem; }
    .section-title-center { font-size: 1.4rem; }
    .cta-arena { padding: 1.75rem; justify-content: center; text-align: center; }
    .event-list-card .row > div:first-child { padding: 0 !important; min-height: 0 !important; }
    .event-list-media, .event-list-media__date { border-radius: 16px 16px 0 0; min-height: 170px; }
}

/* =========================================
   HALAMAN BELI TIKET — stepper qty + panel ringkasan
   ========================================= */
.stepper-btn {
    width: 40px; height: 40px;
    flex: 0 0 40px;
    border: 1px solid var(--green-600);
    background: var(--white);
    color: var(--green-700);
    border-radius: 50%;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
    user-select: none;
}
.stepper-btn:hover { background: var(--green-600); color: #fff; }
.stepper-btn:active { transform: scale(0.9); }
.stepper-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(166,173,184,0.25); }
.stepper-qty {
    min-width: 2.25ch;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--green-900);
}
.price-tag { color: var(--gold-700); font-weight: 800; }
.ticket-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    border-top: 4px solid var(--gold-500);
}

/* =========================================
   V2 — PERBAIKAN TAMPILAN PREMIUM
   ========================================= */

/* --- Fade-in halus untuk konten utama --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-arena, .stats-lift, .card-arena, .event-list-card, .feature-card, .how-step, .cta-arena {
    animation: fadeInUp 0.5s ease both;
}
.stats-lift { animation-delay: 0.08s; }
.event-list-card:nth-child(2) { animation-delay: 0.05s; }
.event-list-card:nth-child(3) { animation-delay: 0.1s; }
.event-list-card:nth-child(4) { animation-delay: 0.15s; }

/* --- Tombol emas: kontras lebih kuat + kilau hover --- */
.btn-admin-gold {
    background: var(--gold-gradient);
    border: 1px solid var(--gold-600);
    color: var(--white);
    font-weight: 700;
    box-shadow: var(--shadow-gold);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-admin-gold:hover,
.btn-admin-gold:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px 0 rgba(166, 173, 184, 0.45);
    filter: brightness(1.05);
    color: var(--white);
}
.btn-admin-gold:active { transform: translateY(0); }

/* --- Poster event: lebih besar & menonjol di card utama --- */
.event-card__media { overflow: hidden; }
.event-card__media img,
.event-card__media .event-list-media img {
    transition: transform 0.4s ease;
}
.event-card:hover .event-card__media img,
.event-card:hover .event-list-media img {
    transform: scale(1.05);
}

/* --- Tabel admin: rounded + stripe halus --- */
.table-rounded { border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--radius-lg); }
.table-rounded thead th { background: var(--green-900); color: var(--white); border: none; padding: 0.8rem 1rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.6px; }
.table-rounded tbody td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.table-rounded tbody tr:nth-child(even) { background: var(--green-50); }
.table-rounded tbody tr:hover { background: var(--green-100); }
.table-rounded tbody tr:last-child td { border-bottom: none; }

/* --- Typography: judul card lebih tegas --- */
.event-card .card-body h5,
.event-card__title { font-size: 1.22rem; font-weight: 800; }
.event-meta, .text-muted { line-height: 1.6; }
.event-card .card-body p { line-height: 1.65; }

/* --- Badge status hijau/emas lebih lembut --- */
.badge-green { background: var(--green-100); color: var(--green-800); font-weight: 700; }
.badge-pending { background: var(--gold-100); color: var(--gold-700); font-weight: 700; }

/* --- Halaman login: pattern dekoratif --- */
.login-shell {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(166, 173, 184, 0.18) 0, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(166, 173, 184, 0.15) 0, transparent 45%),
        linear-gradient(135deg, var(--green-900), var(--green-700));
}
.login-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
.login-card { position: relative; z-index: 1; border: 1px solid rgba(166, 173, 184, 0.25); }
.login-logo {
    width: 72px; height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    border: 2px solid rgba(166, 173, 184, 0.5);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* --- Footer lebih rapi --- */
.footer-arena { margin-top: auto; }
.footer-arena .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }

/* --- Scrollbar halus (opsional, Chrome) --- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--green-700); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-600); }

/* =========================================
   DASBOR ADMIN — KEPALA, KPI, KUOTA, GRAFIK, AKSI CEPAT
   (memakai variabel palet yang sudah ada; tanpa warna baru)
   ========================================= */

/* --- Kepala dasbor: gradien gelap + aksen emas kiri --- */
.dash-hello {
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
    color: var(--white);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.dash-hello::before {
    content: "";
    position: absolute;
    top: -60%; right: -10%;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(166,173,184,0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.dash-hello > * { position: relative; z-index: 1; }
.dash-hello__greet { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.3px; }
.dash-hello__date { color: rgba(255,255,255,0.78); font-size: 0.9rem; margin-top: 0.15rem; }

/* --- Kartu KPI: ikon + sublabel --- */
.stat-arena--kpi { padding: 1.25rem 1rem; }
.stat-arena--kpi .stat-icon { width: 46px; height: 46px; font-size: 1.15rem; margin-bottom: 0.6rem; }
.stat-arena--kpi .stat-value { font-size: 1.85rem; }
.stat-arena--warn { border-top-color: var(--gold-700); }
.kpi-sub { font-size: 0.78rem; color: var(--gray-500); margin-top: 0.35rem; line-height: 1.35; }

/* --- Baris kuota per event --- */
.quota-row { padding: 0.75rem 0; border-bottom: 1px solid var(--gray-100); }
.quota-row:last-child { border-bottom: none; padding-bottom: 0; }
.quota-title { font-weight: 700; color: var(--green-900); font-size: 0.95rem; line-height: 1.3; }
.quota-meta { font-size: 0.78rem; color: var(--gray-500); }
.quota-count { font-weight: 800; color: var(--green-900); font-size: 1.05rem; line-height: 1.1; }
.quota-persen { font-size: 0.72rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; }
.quota-bar {
    height: 8px;
    background: var(--green-100);
    border-radius: 999px;
    overflow: hidden;
}
.quota-fill {
    height: 100%;
    background: var(--green-600);
    border-radius: 999px;
    transition: width 0.4s ease;
}
.quota-fill.is-warn { background: var(--gold-500); }
.quota-fill.is-full { background: var(--gold-700); }
.quota-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.5rem; margin-top: 0.35rem; font-size: 0.78rem;
}

/* --- Grafik batang 7 hari (CSS murni, tanpa library) ---
   PERBAIKAN BUG "GRAFIK TIDAK TAMPIL": sebelumnya batang memakai
   --gold-gradient (silver #d4d9e0 → #a6adb8) di atas track --green-50
   (#f4f5f7) — kontras hanya 1,30–2,07:1, jauh di bawah ambang WCAG
   untuk grafik non-teks (3:1), sehingga batang nyaris tak terlihat.
   Sekarang batang memakai gradasi hijau tua yang kontras 9,58–13,75:1. */
.spark {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 170px;
    padding-top: 0.5rem;
    position: relative;
    border-bottom: 2px solid var(--gray-100); /* garis dasar grafik */
}
.spark-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-width: 0;
}
.spark-val { font-size: 0.72rem; font-weight: 700; color: var(--green-900); height: 1rem; }
.spark-track {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    align-items: flex-end;
    background: var(--green-50);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--gray-100);
}
.spark-fill {
    width: 100%;
    background: linear-gradient(180deg, var(--green-600) 0%, var(--green-800) 100%);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    box-shadow: inset 0 -2px 0 0 var(--gold-500); /* aksen emas di puncak batang */
    transition: height 0.4s ease, filter 0.2s ease;
}
.spark-col:hover .spark-fill { filter: brightness(1.25); }
.spark-fill.is-empty { background: var(--gray-300); box-shadow: none; }
.spark-lbl { font-size: 0.7rem; color: var(--gray-500); margin-top: 0.3rem; white-space: nowrap; }
.spark-col.is-today .spark-lbl { color: var(--green-900); font-weight: 700; }
.spark-col.is-today .spark-track { box-shadow: inset 0 0 0 1px var(--gold-500); }

/* --- Aksi cepat: chip ikon + judul + keterangan + panah --- */
.quick-tile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    border-top: 3px solid var(--gold-500);
    color: var(--green-900);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}
.quick-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--green-900); /* 11,92:1 — sebelumnya ikon emas pudar 3,18:1 */
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}
.quick-tile__body { min-width: 0; flex: 1 1 auto; }
.quick-tile__title { font-weight: 700; font-size: 0.9rem; line-height: 1.2; color: var(--green-900); }
.quick-tile__desc { font-size: 0.74rem; color: var(--gray-500); margin-top: 0.15rem; }
.quick-tile__go {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--gold-700);
    font-size: 0.9rem;
    transition: transform 0.2s ease, color 0.2s ease;
}
.quick-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--gold-700);
}
.quick-tile:hover .quick-tile__go { transform: translateX(3px); color: var(--green-900); }
.quick-tile__badge {
    margin-left: auto;
    flex-shrink: 0;
    background: var(--gold-500);
    color: var(--green-900);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .dash-hello { padding: 1rem; }
    .dash-hello__greet { font-size: 1.1rem; }
    .spark { height: 130px; }
    .spark-lbl { font-size: 0.62rem; }
    .quota-title { font-size: 0.9rem; }
}
