/* ==========================================================================
   CHILLI6 – casino landing page
   1. Tokens         6. Hero banners      11. Payments
   2. Base           7. Section heads     12. Footer
   3. Background     8. Game cards        13. Animations / utilities
   4. Buttons        9. Big wins          14. Responsive
   5. Header        10. Promo + features
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --c-bg: #07021a;
  --c-ink: #ffffff;
  --c-muted: #b9b0dd;
  --c-purple: #8b3dff;
  --c-violet: #5b2ee6;
  --c-magenta: #e11dff;
  --c-pink: #ff3d9a;
  --c-green: #a6ff2e;
  --c-yellow: #ffd23f;
  --c-orange: #ff8a1f;
  --c-card: #120a3a;
  --c-line: rgba(122, 96, 255, 0.55);

  --font-head: "Barlow Condensed", "Arial Narrow", "Impact", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-footer-menu: "Oswald", "Arial Narrow", sans-serif;
  --font-footer-desc: "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-footer-btn: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1100px;
  --gutter: 16px;
  --radius: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink);
  background-color: #0a0428;
  background-image: url("../images/chilli-bg.webp");
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}

img { display: block; max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: 8px;
  background: var(--c-yellow); color: #1a0b3a; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--c-yellow);
  outline-offset: 3px;
}

.section { padding-block: clamp(20px, 2.8vw, 32px); }
.section--hero { padding-top: clamp(14px, 2.2vw, 26px); }

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.55em 1.5em;
  border: 0; border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; white-space: nowrap; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn::after { /* hover shine */
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
  transform: translateX(-130%);
  pointer-events: none;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover::after { transform: translateX(130%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.15s; }
.btn__icon { width: 1.4em; height: 1.4em; }
.btn__glyph {
  width: 22px; height: 22px; flex: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.btn__header-icon {
  width: 22px;
  height: auto;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.btn__header-icon--wallet {
  width: 20px;
}

.btn--signin,
.btn--deposit {
  min-height: 38px;
  min-width: 118px;
  padding: 11px 25px;
  gap: 7px;
  border-radius: 9px;
  font-family: 'Roboto Condensed';
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  border: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.btn--signin,
.btn--deposit {
  transform: none;
}
.btn--signin:hover,
.btn--deposit:hover,
.btn--signin:active,
.btn--deposit:active {
  transform: none;
}

/* Sign In — orange fade (Figma: #FF9600 → transparent), color on right */
.btn--signin {
  background: linear-gradient(
    90deg,
    rgba(255, 150, 0, 0) 0%,
    rgba(255, 150, 0, 0.63) 37%,
    #FF9600 100%
  );
}
.btn--signin:hover {
  filter: brightness(1.08);
}

/* Deposit — magenta fade (Figma: #F000E8 → transparent), color on right */
.btn--deposit {
  background: linear-gradient(
    90deg,
    rgba(240, 0, 232, 0) 0%,
    rgba(240, 0, 232, 0.42) 42%,
    #F000E8 100%
  );
}
.btn--deposit:hover {
  filter: brightness(1.08);
}

.btn--viewall,
.btn--signup {
  padding: 10px 22px;
  gap: 8px;
  border-radius: 8px;
  border: 0;
  color: #fff;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #2871FA 0%, #6717CD 100%);
  background-size: 100% 100%;
  box-shadow: 0 4px 14px rgba(40, 113, 250, 0.35);
}
.btn--viewall:hover,
.btn--signup:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 22px rgba(103, 23, 205, 0.5);
  transform: translateY(-2px);
}
.btn__viewall-icon,
.btn__signup-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: none;
  border-radius: 50%;
}

.btn--affiliate {
  padding: 0.65em 1.35em;
  border-radius: 2px;
  border: 1.5px solid #75B300;
  color: #fff;
  font-family: var(--font-footer-btn);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: none;
}
.btn--affiliate::after { display: none; }
.btn--affiliate:hover {
  border-color: #e8ff6a;
  box-shadow: 0 0 16px rgba(212, 255, 46, 0.35);
  transform: translateY(-1px);
}

/* ---------- 5. Header ---------- */
.logo {
  display: inline-flex; align-items: center; flex: none;
  line-height: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 40, 160, 0.45));
  transition: transform 0.3s var(--ease), filter 0.3s;
}
.logo:hover { transform: scale(1.04); filter: drop-shadow(0 4px 14px rgba(0, 120, 255, 0.65)); }
.logo__img {
  display: block;
  width: auto;
  height: 75px;
  max-width: 160px;
  object-fit: contain;
}
.site-header {
  position: relative;
  z-index: 100;
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 20px;
  min-height: var(--header-h);
  padding: 30px 0 10px 0;
}

