@font-face {
    font-family: "Anastasia Script";
    src: url("../font/AnastasiaScriptRegular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Roxborough";
    src: url("../font/RoxboroughCF-Regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Roxborough";
    src: url("../font/RoxboroughCF-Bold.woff") format("woff");
    font-style: normal;
    font-weight: 700;
}

:root {
    --bg-cream: #1a1613;
    --bg-gray: #14110e;
    --bg-charcoal: #0d0b09;
    --text-main: #fefdf7;
    --text-muted: #ddd1be;
    --gold: #ead36d;
    --gold-strong: #f3dd88;
    --card: rgba(35, 35, 35, 0.68);
    --card-border: rgba(234, 211, 109, 0.45);
    --line: rgba(233, 200, 93, 0.34);
    --page-max-width: 80vw;
    --page-inline-gap: 3rem;
    --scroll-track: rgba(35, 28, 22, 0.9);
    --scroll-thumb: linear-gradient(180deg, #a8934c 0%, #8b6724 100%);
    --scroll-thumb-hover: linear-gradient(180deg, #f6e4a8 0%, #d9a84a 100%);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roxborough", Georgia, serif;
    color: var(--text-main);
    min-height: 100vh;
    background:
        radial-gradient(60rem 30rem at -8% 0%, rgba(234, 205, 94, 0.22), transparent 70%),
        radial-gradient(50rem 24rem at 106% 12%, rgba(234, 205, 94, 0.12), transparent 72%),
        linear-gradient(180deg, #13110f 0%, #0d0b09 100%);
    position: relative;
    overflow-x: hidden;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #86621f var(--scroll-track);
}

*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

*::-webkit-scrollbar-track {
    background: var(--scroll-track);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    border-radius: 999px;
    border: 2px solid rgba(35, 28, 22, 0.95);
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thumb-hover);
}

*::-webkit-scrollbar-corner {
    background: var(--scroll-track);
}

p {
    font-family: "Montserrat", sans-serif !important;
}

.page-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(72rem 28rem at 8% 0%, rgba(234, 205, 94, 0.18), transparent 72%),
        radial-gradient(56rem 24rem at 100% 34%, rgba(234, 205, 94, 0.07), transparent 72%);
    z-index: -1;
}

.site-header,
main,
.site-footer {
    width: min(90vw, calc(100% - 2.5rem)) !important;
    margin-inline: auto;
}

.c-main-default {
    width: auto !important;
    margin-inline: auto !important;
}

.c-like-main {
    width: 70vw !important;
    margin-inline: auto !important;
}

.site-header {
    margin-top: 0;
    position: sticky;
    top: 2rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1rem;
    background: rgba(21, 17, 14, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--line);
    border-radius: 20px;
    font-family: "Montserrat", sans-serif;
    box-shadow: none;
    will-change: background-color, border-color;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
    background-color: rgba(21, 17, 14, 0.94);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-color: var(--line);
    box-shadow: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #f5e4ad;
    text-decoration: none;
    font-family: "Roxborough", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.brand img {
    width: clamp(2rem, 3.4vw, 2.7rem);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 999px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav .mobile-menu-item {
    display: none;
}

.mobile-logout-form {
    display: none;
}

.header-auth {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.auth-link {
    text-decoration: none;
    color: #f6e9c9;
    font-size: 1rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(241, 212, 130, 0.35);
    background: rgba(255, 255, 255, 0.04);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.auth-link:hover {
    background: rgba(241, 212, 130, 0.12);
    border-color: rgba(241, 212, 130, 0.55);
}

.user-menu {
    position: relative;
}

.user-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(241, 212, 130, 0.38);
    background: rgba(255, 255, 255, 0.06);
    color: #f6e9c9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.user-toggle svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    min-width: 140px;
    background: rgba(16, 16, 16, 0.96);
    border: 1px solid rgba(234, 211, 109, 0.45);
    border-radius: 12px;
    padding: 0.45rem;
    display: grid;
    gap: 0.3rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 120;
}

.user-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.user-dropdown a,
.user-dropdown button {
    text-align: left;
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
    color: #f6e9c9;
    background: transparent;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    background: rgba(241, 212, 130, 0.16);
}

.site-nav a {
    text-decoration: none;
    color: #f6e9c9;
    font-size: 1rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
    background: rgba(241, 212, 130, 0.12);
    border-color: rgba(241, 212, 130, 0.4);
    color: #f6e9c9;
}

.site-nav a.is-active {
    color: #2a1f12;
    background: radial-gradient(circle at 50% 50%, #f8eebf 0%, #eacd5e 100%);
    border-color: rgba(241, 212, 130, 0.5);
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(235, 203, 97, 0.45);
    background: rgba(255, 255, 255, 0.08);
    color: #f8eac8;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font: inherit;
    cursor: pointer;
}

main {
    padding: 1rem 0 4rem;
}


.hero-section {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(1rem, 2vw, 2rem);
    align-items: stretch;
}

.hero-left,
.hero-right {
    position: relative;
}

.hero-card {
    position: relative;
    background: rgba(31, 31, 31, 0.78);
    border: 1px solid rgba(234, 211, 109, 0.55);
    border-radius: 22px;
    padding: clamp(1.4rem, 3.2vw, 2.7rem);
    min-height: min(58vw, 640px);
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    box-shadow: 0 20px 50px rgba(10, 10, 10, 0.4);
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.hero-corner {
    position: absolute;
    right: -8%;
    top: -3%;
    width: clamp(160px, 32%, 280px);
    opacity: 0.7;
    pointer-events: none;
}

.hero-welcome {
    margin: 0;
    font-family: "Anastasia Script", "Times New Roman", serif;
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 0.96;
    color: #f8f2e7;
    font-weight: 400;
}

.hero-card h1 {
    margin: clamp(0.8rem, 1.5vw, 1.2rem) 0;
    font-size: clamp(1.5rem, 2.1vw, 2.5rem);
    line-height: 1.2;
    max-width: 80%;
    color: #fffdf7;
}

.hero-divider {
    width: min(80%, 420px);
    margin: 0.7rem auto 1rem;
}

.hero-divider img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-tagline {
    margin: 0;
    font-size: clamp(1.25rem, 1.5vw, 2rem);
    color: var(--text-muted);
}

.hero-right {
    border-radius: 22px;
    overflow: hidden;
    min-height: min(58vw, 640px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(234, 211, 109, 0.45);
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 61%;
}

.hero-decor {
    position: absolute;
    pointer-events: none;
}

.hero-decor-top {
    width: clamp(220px, 66%, 470px);
    left: -8%;
    top: -7%;
    opacity: 0.95;
}

.hero-decor-bottom {
    width: clamp(150px, 36%, 260px);
    left: -9%;
    bottom: -9%;
    opacity: 0.9;
}

.intro-section,
.detail-section,
.countdown-section,
.info-section,
.cta-section {
    margin-top: clamp(2rem, 5vw, 4rem);
}


.section-divider {
    display: block;
    width: min(540px, 92%);
    margin: 0 auto clamp(1rem, 2.8vw, 1.8rem);
}

.intro-copy {
    width: 100%;
    text-align: justify;
    color: #fefefe;
    font-size: clamp(1.5rem, 1.5vw, 1.6rem);
    line-height: 1.75;
    font-family: "Roxborough", Georgia, serif !important;
}

.override-font-intro {
    font-family: "Roxborough", serif !important;
    font-size: 28px;
}

.intro-copy p {
    margin: 0.65rem 0;
    text-align: justify;
}

.detail-section {
    scroll-margin-top: 6.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1rem;
}

.detail-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
    backdrop-filter: blur(2px);
}

.detail-icon {
    width: 2.7rem;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(243, 221, 136, 0.5);
    display: grid;
    place-items: center;
}

.detail-icon svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: var(--gold-strong);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.detail-label {
    margin: 0;
    color: #fffcf1;
    font-size: 1rem;
}

.detail-value {
    margin: 0.2rem 0 0;
    color: var(--gold-strong);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-family: "Roxborough", serif !important;
}

.countdown-section {
    border: 1px solid var(--card-border);
    border-radius: 18px;
    background: rgba(39, 39, 39, 0.45);
    backdrop-filter: blur(14px);
    padding: 1.2rem 1.2rem 1.3rem;
}

.countdown-section h3 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: clamp(1.2rem, 2.2vw, 2.35rem);
}

.countdown-section h4 {
    margin: 0 0 0.65rem;
    color: #f9da90;
    font-size: clamp(1.15rem, 1.5vw, 1.55rem);
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 1rem;
}

.countdown-grid article {
    border: 1px solid var(--card-border);
    border-radius: 16px;
    background: rgba(37, 37, 37, 0.55);
    text-align: center;
    padding: 0.95rem 0.8rem;
}

.countdown-grid strong {
    display: block;
    font-size: clamp(1.35rem, 3.1vw, 2.3rem);
    color: #f9da90;
}

.countdown-grid span {
    color: #fefdf7;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.countdown-arrived-message {
    margin: 0.2rem 0 0;
    color: #f9da90;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 700;
    text-align: center;
}

.info-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(230px, 1fr));
    gap: 1rem;
}

.info-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.2rem 1.2rem 1.3rem;
}

.info-card h4 {
    margin: 0 0 0.65rem;
    color: #f9da90;
    font-size: clamp(1.15rem, 1.5vw, 1.55rem);
}

.info-card p {
    margin: 0;
    color: #fefdf7;
    font-size: clamp(0.95rem, 1.1vw, 1rem);
    line-height: 1.7;
}

.event-details-text {
    white-space: normal;
}

.swatches {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.swatches span {
    width: 1.75rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--sw);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.cta-section {
    display: grid;
    place-items: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: clamp(180px, 26vw, 310px);
    text-decoration: none;
    color: #111;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: radial-gradient(circle at 50% 50%, #f9efbc 0%, #eacd5e 100%);
    border-radius: 999px;
    padding: 0.9rem 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 28px rgba(10, 10, 10, 0.3);
}

.site-footer {
    text-align: center;
    padding: 1.8rem 0 2.6rem;
    color: #f2e7d5;
}

.site-footer p {
    margin: 0.3rem 0;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
        order: 3;
    }

    .hero-welcome {
        font-size: clamp(2.5rem, 15vw, 6.5rem);
        max-width: 95%;
    }

    .override-font-intro {
        font-size: clamp(1.25rem, 5vw, 2.5rem);
    }

    .site-nav {
        position: fixed;
        right: 1rem;
        top: 4.2rem;
        width: min(85vw, 310px);
        background: rgba(16, 16, 16, 0.9);
        border: 1px solid rgba(234, 211, 109, 0.45);
        border-radius: 12px;
        padding: 0.7rem;
        display: grid;
        gap: 0.35rem;
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav a {
        color: #fff;
        padding: 0.55rem 0.7rem;
    }

    .site-nav .mobile-menu-item {
        display: block;
    }

    .site-nav .profile-mobile-hidden {
        display: none;
    }

    .header-auth {
        margin-left: 0;
        order: 2;
    }

    .header-auth .user-menu {
        display: none;
    }

    .header-auth .auth-link {
        display: none;
    }

    .hero-section {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .hero-right {
        min-height: 430px;
    }

    .hero-right {
        order: 2;
    }

    .detail-section,
    .info-section {
        grid-template-columns: 1fr;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, minmax(110px, 1fr));
    }

}

@media (max-width: 620px) {
    body {
        background:
            radial-gradient(55rem 24rem at -10% 0%, rgba(234, 205, 94, 0.18), transparent 72%),
            radial-gradient(44rem 20rem at 110% 10%, rgba(234, 205, 94, 0.1), transparent 72%),
            linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-gray) 48%, var(--bg-charcoal) 100%);
    }

    .hero-welcome {
        font-size: clamp(2.5rem, 15vw, 6.5rem);
        max-width: 95%;
    }

    main,
    .site-footer {
        width: calc(100% - 1.1rem);
    }

    .site-header {
        border-radius: 999px;
        width: 90%;
        top: 0.8rem;
        padding: 0.72rem;
        align-items: center;
        justify-content: space-between;
    }

    .c-like-main {
        width: 90% !important;
    }

    .hero-card,
    .hero-right {
        min-height: 90px;
        max-height: fit-content;
    }

    .hero-card {
        display: inherit;
        padding: 10%;
    }

    .hero-corner {
        width: 45%;
    }

    .hero-card h1 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        max-width: 95%;
    }

    .hero-decor-top {
        width: 58%;
        left: -5%;
    }

    .hero-decor-bottom {
        width: 34%;
    }

    .override-font-intro {
        font-size: clamp(1rem, 5vw, 2.5rem);
    }
}

.c-full-screen {
    height: 100vh;
    width: 100vw;
}