/* =========================================================
   DLTV – Royal Elegant Theme
   สำหรับ Banner พระพันปี + องค์ภา
   โทน: Black / Deep Brown / Royal Gold
   ========================================================= */

:root {
    --black: #080808;
    --black-soft: #11100d;
    --brown-dark: #211508;
    --brown: #3a250d;

    --gold-dark: #8b681f;
    --gold: #b89435;
    --gold-bright: #d4af37;
    --gold-light: #e8d08a;

    --cream: #f5efd9;
    --white: #ffffff;

    --shadow: rgba(0, 0, 0, 0.65);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    background: var(--black);
}

body {
    margin: 0;
    padding: 0;

    font-family: "Sarabun", sans-serif;
    color: var(--cream);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(156, 118, 37, 0.16) 0%,
            rgba(33, 21, 8, 0.12) 28%,
            rgba(8, 8, 8, 1) 68%
        ),
        linear-gradient(
            180deg,
            #211508 0%,
            #0b0a08 45%,
            #050505 100%
        );

    min-height: 100vh;
}


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

.page {
    position: relative;
    z-index: 1;

    width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;

    padding: 30px 20px 35px;
}


/* =========================================================
   MAIN WRAPPER
   ========================================================= */

.wrap {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    text-align: center;
}


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

.hero {
    position: relative;

    width: 100%;

    padding: 7px;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.78),
            rgba(74, 49, 10, 0.72) 25%,
            rgba(212, 175, 55, 0.34) 50%,
            rgba(74, 49, 10, 0.72) 75%,
            rgba(212, 175, 55, 0.78)
        );

    border-radius: 5px;

    box-shadow:
        0 0 0 1px rgba(232, 208, 138, 0.30),
        0 12px 35px rgba(0, 0, 0, 0.65);
}

.hero-inner {
    position: relative;

    overflow: hidden;

    background: #080808;

    border: 1px solid rgba(232, 208, 138, 0.22);
    border-radius: 2px;
}

.hero-image {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: contain;
}


/* =========================================================
   BUTTON AREA
   ========================================================= */

.buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    margin-top: 30px;
    margin-bottom: 30px;
}


/* =========================================================
   DLTV BUTTON
   ========================================================= */

.btn {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 270px;

    padding: 14px 34px;

    border: 1px solid var(--gold-bright);
    border-radius: 4px;

    color: var(--cream);

    background:
        linear-gradient(
            180deg,
            #4a350f 0%,
            #2b1d08 45%,
            #171108 100%
        );

    font-size: 18px;
    font-weight: 600;

    text-decoration: none;
    letter-spacing: 0.2px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -2px 0 rgba(0, 0, 0, 0.35),
        0 5px 18px rgba(0, 0, 0, 0.55);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.btn::before {
    content: "";

    position: absolute;

    left: 18px;
    right: 18px;
    top: 4px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(232, 208, 138, 0.8),
            transparent
        );
}

.btn:hover {
    color: #fff8df;

    border-color: var(--gold-light);

    background:
        linear-gradient(
            180deg,
            #614716 0%,
            #3a280b 45%,
            #211706 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 18px rgba(212, 175, 55, 0.22),
        0 8px 25px rgba(0, 0, 0, 0.65);

    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 4px;
}

.btn:active {
    transform: translateY(0);

    box-shadow:
        inset 0 2px 5px rgba(0, 0, 0, 0.5);
}


/* =========================================================
   BUTTON ICON
   ========================================================= */

.btn-icon {
    position: relative;

    width: 8px;
    height: 8px;

    margin-right: 12px;

    border-radius: 50%;

    background: var(--gold-bright);

    box-shadow:
        0 0 5px rgba(212, 175, 55, 0.65);
}


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

footer {
    position: relative;

    margin-top: 28px;
    padding-top: 20px;

    color: #bcae88;

    font-size: 13px;
    line-height: 1.8;
}

footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 160px;
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold-dark),
            var(--gold-bright),
            var(--gold-dark),
            transparent
        );
}

footer p {
    margin: 3px 0;
}

footer p:first-child {
    color: var(--gold-light);

    font-size: 14px;
    font-weight: 500;
}

footer p:last-child {
    color: #8f805e;

    font-size: 11px;
    letter-spacing: 0.4px;
}


/* =========================================================
   DECORATIVE ELEMENTS
   ========================================================= */

.decor {
    position: fixed;

    pointer-events: none;
    z-index: 0;

    opacity: 0.18;
}

.decor-1 {
    width: 280px;
    height: 280px;

    top: -140px;
    left: -140px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 175, 55, 0.18),
            transparent 70%
        );
}

.decor-2 {
    width: 320px;
    height: 320px;

    right: -160px;
    top: 20%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(156, 118, 37, 0.12),
            transparent 70%
        );
}

.decor-3 {
    width: 350px;
    height: 180px;

    bottom: -90px;
    left: 50%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(212, 175, 55, 0.10),
            transparent 70%
        );
}

.decor-4 {
    display: none;
}


/* =========================================================
   RESPONSIVE – TABLET
   ========================================================= */

@media (max-width: 768px) {

    .page {
        padding: 15px 10px 25px;
    }

    .hero {
        padding: 4px;
    }

    .buttons {
        margin-top: 22px;
        margin-bottom: 24px;
    }

    .btn {
        width: 100%;
        max-width: 320px;

        min-width: 0;

        padding: 13px 25px;

        font-size: 17px;
    }

    footer {
        margin-top: 22px;
    }

    footer p:first-child {
        font-size: 13px;
    }

    footer p:last-child {
        font-size: 10px;
    }
}


/* =========================================================
   RESPONSIVE – MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .page {
        padding: 8px 6px 20px;
    }

    .hero {
        padding: 3px;
    }

    .buttons {
        margin-top: 18px;
    }

    .btn {
        max-width: 290px;

        padding: 12px 20px;

        font-size: 16px;
    }

    footer {
        font-size: 11px;
    }

    footer p:first-child {
        font-size: 12px;
    }

    footer p:last-child {
        font-size: 9px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .btn {
        transition: none;
    }

    .btn:hover {
        transform: none;
    }
}
