:root {
    --ink: #f8fafc;
    --muted: #a8b3c4;
    --line: rgba(255, 255, 255, 0.14);
    --panel: rgba(10, 14, 24, 0.9);
    --panel-strong: #101522;
    --page: #05070d;
    --accent: #00d5ff;
    --accent-dark: #008fb0;
    --hot: #ff2456;
    --warm: #ffd21f;
    --green: #25d366;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 36, 86, 0.22), transparent 34rem),
        radial-gradient(circle at 80% 18%, rgba(0, 213, 255, 0.2), transparent 30rem),
        var(--page);
}

a {
    color: inherit;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 54px);
    background: rgba(5, 7, 13, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #071017;
    background: linear-gradient(135deg, var(--warm), var(--accent));
    border-radius: 8px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(0, 213, 255, 0.28);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.nav a {
    text-decoration: none;
}

.hero {
    min-height: 88vh;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(290px, 0.55fr);
    align-items: center;
    gap: clamp(24px, 4vw, 54px);
    padding: clamp(34px, 7vw, 84px) clamp(18px, 5vw, 72px) 42px;
    overflow: hidden;
}

.hero-content {
    max-width: 790px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--warm);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 6vw, 74px);
    line-height: 0.98;
    letter-spacing: 0;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
    margin-bottom: 0;
    text-transform: uppercase;
}

h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.hero-copy {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
    line-height: 1.55;
}

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

.primary-link,
.secondary-link,
.select-button,
.actions button,
.whatsapp-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.primary-link,
.actions button {
    color: #071017;
    background: var(--warm);
}

.secondary-link,
.whatsapp-link {
    color: #fff;
    background: var(--green);
}

.hero-poster {
    margin: 0;
}

.hero-poster img {
    display: block;
    width: min(100%, 470px);
    max-height: 72vh;
    object-fit: cover;
    object-position: top;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow), 0 0 28px rgba(0, 213, 255, 0.2);
}

.hero-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-panel div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 36, 86, 0.18), rgba(0, 213, 255, 0.12));
}

.hero-panel strong,
.hero-panel span {
    display: block;
}

.hero-panel span {
    margin-top: 8px;
    color: var(--muted);
}

.section {
    padding: 58px clamp(18px, 5vw, 72px);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 24px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.platform-card,
.order-form,
.promo-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.25);
}

.platform-card {
    display: flex;
    flex-direction: column;
    padding: 14px;
}

.platform-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    margin-bottom: 16px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.platform-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    place-items: center;
    color: #071017;
    background: var(--accent);
    border-radius: 8px;
    font-weight: 900;
}

.platform-card p {
    min-height: 64px;
    color: var(--muted);
    line-height: 1.45;
}

label {
    display: grid;
    gap: 8px;
    color: #e9eef6;
    font-size: 14px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: #080d17;
    font: inherit;
}

textarea {
    resize: vertical;
}

.select-button {
    width: 100%;
    margin-top: 16px;
    color: #071017;
    background: var(--accent);
}

.select-button:hover {
    background: #59e6ff;
}

.whatsapp-link:hover {
    background: #1fb85a;
}

.promo-section {
    background: rgba(255, 255, 255, 0.03);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.promo-card {
    overflow: hidden;
    margin: 0;
}

.promo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
}

.promo-card figcaption {
    padding: 14px 16px 16px;
    color: var(--warm);
    font-weight: 900;
    text-transform: uppercase;
}

.order-section {
    background:
        linear-gradient(180deg, rgba(255, 36, 86, 0.12), rgba(0, 213, 255, 0.08)),
        #070a12;
}

.order-form {
    max-width: 940px;
    padding: clamp(18px, 4vw, 34px);
}

.summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-strong);
}

.summary span {
    color: var(--muted);
    font-size: 14px;
}

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

.payment-box {
    margin: 4px 0 16px;
    padding: 16px;
    border: 1px solid rgba(255, 210, 31, 0.4);
    border-radius: 8px;
    background: rgba(255, 210, 31, 0.08);
}

.payment-box span,
.payment-box strong,
.payment-box p {
    display: block;
}

.payment-box span {
    color: var(--warm);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.payment-box strong {
    margin-top: 6px;
    font-size: 20px;
}

.payment-box p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
}

.payment-action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    border-radius: 8px;
    padding: 10px 16px;
    color: #071017;
    background: var(--warm);
    font-weight: 900;
    text-decoration: none;
}

.payment-action[hidden] {
    display: none;
}

.paid-check {
    grid-template-columns: auto 1fr;
    align-items: center;
    align-content: center;
    min-height: 48px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: #080d17;
}

.paid-check input {
    width: 18px;
    height: 18px;
}

.fineprint {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.notice {
    margin-bottom: 16px;
    padding: 13px 15px;
    border-radius: 8px;
    font-weight: 800;
}

.notice.success {
    color: #093d26;
    background: #bbf7d0;
}

.notice.error {
    color: #5f1010;
    background: #fecaca;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    padding: 26px clamp(18px, 5vw, 72px);
    color: #fff;
    background: #030407;
    border-top: 1px solid var(--line);
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(18px, 5vw, 56px);
}

.access-shell {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
    gap: 20px;
}

.access-card {
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 36, 86, 0.14), rgba(0, 213, 255, 0.11)),
        var(--panel);
    box-shadow: var(--shadow);
}

.access-card h1 {
    font-size: clamp(38px, 7vw, 70px);
}

.access-logo {
    width: 86px;
    height: 86px;
    margin-bottom: 18px;
    border-radius: 18px;
    box-shadow: 0 0 34px rgba(0, 213, 255, 0.28);
}

.access-card h2 {
    margin-bottom: 16px;
}

.access-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.access-form button {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    color: #071017;
    background: var(--warm);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.request-card {
    align-self: stretch;
}

.admin-shell {
    align-items: start;
}

.admin-users {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #080d17;
}

.admin-user-row form {
    margin: 0;
}

.admin-user-row button {
    min-height: 36px;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
    background: var(--hot);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 840px) {
    .topbar,
    .actions,
    .hero-actions {
        align-items: stretch;
    }

    .topbar {
        flex-direction: column;
    }

    .nav {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .access-shell {
        grid-template-columns: 1fr;
    }

    .hero-poster img {
        width: 100%;
        max-height: none;
    }

    .hero-panel,
    .form-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 38px;
    }

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