/* ============================================
   映画『正直不動産』完�E披露試写企E
   Premium Cinematic Design System
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* ── Main palette ── */
    --sky-100: #e8f4fd;
    --sky-200: #b8ddf5;
    --sky-300: #7cc2ed;
    --sky-400: #4da8e5;
    --sky-500: #2b8fd6;
    --sky-600: #1a6fb3;
    --sky-700: #145690;
    --sky-800: #0f3d6b;
    --sky-900: #0a2848;

    --white: #ffffff;
    --off-white: #f7f9fc;
    --warm-white: #fafbfd;

    --ink-900: #0d1b2a;
    --ink-800: #1b2d3f;
    --ink-700: #2a3f55;
    --ink-600: #3b5068;
    --ink-500: #506a80;
    --ink-400: #7a8fa0;
    --ink-300: #a4b3c0;
    --ink-200: #c8d3dc;
    --ink-100: #e4eaef;

    --red: #c41e24;
    --red-dark: #a0181e;
    --gold: #c8a955;

    /* ── Typography ── */
    --ff-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    --ff-display: 'Noto Serif JP', 'Yu Mincho', 'ヒラギノ�E朁EProN', serif;

    /* ── Spacing rhythm ── */
    --sp-xs: 4px;
    --sp-sm: 8px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 40px;
    --sp-2xl: 64px;
    --sp-3xl: 96px;

    /* ── Radii ── */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 999px;

    /* ── Shadows ── */
    --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 24px rgba(43, 143, 214, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-elevated: 0 8px 40px rgba(43, 143, 214, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-deep: 0 16px 64px rgba(10, 40, 72, 0.15);

    /* ── Transitions ── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 200ms;
    --duration-normal: 400ms;
    --duration-slow: 800ms;

    --max-w: 860px;
    --max-w-narrow: 640px;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ff-body);
    color: var(--ink-800);
    line-height: 1.8;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

/* ============================================
   HEADER   E transparent ↁEwhite on scroll
   Fixed header with glass effect
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 56px;
    display: flex;
    align-items: center;
    transition: background var(--duration-normal) var(--ease-smooth),
        box-shadow var(--duration-normal) var(--ease-smooth);
}

/* Transparent state (on hero) */
.site-header--transparent {
    background: transparent;
}

/* After scroll */
.site-header--solid {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

.header__logo img {
    height: 44px;
    width: auto;
    transition: opacity var(--duration-fast);
}

.header__logo:hover img {
    opacity: 0.7;
}

/* Two logo variants for transparent/solid states */
.header__logo .logo--dark {
    display: block;
}

.header__logo .logo--white {
    display: none;
}

.site-header--transparent .header__logo .logo--dark {
    display: none;
}

.site-header--transparent .header__logo .logo--white {
    display: block;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
}

.header__link {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--ink-600);
    padding: 5px 18px;
    border: 1.5px solid var(--ink-200);
    border-radius: var(--r-full);
    transition: all var(--duration-fast);
}

.header__link:hover {
    background: var(--sky-500);
    border-color: var(--sky-500);
    color: var(--white);
}

.site-header--transparent .header__link {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
}

.site-header--transparent .header__link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

/* ============================================
   HERO   E Full-bleed cinematic poster
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    background: var(--sky-900);
}

.hero__visual {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 8s var(--ease-smooth);
}

/* Subtle Ken Burns on load */
.hero__visual img.loaded {
    transform: scale(1.03);
}

/* Bottom gradient fade to white */
.hero__gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to top,
            var(--white) 0%,
            rgba(255, 255, 255, 0.85) 30%,
            rgba(255, 255, 255, 0.4) 60%,
            transparent 100%);
    z-index: 1;
}

/* Dark upper vignette for text readability */
.hero__vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(to bottom,
            rgba(10, 40, 72, 0.35) 0%,
            transparent 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--sp-lg) var(--sp-3xl);
    width: 100%;
    max-width: 600px;
}

.hero__event-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--sky-600);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 6px 22px;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-md);
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.6s var(--ease-out) 0.6s forwards;
}

