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

:root {
    --bg: #fbf7f2;
    --text: #4a4038;
    --muted: #7b6c5f;
    --card: rgba(249, 241, 232, 0.9);
    --card-border: rgba(181, 156, 130, 0.45);
    --glass: rgba(255, 249, 243, 0.5);
    --glass-border: rgba(199, 173, 147, 0.32);
    --shadow: rgba(107, 82, 56, 0.12);
    --accent: #b58f6d;
    --accent-soft: #e9d5c0;
}

html, body {
    width: 100%;
    min-height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.45), transparent 30%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        );
    color: var(--text);
    line-height: 1.5;
}

body {
    overflow-x: hidden;
}

.top-right-image {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.top-right-image img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    padding: 40px 20px 90px;
    position: relative;
}

.top-section {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    text-align: center;
}

.yo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.yo-text {
    font-family: 'Dancing Script', cursive;
    font-size: 75px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 2px;
}

.portrait-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.portrait-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subtitle {
    max-width: 700px;
    font-size: 19px;
    color: var(--text);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.gif-marquee {
    width: 100%;
    max-width: 900px;
    margin-top: 8px;
}

.marquee-track {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.moving-gif {
    position: absolute;
    left: -220px;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(95, 72, 50, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    animation-name: moveRight;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes moveRight {
    from {
        left: -220px;
    }

    to {
        left: 100%;
    }
}

.event-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text);
    text-transform: uppercase;
}

.countdown-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.countdown-card {
    width: min(100%, 760px);
    background:
        linear-gradient(135deg, rgba(255, 248, 240, 0.92), rgba(241, 228, 214, 0.9)),
        var(--card);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    box-shadow: 0 18px 40px var(--shadow);
    padding: 34px 28px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.countdown-kicker {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 1.35;
    color: #806d5f;
    margin-bottom: 22px;
}

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

.timer-box {
    min-width: 118px;
    padding: 18px 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(247, 232, 218, 0.36));
    border: 1px solid var(--glass-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 10px 22px rgba(120, 89, 62, 0.08);
    color: #695547;
    font-family: 'Lora', serif;
    font-size: 66px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

.timer-separator {
    font-family: 'Lora', serif;
    font-size: 50px;
    font-weight: 500;
    color: #9f8065;
    line-height: 1.05;
    transform: translateY(-4px);
}

.countdown-note {
    margin-top: 22px;
    font-family: 'Lora', serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.45px;
    line-height: 1.4;
    color: #887568;
    text-transform: uppercase;
}

.bottom-sticker {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.bottom-sticker img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .container {
        gap: 24px;
        padding: 42px 18px 88px;
    }

    .yo-text {
        font-size: 60px;
    }

    .portrait-container {
        width: 84px;
        height: 84px;
    }

    .subtitle {
        font-size: 17px;
    }

    .marquee-track {
        height: 140px;
    }

    .moving-gif {
        width: 118px;
        height: 118px;
    }

    .event-heading {
        font-size: 34px;
        letter-spacing: 1.6px;
    }

    .countdown-card {
        border-radius: 26px;
        padding: 28px 18px 24px;
    }

    .countdown-kicker {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .countdown-display {
        gap: 8px;
    }

    .timer-box {
        min-width: 88px;
        padding: 16px 10px;
        font-size: 48px;
        border-radius: 18px;
    }

    .timer-separator {
        font-size: 40px;
    }

    .bottom-sticker img {
        width: 66px;
        height: 66px;
    }
}

@media (max-width: 480px) {
    .top-right-image {
        top: 15px;
        right: 15px;
    }

    .top-right-image img {
        width: 52px;
        height: 52px;
    }

    .container {
        padding: 28px 14px 84px;
    }

    .top-section {
        gap: 16px;
    }

    .yo-text {
        font-size: 50px;
    }

    .portrait-container {
        width: 72px;
        height: 72px;
    }

    .subtitle {
        font-size: 16px;
    }

    .marquee-track {
        height: 116px;
    }

    .moving-gif {
        width: 92px;
        height: 92px;
        border-radius: 14px;
    }

    .event-heading {
        font-size: 26px;
        letter-spacing: 1.2px;
    }

    .countdown-card {
        padding: 24px 14px 22px;
        border-radius: 22px;
    }

    .countdown-kicker {
        font-size: 18px;
    }

    .countdown-display {
        gap: 6px;
    }

    .timer-box {
        min-width: 66px;
        padding: 14px 6px;
        font-size: 36px;
        border-radius: 16px;
    }

    .timer-separator {
        font-size: 30px;
    }

    .countdown-note {
        font-size: 12px;
        letter-spacing: 0.6px;
    }

    .bottom-sticker {
        bottom: 28px;
    }

    .bottom-sticker img {
        width: 56px;
        height: 56px;
    }
}
