:root {
    --ink: #141619;
    --muted: #5b6572;
    --line: #d9dde3;
    --paper: #ffffff;
    --soft: #f3f6f8;
    --brand: #07090d;
    --accent: #16a34a;
    --accent-dark: #12823c;
    --gold: #f4b740;
    --gold-dark: #d69312;
    --blue: #1d4ed8;
    --night: #0a0d12;
    --panel: #171b21;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 14px clamp(18px, 5vw, 70px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(217, 221, 227, 0.82);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: 158px;
    height: auto;
    display: block;
}

.brand.solo {
    margin-bottom: 26px;
}

.site-nav {
    display: flex;
    gap: clamp(12px, 2vw, 24px);
    align-items: center;
    justify-content: flex-end;
}

.site-nav a {
    color: var(--muted);
    font-weight: 800;
    text-decoration: none;
}

.header-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #eaf8ef;
    text-decoration: none;
    font-weight: 700;
    color: var(--accent-dark);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: minmax(420px, 0.78fr) minmax(680px, 1.22fr);
    gap: clamp(26px, 4vw, 54px);
    align-items: center;
    padding: clamp(52px, 7vw, 92px) clamp(18px, 4vw, 64px);
    color: #ffffff;
    background:
        radial-gradient(circle at 70% 22%, rgba(34, 128, 255, 0.36), transparent 26%),
        radial-gradient(circle at 82% 64%, rgba(244, 183, 64, 0.18), transparent 25%),
        linear-gradient(105deg, #05070b 0%, #080d14 54%, #10161f 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(244, 183, 64, 0.09) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.45;
}

.hero-copy {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.live-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 16px;
    color: #ffffff;
    font-weight: 900;
}

.live-badge strong {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border-radius: 6px;
    padding: 6px 12px;
    color: #ffffff;
    background: #ef1d24;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.8rem, 5.2vw, 5.35rem);
    line-height: 0.92;
    letter-spacing: 0;
}

h1 span {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    text-shadow: 0 10px 40px rgba(244, 183, 64, 0.28);
    font-size: clamp(2.65rem, 4.7vw, 4.85rem);
    white-space: nowrap;
}

h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    line-height: 1.06;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-meta span,
.checkout-steps span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid rgba(20, 22, 25, 0.12);
    border-radius: 999px;
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    font-size: 0.86rem;
    font-weight: 900;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.98rem;
}

.button.primary {
    color: #ffffff;
    background: linear-gradient(180deg, #18b957, var(--accent-dark));
    box-shadow: 0 14px 30px rgba(22, 163, 74, 0.25);
}

.button.primary:hover {
    background: var(--accent-dark);
}

.button.secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.26);
}

.speaker-line {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 800;
}

.button.wide {
    width: 100%;
}

.hero-showcase {
    position: relative;
    display: grid;
    gap: 16px;
    z-index: 1;
}

.banner-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #05070b;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.banner-card img {
    display: block;
    width: 100%;
    min-height: 250px;
    height: auto;
    object-fit: cover;
}

.event-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 12px;
    border: 1px solid rgba(244, 183, 64, 0.34);
    border-radius: 8px;
    padding: 14px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(244, 183, 64, 0.16), transparent 38%),
        #0c1118;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.event-panel div {
    min-height: auto;
}

.event-panel > div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
}

