:root {
    --bg: #050809;
    --panel: #101819;
    --panel-strong: #152224;
    --ink: #f5f7f4;
    --muted: #a8b3b0;
    --line: rgba(255, 255, 255, 0.13);
    --cyan: #45dff0;
    --cyan-soft: rgba(69, 223, 240, 0.16);
    --cyan-line: rgba(69, 223, 240, 0.36);
    --red: #ff3458;
    --amber: #f7b84b;
    --green: #6ee78d;
    --shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
    --glow: 0 0 34px rgba(69, 223, 240, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        radial-gradient(circle at 20% 0%, rgba(69, 223, 240, 0.11), transparent 28rem),
        radial-gradient(circle at 86% 14%, rgba(255, 52, 88, 0.06), transparent 22rem),
        linear-gradient(180deg, #040607 0%, #071010 48%, #040607 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.section-shell {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px clamp(16px, 4vw, 42px);
    border-bottom: 1px solid rgba(69, 223, 240, 0.16);
    background: linear-gradient(180deg, rgba(5, 8, 9, 0.98), rgba(5, 8, 9, 0.9));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brand img {
    width: 88px;
    height: 54px;
    object-fit: contain;
}

.brand span {
    text-shadow: 0 0 16px rgba(69, 223, 240, 0.18);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a,
.nav-toggle {
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--muted);
    transition: color 180ms ease, border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.site-nav a {
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--ink);
    border-color: var(--cyan-line);
    background: rgba(69, 223, 240, 0.08);
    box-shadow: 0 0 18px rgba(69, 223, 240, 0.12);
    transform: translateY(-1px);
}

.nav-admin {
    color: var(--cyan) !important;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 90vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg,
.detail-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg {
    z-index: -3;
    background-position: center;
    background-size: cover;
    transform: scale(1.03);
}

.hero-bg::after,
.detail-hero-overlay {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 31% 48%, rgba(69, 223, 240, 0.13), transparent 24rem),
        linear-gradient(90deg, rgba(5, 8, 9, 0.98) 0%, rgba(5, 8, 9, 0.78) 36%, rgba(5, 8, 9, 0.38) 66%, rgba(5, 8, 9, 0.84) 100%),
        linear-gradient(180deg, rgba(5, 8, 9, 0.1), #050809 96%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.28;
    background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 4px);
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    max-width: 760px;
    margin-left: max(0px, calc((100vw - 1180px) / 2));
    padding-block: 128px 118px;
    padding-left: clamp(16px, 2vw, 28px);
}

.hero-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 122px;
    bottom: 116px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 28px rgba(69, 223, 240, 0.62);
}

.hero-content::after {
    content: "";
    position: absolute;
    left: -6%;
    top: 22%;
    width: min(620px, 88vw);
    height: 56%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle, rgba(69, 223, 240, 0.15), transparent 64%);
}

.hero .eyebrow,
.hero h1,
.hero-copy,
.hero-actions {
    animation: heroLift 620ms ease both;
}

.hero h1 { animation-delay: 80ms; }
.hero-copy { animation-delay: 150ms; }
.hero-actions { animation-delay: 220ms; }

@keyframes heroLift {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    text-shadow: 0 0 18px rgba(69, 223, 240, 0.28);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 0.98;
    font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
    max-width: 760px;
    font-size: clamp(2.9rem, 6.4vw, 5.6rem);
    text-wrap: balance;
    text-shadow: 0 12px 42px rgba(0, 0, 0, 0.72);
}

.hero-copy,
.page-hero p,
.detail-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-copy {
    max-width: 610px;
    margin-block: 18px 28px;
    color: #c9d2cf;
}

.hero-actions,
.event-actions,
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.22) 48%, transparent 100%);
    transform: translateX(-110%);
    transition: transform 420ms ease, opacity 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn:hover::before,
.btn:focus-visible::before {
    opacity: 1;
    transform: translateX(110%);
}

