/* Jacks Tickets — premium ticketing starter */
:root {
    --bg: #070d16;
    --bg-deep: #04070d;
    --panel: rgba(14, 21, 36, 0.72);
    --panel-strong: rgba(18, 27, 45, 0.92);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.16);
    --text: #f5f7fb;
    --muted: #9fb0c9;
    --gold: #ffd166;
    --cyan: #5be8ff;
    --violet: #9b8cff;
    --success: #5adf9d;
    --danger: #ff7a90;
    --info: #83b8ff;
    --shadow-xl: 0 28px 80px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.35);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: min(1180px, calc(100vw - 32px));
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(123, 92, 255, 0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(91, 232, 255, 0.16), transparent 30%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    min-height: 100vh;
}

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

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

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

.site-shell {
    position: relative;
    min-height: 100vh;
    isolation: isolate;
}

.site-backdrop::before,
.site-backdrop::after {
    content: "";
    position: fixed;
    inset: auto auto 10% -12%;
    width: 380px;
    height: 380px;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
    background: rgba(124, 58, 237, 0.36);
}

.site-backdrop::after {
    inset: 16% -10% auto auto;
    background: rgba(14, 165, 233, 0.22);
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.page {
    padding-bottom: 80px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(6, 10, 18, 0.92), rgba(6, 10, 18, 0.68));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    filter: drop-shadow(0 10px 22px rgba(255, 209, 102, 0.24));
}

.brand__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand__copy strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.brand__copy span {
    color: var(--muted);
    font-size: 0.85rem;
}

.nav,
.topbar__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav a {
    position: relative;
    color: var(--muted);
    padding: 10px 14px;
    border-radius: 999px;
    transition: 0.25s ease;
}

.nav a:hover,
.nav a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.mobile-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    margin: 5px 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.pill--soft {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--sm {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 0.95rem;
}

.btn--primary {
    background: linear-gradient(135deg, rgba(255, 209, 102, 1), rgba(255, 240, 180, 1));
    color: #21190a;
    box-shadow: 0 10px 24px rgba(255, 209, 102, 0.22);
}

.btn--secondary {
    background: linear-gradient(135deg, rgba(91, 232, 255, 1), rgba(124, 92, 255, 0.95));
    color: #03121a;
    box-shadow: 0 10px 24px rgba(91, 232, 255, 0.18);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.08);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
}

.btn--danger {
    background: rgba(255, 122, 144, 0.12);
    color: #ffd7de;
    border-color: rgba(255, 122, 144, 0.24);
}

.flash-stack {
    display: grid;
    gap: 14px;
    padding-top: 18px;
}

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.flash--success {
    border-color: rgba(90, 223, 157, 0.28);
    background: rgba(90, 223, 157, 0.1);
}

.flash--warning {
    border-color: rgba(255, 209, 102, 0.3);
    background: rgba(255, 209, 102, 0.1);
}

.flash--danger {
    border-color: rgba(255, 122, 144, 0.3);
    background: rgba(255, 122, 144, 0.1);
}

.flash__close {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.section {
    padding: 48px 0;
}

.section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.section__head p {
    max-width: 680px;
    color: var(--muted);
}

.eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    color: var(--muted);
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.eyebrow span {
    position: relative;
}

.eyebrow span:not(:last-child)::after {
    content: "•";
    margin-left: 14px;
    color: rgba(255, 255, 255, 0.2);
}

.display {
    margin: 10px 0 16px;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--muted);
    max-width: 720px;
}

.hero {
    padding: 46px 0 26px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 26px;
    align-items: center;
}

.hero__copy,
.glass-panel,
.card,
.metric-card,
.info-tile,
.table-card,
.ticket-shell,
.checkout-summary,
.auth-card,
.admin-shell,
.validator-result,
.empty-state {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(12, 18, 30, 0.56));
    backdrop-filter: blur(22px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero__copy {
    padding: clamp(30px, 5vw, 54px);
}

.hero__actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.metric-card {
    padding: 18px;
    border-radius: 22px;
}

.metric-card strong {
    display: block;
    margin-top: 12px;
    font-size: 1.7rem;
    letter-spacing: -0.03em;
}

.metric-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero__stack {
    display: grid;
    gap: 14px;
}

.hero-card {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 28px;
}

.hero-card__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 6px 6px 0;
}

.hero-card__body p {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.hero-card__body h3,
.card h3,
h1, h2, h3, h4 {
    margin: 0;
}

.hero-badge {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold);
    font-weight: 700;
}

.grid-3,
.grid-4,
.event-grid,
.stats-grid,
.table-grid,
.account-grid,
.checkout-grid,
.detail-grid,
.auth-grid,
.two-col {
    display: grid;
    gap: 18px;
}

.grid-3,
.stats-grid,
.account-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card {
    padding: 22px;
}

.card p {
    color: var(--muted);
    line-height: 1.7;
}

.card--tight {
    padding: 18px;
}

