/* =========================================================
   GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family: 'Sarabun', sans-serif;

    color: #3f321f;

    min-height: 100vh;

    background:

        radial-gradient(
            circle at 50% 0%,
            rgba(255,255,255,.98) 0%,
            rgba(255,250,238,.96) 22%,
            rgba(245,237,218,.96) 50%,
            rgba(232,220,195,1) 100%
        );

    position: relative;

    overflow-x: hidden;
}


/* =========================================================
   MAIN PAGE
   ========================================================= */

.page {

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 40px 15px;

    position: relative;

    z-index: 2;
}


.wrap {

    width: 95%;

    max-width: 980px;

    text-align: center;

    padding: 25px 20px 35px;

    position: relative;
}


/* =========================================================
   DECORATIVE ORNAMENT
   ========================================================= */

.royal-ornament {

    width: 52px;

    height: 52px;

    margin: 0 auto 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(169,135,70,.55);

    color: #9c7940;

    font-size: 22px;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.9),
            rgba(245,235,210,.7)
        );

    box-shadow:
        0 4px 15px rgba(75,55,20,.10);
}


/* =========================================================
   HEADING
   ========================================================= */

.heading {

    margin-bottom: 25px;

    color: #493a25;
}


.small-title {

    font-size: clamp(1.05rem, 2vw, 1.35rem);

    font-weight: 500;

    letter-spacing: .04em;

    color: #6d5732;

    margin-bottom: 8px;
}


.heading h1 {

    margin: 0;

    font-size: clamp(1.35rem, 3vw, 2rem);

    font-weight: 600;

    color: #4c3a20;

    line-height: 1.5;
}


.heading h2 {

    margin: 5px auto 10px;

    max-width: 800px;

    font-size: clamp(1.1rem, 2.4vw, 1.65rem);

    font-weight: 500;

    line-height: 1.65;

    color: #5d476e;
}


.date {

    display: inline-block;

    margin-top: 5px;

    padding: 5px 20px;

    border-top: 1px solid rgba(167,132,66,.55);

    border-bottom: 1px solid rgba(167,132,66,.55);

    font-size: clamp(1.15rem, 2.5vw, 1.55rem);

    font-weight: 600;

    letter-spacing: .12em;

    color: #987235;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero {

    width: 100%;

    padding: 9px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #c6a35d,
            #f3e5b8 25%,
            #b99045 50%,
            #f5e9c5 75%,
            #c19a50
        );

    box-shadow:

        0 18px 45px rgba(67,50,25,.22),

        0 2px 8px rgba(80,60,20,.12);
}


.hero-inner {

    padding: 5px;

    border-radius: 13px;

    background: #fffdf8;

    box-shadow:
        inset 0 0 0 1px rgba(180,150,85,.28);
}


.hero-image {

    width: 100%;

    height: auto;

    display: block;

    border-radius: 9px;

    object-fit: contain;
}


/* =========================================================
   MESSAGE
   ========================================================= */

.message {

    padding: 23px 15px 5px;

    color: #56432a;

    font-size: clamp(1.05rem, 2vw, 1.3rem);

    line-height: 1.9;
}


.message p {

    margin: 4px 0;
}


.message-line {

    width: 120px;

    height: 1px;

    margin: 8px auto;

    background:
        linear-gradient(
            90deg,
            transparent,
            #b69658,
            transparent
        );
}


/* =========================================================
   BUTTONS
   ========================================================= */

.buttons {

    display: flex;

    justify-content: center;

    align-items: stretch;

    flex-wrap: wrap;

    gap: 18px;

    margin: 25px auto 15px;

    max-width: 720px;
}


.btn {

    min-width: 250px;

    padding: 13px 24px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    text-decoration: none;

    font-size: 1.08rem;

    font-weight: 500;

    letter-spacing: .02em;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;

    position: relative;

    overflow: hidden;
}


.btn::before {

    content: "";

    position: absolute;

    top: 0;

    left: -100%;

    width: 70%;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.38),
            transparent
        );

    transform: skewX(-20deg);

    transition: left .55s ease;
}


