*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg-black: #111111;
  --bg-topbar: #0b0b0b;
  --accent-gold: #d4af37;
  --text-white: #ffffff;
  --text-gray: #c8c8c8;
  --btn-dark: #2a2a2a;
  --btn-radius: 8px;
  --container-max: 1100px;
  --topbar-height: 52px;
  --header-height: 80px;
  --font-sans:"Noto Sans Thai",sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{

font-family:'Noto Sans Thai', sans-serif;

background-image:
    radial-gradient(
        circle at top,
        rgba(255,255,255,.05) 0%,
        rgba(255,255,255,.015) 18%,
        transparent 45%
    ),
    linear-gradient(
        to bottom,
        rgba(23,23,23,.72) 0%,
        rgba(17,17,17,.76) 25%,
        rgba(15,15,15,.8) 100%
    ),
    url("/assets/images/lottovip-background.webp");

background-repeat:no-repeat;
background-size:cover;
background-position:top center;
background-attachment:fixed;

color:var(--text-white);

line-height:1.4;

-webkit-font-smoothing:antialiased;

}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.top-bar {
  height: var(--topbar-height);
  background:
    linear-gradient(
      180deg,
      #b91f2c 0%,
      #9c1522 45%,
      #7d0f1a 100%
    );
  border-bottom: 1px solid #4d0810;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.top-bar__left,
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-login {

    min-width:78px;
    padding:0 12px;

    color:#ffffff;

    background:linear-gradient(
        to bottom,
        #5b5b5b 0%,
        #3d3d3d 45%,
        #2a2a2a 100%
    );

    border:1px solid #202020;
    border-top:1px solid #707070;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.15),
        0 2px 6px rgba(0,0,0,.35);
}

.topbar-btn {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  background-color: #141414;
  border: 2px solid #343434;
  border-radius: 8px;
  color: var(--text-gray);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
  box-sizing: border-box;

  transition:
    border-color .45s ease,
    background-color .45s ease,
    color .45s ease,
    box-shadow .45s ease;
}

.topbar-btn:hover {
    border-color: #d4af37;
  background-color: #181818;

  box-shadow:
    0 0 8px rgba(212,175,55,.15);

  color: #ffffff;
}

.topbar-btn img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.topbar-btn span {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}

#btn-line {
  border: 2px solid #16A34A;
  color: #16A34A;
}

#btn-line span {
  color: #16A34A;
}

#btn-line:hover {
  background: #102416;
  border-color: #22C55E;
}

#btn-line:hover span {
  color: #22C55E;
}

#btn-line img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.topbar-lang {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.topbar-lang:hover {
  border-color: #d4af37;
  background-color: #181818;
}

.topbar-lang__divider {
  width: 1px;
  height: 14px;
  background-color: #343434;
  flex-shrink: 0;
}

.btn--lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  padding: 0 12px;
  background-color: transparent;
  border: 2px solid transparent;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--lang img {
  height: 16px;
  width: auto;
  flex-shrink: 0;
}

.btn--lang.is-active {
    color:#111;

    background:linear-gradient(
        to bottom,
        #f6df7f 0%,
        #e2bd45 48%,
        #be9220 100%
    );

    border-color:#c99d22;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        inset 0 -1px 0 rgba(0,0,0,.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: var(--btn-radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.topbar-cta {
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:110px;
    height:32px;

    padding:0 16px;

    font-size:12px;
    font-weight:700;
    letter-spacing:.3px;

    border-radius:8px;

    text-decoration:none;
    white-space:nowrap;

    transition:.25s ease;
}

.topbar-cta.topbar-login {
    min-width:78px;
    padding:0 12px;
}

.topbar-login:hover{
    background:linear-gradient(
        to bottom,
        #6a6a6a 0%,
        #4b4b4b 45%,
        #383838 100%
    );
}

.topbar-register{
    position:relative;
    overflow:hidden;

    color:#111;

    background:linear-gradient(
        to bottom,
        #fff1a8 0%,
        #f4d760 18%,
        #e2bb3b 50%,
        #c59218 100%
    );

    border:1px solid #8d6b10;
    border-top:1px solid #fff3b6;

    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.45),
        inset 0 -2px 0 rgba(140,90,0,.25),
        0 2px 6px rgba(0,0,0,.35);

    transition:.3s ease;
}

.topbar-register:hover {

background:linear-gradient(
    to bottom,
    #fff6be 0%,
    #f7de74 18%,
    #e7c44a 50%,
    #d09d20 100%
);

box-shadow:
    inset 0 2px 0 rgba(255,255,255,.55),
    inset 0 -2px 0 rgba(140,90,0,.20),
    0 4px 12px rgba(212,175,55,.25);

}