.site-nav {
  justify-self: center;
  margin-left: 0;
}
.site-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 40px); }
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-family: 'Roboto Condensed';
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.25s, 
  text-shadow 0.25s;
}
.site-nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-magenta), var(--c-yellow));
  box-shadow: 0 0 10px var(--c-magenta);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: #fff;
  text-shadow: 0 0 12px rgba(225, 29, 255, 0.95), 0 0 24px rgba(139, 61, 255, 0.8);
}
.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }

.header__actions {
  display: flex; align-items: center; gap: 10px;
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 42px; height: 42px; padding: 0;
  align-items: center; justify-content: center;
  border: 1px solid var(--c-line); border-radius: 12px;
  background: rgba(139, 61, 255, 0.15);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
}
.menu-toggle:hover { box-shadow: 0 0 14px rgba(139, 61, 255, 0.6); }
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero banner slider ---------- */
.hero-slider {
  --hero-font: "Montserrat", "Poppins", system-ui, sans-serif;
  position: relative;
}
.hero-slider__viewport {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(120, 90, 220, 0.35);
  background: #1a0a3e;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45), 0 0 22px rgba(120, 80, 255, 0.28);
  container-type: inline-size;
}
.hero-slider__track {
  display: flex;
  width: 100%;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1024 / 342;
  overflow: hidden;
  isolation: isolate;
}
.hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transform: scale(1.04);
  transition: transform 6s ease-out;
}
.hero-slide__bg--video {
  transform: none;
  background: #1a0a3e;
}
.hero-slide.is-active .hero-slide__bg:not(.hero-slide__bg--video) {
  transform: scale(1);
}
.hero-slide__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  padding: 5% 16% max(8%, 26px);
  pointer-events: none;
}
.hero-slide__eyebrow,
.hero-slide__offer,
.hero-slide__cta {
  margin: 0;
  opacity: 0;
  transform: translateY(28px);
}
.hero-slide.is-active .hero-slide__eyebrow {
  animation: hero-text-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}
.hero-slide.is-active .hero-slide__offer {
  animation: hero-text-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}
