* {
    box-sizing: border-box;
}

:root {
    --bg: #101010;
    --surface: #191919;
    --surface-hover: #222222;
    --border: #303030;
    --text: #f5f5f5;
    --muted: #9c9c9c;
    --accent: #d8ff3e;
    --accent-dark: #9fbf1e;
    --success: #b9ec58;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, #202020 0, #101010 38%);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    min-height: 100vh;
}

a {
    color: inherit;
}

.page {
    width: min(100% - 32px, 900px);
    margin: 0 auto;
    padding: 60px 0 40px;
}

/* HERO */

.hero {
    padding: 40px 0 70px;
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    margin-bottom: 18px;
}

.hero h1,
.form-header h1 {
    margin: 0;
    font-size: clamp(52px, 10vw, 100px);
    line-height: 0.85;
    letter-spacing: -0.06em;
}

.hero h1 span {
    color: var(--accent);
}

.hero-text,
.form-header p {
    max-width: 580px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

/* SECTION HEADERS */

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-header > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-header h2 {
    margin: 0;
    font-size: 24px;
}

.section-header p {
    color: var(--muted);
    margin: 0;
}

.section-number {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

/* PEOPLE */

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

.person-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: 0.15s ease;
}

.person-card:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
    border-color: #454545;
}

.person-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #111;
    font-weight: 900;
    border-radius: 50%;
}

.person-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.person-info strong {
    font-size: 17px;
}

.status {
    color: var(--muted);
    font-size: 12px;
}

.status.answered {
    color: var(--success);
}

.arrow {
    color: var(--muted);
    font-size: 22px;
}

/* FORM */

.form-page,
.admin-page {
    max-width: 760px;
}

.back-link {
    display: inline-block;
    color: var(--muted);
    margin-bottom: 50px;
    text-decoration: none;
}

.back-link:hover {
    color: var(--text);
}

.form-header {
    margin-bottom: 60px;
}

.form-header h1 {
    font-size: clamp(52px, 10vw, 82px);
}

.form-section {
    margin-bottom: 55px;
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.date-card,
.option-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: 0.15s ease;
}

.date-card:hover,
.option-card:hover {
    background: var(--surface-hover);
}

.date-card input,
.option-card input {
    position: absolute;
    opacity: 0;
}

.date-check,
.option-check {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    border: 2px solid #555;
    color: transparent;
    flex-shrink: 0;
    font-weight: 900;
}

.date-card:has(input:checked),
.option-card:has(input:checked) {
    border-color: var(--accent);
    background: #202317;
}

.date-card input:checked + .date-check,
.option-card input:checked + .option-check {
    background: var(--accent);
    border-color: var(--accent);
    color: #111;
}

.date-card strong {
    display: block;
    font-size: 17px;
}

.date-label {
    display: block;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.option-card div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-card span {
    color: var(--muted);
    font-size: 13px;
}

/* TEXTAREA */

textarea {
    width: 100%;
    min-height: 130px;
    resize: vertical;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    color: var(--text);
    font: inherit;
    outline: none;
}

textarea:focus {
    border-color: var(--accent);
}

/* BUTTON */

.primary-button {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: #111;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.15s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    background: #e2ff69;
}

/* SAVED */

.success-message {
    margin-bottom: 35px;
    padding: 16px 18px;
    background: #1e2714;
    color: var(--success);
    border: 1px solid #42552b;
    border-radius: 10px;
    font-weight: 700;
}

/* ADMIN */

.admin-alert {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    background: #261d15;
    border: 1px solid #59412a;
    border-radius: 12px;
    margin-bottom: 50px;
}

.admin-alert span {
    color: #c8b094;
}

.admin-dates {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-date-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
}

.admin-date-card.best-date {
    border-color: var(--accent);
}

.admin-date-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.admin-date-top strong {
    font-size: 18px;
}

.best-label {
    margin-left: 10px;
    padding: 4px 7px;
    color: #111;
    background: var(--accent);
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-count {
    color: var(--accent);
    font-size: 22px;
    font-weight: 900;
}

.progress {
    height: 7px;
    background: #303030;
    margin: 16px 0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent);
}

.admin-details {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.admin-details p {
    margin: 5px 0;
}

.admin-details span {
    color: var(--text);
    font-weight: 700;
}

.response-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.response-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 12px;
}

.response-card > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.response-card span {
    color: var(--muted);
}

.response-card p {
    margin: 14px 0 0;
    color: var(--muted);
}

/* FOOTER */

footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: #555;
    font-size: 12px;
}

/* MOBILE */

@media (max-width: 650px) {

    .page {
        width: min(100% - 24px, 900px);
        padding-top: 30px;
    }

    .hero {
        padding: 25px 0 50px;
    }

    .hero-text,
    .form-header p {
        font-size: 16px;
    }

    .people-grid,
    .date-grid {
        grid-template-columns: 1fr;
    }

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

    .section-header p {
        font-size: 13px;
    }

    .form-header {
        margin-bottom: 40px;
    }

    .back-link {
        margin-bottom: 35px;
    }

    .best-label {
        display: block;
        width: fit-content;
        margin: 7px 0 0;
    }

    .response-card > div {
        flex-direction: column;
        gap: 5px;
    }
}
.hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--border);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.90) 0%,
        rgba(0, 0, 0, 0.30) 55%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

.hero-title {
    position: absolute;
    left: 35px;
    right: 35px;
    bottom: 35px;
}

.hero-title h1 {
    margin: 0;
    font-size: clamp(42px, 8vw, 76px);
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.hero-title h1 span {
    color: var(--accent);
}

.hero .hero-text {
    margin-top: 25px;
}

@media (max-width: 650px) {
    .hero-image {
        height: 430px;
    }

    .hero-title {
        left: 20px;
        right: 20px;
        bottom: 22px;
    }

    .hero-title h1 {
        font-size: 44px;
    }
}
