@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --red: #e50914;
    --pink: #ff4d79;
    --gold: #f3d49b;
    --bg: #080808;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

.hidden {
    display: none !important;
}

/* PREMIUM BACKGROUND */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(229,9,20,.15), transparent 35%),
        radial-gradient(circle at 90% 80%, rgba(255,77,121,.12), transparent 35%);
    pointer-events: none;
    z-index: -1;
}

/* LOGO */

.logo,
.nav-logo {
    color: var(--red);
    font-weight: 800;
    letter-spacing: 5px;
    text-shadow: 0 0 25px rgba(229,9,20,.4);
}

.logo {
    font-size: 34px;
    margin-bottom: 35px;
}

/* PROFILE AND PASSWORD */

.password-screen {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    text-align: center;
    background:
        radial-gradient(ellipse at center, #361019 0%, #12080b 50%, #050505 100%);
}

.password-box {
    width: 100%;
    max-width: 440px;
    padding: 45px 28px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: rgba(255,255,255,.045);
    backdrop-filter: blur(25px);
    box-shadow: 0 0 80px rgba(229,9,20,.13);
    animation: fadeUp 1s ease;
}

.password-box h1 {
    font-family: 'Cinzel', serif;
    font-size: 29px;
    margin-bottom: 15px;
}

.password-box p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}

.password-box > div[onclick] {
    transition: .4s ease;
}

.password-box > div[onclick]:hover {
    transform: scale(1.07);
}

.password-box > div[onclick] > div {
    border: 2px solid rgba(255,255,255,.2);
    box-shadow: 0 0 35px rgba(229,9,20,.5) !important;
}

.password-input {
    width: 100%;
    padding: 17px;
    margin: 25px 0 15px;
    background: #111;
    border: 1px solid #444;
    border-radius: 9px;
    color: white;
    font-size: 22px;
    text-align: center;
    letter-spacing: 8px;
    outline: none;
    transition: .3s;
}

.password-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 20px rgba(255,77,121,.2);
}

.primary-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e50914, #a50030);
    color: white;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: .3s;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(229,9,20,.4);
}

/* COUNTDOWN */

.countdown-screen {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    background: radial-gradient(circle, #45101d, #080808 75%);
}

.countdown-content h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(28px, 7vw, 48px);
    margin: 20px 0;
}

.countdown-content p {
    color: #bbb;
    margin-bottom: 35px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.time-box {
    min-width: 78px;
    padding: 20px 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(229,9,20,.1);
}

.time-box span {
    display: block;
    color: var(--pink);
    font-size: 32px;
    font-weight: 800;
}

.time-box small {
    font-size: 10px;
    letter-spacing: 2px;
    color: #aaa;
}

/* MAIN WEBSITE */

.main-screen {
    min-height: 100vh;
    background: #080808;
}

.navbar {
    height: 75px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,.95), transparent);
}

.nav-logo {
    font-size: 25px;
}

.nav-links {
    display: flex;
    gap: 25px;
    font-size: 13px;
}

.nav-links a {
    color: #ddd;
    text-decoration: none;
    transition: .3s;
}

.nav-links a:hover {
    color: var(--pink);
}

/* HERO */

.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 120px 7% 70px;
    background:
        linear-gradient(to right, #080808 5%, rgba(8,8,8,.85) 50%, transparent),
        linear-gradient(to top, #080808, transparent 50%),
        radial-gradient(circle at 80% 35%, #651626, #1b090e 60%, #080808);
}

.hero-content {
    max-width: 650px;
    animation: fadeUp 1.2s ease;
}

.hero-tag {
    color: var(--gold);
    letter-spacing: 4px;
    font-size: 11px;
    margin-bottom: 25px;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(42px, 8vw, 78px);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--pink);
    text-shadow: 0 0 35px rgba(255,77,121,.25);
}

.hero-description {
    color: #ccc;
    max-width: 480px;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 15px 25px;
    border-radius: 7px;
    font-weight: 800;
    transition: .3s;
}

.play-btn {
    background: white;
    color: black;
}

.info-btn {
    background: rgba(109,109,110,.7);
    color: white;
}

.hero-btn:hover {
    transform: translateY(-3px);
}

/* CARDS */

.content-section {
    padding: 35px 5%;
}

.section-title {
    font-size: 23px;
    margin-bottom: 20px;
}

.card-row {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 12px 3px 30px;
    scrollbar-width: none;
}

.card-row::-webkit-scrollbar {
    display: none;
}

.love-card {
    min-width: 205px;
    height: 140px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 12px;
    background: linear-gradient(135deg, #5c1325, #18090e);
    border: 1px solid rgba(255,255,255,.1);
    transition: .4s;
}

.love-card:hover {
    transform: scale(1.06);
    border-color: var(--pink);
    box-shadow: 0 10px 35px rgba(229,9,20,.25);
}

.love-card h3 {
    font-size: 15px;
    margin-bottom: 7px;
}

.love-card p {
    font-size: 11px;
    color: #ccc;
}

/* LETTER */

.letter-section {
    padding: 90px 25px;
    text-align: center;
    background: linear-gradient(135deg, #1b080e, #080808);
}

.letter-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: clamp(28px, 6vw, 48px);
    margin-bottom: 20px;
}

.letter-section p {
    max-width: 550px;
    margin: auto;
    color: #bbb;
    line-height: 1.9;
}

.letter-btn,
.cake-btn {
    margin-top: 30px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #e50914, #9d002b);
    color: white;
    border-radius: 8px;
    font-weight: 800;
    transition: .3s;
}

.letter-btn:hover,
.cake-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(229,9,20,.35);
}

/* MODAL */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.94);
    backdrop-filter: blur(15px);
}

.modal-content {
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 35px 28px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: #170d11;
}

.modal-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--pink);
    margin-bottom: 20px;
}

.modal-content p {
    color: #ddd;
    font-size: 14px;
    line-height: 2;
    white-space: pre-line;
}

.close-btn {
    display: block;
    margin: 25px auto 0;
    padding: 13px 25px;
    background: var(--red);
    color: white;
    border-radius: 7px;
}

/* CAKE */

.cake-section {
    min-height: 430px;
    padding: 70px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle, #491321, #080808 75%);
}

.cake-section h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(27px, 6vw, 42px);
}

.cake {
    font-size: 110px;
    margin: 25px 0;
    animation: cakeFloat 3s ease-in-out infinite;
}

@keyframes cakeFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* FOOTER */

footer {
    padding: 35px 20px;
    text-align: center;
    color: #777;
    font-size: 12px;
    line-height: 2;
}

footer span {
    color: var(--pink);
}

/* ANIMATIONS */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */

@media(max-width:600px) {
    .navbar {
        height: 65px;
        padding: 0 18px;
    }

    .nav-logo {
        font-size: 19px;
    }

    .nav-links {
        gap: 11px;
        font-size: 10px;
    }

    .hero {
        min-height: 600px;
        padding: 120px 25px 60px;
    }

    .hero-description {
        font-size: 13px;
    }

    .content-section {
        padding: 25px 20px;
    }

    .love-card {
        min-width: 175px;
        height: 125px;
    }

    .time-box {
        min-width: 65px;
        padding: 15px 9px;
    }

    .time-box span {
        font-size: 25px;
    }
    }