.hero__title {
    font-family: var(--ff-display);
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: 0.08em;
    line-height: 1.6;
    margin-bottom: var(--sp-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s var(--ease-out) 0.8s forwards;
}

.hero__date {
    font-family: var(--ff-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--sky-600);
    letter-spacing: 0.06em;
    margin-bottom: var(--sp-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s var(--ease-out) 1s forwards;
}

.hero__cta {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s var(--ease-out) 1.2s forwards;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 48px;
    font-family: var(--ff-body);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border: none;
    border-radius: var(--r-full);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: var(--sky-500);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(43, 143, 214, 0.3);
}

.btn--primary:hover {
    background: var(--sky-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(43, 143, 214, 0.4);
}

.btn--primary:active {
    transform: translateY(0);
}

/* Shimmer effect */
.btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    
}

.btn--red {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(196, 30, 36, 0.25);
}

.btn--red:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(196, 30, 36, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--sky-600);
    border: 1.5px solid var(--sky-300);
    box-shadow: none;
}

.btn--outline:hover {
    background: var(--sky-100);
    border-color: var(--sky-500);
}

.btn--white {
    background: rgba(255, 255, 255, 0.9);
    color: var(--sky-700);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
}

.btn--white:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
}

.btn--lg {
    padding: 16px 56px;
    font-size: 0.95rem;
}

.btn--block {
    display: flex;
    width: 100%;
}

.btn__arrow {
    font-size: 1.1em;
    transition: transform var(--duration-fast);
}

.btn:hover .btn__arrow {
    transform: translateX(3px);
}

/* ============================================
   SECTION   Einfo
   ============================================ */
.section {
    padding: var(--sp-3xl) 0;
}

.section--sky-tint {
    background: var(--sky-100);
}

.section--white {
    background: var(--white);
}

.section__label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sky-500);
    text-align: center;
    margin-bottom: var(--sp-sm);
}

.section__heading {
    font-family: var(--ff-display);
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--ink-900);
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: var(--sp-xl);
}

.section__heading::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--sky-400);
    margin: var(--sp-md) auto 0;
    border-radius: 1px;
}

/* ============================================
   EVENT CARD
   ============================================ */
.event-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.event-card__row {
    display: flex;
    padding: var(--sp-lg) var(--sp-xl);
    border-bottom: 1px solid var(--ink-100);
    transition: background var(--duration-fast);
}

.event-card__row:last-child {
    border-bottom: none;
}

.event-card__row:hover {
    background: var(--sky-100);
}

.event-card__label {
    flex-shrink: 0;
    width: 100px;
    font-family: var(--ff-display);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sky-600);
    letter-spacing: 0.12em;
    padding-top: 2px;
}

.event-card__value {
    flex: 1;
    font-size: 0.92rem;
    color: var(--ink-800);
    line-height: 1.8;
}

.event-card__value strong {
    display: block;
    font-size: 1.05rem;
    color: var(--ink-900);
    margin-bottom: 2px;
}

.event-card__value small {
    display: block;
    font-size: 0.78rem;
    color: var(--ink-400);
    margin-top: var(--sp-xs);
    line-height: 1.7;
}

.event-card__value .highlight {
    color: var(--red);
    font-weight: 700;
}

.event-card__value .highlight--lg {
    font-size: 1.3rem;
}

/* ============================================
   KEY VISUAL
   ============================================ */
.kv {
    padding: var(--sp-xl) 0 var(--sp-2xl);
    text-align: center;
}

.kv__frame {
    max-width: 420px;
    margin: 0 auto;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    transform: perspective(1000px) rotateY(0deg);
    transition: transform var(--duration-slow) var(--ease-out),
        box-shadow var(--duration-slow) var(--ease-out);
}

.kv__frame:hover {
    transform: perspective(1000px) rotateY(-2deg) translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 40, 72, 0.2);
}

.kv__frame img {
    width: 100%;
    display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    text-align: center;
    padding: var(--sp-xl) 0 var(--sp-2xl);
}

.cta__note {
    font-size: 0.75rem;
    color: var(--ink-400);
    margin-top: var(--sp-md);
    letter-spacing: 0.04em;
}

/* ============================================
   NOTICE SECTION
   ============================================ */
.notice {
    padding: var(--sp-3xl) 0;
    background: var(--off-white);
}

.notice__block {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-lg);
    padding: var(--sp-xl) var(--sp-xl);
    margin-bottom: var(--sp-lg);
    box-shadow: var(--shadow-soft);
}

.notice__block h2 {
    font-family: var(--ff-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: 0.1em;
    padding-bottom: var(--sp-md);
    margin-bottom: var(--sp-md);
    border-bottom: 1px solid var(--ink-100);
}

.notice__block p,
.notice__block li {
    font-size: 0.8rem;
    line-height: 2;
    color: var(--ink-600);
}

.notice__block ul {
    list-style: none;
    padding: 0;
}

.notice__block li {
    padding-left: 1em;
    position: relative;
    margin-bottom: 4px;
}

.notice__block li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--sky-500);
}

