:root {
  --bg: #080b18;
  --panel: #11162b;
  --panel-2: #171d36;
  --line: rgba(255, 255, 255, .09);
  --text: #f6f7fb;
  --muted: #98a2bf;
  --primary: #ffb020;
  --primary-2: #ff6b00;
  --accent: #7b61ff;
  --success: #2dd4bf;
  --danger: #ff4d6d;
  --shadow: 0 24px 80px rgba(0, 0, 0, .38);
  --radius: 18px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(123, 97, 255, .12), transparent 30%),
    radial-gradient(circle at 88% 25%, rgba(255, 176, 32, .08), transparent 28%),
    var(--bg);
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.demo-ribbon {
  background: linear-gradient(90deg, #ff6b00, #ffb020, #ff6b00);
  color: #17100a;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  padding: 6px 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 24, .86);
  backdrop-filter: blur(18px);
}

.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo {  
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.logo-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--primary), var(--primary-2));
  color: #1b1206;
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(255, 176, 32, .25);
}

.logo-image {
  width: 100px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .logo-image {
    width: 90px;
    max-height: 36px;
  }
}

.logo-copy {
  display: grid;
  gap: 1px;
}

.logo-copy strong {
  font-family: Orbitron, sans-serif;
  font-size: 18px;
  letter-spacing: .04em;
}

.logo-copy small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .2em;
}

.quick-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.quick-links a {
  color: #c8cee1;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s;
}

.quick-links a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-btn,
.mobile-menu-btn {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border-radius: 10px;
  padding: 10px 12px;
}

.caret {
  color: var(--muted);
}

.mobile-menu-btn {
  display: none;
  font-size: 20px;
  line-height: 1;
}

.mobile-menu {
  padding-bottom: 14px;
  display: grid;
  gap: 8px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 800;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #1b1206;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 24px rgba(255, 107, 0, .18);
}

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}

.btn-dark {
  background: #151a2f;
  border: 1px solid var(--line);
}

.btn-large {
  padding: 14px 22px;
}

.btn-block {
  width: 100%;
}

.category-strip {
  border-bottom: 1px solid var(--line);
  background: #0e1223;
}