.topbar-register::before {

content:"";

position:absolute;

top:0;
left:-120%;

width:55%;
height:100%;

background:linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.08) 30%,
    rgba(255,255,255,.75) 50%,
    rgba(255,255,255,.08) 70%,
    transparent 100%
);

transform:skewX(-25deg);

animation: registerShine 3.8s linear infinite;

pointer-events:none;

}

.main-header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--header-height);
  background-color: #f2f0eb;
  border-top: 1px solid #e4e0d4;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.25);
}

.main-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 20px;
}

.logo{

display:flex;

align-items:center;

flex-shrink:0;

position:static;

transform:none;

}

.logo a{
    display:flex;
    align-items:center;
}

.logo__img{
    display:block;
    height:38px;
    width:auto;
    object-fit:contain;
}

.subpage-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  flex:1;
  padding:6px;
  border-radius:10px;
  background:#1c2733;
}

.subpage-nav__item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 16px;
  border-radius:var(--btn-radius);
  font-size:13px;
  font-weight:600;
  color:#aab4c0;
  white-space:nowrap;
  transition:background-color .2s ease, color .2s ease;
}

.subpage-nav__item:hover{
  color:#ffffff;
  background:#2c3949;
}

.subpage-nav__item.is-active{
  color:#ffffff;
  background:#3b4d63;
}


.hero{

position:relative;

overflow:hidden;

background:
    linear-gradient(
        to bottom,
        #1a1a1a,
        #111111
    );

}

.coin-rain{
  position:fixed;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:5;
}

.coin-rain__piece{
  position:absolute;
  top:-8%;
  left:var(--x, 10%);
  font-size:var(--size, 22px);
  opacity:0;
  animation-name:coinFall;
  animation-timing-function:linear;
  animation-iteration-count:infinite;
  animation-duration:var(--dur, 6s);
  animation-delay:var(--delay, 0s);
  filter:drop-shadow(0 0 3px rgba(212,175,55,.5));
}

@keyframes coinFall{
  0%{transform:translateY(0) translateX(0) rotate(0deg); opacity:0;}
  5%{opacity:.9;}
  50%{transform:translateY(55vh) translateX(18px) rotate(180deg);}
  90%{opacity:.9;}
  100%{transform:translateY(110vh) translateX(-14px) rotate(360deg); opacity:0;}
}

.hero-slider{
    position:relative;
    width:100%;
    overflow:hidden;
}

.hero-track{
    width:100%;
    position:relative;
}

.hero-slide{
    display:none;
    width:100%;
}

.hero-slide.active{
    display:block;
}

.hero-slide img{
    display:block;
    width:100%;
    height:auto;

    animation:heroFade .55s ease;
}

.hero-arrow{

    position:absolute;
    top:50%;
    transform:translateY(-50%);

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

    padding:0;

    background:none;
    border:none;

    color:#d4af37;

    font-size:54px;
    font-weight:700;
    line-height:1;

    cursor:pointer;

    transition:.25s ease;

    text-shadow:0 0 8px rgba(212,175,55,.35);

    z-index:20;
}

.hero-arrow:hover{

    color:#f5dd77;
    transform:translateY(-50%) scale(1.08);
    text-shadow:0 0 12px rgba(245,221,119,.7);
}

.hero-prev{

    left:20px;

}

.hero-next{

    right:20px;

}
.hero-dots{

    position:absolute;

    left:50%;

    bottom:18px;

    transform:translateX(-50%);

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    z-index:20;

}
.hero-dot{

width:12px;

height:12px;

border:none;

border-radius:50%;

background:rgba(255,255,255,.18);

cursor:pointer;

transition:all .35s ease;

}
.hero-dot:hover{

background:#d4af37;

}
.hero-dot.active{

width:32px;

border-radius:20px;

background:linear-gradient(
    to bottom,
    #fff2a8,
    #e2bc42,
    #c99718
);

box-shadow:
0 0 6px rgba(212,175,55,.45),
0 0 14px rgba(212,175,55,.18);

}

.lottery-showcase{

width:100%;

padding:24px 0;

}

.lottery-showcase .container{

background:#f2f0eb;

padding:24px;

border-radius:16px;

}

.lottery-showcase__title{

margin:0 0 14px;

text-align:center;

font-size:20px;

font-weight:800;

color:#2b2620;

}

.lottery-showcase__wrap{

position:relative;

display:flex;

align-items:center;

gap:10px;

}

.lottery-showcase__ctrl{

flex:0 0 32px;

width:32px;

height:32px;

border-radius:50%;

border:1px solid #e4e0d4;

background:#ffffff;

color:#a91f2c;

font-size:18px;

font-weight:700;

line-height:1;

cursor:pointer;

display:flex;

align-items:center;

justify-content:center;

transition:background-color .2s ease, color .2s ease;

}