.event-card {
    padding: 14px;
    border-radius: 30px;
}

.event-card__poster-link {
    display: block;
}

.event-card__body {
    padding: 18px 10px 8px;
}

.event-card__body h3 {
    font-size: 1.32rem;
    margin: 14px 0 8px;
}

.event-card__body p {
    margin: 0 0 14px;
}

.event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.event-card__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.poster {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, var(--poster-from), var(--poster-to)),
        radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 35%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 16px 40px rgba(0,0,0,0.32);
}

.poster--hero {
    min-height: 420px;
    border-radius: 30px;
    padding: 24px;
}

.poster__glow {
    position: absolute;
    inset: auto -20% -25% auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 62%);
    filter: blur(8px);
    opacity: 0.7;
}

.poster__day {
    position: relative;
    z-index: 1;
    width: 78px;
    aspect-ratio: 1;
    border-radius: 20px;
    display: grid;
    place-items: center;
    align-content: center;
    background: rgba(5, 9, 16, 0.42);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.poster__day span {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
}

.poster__day small {
    display: block;
    margin-top: 3px;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: rgba(255,255,255,0.86);
}

.poster__meta {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
}

.poster--hero .poster__meta {
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.poster__meta strong {
    display: block;
    font-size: clamp(1.4rem, 2vw, 2.4rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 14px 0 8px;
}

.poster__meta p {
    margin: 0;
    color: rgba(255,255,255,0.88);
}

.poster__badge {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(5, 9, 16, 0.45);
    color: var(--poster-accent);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.poster__lines {
    position: absolute;
    inset: 16px 16px auto auto;
    display: grid;
    gap: 8px;
    width: 82px;
}

.poster__lines span {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0.66), rgba(255,255,255,0));
    opacity: 0.8;
}

.badge-row,
.city-strip,
.highlights-list,
.stats-row,
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag,
.stat-pill,
.city-strip span,
.badge,
.ticket-status,
.order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--muted);
    font-size: 0.92rem;
}

.badge {
    color: var(--gold);
}

.stat-pill {
    color: var(--text);
}

.city-strip span {
    color: var(--text);
}

.feature-card {
    padding: 26px;
}

.feature-card .icon-badge {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,209,102,0.2), rgba(91,232,255,0.18));
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.step-card {
    padding: 22px;
    position: relative;
}

.step-card strong {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    margin-bottom: 16px;
}

.filters {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    margin-bottom: 26px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    font-size: 0.9rem;
    color: var(--muted);
}

.input,
.select,
.textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text);
    background: rgba(5, 11, 20, 0.72);
    outline: none;
    transition: 0.2s ease;
}

.textarea {
    min-height: 128px;
    padding: 14px 16px;
    resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: rgba(91,232,255,0.44);
    box-shadow: 0 0 0 4px rgba(91,232,255,0.09);
}

.detail-hero {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: stretch;
}

.detail-copy {
    display: grid;
    gap: 18px;
    align-content: start;
    padding: 30px;
}

.detail-copy h1 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.info-list,
.kv-list {
    display: grid;
    gap: 14px;
}

.info-row,
.kv-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.info-row:last-child,
.kv-row:last-child {
    border-bottom: 0;
}

.info-row span:first-child,
.kv-row span:first-child {
    color: var(--muted);
}

.progress {
    position: relative;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.progress > span {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--progress, 50%);
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 209, 102, 1), rgba(91, 232, 255, 1));
}

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

.tier-card {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
}

.tier-card strong {
    display: block;
    font-size: 1.32rem;
    margin-top: 12px;
}

.tier-card p {
    margin: 8px 0 16px;
    color: var(--muted);
    min-height: 48px;
}

.tier-price {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.tier-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.checkout-grid {
    grid-template-columns: 1fr 380px;
    align-items: start;
}

.checkout-main,
.checkout-summary {
    padding: 24px;
}

.checkout-section {
    margin-bottom: 18px;
}

.checkout-section:last-child {
    margin-bottom: 0;
}

.radio-card-grid {
    display: grid;
    gap: 12px;
}

.radio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-card:has(input:checked) {
    border-color: rgba(255,209,102,0.44);
    box-shadow: 0 0 0 4px rgba(255,209,102,0.12);
    background: rgba(255,209,102,0.08);
}

.checkout-summary {
    position: sticky;
    top: 112px;
    border-radius: 28px;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.summary-line:last-child {
    border-bottom: 0;
}

.summary-line strong:last-child {
    font-size: 1.32rem;
    letter-spacing: -0.03em;
}

.auth-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.auth-card {
    padding: 30px;
}

.auth-hero {
    padding: 34px;
}

.demo-credentials {
    display: grid;
    gap: 12px;
}

.demo-credentials .card {
    padding: 16px 18px;
}

.account-grid {
    align-items: start;
}

.account-profile,
.account-orders,
.table-card,
.admin-shell,
.ticket-shell,
.validator-result,
.empty-state {
    padding: 24px;
}

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

.info-tile {
    padding: 16px 18px;
    border-radius: 20px;
}

.info-tile strong {
    display: block;
    margin-top: 10px;
    font-size: 1.5rem;
}

.table-card table {
    width: 100%;
    border-collapse: collapse;
}

.table-card th,
.table-card td {
    text-align: left;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    vertical-align: top;
}

.table-card th {
    color: var(--muted);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.table-card tbody tr:last-child td {
    border-bottom: 0;
}

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

.ticket-shell {
    overflow: hidden;
    position: relative;
}

.ticket-shell::before,
.ticket-shell::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--bg-deep);
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,0.08);
}