.category-scroller {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroller::-webkit-scrollbar {
  display: none;
}

.category {
  min-width: 112px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 14px 12px 11px;
  display: grid;
  justify-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.category:hover,
.category.active {
  color: var(--text);
  border-bottom-color: var(--primary);
  background: linear-gradient(180deg, transparent, rgba(255, 176, 32, .08));
}

.category-icon {
  font-size: 21px;
}

.hero-section {
  padding-top: 24px;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  padding: 64px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: opacity .5s ease, transform .5s ease, visibility .5s;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.hero-slide::before,
.hero-slide::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.hero-slide::before {
  width: 320px;
  height: 320px;
  right: 6%;
  top: -15%;
  background: rgba(255, 255, 255, .08);
}

.hero-slide::after {
  width: 190px;
  height: 190px;
  right: 26%;
  bottom: -20%;
  background: rgba(255, 255, 255, .06);
}

.hero-slide-one {
  background:
    linear-gradient(90deg, rgba(11, 13, 27, 0.92) 0%, rgba(11, 13, 27, 0.55) 45%, rgba(11, 13, 27, 0.08) 100%),
    url("/images/banner.webp") center / cover no-repeat;
}

.hero-slide-two {
  background:
    linear-gradient(90deg, rgba(11, 13, 27, 0.92) 0%, rgba(11, 13, 27, 0.55) 45%, rgba(11, 13, 27, 0.08) 100%),
    url("/images/banner.webp") center / cover no-repeat;
}

.hero-slide-three {
  background:
    linear-gradient(90deg, rgba(11, 13, 27, 0.92) 0%, rgba(11, 13, 27, 0.55) 45%, rgba(11, 13, 27, 0.08) 100%),
    url("/images/banner.webp") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  margin-bottom: 12px;
}

.hero-content h1,
.hero-content h2 {
  font-family: Orbitron, sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 800px;
}

.hero-content p {
  color: #e6e8f2;
  line-height: 1.75;
  max-width: 620px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-art {
  min-height: 290px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  display: none;
}

.slot-machine {
  width: 250px;
  height: 285px;
  border-radius: 34px;
  border: 6px solid #ffcf5c;
  background: linear-gradient(145deg, #66142f, #240a22);
  box-shadow: 0 35px 60px rgba(0, 0, 0, .35), inset 0 0 26px rgba(255, 208, 92, .25);
  padding: 25px 20px;
  transform: rotate(3deg);
}

.machine-top {
  font-family: Orbitron, sans-serif;
  color: #ffdd7d;
  text-align: center;
  letter-spacing: .12em;
  font-weight: 900;
}

.reels {
  margin-top: 42px;
  padding: 16px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #fff4d4;
  border-radius: 14px;
}

.reels span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #a01828;
  background: linear-gradient(#fff, #ffedbc);
  border: 2px solid #e9b943;
  border-radius: 8px;
  font-family: Orbitron, sans-serif;
  font-size: 34px;
  font-weight: 900;
}

.machine-light {
  width: 80px;
  height: 22px;
  background: #ffb020;
  border-radius: 999px;
  margin: 32px auto 0;
  box-shadow: 0 0 24px #ffb020;
}

.live-table {
  position: relative;
}

.live-table::before {
  content: "";
  width: 310px;
  height: 190px;
  border-radius: 50%;
  border: 14px solid #cfaf6d;
  background: radial-gradient(ellipse, #147047 0 58%, #0b4931 59% 100%);
  box-shadow: 0 25px 45px rgba(0, 0, 0, .28);
  transform: rotate(-6deg);
}

.chip {
  position: absolute;
  width: 68px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 7px dashed white;
  background: #f04444;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
}

.chip-one {
  left: 14%;
  top: 25%;
  transform: rotate(-12deg);
}

.chip-two {
  right: 15%;
  bottom: 18%;
  background: #1b6bea;
  transform: rotate(9deg);
}

.card {
  position: absolute;
  width: 92px;
  height: 132px;
  border-radius: 12px;
  background: white;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
}

.card-one {
  transform: rotate(-16deg);
  left: 42%;
  top: 13%;
}

.card-two {
  transform: rotate(11deg);
  right: 22%;
  top: 28%;
  color: #cf2443;
}

.phone-frame {
  width: 210px;
  height: 360px;
  padding: 10px;
  border: 5px solid #d8ccff;
  border-radius: 34px;
  background: #1a113d;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  transform: rotate(6deg);
}

.phone-notch {
  width: 90px;
  height: 16px;
  border-radius: 0 0 12px 12px;
  background: #1a113d;
  margin: -2px auto 0;
  position: relative;
  z-index: 2;
}

.phone-screen {
  height: calc(100% - 8px);
  border-radius: 25px;
  background: radial-gradient(circle at 40% 20%, rgba(255, 255, 255, .2), transparent 22%), linear-gradient(145deg, #7130be, #251053);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
}

.phone-screen span {
  width: 76px;
  aspect-ratio: 1;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #271409;
  font: 900 25px Orbitron;
}

.phone-screen strong {
  font-family: Orbitron;
}

.slider-controls {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 20px;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.slider-controls button {
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  color: white;
  background: rgba(0, 0, 0, .25);
  backdrop-filter: blur(8px);
}

.slider-controls>button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.slider-dots button {
  width: 28px;
  height: 5px;
  border-radius: 999px;
  padding: 0;
}

.slider-dots button.active {
  background: var(--primary);
}

.notice-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}

.notice-label {
  padding: 13px 16px;
  color: #17100a;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-weight: 900;
  font-size: 13px;
}

.notice-window {
  overflow: hidden;
  min-width: 0;
}

.notice-track {
  display: inline-flex;
  gap: 64px;
  min-width: max-content;
  animation: ticker 24s linear infinite;
  color: #c9cede;
  font-size: 13px;
}

.notice-track span::after {
  content: "•";
  margin-left: 64px;
  color: var(--primary);
}

#live-clock {
  color: var(--muted);
  padding-right: 16px;
  font-size: 12px;
  white-space: nowrap;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.jackpot-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  padding-top: 18px;
}

.jackpot-card,
.draw-card,
.support-card {
  min-height: 110px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), var(--panel-2));
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.jackpot-card {
  background: radial-gradient(circle at 85% 15%, rgba(255, 176, 32, .2), transparent 30%), linear-gradient(145deg, #241726, #17152b);
}

.muted-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  margin-bottom: 8px;
}

.jackpot-value {
  color: #ffd369;
  font-family: Orbitron;
  font-size: clamp(18px, 2.4vw, 29px);
}

.jackpot-badge {
  background: rgba(255, 77, 109, .15);
  color: #ff738d;
  border: 1px solid rgba(255, 77, 109, .35);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 900;
}

.draw-card,
.support-card {
  justify-content: flex-start;
}

.draw-icon,
.support-icon {
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 176, 32, .1);
  font-size: 26px;
}

.support-icon {
  background: rgba(45, 212, 191, .1);
}

.draw-card strong,
.support-card strong {
  display: block;
  font-size: 14px;
}

.draw-card small,
.support-card small {
  color: var(--muted);
  font-size: 11px;
}

.games-section {
  padding-top: 54px;
  padding-bottom: 50px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-family: Orbitron;
  font-size: clamp(26px, 3vw, 38px);
}

.game-tools {
  display: flex;
  gap: 10px;
}

.search-box {
  width: 240px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 0 12px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  padding: 11px 0;
}

.search-box input::placeholder {
  color: #707a98;
}

#sort-games {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: white;
  padding: 10px 12px;
}

.provider-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 18px;
}

.provider-row::-webkit-scrollbar {
  display: none;
}

.provider {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 800;
}

.provider.active,
.provider:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #1b1206;
  border-color: transparent;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.game-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 176, 32, .35);
  box-shadow: 0 18px 35px rgba(0, 0, 0, .27);
}

