.access-hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    align-content: center;
    justify-items: center;
    gap: clamp(16px, 2.5vw, 24px);
    padding: clamp(28px, 5vw, 58px) 20px;
    overflow: hidden;
    text-align: center;
}

.access-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(180deg, rgba(255, 197, 202, 0.08), rgba(255, 245, 239, 0.18));
}

.floating-sticker {
    position: absolute;
    pointer-events: none;
    opacity: 0.72;
}

.access-hero > .sticker-sparkle {
    top: 70px;
    right: 22%;
    width: 54px;
    height: 54px;
}

.access-hero > .sticker-heart-small {
    top: 62px;
    left: 26%;
    width: 46px;
    height: 46px;
}

.hero-copy {
    display: grid;
    justify-items: center;
    max-width: 780px;
}

.hero-copy h1,
.page-intro h1 {
    margin: 0;
    color: var(--ink);
    font-family: var(--script);
    font-size: clamp(2.7rem, 5.2vw, 4.2rem);
    font-weight: 650;
    line-height: 0.98;
}

.hero-subtitle {
    margin: 10px 0 0;
    color: var(--ink);
    font-family: var(--script);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.memory-stats,
.intro-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.page-home .memory-stats {
    visibility: hidden;
    pointer-events: none;
}

.memory-stats span,
.intro-stats span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border: 1px solid rgba(227, 92, 113, 0.13);
    border-radius: 99px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--shadow-soft);
    font-size: 0.82rem;
}

.memory-stats strong,
.intro-stats strong {
    color: var(--berry);
    font-size: 0.98rem;
}

.memory-stats em {
    font-style: normal;
}

.access-layout {
    display: grid;
    width: min(100%, 660px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
}

.access-card,
.countdown-panel {
    position: relative;
    width: 100%;
    min-height: 164px;
    padding: 26px 24px 18px;
}

.access-card {
    display: grid;
    align-content: center;
    text-align: center;
}

.lock-sticker {
    position: absolute;
    top: -18px;
    left: 50%;
    display: block;
    width: 44px;
    height: 44px;
    border: 8px solid rgba(255, 253, 249, 0.9);
    border-radius: 50%;
    background: url("../img/icons/lock.svg") center / 28px 28px no-repeat, #f8efe9;
    box-shadow: var(--shadow-soft);
    transform: translateX(-50%);
}

.access-card label,
.panel-label {
    color: var(--ink);
    font-family: var(--script);
    font-weight: 700;
}

.access-card label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.96rem;
}

.input-row {
    display: grid;
    gap: 12px;
}

.date-field {
    position: relative;
}

.date-field input {
    width: 100%;
    min-height: 46px;
    padding: 0 44px 0 16px;
    border: 1px solid rgba(116, 79, 75, 0.18);
    border-radius: 10px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.date-field input::placeholder {
    color: rgba(103, 81, 91, 0.5);
}

.date-field input:focus {
    border-color: rgba(227, 92, 113, 0.64);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 4px rgba(227, 92, 113, 0.12);
}

.input-calendar {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 24px;
    height: 24px;
    background: url("../img/icons/calendar.svg") center / contain no-repeat;
    transform: translateY(-50%);
}

.input-row button,
.soft-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(227, 92, 113, 0.22);
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, var(--coral), var(--coral-strong));
    box-shadow: 0 14px 26px rgba(227, 92, 113, 0.24);
    font-size: 0.9rem;
    font-weight: 820;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.input-row button:not(:disabled):hover,
.input-row button:not(:disabled):focus-visible,
.soft-button:hover,
.soft-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(227, 92, 113, 0.3);
    outline: none;
}

.input-row button:disabled {
    color: rgba(255, 255, 255, 0.82);
    background: linear-gradient(135deg, rgba(227, 92, 113, 0.42), rgba(204, 75, 94, 0.42));
    box-shadow: none;
    cursor: not-allowed;
    filter: saturate(0.7);
}

.input-hint,
.form-error,
.countdown-note {
    margin: 10px 0 0;
    font-size: 0.78rem;
}

.input-hint,
.countdown-note {
    color: var(--muted);
}

.form-error {
    color: #b73857;
    font-weight: 760;
}

.countdown-panel {
    display: grid;
    align-content: center;
    justify-items: center;
    justify-self: stretch;
    gap: 12px;
    text-align: center;
}

.calendar-sticker {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 34px;
    height: 34px;
    background: url("../img/icons/calendar.svg") center / contain no-repeat;
    filter: drop-shadow(0 7px 8px rgba(116, 79, 75, 0.15));
    transform: rotate(8deg);
}

.countdown-panel .panel-label {
    margin: 0;
    padding-right: 40px;
    font-size: 0.98rem;
}

.countdown-grid {
    display: grid;
    width: min(100%, 246px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    font-family: var(--script);
}

.countdown-grid span {
    display: grid;
    min-width: 0;
    min-height: 54px;
    place-items: center;
    padding: 7px 4px;
    overflow: hidden;
    border: 1px solid rgba(116, 79, 75, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: inset 0 -8px 16px rgba(255, 219, 221, 0.28);
}

.countdown-grid strong {
    display: block;
    max-width: 100%;
    color: var(--berry);
    font-family: inherit;
    font-size: clamp(1.08rem, 1.75vw, 1.28rem);
    font-weight: 700;
    line-height: 0.98;
    white-space: nowrap;
}

.countdown-grid em {
    color: var(--ink);
    font-family: inherit;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.countdown-note {
    font-family: var(--script);
    font-size: 0.78rem;
    line-height: 1.24;
}

@media (max-width: 760px) {
    .access-hero {
        min-height: 100svh;
        padding: 30px 14px;
        gap: 18px;
    }

    .access-hero > .floating-sticker {
        display: none;
    }

    .hero-copy h1 {
        font-size: clamp(2.15rem, 10vw, 2.85rem);
        white-space: nowrap;
    }

    .hero-subtitle {
        max-width: 300px;
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .memory-stats {
        min-height: 25px;
    }

    .access-layout {
        width: min(100%, 360px);
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .access-card,
    .countdown-panel {
        min-height: 0;
        padding: 28px 14px 16px;
        border-radius: 12px;
    }

    .countdown-panel {
        width: 100%;
        padding-top: 16px;
    }

    .lock-sticker {
        width: 40px;
        height: 40px;
    }

    .date-field input {
        min-height: 42px;
        font-size: 0.86rem;
    }

    .input-row button {
        min-height: 40px;
        font-size: 0.84rem;
    }

    .calendar-sticker {
        position: static;
        width: 31px;
        height: 31px;
    }

    .countdown-panel .panel-label {
        padding-right: 0;
        font-size: 0.9rem;
    }

    .countdown-grid {
        width: min(100%, 246px);
        gap: 6px;
    }

    .countdown-grid span {
        min-height: 50px;
        padding: 7px 3px;
    }

    .countdown-grid strong {
        font-size: 1.18rem;
    }

    .countdown-grid em {
        font-size: 0.58rem;
    }
}

