*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}
html{
  height:100%;
  overflow:hidden;
  background:#fff0c8;
}
body{
  font-family:Arial,sans-serif;
  background:#fff0c8;
  height:100%;
  overflow:hidden;
  color:#50323c;
}
.page-scroll{
  position:fixed;
  inset:0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,175,56,.65) transparent;
}
.page-scroll::-webkit-scrollbar{width:6px;}
.page-scroll::-webkit-scrollbar-track{background:transparent;}
.page-scroll::-webkit-scrollbar-thumb{background:rgba(255,175,56,.55);border-radius:999px;}
.page-scroll::-webkit-scrollbar-thumb:hover{background:rgba(255,175,56,.75);}
a{color:inherit;}
.site-container{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding-left:20px;
  padding-right:20px;
}
/* ── Header ── */
.site-header{
  width:100%;
  background:#f0de9e;
  border-bottom:1px solid rgba(255,190,80,.35);
  box-shadow:0 4px 14px rgba(255,185,70,.15);
  position:sticky;
  top:0;
  z-index:100;
}
.site-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:56px;
  padding-top:12px;
  padding-bottom:12px;
}
.site-logo{
  flex-shrink:0;
  display:flex;
  align-items:center;
  text-decoration:none;
}
.site-logo img,
.brand-logo{
  display:block;
  height:44px;
  width:auto;
}
.nav-toggle{display:none;}
.site-nav{
  display:flex;
  align-items:center;
  justify-content:center;
}
.nav-menu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  list-style:none;
  flex-wrap:nowrap;
  padding:0;
}
.nav-menu a{
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  color:#50323c;
  letter-spacing:.6px;
  transition:color .2s;
}
.nav-menu a:hover,
.nav-menu a.active{color:#7d4300;}
.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-shrink:0;
}
.btn-register{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 18px;
  border-radius:10px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.5px;
  text-decoration:none;
  color:#7d4300;
  background:linear-gradient(180deg,#ffd770,#ffaf38);
  transition:background .2s ease;
  white-space:nowrap;
}
.btn-register:hover{background:linear-gradient(180deg,#ffaf38,#ffd770);}
/* ── Hero ── */
.games-hero{
  position:relative;
  margin:0 -20px 32px;
  padding:32px 20px 28px;
  background:linear-gradient(145deg,#fff4dc 0%,#ffd770 50%,#f0b040 100%);
  overflow:hidden;
}
.games-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.4) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,.2) 0%, transparent 35%);
  pointer-events:none;
}
.games-hero-inner{
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
  align-items:center;
}
.games-hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.games-hero-copy h1{
  font-size:clamp(28px,6vw,42px);
  font-weight:900;
  line-height:1.15;
  color:#50323c;
  margin-bottom:14px;
}
.games-hero-copy h1 em{
  font-style:normal;
  color:#7d4300;
}
.games-hero-copy p{
  font-size:15px;
  line-height:1.7;
  color:#6b4a3a;
  max-width:500px;
}
.games-hero-visual{
  display:flex;
  justify-content:center;
  align-items:flex-end;
  gap:10px;
  min-height:170px;
}
.hero-char{
  width:30%;
  max-width:115px;
  aspect-ratio:3/4;
  border-radius:14px;
  overflow:hidden;
  border:3px solid #fff;
  box-shadow:0 12px 28px rgba(80,50,20,.22);
  background:linear-gradient(180deg,#fff8e8,#ffe8b8);
  transform-origin:center bottom;
}
.hero-char img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  display:block;
}
.hero-char:nth-child(1){transform:rotate(-6deg) translateY(8px);}
.hero-char:nth-child(2){
  width:36%;
  max-width:135px;
  z-index:2;
  transform:translateY(-6px);
}
.hero-char:nth-child(3){transform:rotate(6deg) translateY(8px);}
/* ── Filters ── */
.games-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:22px;
}
.games-count{
  font-size:13px;
  font-weight:700;
  color:#9b7b87;
}
.games-count strong{
  color:#7d4300;
}
.filter-chips{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.filter-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:100%;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,190,80,.45);
  background:#fff;
  font-family:inherit;
  font-size:12px;
  font-weight:800;
  color:#50323c;
  letter-spacing:.3px;
  cursor:pointer;
  transition:background .2s, border-color .2s, color .2s;
}
.filter-chip span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:rgba(255,215,112,.35);
  font-size:10px;
  color:#7d4300;
}
.filter-chip:hover{border-color:rgba(255,175,56,.7);}
.filter-chip.active{
  background:linear-gradient(180deg,#ffd770,#ffaf38);
  border-color:transparent;
  color:#7d4300;
}
.filter-chip.active span{
  background:rgba(255,255,255,.45);
}
/* ── Games grid ── */
.page-content{
  padding-bottom:48px;
}
.games-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
.game-card{
  display:flex;
  flex-direction:column;
  color:inherit;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(255,185,70,.18);
  transition:transform .2s ease, box-shadow .2s ease;
  cursor:default;
}
.game-card:hover{
  transform:scale(1.015);
  box-shadow:0 14px 30px rgba(255,185,70,.24);
}
.game-card.is-hidden{display:none;}
.game-card-visual{
  width:100%;
  aspect-ratio:16 / 9;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:clamp(48px,14vw,64px);
}
.game-card-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.game-card-visual.baccarat{background:linear-gradient(180deg,#79dfb8,#43ba8a);}
.game-card-visual.slot{background:linear-gradient(180deg,#ffd770,#ffaf38);}
.game-card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:18px 20px 20px;
}
.game-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
}
.game-card h3{
  font-size:18px;
  font-weight:900;
  color:#7d4300;
}
.game-badge{
  font-size:10px;
  font-weight:800;
  padding:4px 10px;
  border-radius:10px;
  background:#e8fff4;
  color:#2f8666;
}
.game-card p{
  font-size:13px;
  line-height:1.6;
  color:#9b7b87;
  margin-bottom:16px;
  flex:1;
}
.game-card-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:14px;
  border-top:1px solid rgba(255,190,80,.25);
}
.game-card-label{
  display:inline-block;
  padding:5px 10px;
  border-radius:8px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
  border:1px solid transparent;
}
.game-card-label.casino{
  background:#e8fff4;
  color:#2f8666;
  border-color:rgba(67,186,138,.35);
}
.game-card-label.slot{
  background:#fff8e8;
  color:#b86a00;
  border-color:rgba(255,175,56,.45);
}
.game-card-play{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 18px;
  border-radius:10px;
  font-size:12px;
  font-weight:900;
  color:#7d4300;
  background:linear-gradient(180deg,#ffd770,#ffaf38);
  letter-spacing:.3px;
  text-decoration:none;
  cursor:pointer;
  transition:background .2s ease;
}
.game-card-play:hover{
  background:linear-gradient(180deg,#ffaf38,#ffd770);
}
.games-empty{
  display:none;
  text-align:center;
  padding:48px 20px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 8px 22px rgba(255,185,70,.12);
}
.games-empty.is-visible{display:block;}
.games-empty h3{
  font-size:16px;
  font-weight:900;
  color:#50323c;
  margin-bottom:8px;
}
.games-empty p{
  font-size:13px;
  color:#9b7b87;
}
/* ── Footer ── */
.site-footer{
  width:100%;
  background:#fff;
  border-top:1px solid rgba(255,190,80,.35);
  padding-top:40px;
  padding-bottom:24px;
}
.footer-top{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
  margin-bottom:32px;
}
.footer-brand .brand-logo{height:40px;margin-bottom:10px;}
.footer-brand p{
  font-size:13px;
  line-height:1.6;
  color:#9b7b87;
  max-width:280px;
}
.footer-col h4{
  font-size:12px;
  font-weight:900;
  color:#50323c;
  letter-spacing:.8px;
  margin-bottom:14px;
  text-transform:uppercase;
}
.footer-links{list-style:none;}
.footer-links li{margin-bottom:10px;}
.footer-links a{
  font-size:13px;
  color:#9b7b87;
  text-decoration:none;
  transition:color .2s;
}
.footer-links a:hover{color:#7d4300;}
.footer-bottom{
  padding-top:24px;
  border-top:1px solid rgba(255,190,80,.25);
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:center;
  text-align:center;
}
.footer-bottom p{font-size:12px;color:#b89aa6;}
@media (min-width:768px){
  .site-header-inner{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    padding-top:14px;
    padding-bottom:14px;
  }
  .site-logo{grid-column:1;justify-self:start;}
  .site-nav{grid-column:2;}
  .header-actions{grid-column:3;justify-self:end;}
  .btn-register{padding:10px 20px;font-size:12px;}
  .nav-menu{gap:28px;}
  .nav-menu a{font-size:13px;}
  .games-hero{
    margin:0 0 40px;
    padding:40px 0 36px;
  }
  .games-hero-inner{
    grid-template-columns:1.1fr .9fr;
    gap:40px;
    min-height:240px;
  }
  .games-hero-visual{
    justify-content:flex-end;
    min-height:190px;
  }
  .games-grid{grid-template-columns:repeat(2,1fr);gap:20px;}
  .footer-top{grid-template-columns:1.4fr 1fr 1fr 1fr;}
  .footer-bottom{
    flex-direction:row;
    justify-content:space-between;
    text-align:left;
  }
}
@media (max-width:767px){
  .page-scroll{
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .page-scroll::-webkit-scrollbar{
    display:none;
  }
  .site-header-inner{min-height:52px;}
  .site-logo img{height:38px;}
  .btn-register{display:none;}
  .nav-toggle{
    display:block;
    position:relative;
    width:40px;
    height:40px;
    border:none;
    background:transparent;
    cursor:pointer;
    padding:0;
    flex-shrink:0;
  }
  .nav-toggle span{
    position:absolute;
    left:9px;
    right:9px;
    top:50%;
    height:3px;
    margin-top:-1.5px;
    background:#7d4300;
    border-radius:1px;
    transform-origin:center;
    transition:transform .25s, opacity .25s;
  }
  .nav-toggle span:nth-child(1){transform:translateY(-8px);}
  .nav-toggle span:nth-child(2){transform:translateY(0);}
  .nav-toggle span:nth-child(3){transform:translateY(8px);}
  .site-header.menu-open .nav-toggle span:nth-child(1){transform:translateY(0) rotate(45deg);}
  .site-header.menu-open .nav-toggle span:nth-child(2){opacity:0;}
  .site-header.menu-open .nav-toggle span:nth-child(3){transform:translateY(0) rotate(-45deg);}
  .site-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#f0de9e;
    border-bottom:1px solid rgba(255,190,80,.35);
    box-shadow:0 10px 20px rgba(255,185,70,.14);
  }
  .site-header.menu-open .site-nav{display:block;}
  .nav-menu{
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:8px 0;
  }
  .nav-menu li{border-bottom:1px solid rgba(255,190,80,.25);}
  .nav-menu li:last-child{border-bottom:none;}
  .nav-menu a{
    display:block;
    padding:14px 20px;
    font-size:13px;
    letter-spacing:.5px;
  }
  .games-toolbar{align-items:flex-start;}
}