.notice__block h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--sky-700);
    margin: var(--sp-lg) 0 var(--sp-md);
    padding-top: var(--sp-md);
    border-top: 1px solid var(--ink-100);
}

.notice__block .id-list li::before {
    content: '※';
    color: var(--sky-600);
    font-weight: 700;
}

.notice__block .warning {
    color: var(--red);
    font-weight: 600;
}

/* ============================================
   FORM PAGE
   ============================================ */
.form-page {
    padding: 80px 0 var(--sp-3xl);
    background: linear-gradient(180deg, var(--sky-100) 0%, var(--white) 40%);
    min-height: 100vh;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-xl);
    padding: var(--sp-xl) var(--sp-xl);
    box-shadow: var(--shadow-card);
}

.form-card__header {
    text-align: center;
    margin-bottom: var(--sp-xl);
    padding-bottom: var(--sp-lg);
    border-bottom: 1px solid var(--ink-100);
}

.form-card__title {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.form-card__sub {
    font-size: 0.82rem;
    color: var(--ink-400);
}

/* Form Elements */
.field {
    margin-bottom: var(--sp-lg);
}

.field__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-800);
    margin-bottom: 6px;
}

.field__required {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--white);
    background: var(--red);
    padding: 1px 6px;
    border-radius: var(--r-full);
    letter-spacing: 0.04em;
}

.field__input {
    width: 100%;
    padding: 11px 14px;
    font-family: var(--ff-body);
    font-size: 0.92rem;
    color: var(--ink-900);
    background: var(--white);
    border: 1.5px solid var(--ink-200);
    border-radius: var(--r-md);
    outline: none;
    transition: border-color var(--duration-fast),
        box-shadow var(--duration-fast);
    appearance: none;
    -webkit-appearance: none;
}

.field__input:focus {
    border-color: var(--sky-400);
    box-shadow: 0 0 0 3px rgba(43, 143, 214, 0.08);
}

.field__input::placeholder {
    color: var(--ink-300);
}

.field__input--error {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(196, 30, 36, 0.06) !important;
}

.field__input--valid {
    border-color: #43a047;
}

select.field__input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8fa0' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.field__hint {
    font-size: 0.72rem;
    color: var(--ink-400);
    margin-top: 4px;
}

.field__error {
    font-size: 0.72rem;
    color: var(--red);
    margin-top: 4px;
    display: none;
}

.field__error.show {
    display: block;
}

/* Radio / Checkbox custom */
.radio-group {
    display: flex;
    gap: var(--sp-md);
    flex-wrap: wrap;
    margin-top: 4px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ink-200);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: border-color var(--duration-fast);
    flex-shrink: 0;
}

.radio-item input[type="radio"]:checked {
    border-color: var(--sky-500);
}

.radio-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--sky-500);
    border-radius: 50%;
}

.radio-item label {
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ink-200);
    border-radius: var(--r-sm);
    flex-shrink: 0;
    margin-top: 3px;
    cursor: pointer;
    position: relative;
    transition: all var(--duration-fast);
}

.checkbox-item input[type="checkbox"]:checked {
    background: var(--sky-500);
    border-color: var(--sky-500);
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-item label {
    font-size: 0.82rem;
    line-height: 1.7;
    cursor: pointer;
    font-weight: 400;
    color: var(--ink-700);
}

/* Postal code layout */
.postal-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.postal-prefix {
    font-weight: 600;
    color: var(--ink-800);
    font-size: 1rem;
}

.postal-input {
    max-width: 150px;
}

.age-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.age-input {
    max-width: 90px;
}

.age-suffix {
    font-size: 0.92rem;
    color: var(--ink-700);
}

/* Privacy */
.privacy-box {
    background: var(--off-white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-md);
    padding: var(--sp-lg);
    margin: var(--sp-lg) 0;
}

.privacy-box__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: var(--sp-sm);
}

.privacy-box__text {
    font-size: 0.76rem;
    color: var(--ink-500);
    line-height: 1.9;
    margin-bottom: var(--sp-md);
}

/* Mail domain notice */
.domain-notice {
    background: var(--sky-100);
    border-left: 3px solid var(--sky-400);
    padding: var(--sp-md) var(--sp-lg);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    margin: var(--sp-lg) 0;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--ink-600);
}

.domain-notice strong {
    color: var(--ink-900);
}

/* Submit area */
.form-submit {
    text-align: center;
    padding-top: var(--sp-lg);
    margin-top: var(--sp-lg);
    border-top: 1px solid var(--ink-100);
}

/* Server-side error list */
.error-list {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--r-md);
    padding: var(--sp-md) var(--sp-lg);
    margin-bottom: var(--sp-lg);
    list-style: none;
}