.event-panel span {
    display: block;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.event-panel strong {
    display: block;
    margin-top: 6px;
    color: #ffffff;
    font-size: 1.18rem;
}

.event-date {
    display: flex;
    gap: 14px;
    align-items: center;
}

.event-date p {
    margin: 4px 0 0;
    color: var(--gold);
    font-weight: 900;
}

.event-date em {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
}

.date-tile {
    overflow: hidden;
    width: 70px;
    flex: 0 0 70px;
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
    text-align: center;
}

.date-tile span {
    padding: 6px 0;
    color: #ffffff;
    background: var(--gold-dark);
}

.date-tile strong {
    margin: 0;
    padding: 8px 0 10px;
    color: var(--ink);
    font-size: 1.65rem;
}

.event-countdown {
    grid-row: span 2;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.countdown-grid strong {
    display: grid;
    min-height: 74px;
    align-content: center;
    justify-items: center;
    margin: 0;
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
    font-size: 1.45rem;
}

.countdown-grid strong > span {
    color: var(--ink);
}

.countdown-grid small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
}

.event-price strong {
    color: var(--gold);
    font-size: 1.5rem;
}

.event-payment strong {
    color: #74e7a2;
}

.content-band,
.checkout-band,
.speaker-band {
    padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 70px);
}

.content-band {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 52%),
        var(--brand);
    color: #ffffff;
}

.content-band .eyebrow {
    color: var(--gold);
}

.section-heading {
    max-width: 820px;
}

.section-heading p:not(.eyebrow) {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
}

.topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.topics article {
    min-height: 190px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: var(--panel);
}

.topics article span {
    display: inline-flex;
    margin-bottom: 30px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 900;
}

.topics p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

.speaker-band {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 74px);
    align-items: center;
    background:
        linear-gradient(90deg, #ffffff 0%, #f6f8fb 100%);
}

.speaker-photo {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #11151c;
    box-shadow: 0 24px 70px rgba(20, 22, 25, 0.14);
}

.speaker-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.speaker-copy {
    max-width: 850px;
}

.speaker-copy .role {
    margin: 10px 0 24px;
    color: var(--gold-dark);
    font-weight: 900;
    text-transform: uppercase;
}

.speaker-copy p:not(.eyebrow):not(.role) {
    color: #3f4a5b;
    font-size: 1.08rem;
}

.checkout-band {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 520px);
    gap: clamp(28px, 6vw, 72px);
    align-items: start;
    background:
        linear-gradient(90deg, #f5f8fb 0%, #ffffff 48%, #f7faf3 100%);
}

.checkout-copy p:not(.eyebrow) {
    max-width: 560px;
    color: var(--muted);
    font-size: 1.08rem;
}

.checkout-form,
.form-shell {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(20, 22, 25, 0.1);
}

.checkout-form {
    padding: clamp(20px, 4vw, 32px);
}

.form-heading {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.form-heading span {
    color: var(--muted);
    font-weight: 900;
}

.form-heading strong {
    color: var(--accent-dark);
    font-size: 1.4rem;
}

.checkout-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

label span {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
    color: var(--ink);
    background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--blue);
    outline: 3px solid rgba(29, 78, 216, 0.16);
}

.fine-print,
.muted {
    color: var(--muted);
}

.fine-print {
    margin: 14px 0 0;
    font-size: 0.86rem;
}

.narrow-page {
    min-height: 100vh;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 34px 18px;
    background: linear-gradient(135deg, #eef7f0 0%, #ffffff 54%, #f7efd5 100%);
}

.form-shell {
    width: min(100%, 620px);
    padding: clamp(22px, 4vw, 36px);
}

.form-shell h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.stacked-form {
    margin-top: 22px;
}

.alert {
    padding: 12px 14px;
    border: 1px solid #f0c36a;
    border-radius: 8px;
    color: #7a4d00;
    background: #fff7df;
}

.success-alert {
    padding: 12px 14px;
    border: 1px solid #9ddfb8;
    border-radius: 8px;
    color: #0f5132;
    background: #e5f8ed;
}

.center {
    text-align: center;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 24px clamp(18px, 5vw, 70px);
    color: rgba(255, 255, 255, 0.72);
    background: #05070b;
    font-weight: 800;
}

.site-footer a {
    color: var(--gold);
    text-decoration: none;
}

.admin-body {
    min-height: 100vh;
    padding-left: 280px;
    background: #eef2f6;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    width: 280px;
    padding: 24px 18px;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(244, 183, 64, 0.08), transparent 34%),
        #07090d;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand {
    margin-bottom: 30px;
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
}

