html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Thai', sans-serif;
    /* background-image: url('/images/bg.jpg'); */
    background-size: 100vw 100vh;
    background-attachment: fixed;
}

.vh100 {
    min-height: 100vh;
}

.alphaDialog {
    background-color: #ffffff8f;
    padding: 1em;
    border-radius: 10px;
    width: 100%;
    box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.35);
}

.logoImg {
    position: relative;
    width: 250px;
    z-index: 5;
}

.btn-block {
    width: 97% !important;
}

.logo-corner {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 10px;
    z-index: 999;
}

.logo-betagro {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 999;
}

.logo-corner img {
    width: 150px;
}

.logo-betagro img {
    width: 100px;
}

.heroImage {
    transform: translate(-7%, 0%);
}

.campaign-logo-lottie {
    width: 100%;
    aspect-ratio: 948 / 452;
}

.hero-lottie {
    width: 100%;
    aspect-ratio: 732 / 787;
}

.howtoplay-sec1-lottie {
    width: 100%;
    aspect-ratio: 1383 / 1502;
}

.marker-loop-lottie svg,
.marker-loop-lottie>img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.mainBG {
    background-image: url('/images/bg-mobile.svg'), url('/images/bg-info-section.webp'), radial-gradient(ellipse at center,
            #337f57 0%,
            #256b49 40%,
            #174d35 100%);
    background-position: center calc(100% + 2px), top, center;
    background-attachment: scroll, fixed, scroll;
    background-size: 100% auto, 450px, cover;
    background-repeat: no-repeat, repeat, no-repeat;
    min-height: 150px;
}

#menuHeader div {
    padding: 8px;
    color: #fff;
    font-weight: bold;
    text-shadow: #000 1px 1px;
}

#menuHeaderNav a {
    padding: 8px;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
    transition: opacity .2s ease, transform .2s ease;
}

#menuHeaderNav a:visited,
#menuHeaderNav a:hover,
#menuHeaderNav a:focus-visible {
    color: #fff !important;
    text-decoration: none;
}

#menuHeaderNav a:hover,
#menuHeaderNav a:focus-visible {
    opacity: .82;
    transform: translateY(-1px);
}

.mobile-menu-wrap {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1050;
    width: auto;
    min-height: 0;
    padding: 0 !important;
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 12px;
    background: rgba(7, 63, 43, .72);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-nav {
    position: fixed;
    top: 62px;
    right: 10px;
    left: 10px;
    overflow: hidden;
    border: 1px solid rgba(232, 212, 148, .58);
    border-radius: 16px;
    background: rgba(12, 68, 47, .97);
    box-shadow: 0 16px 35px rgba(0, 0, 0, .28);
    backdrop-filter: blur(12px);
}

.mobile-menu-nav[hidden] {
    display: none;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: #fff !important;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none !important;
    text-shadow: none;
}

.mobile-menu-nav a:last-child {
    border-bottom: 0;
}

.mobile-menu-nav a:active {
    background: rgba(255, 255, 255, .1);
}

.mobile-menu-nav a i {
    width: 18px;
    color: #e6ca7e;
    text-align: center;
}

#informationSection,
#productSection,
#storeSection,
#footerSection {
    scroll-margin-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

#informationSection {
    background-color: #f8f1df;
    background-image: url('/images/bg-info-section.webp');
    background-attachment: fixed;
    background-repeat: repeat;
    background-size: 300px;
    min-height: 300px;
}

.gold-frame {
    position: relative;
    padding: 28px;
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 130px;
    border: 6px solid transparent;
    border-radius: 32px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg,
            #8d6926 0%,
            #e8d494 22%,
            #fff5c7 40%,
            #a87d2b 65%,
            #f0dc9a 82%,
            #8b6422 100%) border-box;

    box-shadow:
        0 8px 10px rgba(87, 63, 15, 0.35),
        0 2px 4px rgba(255, 245, 194, 0.8) inset;
}

.gold-frame-content-p {
    padding-left: 10px;
    padding-right: 10px;
}

.more-info-button-wrap {
    display: flex;
    justify-content: center;
}