.btn-primary {
    color: #041012;
    border-color: var(--cyan);
    background: linear-gradient(135deg, #7ef3ff, var(--cyan) 55%, #24aabc);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 0 28px rgba(69, 223, 240, 0.3), 0 16px 34px rgba(0, 0, 0, 0.34);
}

.btn-primary:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 0 42px rgba(69, 223, 240, 0.46), 0 18px 40px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--cyan-line);
    background: rgba(69, 223, 240, 0.08);
    box-shadow: 0 0 24px rgba(69, 223, 240, 0.14);
}

.full-width {
    width: 100%;
}

.hero-shards span {
    position: absolute;
    width: 60px;
    height: 14px;
    clip-path: polygon(0 0, 100% 30%, 86% 100%, 12% 72%);
    background: var(--red);
    opacity: 0.5;
    box-shadow: 0 0 22px rgba(255, 52, 88, 0.22);
}

.hero-shards span:nth-child(1) { top: 18%; left: 75%; }
.hero-shards span:nth-child(2) { top: 52%; left: 7%; background: var(--cyan); }
.hero-shards span:nth-child(3) { top: 76%; left: 68%; width: 90px; }
.hero-shards span:nth-child(4) { top: 34%; left: 48%; background: var(--amber); }

.hero-electric {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.hero-electric span {
    position: absolute;
    width: clamp(56px, 9vw, 124px);
    height: clamp(8px, 1.3vw, 15px);
    clip-path: polygon(0 42%, 38% 42%, 46% 0, 58% 100%, 68% 42%, 100% 42%, 68% 58%, 58% 100%, 46% 0, 38% 58%, 0 58%);
    background: rgba(69, 223, 240, 0.82);
    opacity: 0.45;
    animation: lowPulse 4.8s ease-in-out infinite;
}

.hero-electric span:nth-child(1) { left: 44%; top: 41%; transform: rotate(-28deg); }
.hero-electric span:nth-child(2) { left: 58%; top: 52%; transform: rotate(38deg); background: rgba(255, 255, 255, 0.7); }
.hero-electric span:nth-child(3) { left: 49%; top: 62%; transform: rotate(-55deg); }
.hero-electric span:nth-child(4) { left: 62%; top: 36%; transform: rotate(18deg); background: rgba(247, 184, 75, 0.7); }

@keyframes lowPulse {
    0%, 100% { opacity: 0.22; }
    50% { opacity: 0.52; }
}

.next-event-bar {
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: center;
    margin-top: -72px;
    position: relative;
    z-index: 5;
    padding: 26px;
    border: 1px solid rgba(69, 223, 240, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(69, 223, 240, 0.11), transparent 38%),
        rgba(16, 24, 25, 0.92);
    box-shadow: var(--shadow), var(--glow);
}

.next-event-bar::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(69, 223, 240, 0.72), transparent);
}

.next-event-bar h2,
.section-heading h2,
.detail-main h2 {
    font-size: clamp(2rem, 5vw, 4.2rem);
}

.next-event-bar p {
    margin: 8px 0 0;
    color: var(--muted);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.countdown span {
    min-width: 0;
    padding: 14px 10px;
    border: 1px solid rgba(69, 223, 240, 0.18);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(69, 223, 240, 0.08), rgba(255, 255, 255, 0.035));
    color: var(--muted);
    text-align: center;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 900;
}

.countdown strong {
    display: block;
    color: var(--ink);
    font-size: clamp(1.45rem, 4vw, 2.2rem);
    line-height: 1.1;
    text-shadow: 0 0 18px rgba(69, 223, 240, 0.26);
}

.event-section {
    padding-block: 84px 0;
}

.section-heading {
    display: grid;
    justify-items: start;
    gap: 8px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading .eyebrow {
    margin-bottom: 0;
}

.section-heading h2 {
    text-shadow: 0 0 24px rgba(69, 223, 240, 0.12);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.event-list {
    grid-template-columns: 1fr;
}

.event-list .event-card {
    grid-template-columns: minmax(240px, 0.42fr) 1fr;
}

.event-card {
    position: relative;
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(21, 34, 36, 0.94), rgba(9, 14, 15, 0.96));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(69, 223, 240, 0.18), transparent 28%),
        linear-gradient(315deg, rgba(255, 52, 88, 0.1), transparent 30%);
    opacity: 0;
    transition: opacity 220ms ease;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: rgba(69, 223, 240, 0.5);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44), 0 0 34px rgba(69, 223, 240, 0.16);
}