.admin-brand img {
    width: 168px;
}

.admin-side-nav {
    display: grid;
    gap: 8px;
}

.admin-side-nav a,
.admin-side-nav button {
    display: flex;
    align-items: center;
    min-height: 44px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.74);
    background: transparent;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.admin-side-nav a.active,
.admin-side-nav a:hover,
.admin-side-nav button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.admin-powered {
    margin: auto 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-weight: 800;
}

.inline-form,
.row-action-form {
    margin: 0;
}

.inline-form button {
    border: 0;
    padding: 0;
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.admin-side-nav .inline-form button {
    color: rgba(255, 255, 255, 0.74);
}

.admin-main {
    width: min(100%, 1480px);
    margin: 0 auto;
    padding: clamp(28px, 4vw, 54px) clamp(18px, 4vw, 42px);
}

.settings-form {
    display: grid;
    gap: 18px;
}

.settings-section {
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(20, 22, 25, 0.05);
}

.settings-section h2 {
    margin-bottom: 20px;
    font-size: 1.45rem;
}

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

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

.admin-password-page {
    background: var(--soft);
}

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

.admin-title h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

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

.metrics article {
    padding: 22px;
    border: 1px solid rgba(217, 221, 227, 0.86);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(22, 163, 74, 0.06), transparent),
        #ffffff;
    box-shadow: 0 14px 38px rgba(20, 22, 25, 0.05);
}

.metrics span {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.metrics strong {
    display: block;
    margin-top: 4px;
    font-size: 2rem;
}

.admin-filters {
    display: grid;
    grid-template-columns: minmax(150px, 200px) minmax(240px, 1fr) minmax(100px, 130px) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(20, 22, 25, 0.04);
}

.admin-filters label {
    margin: 0;
}

.table-shell {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.table-toolbar {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.table-toolbar p {
    margin: 0;
    color: var(--muted);
    font-weight: 900;
}

table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

th,
td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: 0.92rem;
}

th {
    color: #475467;
    font-size: 0.78rem;
    text-transform: uppercase;
    background: #f8fafc;
}

td strong,
td span {
    display: block;
}

td code {
    white-space: nowrap;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.status-pill.paid {
    color: #0f5132;
    background: #d9f7e5;
}

.status-pill.pending {
    color: #664d03;
    background: #fff0c2;
}

.status-pill.failed {
    color: #842029;
    background: #f8d7da;
}

.empty-row {
    padding: 30px;
    color: var(--muted);
    text-align: center;
}

.row-action {
    display: inline-flex;
    margin-top: 6px;
    padding: 0;
    border: 0;
    color: var(--accent-dark);
    background: transparent;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
}

.danger {
    color: #ffffff;
    background: #dc2626;
    box-shadow: none;
}

.danger:hover {
    background: #b91c1c;
}

.danger-text {
    color: #dc2626;
}

.table-actions {
    min-width: 138px;
}

.pagination {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 16px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 12px;
    background: #ffffff;
    font-weight: 900;
    text-decoration: none;
}

.pagination .disabled {
    pointer-events: none;
    opacity: 0.45;
}

@media (max-width: 1120px) {
    .hero,
    .checkout-band {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 44px;
    }

    h1 span {
        white-space: normal;
    }

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

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

    .speaker-band {
        grid-template-columns: 1fr;
    }

    .metrics,
    .admin-filters,
    .two-col,
    .three-col {
        grid-template-columns: 1fr;
    }

    .admin-title {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-body {
        padding-left: 0;
    }

    .admin-sidebar {
        position: static;
        width: auto;
    }
}

@media (max-width: 840px) {
    .topics {
        grid-template-columns: 1fr;
    }

    .metrics,
    .admin-filters,
    .two-col,
    .three-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .site-header {
        min-height: 64px;
    }

    .brand img {
        width: 132px;
    }

    .site-nav a:not(.header-link) {
        display: none;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }
}
