:root {
    --bg: #000000;
    --bg-soft: #0c0c0c;
    --card: rgba(12, 12, 12, 0.92);
    --text: #ffffff;
    --muted: #bdb3b8;
    --border: rgba(255, 255, 255, 0.08);

    --accent: #ff2d75;
    --accent-dark: #d61f60;
    --accent-soft: rgba(255, 45, 117, 0.14);

    --secondary: #3fe0e8;
    --gold: #ffd54a;

    --success-bg: rgba(46, 125, 50, 0.18);
    --success-text: #88f0a0;
    --error-bg: rgba(183, 28, 28, 0.16);
    --error-text: #ff8b8b;

    --radius-lg: 32px;
    --radius-md: 18px;

    --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
    --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-main);
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 213, 74, 0.10) 0 180px, transparent 181px),
        radial-gradient(circle at 85% 18%, rgba(255, 45, 117, 0.13) 0 220px, transparent 221px),
        linear-gradient(180deg, #000000 0%, #050505 100%);
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.16;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.page {
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.card {
    width: 100%;
    max-width: 560px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-card {
    text-align: left;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.brand-logo-only {
    justify-content: center;
}

.compact-brand {
    margin-bottom: 18px;
}

.site-logo {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
}

.event-header {
    margin-bottom: 18px;
}

.event-kicker {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.event-subtitle {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.badge,
.event-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #ff82ab;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid rgba(255, 45, 117, 0.22);
}

.badge {
    margin-bottom: 18px;
}

.event-pill {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 7vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: #ffffff;
}

.muted {
    color: var(--muted);
    line-height: 1.62;
    margin: 0 0 24px;
}

.intro-text {
    font-size: 16px;
}

.form {
    display: grid;
    gap: 15px;
}

label {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.01em;
    color: #ffffff;
}

input,
select {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-md);
    min-height: 52px;
    padding: 13px 15px;
    font: inherit;
    background: #111111;
    color: #ffffff;
}

input::placeholder {
    color: #8d8488;
}

input:focus,
select:focus {
    outline: 4px solid rgba(255, 45, 117, 0.12);
    border-color: rgba(255, 45, 117, 0.55);
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: 999px;
    min-height: 54px;
    padding: 13px 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(255, 45, 117, 0.22);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(255, 45, 117, 0.28);
}

.button:active {
    transform: translateY(0);
}

.full {
    width: 100%;
}

.notice {
    padding: 13px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.45;
}

.notice.success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid rgba(136, 240, 160, 0.18);
}

.notice.error {
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid rgba(255, 139, 139, 0.16);
}

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

.small-link {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.small-link:hover {
    text-decoration: underline;
}

.checkbox {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 11px;
    align-items: start;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.5;
}

.checkbox input {
    min-height: auto;
    margin-top: 4px;
    accent-color: var(--accent);
}

.photo-preview {
    width: 118px;
    height: 118px;
    border-radius: 26px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.privacy-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 560px) {
    .page {
        padding: 14px;
        place-items: start center;
    }

    .card {
        padding: 24px;
        border-radius: 26px;
    }

    .topline {
        align-items: flex-start;
        flex-direction: column;
    }

    h1 {
        font-size: 38px;
    }

    .site-logo {
        width: 180px;
    }
}