:root {
    --bg-dark: #150909;
    --bg-shadow: rgba(15, 3, 3, 0.72);
    --gold: #efd496;
    --gold-shadow: #6b390f;
    --text-dark: #5e140f;
    --text-light: #fff7ed;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--text-light);
    background:
        linear-gradient(180deg, rgba(25, 5, 5, 0.3), rgba(9, 2, 2, 0.82)),
        radial-gradient(circle at top, rgba(255, 228, 185, 0.2), transparent 38%),
        url("../img/background.png") center center / cover no-repeat,
        url("../img/bg-fallback.svg") center center / cover no-repeat,
        linear-gradient(180deg, #7a5951 0%, #24100f 55%, #100707 100%);
    position: relative;
    overflow: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 245, 221, 0.22), transparent 28%),
        radial-gradient(circle at 80% 15%, rgba(255, 215, 157, 0.16), transparent 20%),
        radial-gradient(circle at 50% 85%, rgba(255, 204, 170, 0.12), transparent 26%);
}

body::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.44));
}

.petal-layer {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.petal {
    position: absolute;
    top: -12%;
    right: -8%;
    width: 22px;
    height: 14px;
    opacity: 0;
    background: linear-gradient(135deg, rgba(255, 236, 206, 0.95), rgba(192, 92, 72, 0.92));
    border-radius: 90% 10% 85% 15%;
    box-shadow: 0 0 8px rgba(255, 221, 186, 0.16);
    transform-origin: center;
    filter: blur(0.2px);
    animation: petal-drift linear infinite;
}

.petal::before {
    content: "";
    position: absolute;
    inset: 2px 3px auto auto;
    width: 55%;
    height: 2px;
    background: rgba(117, 34, 29, 0.28);
    border-radius: 999px;
    transform: rotate(-28deg);
}

.petal-1 {
    width: 26px;
    height: 16px;
    animation-duration: 13s;
    animation-delay: -1s;
}

.petal-2 {
    width: 18px;
    height: 12px;
    animation-duration: 10s;
    animation-delay: -5s;
}

.petal-3 {
    width: 20px;
    height: 13px;
    animation-duration: 12s;
    animation-delay: -8s;
}

.petal-4 {
    width: 24px;
    height: 15px;
    animation-duration: 15s;
    animation-delay: -3s;
}

.petal-5 {
    width: 16px;
    height: 10px;
    animation-duration: 11s;
    animation-delay: -7s;
}

.petal-6 {
    width: 28px;
    height: 16px;
    animation-duration: 16s;
    animation-delay: -10s;
}

.petal-7 {
    width: 15px;
    height: 10px;
    animation-duration: 9s;
    animation-delay: -2s;
}

.petal-8 {
    width: 23px;
    height: 14px;
    animation-duration: 14s;
    animation-delay: -11s;
}

.petal-9 {
    width: 19px;
    height: 12px;
    animation-duration: 12.5s;
    animation-delay: -6s;
}

.petal-10 {
    width: 25px;
    height: 15px;
    animation-duration: 17s;
    animation-delay: -13s;
}

.petal-1,
.petal-6 {
    top: 3%;
}

.petal-2,
.petal-7 {
    top: 10%;
}

.petal-3,
.petal-8 {
    top: 18%;
}

.petal-4,
.petal-9 {
    top: 0%;
}

.petal-5,
.petal-10 {
    top: 24%;
}

@keyframes petal-drift {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(0.9);
    }

    8% {
        opacity: 0.92;
    }

    35% {
        transform: translate3d(-28vw, 12vh, 0) rotate(120deg) scale(1);
    }

    68% {
        transform: translate3d(-64vw, 26vh, 0) rotate(240deg) scale(0.96);
    }

    100% {
        opacity: 0;
        transform: translate3d(-108vw, 42vh, 0) rotate(360deg) scale(0.85);
    }
}

.landing {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px 18px 28px;
}

.hero-panel {
    width: min(920px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 24px 30px;
    border-radius: 30px;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.brand-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.brand-logo {
    display: block;
    width: min(680px, 98%);
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.28));
}

.brand-subtitle {
    position: relative;
    margin: 2px 0 0;
    padding: 10px 36px;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff2dc;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
}