.event-card:hover::before {
    opacity: 1;
}

.event-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    background: #0a1112;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.event-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.46);
}

.event-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 38%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(5, 8, 9, 0.76));
}

.event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.event-card:hover .event-media img {
    transform: scale(1.06);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #031011;
}

.event-media .status-pill {
    position: absolute;
    z-index: 2;
    left: 12px;
    top: 12px;
}

.status-upcoming { background: var(--cyan); }
.status-running { background: var(--green); }
.status-completed { background: var(--amber); }

.event-card-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 13px;
    padding: 18px;
}

.event-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--cyan);
    font-size: 0.77rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    align-items: center;
}

.event-card-topline span:first-child {
    color: var(--ink);
}

.event-card-topline span:last-child {
    color: var(--cyan);
}

.event-card h3 {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    text-shadow: 0 0 18px rgba(69, 223, 240, 0.08);
}

.event-location,
.event-summary,
.empty-state {
    margin: 0;
    color: var(--muted);
}

.event-location {
    padding-left: 12px;
    border-left: 2px solid rgba(69, 223, 240, 0.42);
}

.event-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticket-meter {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 18px rgba(69, 223, 240, 0.08);
}

.ticket-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--red), var(--cyan));
    box-shadow: 0 0 18px rgba(69, 223, 240, 0.28);
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.share-row a,
.share-row button {
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 850;
    transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.share-row a:hover,
.share-row button:hover {
    color: var(--ink);
    border-color: rgba(69, 223, 240, 0.4);
    box-shadow: 0 0 18px rgba(69, 223, 240, 0.12);
    transform: translateY(-1px);
}

.page-hero,
.compact-hero {
    position: relative;
    padding-block: 112px 56px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 8, 9, 0.92), rgba(5, 8, 9, 0.7)),
        url("../images/kinetic-mic-banner.svg") center / cover;
    border-bottom: 1px solid var(--line);
}

.page-hero::after,
.compact-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(69, 223, 240, 0.55), transparent);
}

.page-hero > *,
.compact-hero > * {
    position: relative;
    z-index: 1;
}

.filter-panel,
.admin-card,
.event-editor,
.admin-preview,
.admin-table-wrap,
.card-panel,
.ticket-panel {
    border: 1px solid rgba(69, 223, 240, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(69, 223, 240, 0.06), transparent 32%),
        rgba(16, 24, 25, 0.88);
    box-shadow: var(--shadow), 0 0 26px rgba(69, 223, 240, 0.07);
}

.filter-panel {
    display: grid;
    grid-template-columns: 1.4fr 1fr 160px auto;
    gap: 12px;
    align-items: center;
    margin-block: 34px;
    padding: 16px;
}