.error-list li {
    font-size: 0.8rem;
    color: var(--red);
    padding: 2px 0;
}

.error-list li::before {
    content: '⚠ ';
}

/* ============================================
   THANKS PAGE
   ============================================ */
.thanks-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px var(--sp-lg) var(--sp-2xl);
    background: linear-gradient(180deg, var(--sky-100) 0%, var(--white) 50%);
}

.thanks-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-xl);
    padding: var(--sp-2xl) var(--sp-xl);
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-card);
    animation: fadeUp 0.8s var(--ease-out) both;
}

.thanks-card__icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-lg);
    animation: scaleIn 0.5s var(--ease-out) 0.3s both;
}

.thanks-card__icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.thanks-card__title {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    color: var(--ink-900);
    margin-bottom: var(--sp-md);
}

.thanks-card__body {
    font-size: 0.88rem;
    color: var(--ink-500);
    line-height: 2;
    margin-bottom: var(--sp-xl);
}

.thanks-card__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-sm);
}

/* ============================================
   CONGESTION PAGE
   ============================================ */
.congestion-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px var(--sp-lg) var(--sp-2xl);
    background: linear-gradient(180deg, var(--sky-100) 0%, var(--white) 50%);
}

.congestion-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-xl);
    padding: var(--sp-2xl) var(--sp-xl);
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-card);
    animation: fadeUp 0.8s var(--ease-out) both;
}

.congestion-card__icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-lg);
    animation: pulse 2s ease infinite;
}

.congestion-card__icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.congestion-card__title {
    font-family: var(--ff-display);
    font-size: 1rem;
    color: var(--ink-800);
    margin-bottom: 4px;
}

.congestion-card__subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: var(--sp-md);
}

.congestion-card__body {
    font-size: 0.88rem;
    color: var(--ink-500);
    line-height: 2;
    margin-bottom: var(--sp-lg);
}

.congestion-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sky-100);
    padding: 10px 22px;
    border-radius: var(--r-full);
    font-size: 0.82rem;
    color: var(--ink-600);
    margin-bottom: var(--sp-md);
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2.5px solid var(--sky-200);
    border-top-color: var(--sky-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: var(--sp-xl) 0 var(--sp-lg);
    background: var(--ink-900);
    text-align: center;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: var(--sp-lg);
    margin-bottom: var(--sp-md);
    flex-wrap: wrap;
}

.footer__links a {
    font-size: 0.72rem;
    color: var(--sky-300);
    letter-spacing: 0.06em;
    transition: opacity var(--duration-fast);
}

.footer__links a:hover {
    opacity: 0.6;
}

.footer__copy {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading__content {
    text-align: center;
}

.loading__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--sky-200);
    border-top-color: var(--sky-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto var(--sp-md);
}

.loading__text {
    font-size: 0.85rem;
    color: var(--ink-700);
    letter-spacing: 0.08em;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    40% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.35);
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 0 0 12px rgba(255, 152, 0, 0);
    }
}

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out),
        transform 0.7s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal[data-delay="100"] {
    transition-delay: 0.1s;
}

.reveal[data-delay="200"] {
    transition-delay: 0.2s;
}

.reveal[data-delay="300"] {
    transition-delay: 0.3s;
}

.reveal[data-delay="400"] {
    transition-delay: 0.4s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --sp-xl: 32px;
        --sp-2xl: 48px;
        --sp-3xl: 64px;
    }

    .hero__content {
        padding-bottom: var(--sp-2xl);
    }

    .event-card__row {
        flex-direction: column;
        padding: var(--sp-md) var(--sp-lg);
    }

    .event-card__label {
        width: auto;
        margin-bottom: 2px;
    }

    .form-card {
        padding: var(--sp-lg) var(--sp-md);
    }

    .notice__block {
        padding: var(--sp-lg) var(--sp-md);
    }

    .kv__frame {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .site-header {
        height: 48px;
    }

    .header__logo img {
        height: 22px;
    }

    .hero__content {
        padding-bottom: var(--sp-xl);
    }

    .btn {
        padding: 12px 32px;
        font-size: 0.84rem;
    }

    .btn--lg {
        padding: 14px 40px;
        font-size: 0.88rem;
    }

    .header__link {
        font-size: 0.62rem;
        padding: 4px 12px;
    }

    .form-card {
        padding: var(--sp-lg) var(--sp-md);
    }

    .thanks-card,
    .congestion-card {
        padding: var(--sp-xl) var(--sp-md);
    }
}