.brand-subtitle::before,
.brand-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 150px;
    height: 16px;
    transform: translateY(-50%);
    background:
        linear-gradient(90deg, transparent, rgba(245, 214, 158, 0.92) 28%, rgba(128, 51, 26, 0.84) 100%);
    clip-path: polygon(0 48%, 78% 48%, 88% 0, 100% 50%, 88% 100%, 78% 52%, 0 52%);
    opacity: 0.92;
}

.brand-subtitle::before {
    right: 100%;
    margin-right: 16px;
}

.brand-subtitle::after {
    left: 100%;
    margin-left: 16px;
    transform: translateY(-50%) scaleX(-1);
}

.launch-title {
    margin: 20px 0 0;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.05;
    white-space: nowrap;
    text-transform: uppercase;
    color: #f8e8c7;
    text-shadow:
        0 2px 0 rgba(255, 248, 221, 0.55),
        0 10px 24px rgba(0, 0, 0, 0.34),
        0 0 26px rgba(228, 177, 89, 0.18);
}

.date-banner {
    position: relative;
    width: min(760px, calc(100% - 10px));
    margin-top: 16px;
    padding: 18px 28px;
    background: linear-gradient(180deg, #f6e7c6 0%, #ecd09c 100%);
    border: 1px solid rgba(134, 77, 24, 0.45);
    box-shadow: 0 16px 40px rgba(26, 8, 8, 0.34), inset 0 0 0 1px rgba(255, 247, 223, 0.45);
}

.date-banner::before,
.date-banner::after {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    width: 34px;
    background: linear-gradient(180deg, #d8b170, #ae7531);
    z-index: -1;
}

.date-banner::before {
    left: -16px;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.date-banner::after {
    right: -16px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.date-banner span {
    display: block;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 18px;
    width: min(660px, 100%);
    margin-top: 30px;
}

.countdown-box {
    padding: 18px 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(244, 211, 163, 0.18);
    background: linear-gradient(180deg, rgba(131, 31, 25, 0.82), rgba(81, 17, 14, 0.92));
    box-shadow: inset 0 0 0 1px rgba(255, 239, 210, 0.08), 0 14px 28px rgba(0, 0, 0, 0.22);
}

.countdown-value {
    display: block;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    color: #ffe7b1;
}

.countdown-label {
    display: block;
    margin-top: 8px;
    font-size: 0.86rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 241, 222, 0.82);
}

.actions {
    margin-top: 24px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 60px;
    padding: 0 30px;
    border-radius: 999px;
    border: 1px solid rgba(212, 255, 231, 0.28);
    background: linear-gradient(180deg, #33d16a 0%, #148e45 100%);
    color: #f7fff9;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 16px 34px rgba(7, 62, 30, 0.36);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.primary-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 18px 42px rgba(7, 62, 30, 0.44);
}

@media (max-width: 860px) {
    .hero-panel {
        padding: 28px 18px 34px;
    }

    .brand-logo {
        width: min(620px, 100%);
        max-height: 340px;
    }

    .brand-subtitle::before,
    .brand-subtitle::after {
        width: 92px;
    }

    .launch-title {
        white-space: normal;
        letter-spacing: 0.1em;
    }

    .date-banner {
        width: min(100%, calc(100% - 18px));
    }

    .countdown {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        width: min(420px, 100%);
    }
}

@media (max-width: 520px) {
    .landing {
        padding: 20px 12px;
    }

    .brand-logo {
        width: min(100%, 520px);
        max-height: 190px;
    }

    .petal {
        width: 16px;
        height: 10px;
    }

    .brand-subtitle {
        width: auto;
        max-width: none;
        font-size: 1rem;
        padding: 10px 18px;
    }

    .brand-subtitle::before,
    .brand-subtitle::after {
        width: 42px;
        height: 12px;
        margin: 0 10px;
    }

    .launch-title {
        font-size: clamp(2rem, 10vw, 3.4rem);
        white-space: normal;
    }

    .date-banner {
        margin-top: 24px;
        padding: 14px 18px;
    }

    .date-banner::before,
    .date-banner::after {
        display: none;
    }

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

    .primary-button {
        width: 100%;
        padding: 0 22px;
        font-size: 1rem;
    }
}