#moreReceiptInfo,
#moreInfoBtn {
    min-width: 210px;
    padding: 10px 22px;
    border: 1px solid #c89637;
    background:
        linear-gradient(180deg, transparent 0%, transparent 25%, rgba(255, 255, 255, .16) 32%, rgba(255, 250, 220, .72) 42%, rgba(255, 252, 228, .94) 50%, rgba(255, 250, 220, .68) 59%, rgba(255, 255, 255, .2) 68%, transparent 76%),
        linear-gradient(180deg, #f5e2a0 0%, #d5a64b 48%, #bd852a 52%, #edce78 100%);
    color: #174b37 !important;
    box-shadow: 0 5px 12px rgba(117, 80, 19, .22), inset 0 1px 2px rgba(255, 255, 255, .8);
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .65);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#moreReceiptInfo:hover,
#moreReceiptInfo:focus,
#moreInfoBtn:hover,
#moreInfoBtn:focus {
    border-color: #b98528;
    background:
        linear-gradient(180deg, transparent 0%, transparent 25%, rgba(255, 255, 255, .2) 32%, rgba(255, 252, 228, .78) 42%, rgba(255, 254, 238, .98) 50%, rgba(255, 252, 228, .74) 59%, rgba(255, 255, 255, .24) 68%, transparent 76%),
        linear-gradient(180deg, #faeab4 0%, #dfb75d 48%, #ca9436 52%, #f3da8d 100%);
    color: #0b3f2b !important;
    box-shadow: 0 7px 16px rgba(117, 80, 19, .3), inset 0 1px 2px rgba(255,255,255,.85);
    transform: translateY(-2px);
}

#moreReceiptInfo:active,
#moreInfoBtn:active {
    transform: translateY(0);
}

.lucky50icon {
    position: absolute;
    right: 0px;
    width: 100px;
    transform: translate(30%, -80%);
}

.receiptIcon {
    position: absolute;
    left: 0px;
    width: 100px;
    transform: translate(-35%, -55%);
}

.more-info-img {
    width: 110% !important;
    margin-top: 20px;
    margin-bottom: -120px;
    margin-left: -10px;
    pointer-events: none;
}

#productSection {
    background-color: #fff;
    min-height: 500px;
}

#storeSection {
    background-color: #f8f1df;
    background-image: url('/images/bg-info-section.webp');
    background-attachment: fixed;
    background-repeat: repeat;
    background-size: 300px;
    min-height: 300px;
}

.seperateLine {
    background: linear-gradient(135deg,
            #8d6926 0%,
            #e8d494 22%,
            #fff5c7 40%,
            #a87d2b 65%,
            #f0dc9a 82%,
            #8b6422 100%) border-box;
    height: 5px;
    width: 100%;
}

@media (min-width: 576px) {}


@media (min-width: 768px) {}


@media (min-width: 992px) {
    .logoImg {
        position: relative;
        width: 220px;
        z-index: 5;
    }

    .alphaDialog {
        width: 300px;
    }

    .heroImage {
        transform: translate(0%, 0%);
    }

    .mainBG {
        background-image: url('/images/bg-desktop.webp'), url('/images/bg-info-section.webp'), radial-gradient(ellipse at center,
                #337f57 0%,
                #256b49 40%,
                #174d35 100%);
        background-position: bottom, top, center;
        background-size: 100% auto, 450px, cover;
        background-attachment: scroll, fixed, scroll;
        background-repeat: no-repeat, repeat, no-repeat;
        min-height: 600px;
    }

    .more-info-img {
        width: 100% !important;
        margin-top: 10px;
        margin-bottom: -120px;
        pointer-events: none;
        margin-left: 0px;
    }

    .receiptIcon {
        position: absolute;
        left: 0px;
        width: 210px;
        transform: translate(-45%, -25%);
    }

    .lucky50icon {
        position: absolute;
        right: 0px;
        width: 180px;
        transform: translate(20%, -50%);
    }

    .gold-frame-content-p {
        padding-left: 50px;
        padding-right: 50px;
    }
}

/* Tablet landscape and compact laptops: the Perfecta logo acts as the home
   link, leaving enough room for the navigation without overlapping. */
@media (min-width: 992px) and (max-width: 1399.98px) {
    #menuHeaderNav {
        margin-right: 90px;
        margin-left: 150px;
    }

    #menuHeaderNav a:first-child {
        display: none;
    }
}


@media (min-width: 1200px) {}


@media (min-width: 1400px) {}
/* Perfecta success button color */
.btn-success {
  background-color: #005236;
  border-color: #005236;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background-color: #003f2a;
  border-color: #003f2a;
}
