/* ==========================
   RESET
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(
            180deg,
            #fff8fb,
            #fffaf3,
            #fff7fd
        );

    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: #645764;
}

/* ==========================
   FLOATING DECORATIONS
========================== */

.floating {
    position: fixed;
    font-size: 2rem;
    opacity: 0.75;
    z-index: 0;
    animation: floaty 8s ease-in-out infinite;
}

.floating1 {
    top: 8%;
    left: 5%;
}

.floating2 {
    top: 18%;
    right: 8%;
}

.floating3 {
    top: 42%;
    left: 7%;
}

.floating4 {
    top: 65%;
    right: 10%;
}

.floating5 {
    bottom: 15%;
    left: 12%;
}

.floating6 {
    bottom: 10%;
    right: 8%;
}

@keyframes floaty {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ==========================
   HERO
========================== */

.hero {
    min-height: 100vh;
    padding: 80px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.sticker {
    background: #ffe7ef;
    color: #7b5f72;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: #5c4d5b;
    line-height: 1.2;
}

.subtitle {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #806b7b;
}

.hero-small {
    margin-top: 15px;
    color: #978492;
}

.hero-btn {
    margin-top: 35px;
    display: inline-block;
    text-decoration: none;

    background: #ffd8ea;
    color: #5d4956;

    padding: 16px 28px;
    border-radius: 999px;

    font-weight: 600;
    transition: 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-5px);
}

/* ==========================
   SCRAPBOOK PAPER
========================== */

.scrapbook-paper {
    background: rgba(255,255,255,0.75);

    backdrop-filter: blur(16px);

    border-radius: 35px;

    padding: 60px;

    width: 100%;
    max-width: 1200px;

    box-shadow:
        0 12px 40px rgba(0,0,0,0.08);

    position: relative;
    z-index: 2;
}

/* ==========================
   POLAROID
========================== */

.polaroid {
    background: white;
    padding: 16px;
    width: 320px;

    border-radius: 12px;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.12);

    position: relative;
}

.polaroid img {
    width: 100%;
    border-radius: 10px;
}

.polaroid p {
    margin-top: 12px;
    text-align: center;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.2rem;
}

/* ==========================
   TAPE
========================== */

.tape {
    width: 90px;
    height: 28px;

    background: rgba(255,230,180,0.6);

    position: absolute;
    top: -12px;
}

.tape-left {
    left: 20px;
    transform: rotate(-12deg);
}

.tape-right {
    right: 20px;
    transform: rotate(12deg);
}

.rotate-right {
    transform: rotate(4deg);
}

.rotate-left {
    transform: rotate(-5deg);
}

/* ==========================
   SECTION
========================== */

.section {
    padding: 100px 20px;
}

.section-title,
h2 {
    text-align: center;
    font-family: 'Patrick Hand', cursive;
    font-size: 3rem;
    color: #624f5f;
    margin-bottom: 40px;
}

/* ==========================
   ABOUT
========================== */

.about-text {
    text-align: center;
    max-width: 900px;
    margin: auto;
    font-size: 1.1rem;
    line-height: 2;
}

/* ==========================
   CARD GRID
========================== */

.card-grid,
.facts-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(250px,1fr));

    gap: 25px;
}

.scrapbook-card,
.fact-card {
    background: #fff;

    padding: 35px 25px;
    border-radius: 28px;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);

    transition: 0.3s ease;
}

.scrapbook-card:hover,
.fact-card:hover {
    transform: translateY(-10px);
}

.scrapbook-card h3 {
    margin-bottom: 15px;
}

/* ==========================
   COUNTDOWN
========================== */

.countdown-paper {
    text-align: center;
}

.cute-subtitle {
    margin-bottom: 35px;
}

.countdown-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.time-card {
    width: 160px;
    height: 160px;

    background: white;
    border-radius: 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.08);
}

.time-card span {
    font-size: 3rem;
    font-weight: bold;
}

.time-card p {
    margin-top: 10px;
}

/* ==========================
   COLLAGE
========================== */

.collage-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
}

.mini-note,
.sticker-box {
    background: white;
    padding: 30px;
    border-radius: 25px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);

    font-family: 'Patrick Hand', cursive;
    font-size: 1.5rem;
}

/* ==========================
   LETTER
========================== */

.birthday-note {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;

    background:
        rgba(255,255,255,0.75);

    backdrop-filter: blur(15px);

    border-radius: 35px;

    padding: 60px;

    max-width: 1200px;
    margin: auto;
}

.note-content {
    flex: 1;
}

.note-content p {
    margin-bottom: 18px;
    line-height: 2;
}

.signature {
    margin-top: 30px;
    font-weight: 600;
}

/* ==========================
   FOOTER
========================== */

footer {
    text-align: center;
    padding: 50px 20px;
    background: #fff0f6;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.5rem;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 900px) {

    .hero-card,
    .birthday-note {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .scrapbook-paper {
        padding: 35px;
    }

    .polaroid {
        width: 100%;
        max-width: 320px;
    }

    h2,
    .section-title {
        font-size: 2.3rem;
    }

    .time-card {
        width: 120px;
        height: 120px;
    }

    .time-card span {
        font-size: 2rem;
    }
}