.game-card[hidden] {
  display: none;
}

.game-thumb {
  position: relative;
  aspect-ratio: 1 / .92;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.game-thumb::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, .23), transparent 40%);
  transform: translate(-25%, -25%);
}

.game-symbol {
  position: relative;
  z-index: 2;
  font-size: clamp(46px, 5vw, 70px);
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .25));
  transform: translateY(-5px);
  transition: transform .25s ease;
}

.game-card:hover .game-symbol {
  transform: translateY(-11px) scale(1.07);
}

.thumb-cat {
  background: linear-gradient(145deg, #ffcf59, #de6a1d);
}

.thumb-gems {
  background: linear-gradient(145deg, #4f80ff, #6a23bb);
}

.thumb-storm {
  background: linear-gradient(145deg, #173b74, #141830);
}

.thumb-mahjong {
  background: linear-gradient(145deg, #cf2929, #6d1010);
}

.thumb-chili {
  background: linear-gradient(145deg, #ff6635, #9c1010);
}

.thumb-poker {
  background: linear-gradient(145deg, #0b5c47, #102a27);
}

.thumb-mochi {
  background: linear-gradient(145deg, #ff88a7, #7845ad);
}

.thumb-jelly {
  background: linear-gradient(145deg, #36c8e8, #1667ad);
}

.thumb-ninja {
  background: linear-gradient(145deg, #4a4a56, #111117);
}

.thumb-bandit {
  background: linear-gradient(145deg, #dca94d, #65431d);
}

.thumb-koi {
  background: linear-gradient(145deg, #00a9b7, #07586f);
}

.thumb-cyber {
  background: linear-gradient(145deg, #fd2b85, #4d20bb);
}

.game-tag {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 4;
  border-radius: 6px;
  padding: 5px 7px;
  color: white;
  font-size: 9px;
  font-weight: 900;
}

.game-tag.hot {
  background: var(--danger);
}

.game-tag.new {
  background: #198b78;
}

.game-tag.top {
  background: #5c3ee8;
}

.play-btn {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 12px;
  transform: translate(-50%, 10px);
  border: 0;
  border-radius: 999px;
  color: #17100a;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  padding: 8px 18px;
  font-size: 10px;
  font-weight: 900;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}

.game-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, 0);
}

.game-info {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
}

.game-info h3 {
  margin: 0 0 4px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 128px;
}

.game-info p,
.players {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.players {
  white-space: nowrap;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.feature-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 12px 0 70px;
}

.feature-section article {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), rgba(17, 22, 43, .55));
  border-radius: var(--radius);
  padding: 24px;
}

.feature-section span {
  font-size: 28px;
}

.feature-section h3 {
  margin: 14px 0 8px;
  font-size: 16px;
}

.feature-section p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #080a14;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 42px;
  padding: 52px 0 36px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-grid h3 {
  margin: 0 0 15px;
  font-size: 14px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-grid a:hover {
  color: var(--primary);
}

.age-warning {
  color: #ffcc6e !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #69738f;
  padding: 18px 0 28px;
  font-size: 11px;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  display: grid;
  gap: 10px;
}

.floating-actions a {
  width: 46px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #34d399, #0c8c68);
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .28);
}

.floating-actions a:last-child {
  background: linear-gradient(135deg, #7b61ff, #4932bb);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 10, .77);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(430px, 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #11162b;
  box-shadow: var(--shadow);
  padding: 30px;
  transform: translateY(14px);
  transition: transform .2s ease;
}

.modal.open .modal-panel {
  transform: translateY(0);
}

.modal-panel h2 {
  margin: 0 0 22px;
  font-family: Orbitron;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 26px;
}

.demo-form {
  display: grid;
  gap: 15px;
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: #cfd4e5;
  font-size: 12px;
  font-weight: 700;
}

.demo-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b0f20;
  color: white;
  outline: none;
  padding: 12px;
}

.demo-form input:focus {
  border-color: rgba(255, 176, 32, .6);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, .08);
}

.checkbox {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  font-weight: 500 !important;
  line-height: 1.5;
}

.checkbox input {
  width: auto;
  margin-top: 2px;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  transform: translate(-50%, 20px);
  background: #f7f8fc;
  color: #111522;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .quick-links {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .game-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .jackpot-section {
    grid-template-columns: 1fr 1fr;
  }

  .jackpot-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {

  .language-btn,
  .header-actions>.btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-slider {
    min-height: 560px;
    grid-template-columns: 1fr;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 44px 28px 75px;
    text-align: center;
  }

  .hero-content {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    min-height: 220px;
  }

  .slot-machine {
    width: 185px;
    height: 220px;
    padding: 18px 14px;
  }

  .reels {
    margin-top: 25px;
  }

  .reels span {
    font-size: 24px;
  }

  .machine-light {
    margin-top: 22px;
  }

  .phone-frame {
    height: 250px;
    width: 150px;
  }

  .notice-wrap {
    grid-template-columns: auto 1fr;
  }

  #live-clock {
    display: none;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .game-tools {
    width: 100%;
  }

  .search-box {
    flex: 1;
    width: auto;
  }

  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-section {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .topbar {
    min-height: 66px;
  }

  .logo-copy strong {
    font-size: 14px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .category {
    min-width: 90px;
  }

  .hero-section {
    padding-top: 10px;
  }

  .hero-slider {
    border-radius: 16px;
    min-height: 540px;
  }

  .hero-slide {
    padding: 34px 20px 68px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 31px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .hero-art {
    min-height: 205px;
  }

  .slider-controls {
    left: 16px;
    right: 16px;
  }

  .notice-wrap {
    margin-top: 10px;
    gap: 10px;
  }

  .notice-label {
    max-width: 90px;
    padding: 11px 10px;
    font-size: 10px;
  }

  .jackpot-section {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 10px;
  }

  .jackpot-card {
    grid-column: auto;
  }

  .games-section {
    padding-top: 40px;
  }

  .game-tools {
    flex-direction: column;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .game-info h3 {
    max-width: 105px;
  }

  .feature-section {
    grid-template-columns: 1fr;
    padding-bottom: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

}


/* =========================================================
   FINAL HEADER + FOOTER RESPONSIVE OVERRIDE
   Keep this as the only override block after the base CSS.
========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img {
  max-width: 100%;
}

.site-header,
.site-footer {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Header desktop */
.topbar.container {
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
}

.logo-image {
  display: block;
  width: auto !important;
  height: 40px !important;
  max-width: 150px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  flex: 0 1 auto;
}

.logo-copy {
  min-width: 0;
}

.logo-copy small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  margin-left: auto;
  min-width: 0;
  flex: 0 0 auto;
}

.mobile-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-auth .btn {
  width: 100%;
  text-align: center;
}

/* Footer desktop */
.footer-grid {
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}

.footer-grid > *,
.footer-brand,
.footer-column {
  min-width: 0;
  max-width: 100%;
}

.footer-logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.footer-logo-image {
  display: block;
  width: auto !important;
  height: 46px !important;
  max-width: 170px !important;
  max-height: 46px !important;
  object-fit: contain !important;
}

.footer-grid p,
.footer-grid a,
.footer-bottom span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Phones and tablets */
@media (max-width: 820px) {
  .topbar.container {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    min-height: 64px;
    margin-inline: auto;
    padding: 8px 0;
    gap: 8px;
    justify-content: space-between;
  }

  .quick-links,
  .desktop-auth,
  .language-btn {
    display: none !important;
  }

  .logo {
    flex: 1 1 auto;
    max-width: calc(100% - 50px);
    overflow: hidden;
  }

  .logo-image {
    width: auto !important;
    height: 34px !important;
    max-width: 125px !important;
    max-height: 34px !important;
  }

  .logo-copy {
    overflow: hidden;
  }

  .header-actions {
    margin-left: 0;
  }

  .mobile-menu-btn {
    display: grid !important;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
  }

  .mobile-menu.container {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-inline: auto;
    overflow: hidden;
  }

  .mobile-menu a {
    width: 100%;
    max-width: 100%;
  }

  /* Always one column on mobile/tablet */
  .site-footer .footer-grid.container {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
    padding: 34px 0 26px;
  }

  .footer-logo-image {
    width: auto !important;
    height: 40px !important;
    max-width: 145px !important;
    max-height: 40px !important;
  }

  .site-footer .footer-bottom.container {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 16px 0 24px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .logo-image {
    height: 31px !important;
    max-width: 112px !important;
    max-height: 31px !important;
  }

  .logo-copy {
    display: none;
  }

  .footer-logo-copy {
    display: none;
  }

  .footer-logo-image {
    height: 36px !important;
    max-width: 130px !important;
    max-height: 36px !important;
  }
}

/* Banner desktop */
.hero-slider {
  aspect-ratio: 1 / 1;
  min-height: 0;
  max-height: 720px;
}

.hero-slide {
  min-height: 100%;
}

/* Banner 1 */
.hero-slide-one {
  background-image:
    linear-gradient(
      90deg,
      rgba(11, 13, 27, 0.88) 0%,
      rgba(11, 13, 27, 0.35) 45%,
      rgba(11, 13, 27, 0.05) 100%
    ),
    url("/images/banner.webp");

  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #080b18;
}

/* Banner 2 */
.hero-slide-two {
  background-image:
    linear-gradient(
      90deg,
      rgba(11, 13, 27, 0.88) 0%,
      rgba(11, 13, 27, 0.35) 45%,
      rgba(11, 13, 27, 0.05) 100%
    ),
    url("/images/banner.webp");

  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #080b18;
}

/* Banner 3 */
.hero-slide-three {
  background-image:
    linear-gradient(
      90deg,
      rgba(11, 13, 27, 0.88) 0%,
      rgba(11, 13, 27, 0.35) 45%,
      rgba(11, 13, 27, 0.05) 100%
    ),
    url("/images/banner.webp");

  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #080b18;
}

@media (max-width: 820px) {
  .hero-slider {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0 !important;
    max-height: none;
  }

  .hero-slide {
    min-height: 100%;
    padding: 25px 20px 65px;
  }

  .hero-slide-one,
  .hero-slide-two,
  .hero-slide-three {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}