.btn:hover::before {

    left: 140%;
}


.btn:hover {

    transform: translateY(-4px);

}


.btn-icon {

    font-size: 17px;
}


/* Button 1 */

.btn-wish {

    color: #fffdf8;

    background:
        linear-gradient(
            135deg,
            #79608d,
            #624a78
        );

    border: 1px solid #59406d;

    box-shadow:
        0 8px 20px rgba(82,59,98,.24);
}


.btn-wish:hover {

    box-shadow:
        0 13px 28px rgba(82,59,98,.30);
}


/* Button 2 */

.btn-dltv {

    color: #514020;

    background:
        linear-gradient(
            135deg,
            #f5e7bb,
            #dfc67e
        );

    border: 1px solid #b79a57;

    box-shadow:
        0 8px 20px rgba(113,86,31,.18);
}


.btn-dltv:hover {

    box-shadow:
        0 13px 28px rgba(113,86,31,.25);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {

    margin-top: 28px;

    font-size: .98rem;

    line-height: 1.8;

    color: #675638;
}


footer p {

    margin: 4px 0;
}


.footer-ornament {

    margin-bottom: 8px;

    font-size: 16px;

    color: #aa8746;
}


/* =========================================================
   BACKGROUND DECORATION
   ========================================================= */

.decor {

    position: fixed;

    width: 240px;

    height: 240px;

    border-radius: 50%;

    pointer-events: none;

    z-index: 1;

    opacity: .35;

    filter: blur(1px);
}


.decor-1 {

    top: -100px;

    left: -100px;

    background:
        radial-gradient(
            circle,
            rgba(194,160,90,.28),
            transparent 70%
        );
}


.decor-2 {

    top: 25%;

    right: -140px;

    background:
        radial-gradient(
            circle,
            rgba(126,99,145,.18),
            transparent 70%
        );
}


.decor-3 {

    bottom: -130px;

    left: 5%;

    background:
        radial-gradient(
            circle,
            rgba(192,160,85,.20),
            transparent 70%
        );
}


.decor-4 {

    bottom: 10%;

    right: 5%;

    background:
        radial-gradient(
            circle,
            rgba(125,98,144,.15),
            transparent 70%
        );
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    .page {

        padding: 25px 10px;

    }

    .wrap {

        width: 100%;

        padding: 20px 12px 30px;

    }

    .hero {

        padding: 7px;

        border-radius: 16px;

    }

    .buttons {

        gap: 12px;

    }

    .btn {

        min-width: 220px;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .page {

        align-items: flex-start;

        padding-top: 18px;

    }

    .wrap {

        padding-left: 5px;

        padding-right: 5px;

    }

    .royal-ornament {

        width: 45px;

        height: 45px;

        font-size: 19px;

        margin-bottom: 10px;

    }

    .small-title {

        font-size: 1rem;

    }

    .heading h1 {

        font-size: 1.2rem;

    }

    .heading h2 {

        font-size: 1rem;

        line-height: 1.65;

    }

    .date {

        font-size: 1.05rem;

        padding: 4px 15px;

    }

    .hero {

        padding: 5px;

        border-radius: 13px;

    }

    .hero-inner {

        padding: 3px;

    }

    .hero-image {

        border-radius: 7px;

    }

    .message {

        font-size: 1rem;

        line-height: 1.8;

        padding-top: 18px;

    }

    .buttons {

        flex-direction: column;

        width: 100%;

        gap: 11px;

        margin-top: 20px;

    }

    .btn {

        width: 100%;

        min-width: 0;

        font-size: 1rem;

        padding: 12px 18px;

    }

    footer {

        font-size: .9rem;

        line-height: 1.7;

        margin-top: 22px;

    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .heading h2 {

        font-size: .95rem;

    }

    .date {

        font-size: 1rem;

        letter-spacing: .08em;

    }

    .message {

        font-size: .95rem;

    }

}