.hero-slide.is-active .hero-slide__cta {
  animation: hero-text-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.44s forwards;
}
.hero-slide__eyebrow {
  font-family: var(--hero-font);
  font-weight: 800;
  font-size: clamp(11px, 2.2cqi, 24px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  max-width: 100%;
}
.hero-slide__offer {
  margin-top: 0.06em;
  font-family: var(--hero-font);
  font-weight: 900;
  font-size: clamp(18px, 4.8cqi, 52px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 100%;
  background: linear-gradient(180deg, #d4ff3f 0%, #9dff00 45%, #5ee000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(20, 80, 0, 0.25)) drop-shadow(0 0 12px rgba(120, 255, 0, 0.45));
}
.hero-slide__offer--gold {
  background: linear-gradient(180deg, #ffe566 0%, #ffc21a 48%, #ff8a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 0 rgba(120, 60, 0, 0.3)) drop-shadow(0 0 12px rgba(255, 180, 0, 0.4));
}
.hero-slide__offer-line { display: block; }
.hero-slide__cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(6px, 1.6cqi, 16px);
  min-height: clamp(30px, 4.4cqi, 44px);
  padding: 0.5em 1.5em;
  border-radius: clamp(8px, 1cqi, 10px);
  border: 0;
  font-family: var(--hero-font);
  font-size: clamp(12px, 2.1cqi, 17px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #ff5a1f 0%, #ff8a1a 48%, #ffc400 100%);
  box-shadow: 0 4px 14px rgba(255, 110, 0, 0.4);
  transition: filter 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide__cta:hover,
.hero-slide__cta:focus-visible {
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(255, 140, 0, 0.5);
}
.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-slider__dots .hero-slider__dot {
  pointer-events: auto;
}
.hero-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.hero-slider__dot.is-active {
  background: #3ec8e8;
  box-shadow: 0 0 10px rgba(62, 200, 232, 0.7);
  transform: scale(1.15);
}
@keyframes hero-text-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.promo {
  position: relative; display: block;
  container-type: inline-size;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 10px 34px rgba(0, 0, 0, 0.45), 0 0 22px rgba(120, 80, 255, 0.28);
}

/* ---------- 7. Section heads ---------- */
.section__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: clamp(14px, 2vw, 22px);
}
.section__title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  text-transform: uppercase; line-height: 1;
}
/* ---------- 8. Game cards ---------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.game-card {
  position: relative;
  display: block;
  aspect-ratio: 263 / 364;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  border: 2px solid transparent;
  background: #120a3a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  transition:
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.game-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.game-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.game-card__video {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.game-card--video.is-playing .game-card__video {
  opacity: 1;
}
.game-card--video.is-playing .game-card__media {
  opacity: 0;
}
.game-card__media {
  z-index: 0;
  transition: opacity 0.25s ease;
}
.game-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 2, 30, 0.55) 40%, rgba(4, 1, 18, 0.92) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.game-card__name {
  position: absolute;
  z-index: 3;
  left: 10px;
  right: 10px;
  bottom: 14px;
  margin: 0;
  text-align: center;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(0.85rem, 1.6vw, 1.15rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.game-card:hover,
.game-card:focus-visible {
  z-index: 2;
  border-color: #3ec8e8;
  box-shadow: 0 0 0 1px rgba(62, 200, 232, 0.35), 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 18px rgba(62, 200, 232, 0.35);
  transform: scale(1.06);
}
.game-card:hover::after,
.game-card:focus-visible::after {
  opacity: 1;
}
.game-card:hover .game-card__name,
.game-card:focus-visible .game-card__name {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .game-card,
  .game-card__name,
  .game-card::after {
    transition-duration: 0.01ms !important;
  }
  .game-card:hover,
  .game-card:focus-visible {
    transform: none;
  }
}

/* ---------- 9. Recent big wins (manual slider) ---------- */
.win-slider-wrap {
  position: relative;
}
.win-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(62, 200, 232, 0.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(18, 8, 56, 0.92);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 14px rgba(62, 200, 232, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.25s ease, visibility 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.win-slider__arrow svg {
  width: 18px;
  height: 18px;
}
.win-slider__arrow--prev { left: 8px; }
.win-slider__arrow--next { right: 8px; }
.win-slider-wrap:hover .win-slider__arrow,
.win-slider-wrap:focus-within .win-slider__arrow {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (hover: none) {
  .win-slider__arrow {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
.win-slider__arrow:hover,
.win-slider__arrow:focus-visible {
  background: rgba(40, 20, 110, 0.98);
  border-color: #3ec8e8;
}
.win-slider__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.win-slider {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.win-slider::-webkit-scrollbar { display: none; }
.win-slider__track {
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 1.5vw, 16px);
  width: max-content;
}
.win-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 clamp(230px, 24vw, 280px);
  padding: 10px 14px 10px 10px;
  min-width: 0;
  border-radius: 10px;
  border: 1.5px solid #3ec8e8;
  background: #120838;
  box-shadow: 0 0 12px rgba(62, 200, 232, 0.22), 0 6px 18px rgba(0, 0, 0, 0.35);
  scroll-snap-align: start;
}
.win-card__thumb {
  width: 72px;
  height: 95px;
  flex: none;
  object-fit: cover;
  border-radius: 8px;
}
.win-card__body {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.win-card__name {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(0.78rem, 1.15vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win-card__amount {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(0.95rem, 1.45vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #b8ff2e;
  white-space: nowrap;
}

/* ---------- 10. Offer / promo banners + feature cards ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 16px);
}
.promo {
  aspect-ratio: 2.04 / 1;
  background: #14073f;
  border-radius: 12px;
  border: 1px solid rgba(120, 90, 220, 0.35);
}
.promo:hover {
  border-color: rgba(180, 140, 255, 0.7);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(120, 80, 255, 0.35);
}
.promo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  pointer-events: none;
}
.promo--bonus .promo__img { object-position: 58% center; }
.promo--games .promo__img { object-position: center right; }
.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 2, 30, 0.55) 0%, rgba(10, 2, 30, 0.2) 38%, transparent 62%);
  pointer-events: none;
}
.promo__content {
  position: absolute;
  z-index: 2;
  left: 5%;
  top: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 48%;
  transform: translateY(-50%);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
}
.promo__line {
  display: block;
  font-size: 34px;
  font-size: 9.2cqw;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65));
}
.promo__line--xl {
  font-size: 48px;
  font-size: 13.5cqw;
  line-height: 0.9;
  margin-block: 0.02em;
}
.promo__line--mint {
  background-image: linear-gradient(180deg, #d8ff6a 0%, #7dff4a 45%, #2ef0c0 100%);
}
.promo__line--gold {
  background-image: linear-gradient(180deg, #ffe566 0%, #ffc21a 100%);
}
.promo__line--lime {
  background-image: linear-gradient(180deg, #f0ff7a 0%, #9dff3a 55%, #5cff7a 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}
.feature-card {
  position: relative;
  display: block;
  aspect-ratio: 275 / 333;
  overflow: hidden;
  isolation: isolate;
  border-radius: 10px;
  border: 3px solid #24505B;
  box-shadow: 0 0 14px rgba(36, 80, 91, 0.35);
}
.feature-card img,
.feature-card__media,
.feature-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.feature-card__media,
.feature-card__video {
  position: absolute;
  inset: 0;
}
.feature-card__video {
  z-index: 1;
  pointer-events: none;
}
.feature-card--video .feature-card__media {
  z-index: 0;
  opacity: 0;
}
.feature-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(4, 2, 24, 0.88) 100%);
  pointer-events: none;
}
.feature-card__title {
  position: absolute;
  z-index: 3;
  left: 8px;
  right: 8px;
  bottom: 22px;
  margin: 0;
  text-align: center;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
/* ---------- 11. Payments / We Accept ---------- */
.section__title--accept {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0;
  gap: 12px;
}
.section__chip {
  width: 40px; height: 40px;
  object-fit: contain;
  flex: none;
}
.section__head--accept { margin-bottom: 30px; }

.pay-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
@property --pay-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.pay-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 18px 22px;
  border-radius: 8px;
  border: 9px solid #200232;
  background-color: #280041;
  box-shadow: 0 0 0 1px rgba(36, 80, 91, 0.25), 0 0 12px rgba(36, 80, 91, 0.35);
  outline: 2px solid #24505B;
  outline-offset: 0;
  isolation: isolate;
  transition:
    outline-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.pay-tile::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--pay-angle),
    transparent 0%,
    #3ec8e8 12%,
    #7af0ff 22%,
    transparent 38%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  animation: pay-border-spin 2.4s linear infinite;
  animation-play-state: paused;
}
.pay-tile:hover,
.pay-tile:focus-visible {
  outline-color: #3ec8e8;
  box-shadow:
    0 0 0 1px rgba(62, 200, 232, 0.45),
    0 0 22px rgba(62, 200, 232, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}
.pay-tile:hover::before,
.pay-tile:focus-visible::before {
  opacity: 1;
  animation-play-state: running;
}
.pay-logo-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 40px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.pay-logo-img--ambank { height: 52px; }

/* ---------- 12. Footer ---------- */
.site-footer {
  margin-top: clamp(20px, 4vw, 40px);
  padding-block: clamp(14px, 2vw, 24px) 30px;
  background: transparent;
  border-top: 0;
}
.site-footer__top {
  display: flex; align-items: center; justify-content: flex-start;
  flex-wrap: wrap;     gap: 16px 80px;
}
.site-footer .logo__img { height: 75px; max-width: 160px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.footer-links li {
  display: inline-flex; align-items: center;
}
.footer-links li + li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 20px;
  margin-inline: 25px;
  background: rgba(255, 255, 255, 0.85);
}
.footer-links a {
  font-family: var(--font-footer-menu);
  font-size: 20px; font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: color 0.25s, opacity 0.25s;
}
.footer-links a:hover { color: #007aff; opacity: 0.75; }

.site-footer__legal {
  display: flex; align-items: flex-start; gap: 25px;
  margin-top: 35px;
  color: #ffffff;
}
.age-badge {
  display: block; flex: none;
  width: 48px; height: auto;
  object-fit: contain;
  background: none; border: 0; box-shadow: none; border-radius: 0;
}
.site-footer__desc {
  margin: 0;
  font-family: var(--font-footer-desc);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: #ffffff;
  max-width: 100%;
}

.site-footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 24px;
  margin-top: 26px;
  padding-top: 0;
  border-top: 0;
  font-size: 14px;
  color: #ffffff;
}
.site-footer__note,
.site-footer__copy {
  font-family: var(--font-footer-desc);
  font-weight: 400;
  color: #ffffff;
}
.site-footer__note {
  flex: 1 1 240px;
  text-align: left;
}
.site-footer__copy {
  flex: none;
  white-space: nowrap;
}

/* ---------- 13. Animations ---------- */
@keyframes pay-border-spin { to { --pay-angle: 360deg; } }

/* ---------- 14. Responsive ---------- */
.section__head { flex-wrap: wrap; }
.site-footer__copy { white-space: normal; }

@media (max-width: 1100px) {
  .site-nav__list { gap: clamp(12px, 1.8vw, 24px); }
  .site-nav__link { font-size: 0.85rem; }
  .header__inner { gap: 10px 14px; padding-top: 20px; }
  .site-footer__top { gap: 14px 36px; }
  .footer-links a { font-size: 17px; }
  .footer-links li + li::before { margin-inline: 16px; }
}

@media (max-width: 1024px) {
  .game-grid,
  .feature-grid,
  .pay-grid { gap: 14px; }
  .win-card { flex-basis: clamp(210px, 30vw, 250px); padding: 8px 12px 8px 8px; gap: 10px; border-radius: 8px; }
  .win-card__thumb { width: 64px; height: 64px; border-radius: 7px; }
  .win-card__name { font-size: 0.78rem; }
  .win-card__amount { font-size: 0.95rem; }
  .pay-tile { height: 78px; padding: 14px 16px; border-width: 6px; }
  .pay-logo-img { height: 34px; }
  .pay-logo-img--ambank { height: 44px; }
  .hero-slide__content { padding-inline: 14%; }
  .win-slider__arrow { width: 36px; height: 36px; }
  .win-slider__arrow svg { width: 16px; height: 16px; }
}

@media (max-width: 900px) {
  body { background-attachment: scroll; background-size: cover; }
  .header__inner {
    grid-template-columns: auto 1fr auto auto;
    padding: 14px 0 10px;
    min-height: 64px;
  }
  .menu-toggle { display: inline-flex; order: 3; justify-self: end; }
  .header__actions { order: 2; justify-self: end; }
  .site-nav {
    order: 4;
    grid-column: 1 / -1;
    justify-self: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 8px var(--gutter) 18px;
    background: #0a0424;
    border-bottom: 1px solid rgba(139, 61, 255, 0.45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s 0.4s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s;
  }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link {
    display: block;
    padding: 14px 4px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .site-nav__link::after { display: none; }
  .logo__img { height: 52px; max-width: 132px; }
  .game-grid,
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section__title--accept { font-size: 28px; }
  .site-footer__top { gap: 14px 20px; }
  .footer-links a { font-size: 15px; }
  .footer-links li + li::before { margin-inline: 12px; height: 16px; }
}

@media (max-width: 700px) {
  :root { --header-h: 62px; --gutter: 14px; }
  .section { padding-block: clamp(16px, 4vw, 26px); }
  .promo-grid { grid-template-columns: 1fr; gap: 12px; }
  .promo { aspect-ratio: 2 / 1; border-radius: 10px; }
  .promo__content { max-width: 54%; left: 4%; }
  .promo__line { font-size: clamp(1rem, 6.5cqw, 1.6rem); }
  .promo__line--xl { font-size: clamp(1.5rem, 12cqw, 2.4rem); }
  .hero-slider__viewport { border-radius: 12px; }
  .hero-slide { aspect-ratio: 2.2 / 1; }
  .hero-slide__content { padding: 7% 10% max(12%, 22px); }
  .hero-slider__dots { bottom: 8px; }
  .game-grid { gap: 12px; }
  .game-card { border-radius: 10px; }
  .game-card__name { bottom: 10px; font-size: clamp(0.75rem, 3.2vw, 0.95rem); }
  .game-card::after { height: 46%; }
  .feature-grid { gap: 12px; }
  .feature-card { border-radius: 8px; }
  .feature-card__title { bottom: 10px; font-size: 1rem; }
  .section__title--accept { font-size: 26px; }
  .section__head--accept { margin-bottom: 20px; }
  .section__chip { width: 30px; height: 30px; }
  .btn--viewall,
  .btn--signup { min-height: 36px; padding: 0.4em 1em 0.4em 0.6em; font-size: 0.7rem; gap: 6px; }
  .btn__viewall-icon,
  .btn__signup-icon { width: 18px; height: 18px; }
  .pay-grid { gap: 12px; }
  .pay-tile { height: 70px; padding: 12px; border-radius: 8px; border-width: 5px; }
  .pay-logo-img { height: 28px; }
  .pay-logo-img--ambank { height: 38px; }
  .logo__img { height: 44px; max-width: 120px; }
  .site-footer { padding-block: 16px 24px; }
  .site-footer .logo__img { height: 56px; max-width: 130px; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; }
  .site-footer__desc { font-size: 12px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 18px; }
  .site-footer__note { text-align: left; flex-basis: auto; font-size: 12px; }
  .site-footer__copy { font-size: 12px; }
  .footer-links { row-gap: 10px; column-gap: 0; }
  .win-slider__arrow--prev { left: 4px; }
  .win-slider__arrow--next { right: 4px; }
}

@media (max-width: 560px) {
  .win-card { flex-basis: min(78vw, 280px); }
  .win-card__thumb { width: 66px; height: 66px; }
  .header__actions { gap: 6px; }
  .btn--signin,
  .btn--deposit {
    min-width: 0;
    min-height: 34px;
    padding: 0.35em 0.75em 0.35em 0.5em;
    gap: 5px;
    font-size: 0.62rem;
  }
  .btn__header-icon { width: 18px; }
  .btn__header-icon--wallet { width: 16px; }
  .section__head { gap: 10px; }
  .section__title { font-size: clamp(1.15rem, 5vw, 1.45rem); gap: 8px; }
}

@media (max-width: 420px) {
  :root { --gutter: 12px; }
  .header__inner { gap: 6px; padding: 10px 0 8px; }
  .logo__img { height: 36px; max-width: 100px; }
  .menu-toggle { width: 36px; height: 36px; border-radius: 10px; }
  .hero-slider__viewport { border-radius: 10px; }
  .hero-slide { aspect-ratio: 2.05 / 1; }
  .hero-slide__content { padding: 8% 8% max(14%, 20px); }
  .game-grid,
  .feature-grid,
  .pay-grid { gap: 10px; }
  .feature-card__title { font-size: 0.85rem; bottom: 8px; }
  .section__title--accept { font-size: 22px; }
  .section__head--accept { margin-bottom: 16px; gap: 8px; }
  .section__chip { width: 24px; height: 24px; }
  .btn--viewall,
  .btn--signup {
    min-height: 32px;
    padding: 0.35em 0.75em 0.35em 0.45em;
    font-size: 0.6rem;
    border-radius: 6px;
  }
  .btn__viewall-icon,
  .btn__signup-icon { width: 15px; height: 15px; }
  .pay-tile { height: 60px; padding: 10px 8px; border-width: 4px; }
  .pay-logo-img { height: 24px; }
  .pay-logo-img--ambank { height: 32px; }
  .promo { aspect-ratio: 1.75 / 1; }
  .promo__content { max-width: 58%; }
  .footer-links { gap: 8px 0; }
  .footer-links a { font-size: 13px; }
  .footer-links li + li::before { margin-inline: 8px; height: 14px; }
  .btn--affiliate { font-size: 13px; padding: 0.55em 1.1em; }
  .win-slider__arrow { width: 32px; height: 32px; }
  .win-card { flex-basis: min(82vw, 260px); padding: 8px; gap: 8px; }
  .win-card__thumb { width: 60px; height: 60px; }
}

@media (max-width: 360px) {
  .header__actions .btn--signin span,
  .header__actions .btn--deposit span { /* keep text but tighter */
    letter-spacing: 0.02em;
  }
  .btn--signin,
  .btn--deposit { padding-inline: 0.55em 0.65em; font-size: 0.56rem; }
  .game-grid { gap: 8px; }
  .feature-card__title { font-size: 0.78rem; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { background-attachment: scroll; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