.ticket-shell::before {
    left: -22px;
}

.ticket-shell::after {
    right: -22px;
}

.ticket-top {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 26px;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px dashed rgba(255,255,255,0.16);
}

.ticket-code {
    width: 100%;
    height: auto;
    color: #08111f;
}

.ticket-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-top: 24px;
}

.ticket-label {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ticket-value {
    font-size: 1.08rem;
    font-weight: 700;
}

.ticket-status {
    min-height: 38px;
    padding: 0 14px;
    font-weight: 700;
}

.ticket-status--unused,
.order-status--paid {
    color: #dbffee;
    background: rgba(90,223,157,0.12);
    border-color: rgba(90,223,157,0.28);
}

.ticket-status--used {
    color: #e0edff;
    background: rgba(131,184,255,0.12);
    border-color: rgba(131,184,255,0.28);
}

.order-status--cancelled {
    color: #ffd9e0;
    background: rgba(255,122,144,0.12);
    border-color: rgba(255,122,144,0.28);
}

.admin-shell {
    padding: 28px;
}

.admin-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.metric-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.inline-form,
.inline-form form {
    display: inline-flex;
}

.stack {
    display: grid;
    gap: 16px;
}

.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
}

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

.success-screen {
    text-align: center;
    padding: 80px 0 24px;
}

.success-screen .icon-success {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, rgba(90,223,157,0.22), rgba(91,232,255,0.14));
    border: 1px solid rgba(90,223,157,0.2);
    font-size: 2rem;
}

.footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 34px 0 24px;
    background: rgba(0,0,0,0.18);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 0.8fr;
    gap: 24px;
}

.footer__grid h3,
.footer__grid h4 {
    margin-bottom: 12px;
}

.footer__grid p,
.footer__grid span,
.footer__grid a {
    color: var(--muted);
    display: block;
    line-height: 1.8;
}

.footer__bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
}

.empty-state {
    text-align: center;
    padding: 40px 24px;
}

.countdown {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
}

.countdown span {
    display: grid;
    place-items: center;
    min-width: 72px;
    padding: 12px 10px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.countdown strong {
    display: block;
    font-size: 1.42rem;
    line-height: 1;
}

.countdown small {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    margin-top: 8px;
}

.help-note {
    color: var(--muted);
    line-height: 1.7;
}

hr.soft {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 22px 0;
}

@media (max-width: 1080px) {
    .hero__grid,
    .detail-hero,
    .checkout-grid,
    .auth-grid,
    .ticket-top,
    .ticket-body {
        grid-template-columns: 1fr;
    }

    .event-grid,
    .grid-3,
    .grid-4,
    .tier-grid,
    .footer__grid,
    .two-col {
        grid-template-columns: 1fr 1fr;
    }

    .metrics {
        grid-template-columns: 1fr 1fr;
    }

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 820px) {
    .topbar__row {
        grid-template-columns: 1fr auto;
    }

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

    .nav,
    .topbar__actions {
        display: none;
    }

    .nav.is-open,
    .topbar__actions.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        inset: calc(100% + 8px) 16px auto 16px;
        padding: 16px;
        border-radius: 22px;
        background: rgba(7, 13, 22, 0.98);
        border: 1px solid rgba(255,255,255,0.08);
        box-shadow: var(--shadow-xl);
    }

    .hero,
    .section {
        padding: 30px 0;
    }

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

    .filters {
        grid-template-columns: 1fr;
    }

    .event-grid,
    .grid-3,
    .grid-4,
    .tier-grid,
    .footer__grid,
    .account-stats,
    .stats-grid,
    .account-grid,
    .two-col {
        grid-template-columns: 1fr;
    }

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

    .display {
        font-size: 2.5rem;
    }

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

    .footer__bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(1180px, calc(100vw - 22px));
    }

    .hero__copy,
    .card,
    .auth-card,
    .auth-hero,
    .checkout-main,
    .checkout-summary,
    .account-profile,
    .account-orders,
    .table-card,
    .admin-shell,
    .validator-result,
    .ticket-shell {
        padding: 20px;
        border-radius: 24px;
    }

    .poster {
        min-height: 210px;
    }

    .poster--hero {
        min-height: 310px;
    }

    .hero__actions,
    .inline-actions,
    .event-card__actions,
    .table-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .countdown span {
        min-width: calc(50% - 8px);
    }
}