.lottery-showcase__ctrl:hover{

background:#a91f2c;

color:#ffffff;

}

.lottery-showcase__track{

flex:1;

display:flex;

gap:14px;

overflow-x:auto;

scroll-behavior:smooth;

scroll-snap-type:x mandatory;

padding-bottom:4px;

scrollbar-width:none;

}

.lottery-showcase__track::-webkit-scrollbar{

display:none;

}

.lottery-showcase__card{

flex:0 0 140px;

scroll-snap-align:start;

display:flex;

flex-direction:column;

align-items:center;

gap:8px;

padding:14px 10px;

background:#ffffff;

border:1px solid #e4e0d4;

border-radius:12px;

transition:border-color .3s ease, box-shadow .3s ease;

}

.lottery-showcase__card:hover{

border-color:#a91f2c;

box-shadow:0 0 14px rgba(169,31,44,.15);

}

.lottery-showcase__img{

width:100%;

height:90px;

border-radius:8px;

background:repeating-linear-gradient(45deg,#f2f0eb,#f2f0eb 10px,#e8e4da 10px,#e8e4da 20px);

}

.lottery-showcase__name{

font-size:13px;

font-weight:600;

color:#3a3530;

text-align:center;

line-height:1.3;

}



.content-block{width:100%;padding:40px 0;}
.content-block .container{background:#f2f0eb;padding:32px 48px;border-radius:16px;}
.content-block__title{margin:0 0 12px;font-size:28px;font-weight:800;color:#2b2620;}
.content-block__text{margin:0;font-size:14px;line-height:1.7;color:#5a5348;}
.content-block__text a{color:#a91f2c;text-decoration:underline;font-weight:700;}
.content-block__text a:hover{color:#7d0f1a;}
.content-block__h2{margin:32px 0 12px;font-size:22px;font-weight:800;color:#2b2620;}
.content-block__h3{margin:24px 0 8px;font-size:17px;font-weight:800;color:#a91f2c;}
.content-block__list{list-style:disc;margin:8px 0 0;padding-left:20px;color:#5a5348;font-size:14px;line-height:1.8;}
.content-block__list li{margin-bottom:4px;}

.toc-box{max-width:640px;margin:20px auto 8px;padding:20px 28px;background:#1c120b;border:1px solid #caa244;border-radius:8px;}
.toc-box__title{display:block;text-align:center;margin:0 0 14px;font-size:16px;font-weight:800;letter-spacing:.04em;color:#e8c165;}
.toc-box__list{margin:0;padding-left:22px;list-style:decimal;font-size:14px;line-height:2;color:#e0a94a;}
.toc-box a{color:#e0a94a;text-decoration:none;}
.toc-box a:hover{color:#f2d675;text-decoration:underline;}

.faq-section{
  width:100%;
  padding:0 0 28px;
}

.faq-panel{
  position:relative;
  overflow:hidden;
  padding:28px;
  border:1px solid #e4e0d4;
  border-radius:14px;
  background:#f2f0eb;
  box-shadow:0 8px 24px rgba(0,0,0,.15);
}

.faq-top{
  text-align:center;
  margin-bottom:24px;
}

.faq-title{
  font-size:22px;
  font-weight:800;
  letter-spacing:.02em;
  color:#a91f2c;
  text-shadow:none;
}

.faq-subtitle{
  margin-top:8px;
  font-size:13px;
  color:#6b6459;
}

.faq-list{
  max-width:760px;
  margin:0 auto;
}

.faq-item{
  border-bottom:1px solid #e4e0d4;
}

.faq-item:last-child{
  border-bottom:none;
}

.faq-question{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  width:100%;
  padding:16px 4px;
  background:none;
  border:none;
  cursor:pointer;
  text-align:left;
  font-family:inherit;
  font-size:15px;
  font-weight:700;
  color:#2b2620;
  transition:color .2s ease;
}

.faq-question:hover{
  color:#a91f2c;
}

.faq-icon{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  border-radius:50%;
  border:1px solid rgba(169,31,44,.4);
  color:#a91f2c;
  font-size:16px;
  font-weight:700;
  transition:transform .25s ease;
}

.faq-item.is-open .faq-icon{
  transform:rotate(45deg);
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
}

.faq-answer p{
  padding:0 4px 18px;
  font-size:13px;
  line-height:1.7;
  color:#5a5348;
}

.lottery-section{width:100%;padding:14px 0;}

.lottery-panel{
  position:relative;
  padding:24px;
  border:1px solid #e4e0d4;
  border-radius:14px;
  background:#f2f0eb;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
}

.lottery-top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  flex-wrap:wrap;
}

.lottery-top__icon{
  font-size:20px;
  line-height:1;
}

.lottery-top__title{
  font-size:19px;
  font-weight:800;
  color:#a91f2c;
  margin-right:auto;
}

.lottery-top__date{
  display:inline-flex;
  align-items:center;
  height:26px;
  padding:0 12px;
  border-radius:6px;
  background:#2b2620;
  color:#f2f0eb;
  font-size:12px;
  font-weight:700;
}

.yeekee-random{
  position:relative;
  text-align:center;
  padding-bottom:24px;
  margin-bottom:24px;
  border-bottom:2px solid #e4e0d4;
}

.yeekee-random__display{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:20px;
}

.yeekee-random__digit{
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:66px;
  border-radius:10px;
  background:linear-gradient(180deg,#b91f2c 0%,#9c1522 45%,#7d0f1a 100%);
  border:2px solid #7d0f1a;
  box-shadow:0 4px 14px rgba(169,31,44,.3), inset 0 1px 0 rgba(255,255,255,.15);
  color:#ffffff;
  font-size:30px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  transition:transform .15s ease;
}

.yeekee-random__digit.is-spinning{
  animation:yeekeeDigitSpin .12s linear infinite;
  box-shadow:0 4px 14px rgba(169,31,44,.5), inset 0 1px 0 rgba(255,255,255,.15), 0 0 0 2px rgba(212,175,55,.5);
}

@keyframes yeekeeDigitSpin{
  0%{transform:translateY(0);}
  50%{transform:translateY(-3px);}
  100%{transform:translateY(0);}
}

.yeekee-random__digit.is-landed{
  animation:yeekeeDigitLand .25s ease;
}

@keyframes yeekeeDigitLand{
  0%{transform:scale(1.18);}
  100%{transform:scale(1);}
}

.yeekee-random__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 32px;
  border:none;
  border-radius:999px;
  background:linear-gradient(180deg,#e9c869 0%,#d4af37 45%,#b8942c 100%);
  color:#2b2620;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow:0 4px 12px rgba(212,175,55,.35);
}

.yeekee-random__btn:hover{
  box-shadow:0 6px 16px rgba(212,175,55,.45);
}

.yeekee-random__btn.is-disabled{
  opacity:.6;
  cursor:not-allowed;
  box-shadow:none;
}

.yeekee-random__note{
  margin-top:14px;
  font-size:12px;
  color:#8a8375;
}

.lottery-sub-heading{
  margin:20px 0 12px;
  font-size:14px;
  font-weight:800;
  color:#6b6459;
  padding-top:12px;
  border-top:1px solid #e4e0d4;
}

.lottery-grid{
  display:grid;
  gap:12px;
}

.lottery-grid--main{
  grid-template-columns:repeat(3, 1fr);
}

.lottery-grid--foreign{
  grid-template-columns:repeat(3, 1fr);
}

.lottery-card{
  border:1px solid #e4e0d4;
  border-radius:10px;
  background:#ffffff;
  overflow:hidden;
}

.lottery-card__head{
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 10px;
  background:#ece7db;
  font-size:12px;
  font-weight:800;
  color:#2b2620;
}

.lottery-card__badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  border-radius:50%;
  font-size:9px;
  font-weight:800;
  color:#ffffff;
}

.lottery-card__name{
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.lottery-card__date{
  flex:0 0 auto;
  font-size:10px;
  font-weight:700;
  color:#8a8375;
}

.lottery-card__body{
  display:grid;
  grid-template-columns:1fr 1fr;
}

.lottery-card__body--single{
  grid-template-columns:1fr;
}

.lottery-card__body--triple{
  grid-template-columns:1fr 1fr 1fr;
}

.lottery-card__cell{
  padding:8px 6px;
  text-align:center;
  border-top:1px solid #ece7db;
}

.lottery-card__cell + .lottery-card__cell{
  border-left:1px solid #ece7db;
}

.lottery-card__label{
  display:block;
  font-size:10px;
  font-weight:700;
  color:#a91f2c;
  margin-bottom:3px;
}

.lottery-card__value{
  display:block;
  font-size:15px;
  font-weight:800;
  color:#2b2620;
  letter-spacing:.03em;
}

.lottery-card__value.is-pending{
  color:#b3ab9c;
  letter-spacing:.08em;
}

.lottery-card.is-fading .lottery-card__value{
  opacity:0;
  transition:opacity .25s ease;
}

@media (max-width:768px){
  .lottery-grid--main{grid-template-columns:1fr;}
  .lottery-grid--foreign{grid-template-columns:repeat(2, 1fr);}
  .lottery-panel{padding:16px;}
  .yeekee-random__digit{width:44px;height:54px;font-size:24px;}
}

.site-footer{width:100%;padding:40px 0 24px;background:#0d0f13;}
.footer-top{display:flex;flex-wrap:wrap;gap:40px;justify-content:space-between;padding-bottom:28px;}
.footer-brand{flex:1 1 260px;max-width:300px;}
.footer-brand__logo{height:32px;width:auto;margin-bottom:14px;}
.footer-brand__text{font-size:13px;line-height:1.6;color:#9a9a9a;margin:0 0 16px;}
.footer-social{display:flex;gap:10px;}
.footer-social img{width:32px;height:32px;border-radius:8px;}
.footer-col{flex:0 0 auto;display:flex;flex-direction:column;gap:12px;}
.footer-col__title{margin:0 0 4px;font-size:13px;font-weight:800;color:#d4af37;text-transform:uppercase;letter-spacing:.03em;}
.footer-col a{font-size:13px;color:#c9c9c9;text-decoration:none;}
.footer-col a:hover{color:#d4af37;}
.footer-payments{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;}
.footer-payments span{padding:6px 12px;border:1px solid rgba(255,255,255,.12);border-radius:6px;font-size:12px;color:#c9c9c9;}
.footer-trust{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:20px 0;
  border-top:1px solid rgba(255,255,255,.06);
}

.footer-trust__badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 16px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,.25);
  background:linear-gradient(180deg,rgba(255,255,255,.03) 0%,transparent 60%),#171717;
  font-size:12px;
  font-weight:600;
  color:#c9c9c9;
}
.footer-age{display:flex;align-items:center;gap:8px;font-size:12px;color:#c9c9c9;margin:0 0 4px;}
.footer-age span{color:#9a9a9a;}
.footer-note{font-size:12px;color:#9a9a9a;margin:0;}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding-top:20px;border-top:1px solid rgba(255,255,255,.06);font-size:12px;color:#9a9a9a;}
.footer-bottom p{margin:0;}

@keyframes registerShine{

0%{
    left:-120%;
}

25%{
    left:160%;
}

100%{
    left:160%;
}

}
@keyframes heroFade{

from{
    opacity:0;
}

to{
    opacity:1;
}

}

.mobile-menu-btn{

display:none;

margin-left:auto;

z-index:3;

color:#2b2620;

}

.mobile-overlay{

position:fixed;

inset:0;

background:rgba(0,0,0,.65);

backdrop-filter:blur(3px);

opacity:0;

visibility:hidden;

transition:.30s ease;

z-index:998;

}

.mobile-overlay.is-open{

opacity:1;

visibility:visible;

}

.mobile-drawer{

position:fixed;

top:0;

right:-320px;

width:300px;

max-width:64%;

height:100vh;

overflow-y:auto;

-webkit-overflow-scrolling:touch;

background:#171717;

border-left:1px solid rgba(255,255,255,.08);

box-shadow:-10px 0 30px rgba(0,0,0,.45);

transition:right .30s ease;

z-index:999;

}

.mobile-drawer.is-open{

right:0;

}

.drawer-content{

padding:16px;

}

.drawer-actions{

display:flex;

flex-direction:column;

gap:10px;

}

.drawer-btn{

display:flex;

align-items:center;

justify-content:center;

height:44px;

border-radius:8px;

text-decoration:none;

font-weight:700;

font-size:15px;

transition:.25s;

}

.drawer-btn-register{

background:linear-gradient(180deg,#b91f2c,#7d0f1a);

box-shadow:inset 0 1px rgba(255,255,255,.15);

}

.drawer-btn-login{

background:#f2f0eb;
color:#2b2620;
border:1px solid #d8d2c2;

box-shadow:inset 0 1px rgba(255,255,255,.5);

}

.drawer-menu{

margin-top:16px;

border-top:1px solid rgba(255,255,255,.08);

}

.drawer-menu-item{

width:100%;

height:58px;

display:flex;

align-items:center;

justify-content:space-between;

padding:0 16px;

background:none;

border:none;

border-bottom:1px solid rgba(255,255,255,.08);

cursor:pointer;

color:#fff;

}

.drawer-menu-left{

display:flex;

align-items:center;

gap:12px;

}

.drawer-menu-icon{

width:24px;

height:24px;

object-fit:contain;

}

.drawer-arrow{

font-size:22px;

color:#9b9b9b;

transition:.25s;

  box-shadow:0 0 18px rgba(212,175,55,.35);
}

.drawer-menu-item.active .drawer-arrow{

transform:rotate(90deg);

}

.drawer-submenu{

display:none;

background:#111;

overflow:hidden;

transition:.25s;

}

.drawer-submenu-item{

display:flex;

align-items:center;

gap:12px;

padding:0 16px;

height:48px;

border-bottom:2px solid rgba(212,175,55,.2);

color:#f2f2f2;

transition:.25s;

}

.drawer-submenu-item:hover{

background:rgba(212,175,55,.06);

padding-left:20px;

}

.drawer-lang-item.is-active{
  color:#d4af37;
  background:rgba(212,175,55,.1);
}

.drawer-lang-item.is-active span{
  color:#d4af37;
  font-weight:700;
}

.drawer-submenu-item img{

width:28px;

height:28px;

object-fit:contain;

flex-shrink:0;

}

.drawer-submenu-item span{

font-size:16px;

font-weight:600;

}

.drawer-submenu.active{

display:block;

}

.hero-mobile-cta{
  display:none;
}

.bottom-nav{
  display:none;
}


@media (max-width:768px){

.top-bar{

display:none;

}

.main-header{

height:64px;

}

.main-header__inner{

position:relative;

display:flex;

align-items:center;

justify-content:flex-end;

height:100%;

padding:0 16px;

width:100%;

}

.logo{

position:absolute;

left:50%;

transform:translateX(-50%);

display:flex;

align-items:center;

z-index:10;

}


.logo__img{

height:30px;

}

.mobile-menu-btn{

display:flex;

}

.subpage-nav{

display:none;

}

body{
  padding-bottom:64px;
}

.bottom-nav{
  display:flex;
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:998;
  background:#0d0f13;
  border-top:1px solid rgba(212,175,55,.15);
  box-shadow:0 -4px 16px rgba(0,0,0,.4);
}

.bottom-nav__item{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:8px 4px;
  text-decoration:none;
  color:#9a9a9a;
}

.bottom-nav__item img{
  width:22px;
  height:22px;
  object-fit:contain;
  opacity:.7;
}

.bottom-nav__item span{
  font-size:10px;
  font-weight:600;
  white-space:nowrap;
}

.bottom-nav__item.is-active{
  color:#d4af37;
}

.bottom-nav__item.is-active img{
  opacity:1;
}


.lottery-showcase{
  padding:16px 0;
}

.lottery-showcase__title{
  font-size:16px;
  margin-bottom:10px;
}

.lottery-showcase__card{
  flex:0 0 108px;
  padding:10px 8px;
}

.lottery-showcase__img{
  height:70px;
}

.lottery-showcase__name{
  font-size:11px;
}

.lottery-showcase__ctrl{
  display:none;
}

.hero-mobile-cta{
  display:flex;
  gap:0;
  padding:0;
  background:#0d0f13;
}

.hero-mobile-cta__btn{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  height:52px;
  border-radius:0;
  font-size:16px;
  font-weight:800;
  text-decoration:none;
  text-align:center;
}

.hero-mobile-cta__btn--login{
  color:#2b2620;
  background:#f2f0eb;
  border:1px solid #d8d2c2;
  border-top:1px solid #ffffff;
}

.hero-mobile-cta__btn--register{
  color:#ffffff;
  background:linear-gradient(to bottom,#b91f2c 0%,#9c1522 45%,#7d0f1a 100%);
  border:1px solid #7d0f1a;
  border-top:1px solid #b91f2c;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 2px 6px rgba(0,0,0,.25);
}

}

.jackpot-section{
  position:relative;
  width:100%;
  padding:14px 0;
  overflow:hidden;
}

.jackpot-bg{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
}

.jackpot-coin{
  position:absolute;
  width:36px;
  height:36px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, rgba(169,31,44,.35), rgba(169,31,44,.05) 70%);
  opacity:.08;
  animation:jackpotFloat 18s ease-in-out infinite;
}

.jackpot-coin--1{top:10%;left:8%;animation-delay:0s;}
.jackpot-coin--2{top:60%;left:20%;width:24px;height:24px;animation-delay:3s;}
.jackpot-coin--3{top:25%;left:80%;animation-delay:6s;}
.jackpot-coin--4{top:70%;left:70%;width:28px;height:28px;animation-delay:9s;}
.jackpot-coin--5{top:40%;left:50%;width:20px;height:20px;animation-delay:12s;}

@keyframes jackpotFloat{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-20px);}
}

.jackpot-panel{
  position:relative;
  z-index:1;
  overflow:hidden;
  padding:28px;
  border:1px solid #e4e0d4;
  border-radius:14px;
  background:#f2f0eb;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
}

.jackpot-panel::before,
.jackpot-panel::after{
  content:"";
  position:absolute;
  width:26px;
  height:26px;
  pointer-events:none;
}

.jackpot-panel::before{
  top:10px;
  left:10px;
  border-top:1px solid rgba(169,31,44,.35);
  border-left:1px solid rgba(169,31,44,.35);
  border-top-left-radius:6px;
}

.jackpot-panel::after{
  bottom:10px;
  right:10px;
  border-bottom:1px solid rgba(169,31,44,.35);
  border-right:1px solid rgba(169,31,44,.35);
  border-bottom-right-radius:6px;
}

.jackpot-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.jackpot-stat{
  position:relative;
  overflow:hidden;
  text-align:center;
  padding:22px 14px 18px;
  border-radius:12px;
  border:1px solid #e4e0d4;
  background:#ffffff;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  transition:.3s ease;
}

.jackpot-stat::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:linear-gradient(90deg,transparent,#a91f2c,transparent);
  opacity:.7;
}

.jackpot-stat:hover{
  border-color:rgba(169,31,44,.4);
  box-shadow:
    0 8px 22px rgba(0,0,0,.12),
    0 0 16px rgba(169,31,44,.10);
  transform:translateY(-3px);
}

.jackpot-stat__live{
  position:absolute;
  top:10px;
  right:12px;
  display:flex;
  align-items:center;
  gap:4px;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid rgba(34,197,94,.4);
  background:rgba(34,197,94,.1);
  font-size:9px;
  font-weight:700;
  letter-spacing:.05em;
  color:#16a34a;
}

.jackpot-stat__icon{
  width:36px;
  height:36px;
  object-fit:contain;
  margin:4px auto 12px;
}

.jackpot-stat__label{
  font-size:12px;
  font-weight:600;
  color:#8a8375;
  margin-bottom:6px;
}

.jackpot-stat__value{
  font-size:20px;
  font-weight:800;
  color:#2b2620;
  transition:opacity .3s ease;
  font-variant-numeric:tabular-nums;
}

.jackpot-stat__value.is-fading{opacity:0;}

.jackpot-stat__chart{
  width:100%;
  height:28px;
  margin-top:10px;
  overflow:visible;
}

.jackpot-stat__chart polyline{
  transition:points .5s ease;
}

.jackpot-stat--shine{position:relative;}
.jackpot-stat--shine::after{
  content:"";
  position:absolute;
  top:0;
  left:-60%;
  width:40%;
  height:100%;
  background:linear-gradient(90deg,transparent,rgba(169,31,44,.08),transparent);
  animation:jackpotShine 5s ease-in-out infinite;
}

@keyframes jackpotShine{
  0%{left:-60%;}
  40%{left:130%;}
  100%{left:130%;}
}

.jackpot-stat__winner-name{
  font-size:13px;
  font-weight:600;
  color:#5a5348;
  margin-bottom:4px;
  transition:opacity .3s ease;
}

.jackpot-stat__winner-amount{
  font-size:22px;
  font-weight:800;
  color:#a91f2c;
  font-variant-numeric:tabular-nums;
  transition:opacity .3s ease;
}

.jackpot-stat__winner-name.is-fading,
.jackpot-stat__winner-amount.is-fading{opacity:0;}

.jackpot-stat__vip-status{
  display:inline-block;
  margin-top:8px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
  color:#a91f2c;
  transition:opacity .3s ease;
}

.jackpot-stat__vip-status.is-fading{opacity:0;}

.jackpot-stat__timer{
  font-family:"Courier New",monospace;
  font-size:24px;
  font-weight:700;
  letter-spacing:.05em;
  color:#a91f2c;
  transition:opacity .3s ease;
}

.live-member-section{
  position:relative;
  width:100%;
  padding:0 0 28px;
}

.live-member-panel{
  position:relative;
  z-index:1;
  overflow:hidden;
  padding:28px;
  border:1px solid #e4e0d4;
  border-radius:14px;
  background:#f2f0eb;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
}

.live-member-panel::before,
.live-member-panel::after{
  content:"";
  position:absolute;
  width:26px;
  height:26px;
  pointer-events:none;
}

.live-member-panel::before{
  top:10px;
  left:10px;
  border-top:1px solid rgba(169,31,44,.35);
  border-left:1px solid rgba(169,31,44,.35);
  border-top-left-radius:6px;
}

.live-member-panel::after{
  bottom:10px;
  right:10px;
  border-bottom:1px solid rgba(169,31,44,.35);
  border-right:1px solid rgba(169,31,44,.35);
  border-bottom-right-radius:6px;
}

.live-member-top{
  position:relative;
  text-align:center;
  padding-bottom:20px;
  margin-bottom:20px;
  border-bottom:2px solid #e4e0d4;
}

.live-member-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  color:#16a34a;
  text-transform:uppercase;
  margin-bottom:10px;
}

.live-member-title{
  font-size:20px;
  font-weight:800;
  letter-spacing:.04em;
  color:#a91f2c;
  text-shadow:none;
}

.live-member-layout{
  position:relative;
  display:grid;
  grid-template-columns:40% 1fr;
  gap:20px;
  align-items:stretch;
}

.live-member-single{
  min-width:0;
}

.live-member-stats-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:16px;
  min-width:0;
}

.live-member-stats-grid .jackpot-stat{
  padding:16px 12px 14px;
}

.live-member-stats-grid .jackpot-stat__icon{
  width:26px;
  height:26px;
}

.live-member-stats-grid .jackpot-stat__value,
.live-member-stats-grid .jackpot-stat__winner-amount{
  font-size:20px;
}

.live-member-left,
.live-member-right{
  min-width:0;
}

.live-member-heading{
  font-size:14px;
  font-weight:800;
  color:#2b2620;
  text-align:center;
  margin-bottom:12px;
  padding-bottom:10px;
  border-bottom:2px solid #e4e0d4;
}

.live-member-heading__icon{
  display:inline-block;
  width:16px;
  height:16px;
  object-fit:contain;
  vertical-align:-3px;
  margin-right:6px;
}

.live-member-feed{
  position:relative;
  height:320px;
  overflow:hidden;
  border-radius:10px;
  border:1px solid #e4e0d4;
  background:#ffffff;
}

.live-member-track{
  position:relative;
  will-change:transform;
  animation:liveMemberScroll 64.8s linear infinite;
}

@keyframes liveMemberScroll{
  from{ transform:translateY(0); }
  to{ transform:translateY(-50%); }
}

.live-member-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:4px;
  height:44px;
  padding:0 14px;
  border-bottom:1px solid #ece7db;
}

.live-member-id{
  font-size:12px;
  font-weight:700;
  color:#2b2620;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.live-member-amount{
  font-size:13px;
  font-weight:800;
  color:#a91f2c;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.live-member-status{
  display:flex;
  align-items:center;
  gap:4px;
  font-size:11px;
  font-weight:700;
  color:#16a34a;
  white-space:nowrap;
}

.live-member-time{
  font-size:11px;
  font-weight:600;
  color:#8a8375;
  white-space:nowrap;
}

.jackpot-stat__timer.is-fading{opacity:0;}

@media (max-width:768px){
  .jackpot-stats{
    grid-template-columns:repeat(2,1fr);
  }
  .jackpot-panel{
  padding:20px;
}

.live-member-row{
  flex-wrap:wrap;
  height:auto;
  padding:10px 14px;
  row-gap:4px;
}
.live-member-id{
  flex:0 0 50%;
  text-align:left;
}
.live-member-amount{
  flex:0 0 50%;
  text-align:right;
}
.live-member-status{
  flex:0 0 50%;
  text-align:left;
}
.live-member-time{
  flex:0 0 50%;
  text-align:right;
}

.live-member-stats-grid .jackpot-stat__label{
  font-size:11px;
}

.live-member-stats-grid .jackpot-stat__live{
  font-size:0;
  gap:0;
}

.live-member-stats-grid .jackpot-live-dot--sm{
  margin:0;
}

.removed-legacy-block{
  display:none;
}
}

.jackpot-stat__caption{
  display:block;
  margin-top:8px;
  font-size:10px;
  color:#8a8375;
}

.jackpot-stat__bar{
  margin-top:10px;
  height:6px;
  border-radius:999px;
  background:#ece7db;
  overflow:hidden;
}

.jackpot-stat__bar-fill{
  display:block;
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg,#a91f2c,#d4404f);
  transition:width .8s ease;
}


.auth-section{
  width:100%;
  padding:60px 0 80px;
}

.auth-card{
  max-width:640px;
  margin:0 auto;
  background:#f2f0eb;
  border-radius:16px;
  padding:44px 32px;
  text-align:center;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}

.auth-card__titlebar{
  display:inline-block;
  padding:14px 44px;
  margin:0 auto 22px;
  border-radius:999px;
  background:linear-gradient(180deg,#3b4d63 0%,#1c2733 100%);
  color:#ffffff;
  font-size:20px;
  font-weight:800;
}

.auth-card__note{
  color:#5a5348;
  font-size:14px;
  line-height:1.7;
  margin:0 0 30px;
}

.auth-card__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:420px;
  padding:20px 32px;
  border-radius:999px;
  background:linear-gradient(180deg,#e9c869 0%,#d4af37 45%,#b8942c 100%);
  color:#2b2620;
  font-size:19px;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(212,175,55,.4);
  transition:transform .15s ease, box-shadow .15s ease;
}

.auth-card__cta:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(212,175,55,.5);
}

.auth-card__hint{
  margin:22px 0 0;
  font-size:12px;
  color:#8a8375;
}

@media (max-width:768px){
  .auth-section{padding:36px 0 48px;}
  .auth-card{padding:32px 20px;border-radius:14px;}
  .auth-card__titlebar{font-size:17px;padding:12px 28px;}
  .auth-card__cta{font-size:17px;padding:18px 24px;}
}
