:root {
    --bg: #030803;
    --panel: #0d140e;
    --panel-strong: #121b13;
    --line: rgba(143, 241, 90, 0.28);
    --green: #55c922;
    --green-hot: #8ef03f;
    --white: #f7fbf5;
    --muted: #aeb9aa;
    --danger: #ff786d;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--white);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at 78% 14%, rgba(85, 201, 34, 0.22), transparent 32rem),
        linear-gradient(135deg, rgba(85, 201, 34, 0.14) 0 1px, transparent 1px 100%),
        var(--bg);
    background-size: auto, 42px 42px, auto;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(85, 201, 34, 0.08), transparent 18%, transparent 82%, rgba(85, 201, 34, 0.08));
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
    gap: 34px;
    align-items: center;
    min-height: calc(100vh - 84px);
}

.hero__content,
.registration {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(18, 27, 19, 0.94), rgba(5, 10, 6, 0.91));
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero__content {
    padding: clamp(32px, 6vw, 72px);
    border-radius: 8px;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: min(260px, 78vw);
    text-decoration: none;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.eyebrow {
    margin: 32px 0 14px;
    color: var(--green-hot);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(42px, 7vw, 88px);
    line-height: 0.95;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1;
    letter-spacing: 0;
}

.hero__copy,
.registration__intro p {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.event-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.event-strip span {
    min-height: 76px;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(3, 8, 3, 0.72);
    color: #e8f8e0;
    font-weight: 800;
    text-align: center;
}

.poster-card {
    margin: 0;
    position: relative;
}

.poster-card img {
    display: block;
    width: 100%;
    border: 1px solid rgba(143, 241, 90, 0.48);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(85, 201, 34, 0.18);
}

.registration {
    margin-top: 34px;
    padding: clamp(28px, 5vw, 54px);
    border-radius: 8px;
}

.registration__intro {
    max-width: 760px;
}

.registration__intro .eyebrow {
    margin-top: 0;
}

.thank-you {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(18px, 4vw, 34px) 0;
    text-align: center;
}

.thank-you__mark {
    width: 74px;
    height: 74px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 2px solid var(--green-hot);
    background:
        linear-gradient(135deg, transparent 46%, var(--green-hot) 47% 55%, transparent 56%),
        radial-gradient(circle, rgba(85, 201, 34, 0.22), rgba(85, 201, 34, 0.04));
    box-shadow: 0 0 34px rgba(85, 201, 34, 0.32);
}

.thank-you__mark::after {
    content: "";
    display: block;
    width: 28px;
    height: 15px;
    margin: 24px auto 0;
    border-left: 4px solid var(--green-hot);
    border-bottom: 4px solid var(--green-hot);
    transform: rotate(-45deg);
}

.thank-you .eyebrow {
    margin-top: 0;
}

.thank-you p:not(.eyebrow) {
    max-width: 620px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--green-hot);
    text-decoration: none;
    font-weight: 800;
}

.back-link:hover {
    border-color: var(--green-hot);
    background: rgba(85, 201, 34, 0.1);
}

.alert {
    margin: 24px 0;
    padding: 15px 18px;
    border-radius: 8px;
    font-weight: 700;
}

.alert--success {
    color: #14310e;
    background: #a9f277;
}

.alert--error {
    color: #fff3f2;
    border: 1px solid rgba(255, 120, 109, 0.5);
    background: rgba(255, 120, 109, 0.14);
}

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

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

.field span {
    color: #eef6eb;
    font-size: 14px;
    font-weight: 800;
}

.field em {
    color: var(--green-hot);
    font-style: normal;
    margin-left: 4px;
}

input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    color: var(--white);
    border: 1px solid rgba(247, 251, 245, 0.18);
    border-radius: 8px;
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus {
    border-color: var(--green-hot);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(85, 201, 34, 0.18);
}

.field strong {
    color: var(--danger);
    font-size: 13px;
    font-weight: 700;
}

.field--error input {
    border-color: rgba(255, 120, 109, 0.8);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 220px;
    min-height: 58px;
    margin-top: 28px;
    padding: 0 28px;
    border: 0;
    border-radius: 8px;
    color: #071008;
    background: linear-gradient(135deg, var(--green-hot), var(--green));
    font: inherit;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 18px 46px rgba(85, 201, 34, 0.26);
}

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

.submit-button:disabled {
    cursor: wait;
    opacity: 0.86;
}

.submit-button.is-loading:hover {
    transform: none;
}

.button-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(7, 16, 8, 0.25);
    border-top-color: #071008;
    border-radius: 50%;
    animation: spin 720ms linear infinite;
}

.submit-button.is-loading .button-icon {
    display: none;
}

.submit-button.is-loading .button-spinner {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.honey {
    position: absolute;
    left: -9999px;
}

@media (max-width: 900px) {
    .page-shell {
        width: min(100% - 22px, 720px);
        padding: 20px 0;
    }

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

    .poster-card {
        order: -1;
    }

    .hero__content {
        padding: 30px 22px;
    }

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

    .event-strip span {
        min-height: 62px;
    }
}

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

    .brand {
        width: min(220px, 74vw);
    }

    .hero__copy,
    .registration__intro p {
        font-size: 16px;
    }

    .registration {
        padding: 26px 18px;
    }

    .submit-button {
        width: 100%;
    }
}