.segmented {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.segmented input {
    position: absolute;
    opacity: 0;
}

.segmented span {
    display: inline-flex;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 850;
}

.segmented input:checked + span {
    color: #031011;
    border-color: var(--cyan);
    background: linear-gradient(135deg, #7ef3ff, var(--cyan));
    box-shadow: 0 0 22px rgba(69, 223, 240, 0.28);
}

input,
select,
textarea {
    width: 100%;
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    padding: 12px 13px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(69, 223, 240, 0.14), 0 0 24px rgba(69, 223, 240, 0.12);
}

.detail-hero {
    position: relative;
    min-height: 78vh;
    display: grid;
    align-items: end;
    overflow: hidden;
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    padding-block: 140px 72px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    padding-block: 72px;
}

.booking-layout,
.status-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    padding-block: 42px 72px;
}

.status-layout {
    grid-template-columns: 0.55fr 1fr;
    align-items: start;
}

.booking-form,
.booking-summary,
.booking-status-card {
    border: 1px solid rgba(69, 223, 240, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(69, 223, 240, 0.06), transparent 32%),
        rgba(16, 24, 25, 0.88);
    box-shadow: var(--shadow), 0 0 26px rgba(69, 223, 240, 0.07);
}

.booking-form,
.booking-status-card {
    padding: 22px;
}

.booking-step + .booking-step {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.booking-step h2,
.booking-status-card h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.payment-step.is-hidden {
    display: none;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.payment-option input {
    position: absolute;
    opacity: 0;
}

.payment-option span {
    display: grid;
    gap: 4px;
    min-height: 88px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.payment-option strong {
    color: var(--ink);
    font-size: 1.12rem;
    text-transform: uppercase;
}

.payment-option small {
    color: var(--muted);
}

.payment-option input:checked + span {
    border-color: var(--cyan);
    background: rgba(69, 223, 240, 0.1);
    box-shadow: 0 0 26px rgba(69, 223, 240, 0.18);
}

.payment-option span:hover {
    transform: translateY(-1px);
}

.payment-details {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid rgba(69, 223, 240, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.payment-details h3 {
    margin-bottom: 8px;
    color: var(--cyan);
    font-size: 2.6rem;
    text-shadow: 0 0 18px rgba(69, 223, 240, 0.18);
}

.payment-details p {
    margin: 0 0 12px;
    color: var(--muted);
}

.payment-account {
    display: none;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.24);
}

.payment-account.is-active {
    display: grid;
}

.payment-account span {
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 950;
    letter-spacing: 0.06em;
}

.payment-account small,
.summary-price span {
    color: var(--muted);
}

.booking-summary {
    overflow: hidden;
    align-self: start;
    position: sticky;
    top: 92px;
}

.booking-summary img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.booking-summary-body {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.booking-summary h2 {
    font-size: 2.6rem;
}

.booking-summary p {
    margin: 0;
    color: var(--muted);
}

.summary-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid rgba(69, 223, 240, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.summary-price strong {
    color: var(--cyan);
    font-size: 1.4rem;
}

.status-search {
    display: grid;
    gap: 14px;
}

.status-search label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

.booking-status-card {
    display: grid;
    gap: 18px;
}

.booking-status {
    display: inline-flex;
    width: max-content;
    min-height: 32px;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    color: #031011;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.booking-status.status-pending { background: var(--amber); }
.booking-status.status-confirmed { background: var(--green); }
.booking-status.status-rejected { background: var(--red); color: var(--ink); }

.booking-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.booking-status-grid p {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.booking-status-grid strong {
    color: var(--cyan);
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
}

.booking-status-grid span,
.status-note {
    color: var(--muted);
}

.gate-pass {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(69, 223, 240, 0.32);
    border-radius: 8px;
    background: rgba(69, 223, 240, 0.08);
    box-shadow: 0 0 30px rgba(69, 223, 240, 0.12);
}

.gate-pass span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 900;
}

.gate-pass strong {
    color: var(--cyan);
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(2.4rem, 8vw, 5rem);
    letter-spacing: 0.08em;
    line-height: 1;
}

.detail-main,
.detail-sidebar {
    min-width: 0;
}

.detail-main > p {
    color: var(--muted);
    font-size: 1.06rem;
}

.performers,
.schedule,
.map-card {
    margin-top: 36px;
}

.performers h3,
.schedule h3,
.map-card h3 {
    margin-bottom: 16px;
    font-size: 2rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud span {
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 850;
}

.schedule-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.schedule-item time {
    color: var(--cyan);
    font-weight: 950;
}

.map-card iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 8px;
    filter: grayscale(1) invert(0.9) contrast(0.85);
}

.detail-sidebar {
    display: grid;
    align-content: start;
    gap: 18px;
}

.ticket-panel {
    overflow: hidden;
}

.ticket-panel img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ticket-panel-body,
.card-panel {
    padding: 18px;
}

.ticket-panel h2 {
    font-size: 3.4rem;
}

.ticket-stalls {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.ticket-stalls h3 {
    font-size: 1.35rem;
}

.ticket-stalls p {
    margin: 0;
    color: var(--muted);
    font-weight: 850;
}

.share-row-large a,
.share-row-large button {
    min-height: 42px;
    border-radius: 8px;
}

.site-footer {
    margin-top: 80px;
    border-top: 1px solid var(--line);
    background: #040707;
}

.newsletter {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
    align-items: center;
    padding-block: 52px;
}

.newsletter h2 {
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-block: 24px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 16px;
}

.share-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    max-width: calc(100vw - 36px);
    padding: 12px 14px;
    border: 1px solid rgba(69, 223, 240, 0.4);
    border-radius: 8px;
    background: rgba(5, 8, 9, 0.92);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.share-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.admin-login {
    min-height: 72vh;
    display: grid;
    place-items: center;
    padding-block: 80px;
}

.admin-card {
    width: min(440px, 100%);
    padding: 24px;
}

.admin-card h1 {
    margin-bottom: 20px;
    font-size: 3.5rem;
}

.admin-card label,
.event-editor label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

.admin-card label + label,
.event-editor label + label {
    margin-top: 14px;
}

.form-error {
    padding: 12px;
    border: 1px solid rgba(255, 52, 88, 0.4);
    border-radius: 8px;
    color: #ffd2da;
    background: rgba(255, 52, 88, 0.12);
}

.admin-hint {
    color: var(--muted);
    font-size: 0.85rem;
}

.admin-hero {
    padding-bottom: 40px;
}

.dashboard-head,
.table-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    padding-block: 28px;
}

.stat-card {
    display: block;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16, 24, 25, 0.82);
}

.stat-card span {
    color: var(--muted);
    font-weight: 900;
    text-transform: uppercase;
}

.stat-card strong {
    display: block;
    color: var(--cyan);
    font-family: Impact, "Arial Black", sans-serif;
    font-size: 4rem;
    line-height: 1;
}

.admin-table-wrap {
    padding: 20px;
}

.responsive-table {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    padding: 16px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.admin-table th {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.78rem;
}

.admin-table td span {
    display: block;
    color: var(--muted);
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.table-actions a,
.table-actions button {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
    padding: 7px 10px;
    cursor: pointer;
}

.table-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.table-filters a {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.table-filters a.is-active {
    color: #031011;
    border-color: var(--cyan);
    background: var(--cyan);
    box-shadow: 0 0 18px rgba(69, 223, 240, 0.24);
}

.booking-table {
    min-width: 980px;
}

.editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    padding-block: 34px;
}

.event-editor,
.admin-preview {
    padding: 20px;
}

.form-grid,
.upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.upload-grid {
    grid-template-columns: repeat(3, 1fr);
}

.checkbox-panel {
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.checkbox-panel legend {
    padding-inline: 8px;
    color: var(--cyan);
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.checkbox-grid label {
    display: block;
}

.checkbox-grid input {
    position: absolute;
    opacity: 0;
}

.checkbox-grid span {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    font-weight: 850;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.checkbox-grid input:checked + span {
    color: #031011;
    border-color: var(--cyan);
    background: var(--cyan);
}

.checkbox-grid span:hover {
    transform: translateY(-1px);
    border-color: rgba(69, 223, 240, 0.42);
}

.preview-card {
    position: sticky;
    top: 92px;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 520ms ease, transform 520ms ease;
}

@media (max-width: 980px) {
    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-panel,
    .detail-layout,
    .booking-layout,
    .status-layout,
    .newsletter,
    .editor-layout {
        grid-template-columns: 1fr;
    }

    .event-list .event-card {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        grid-row: 1;
    }

    .booking-summary {
        position: static;
        grid-row: 1;
    }
}

@media (max-width: 720px) {
    .site-header {
        padding: 10px 16px;
    }

    .brand span {
        display: none;
    }

    .brand img {
        width: 78px;
        height: 46px;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 70px;
        display: grid;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(5, 8, 9, 0.96);
        transform: translateY(-14px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hero {
        min-height: 86vh;
    }

    .hero-content {
        padding-block: 96px 80px;
    }

    .next-event-bar,
    .dashboard-head,
    .table-heading,
    .footer-bottom {
        grid-template-columns: 1fr;
        display: grid;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-grid,
    .dashboard-grid,
    .form-grid,
    .upload-grid,
    .checkbox-grid,
    .payment-options,
    .booking-status-grid {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        margin-block: 22px;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
