/* =========================================================
   Alawin — 2026 flat design system (casino)
   ========================================================= */

/* ---------- Tokens (defaults; overridable via Customizer) ---------- */
:root {
  --g-bg: #36241f;
  --g-bg-2: linear-gradient(
    180deg,
    rgb(97 50 124) -81.25%,
    rgb(111 75 58) 63.75%
  );
  --g-surface: #402a23;
  --g-surface-2: #15424d;
  --g-line: #a96e59;
  --g-text: #ebdbc5;
  --g-muted: #e0c8c1;
  --g-accent: #faa211;
  --g-orange: #ff7a1a;
  --g-orange-2: #ff5a1f;
  --g-green: #1cc97c;
  --g-red: #ff3b5c;
  --g-flame: #ff6b2c;

  --g-radius-sm: 8px;
  --g-radius-md: 10px;
  --g-radius-lg: 14px;
  --g-radius-xl: 20px;

  --g-header-h: 64px;
  --g-container: 1440px;

  --g-shadow-1: 0 6px 24px rgba(0, 0, 0, 0.25);
  --g-shadow-hero: 0 18px 60px rgba(0, 0, 0, 0.35);

  --g-font: 'Eczar', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;

  --g-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
/* Clip any accidental horizontal overflow (e.g. 100vw full-bleed sections that
   include the vertical scrollbar's width). `clip` is preferred over `hidden`
   because it doesn't establish a scroll container, so position:sticky still
   works. Older browsers fall back to `hidden`. */
html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--g-bg);
  color: var(--g-text);
  font-family: var(--g-font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: var(--g-accent);
  text-decoration: none;
  transition: color 0.15s var(--g-ease);
}
a:hover {
  color: var(--g-text);
}
:focus-visible {
  outline: 2px solid var(--g-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.screen-reader-text {
  position: absolute !important;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.g-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--g-accent);
  color: #002;
  padding: 8px 12px;
  z-index: 1000;
}
.g-skip-link:focus {
  left: 16px;
  top: 16px;
}

.g-container,
.g-page {
  max-width: var(--g-container);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* Narrow screens: tighter than desktop max-width cap but wider side inset than generic 24px (carousel + typography). */
@media (max-width: 780px) {
  .g-container {
    padding-left: max(28px, env(safe-area-inset-left, 0px));
    padding-right: max(28px, env(safe-area-inset-right, 0px));
  }
}

.g-icon {
  display: inline-block;
  flex: none;
}

/* ---------- Buttons ---------- */
.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--g-radius-md);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--g-text);
  transition: transform 0.12s var(--g-ease), background 0.15s var(--g-ease),
    color 0.15s var(--g-ease), box-shadow 0.15s var(--g-ease);
  white-space: nowrap;
}
.g-btn:hover {
  transform: translateY(-1px);
}

.g-btn--cta,
.action-button {
  display: inline-flex;
  min-width: 240px;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 88px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url('../images/buttons/button-primary-l-left-default.webp'),
    url('../images/buttons/button-primary-l-right-default.webp'),
    url('../images/buttons/button-primary-l-center.webp');
  background-position: left center, right center, center;
  background-size: 60px 100%, 60px 100%, calc(100% - 118px) 100%;
  background-repeat: no-repeat;
  box-shadow: none;
  color: #fff58d;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 2px 0 rgb(70 0 74 / 0.9), 0 0 4px rgb(0 0 0 / 0.8);
  -webkit-text-stroke: 2px #2f1d18;
  paint-order: stroke;
}
.action-button__inner {
  display: inline-block;
  white-space: nowrap;
}
.g-btn--cta:hover,
.action-button:hover {
  background-image: url('../images/buttons/button-primary-l-left-hover.webp'),
    url('../images/buttons/button-primary-l-right-hover.webp'),
    url('../images/buttons/button-primary-l-center-hover.webp');
  color: #fff9a8;
}
.g-btn--accent {
  color: #052126;
  background: var(--g-accent);
}
.g-btn--accent:hover {
  color: #052126;
  background: #6fe6e9;
}
.g-btn--ghost {
  color: var(--g-accent);
  border-color: transparent;
  background: transparent;
}
.g-btn--ghost:hover {
  color: var(--g-text);
  background: rgba(43, 211, 216, 0.08);
}
.g-btn--outline {
  color: var(--g-text);
  border-color: var(--g-line);
  background: transparent;
}
.g-btn--outline:hover {
  background: var(--g-surface);
}
.g-btn--block {
  width: 100%;
}
.g-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.g-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  background-image: linear-gradient(
    180deg,
    rgb(255 230 115) 8.5%,
    rgb(255 200 4) 44%,
    rgb(224 111 26) 100%
  );
  filter: drop-shadow(1px 1px 0 rgb(0 0 0 / 0.35));
}
.g-icon-btn:hover {
  background-color: #e0d7cc;
  background-image: none;
}

/* ---------- Header ---------- */
.g-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--g-bg-2);
  border-bottom: 1px solid var(--g-line);
  backdrop-filter: saturate(140%) blur(6px);
}
.g-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  min-height: var(--g-header-h);
}

.g-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.g-logo {
  display: inline-flex;
  align-items: center;
}
.custom-logo {
  max-height: 32px;
  width: auto;
}
.g-logo__text {
  font-weight: 400;
  font-size: 22px;
  color: var(--g-text);
  letter-spacing: 0.5px;
}
.g-logo__text::first-letter {
  color: var(--g-accent);
}

.g-header__nav {
  min-width: 0;
}
.g-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.g-menu a {
  color: var(--g-text);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}
.g-menu a:hover,
.g-menu .current-menu-item > a {
  background: var(--g-surface);
  color: var(--g-text);
}

.g-header__search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--g-surface);
  border: 1px solid var(--g-line);
  border-radius: 999px;
  padding: 6px 14px;
  min-width: 240px;
  max-width: 360px;
  color: var(--g-muted);
}
.g-header__search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--g-text);
  font-size: 13px;
  padding: 6px 0;
}
.g-header__search input::placeholder {
  color: var(--g-muted);
}
.g-header__search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: var(--g-surface);
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius-md);
  padding: 6px;
  max-height: 360px;
  overflow: auto;
  z-index: 30;
}
.g-header__search-results .g-sr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}
.g-header__search-results .g-sr-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--g-text);
  font-size: 13px;
}
.g-header__search-results .g-sr-item:hover,
.g-header__search-results .g-sr-item:focus-visible {
  background: var(--g-surface-2);
}
.g-header__search-results .g-sr-item img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}
.g-header__search-results .g-sr-empty {
  color: var(--g-muted);
  padding: 10px;
  font-size: 13px;
  text-align: center;
}

.g-header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Header auth buttons (Σύνδεση / Εγγραφή) ---------- */

.g-auth-btn.g-auth-btn--login,
.g-auth-btn.g-auth-btn--register {
  --g-auth-cap: clamp(34px, 3.2vw, 41px);
  min-width: clamp(104px, 10vw, 128px);
  min-height: clamp(40px, 3.75vw, 48px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 clamp(24px, 2.7vw, 34px);
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url('../images/buttons/button-secondary-left-hover.webp'),
    url('../images/buttons/button-secondary-right-hover.webp'),
    url('../images/buttons/button-secondary-center-hover.webp');
  background-position: left center, right center, center;
  background-size: var(--g-auth-cap) 100%, var(--g-auth-cap) 100%,
    calc(100% - (var(--g-auth-cap) * 2) + 2px) 100%;
  background-repeat: no-repeat;
  box-shadow: none;
  color: #ffe8a3;
  font-family: var(--wp--preset--font-family--eczar);
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 rgb(0 0 0 / 0.75), 0 0 4px rgb(0 0 0 / 0.7);
  -webkit-text-stroke: clamp(1px, 0.16vw, 2px) #2f1d18;
  paint-order: stroke;
  white-space: nowrap;
  clip-path: none;
}

.g-auth-btn.g-auth-btn--login .g-auth-btn__inner,
.g-auth-btn.g-auth-btn--register .g-auth-btn__inner {
  display: inline;
  min-width: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  line-height: inherit;
  text-shadow: inherit;
  -webkit-text-stroke: inherit;
  paint-order: inherit;
  clip-path: none;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
}
.g-auth-btn.g-auth-btn--login:hover,
.g-auth-btn.g-auth-btn--register:hover {
  color: #fff4c4;
  filter: brightness(1.08);
}

.g-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.g-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--g-text);
  border-radius: 1px;
}

.g-mobile-drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--g-header-h);
  background: var(--g-bg-2);
  border-top: 1px solid var(--g-line);
  padding: 16px;
  z-index: 40;
}

.g-mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.g-mobile-menu a {
  display: block;
  padding: 12px;
  color: var(--g-text);
  border-radius: 8px;
}
.g-mobile-menu a:hover {
  background: var(--g-surface);
}

@media (max-width: 1080px) {
  .g-header__nav {
    display: none;
  }
  .g-header__inner .g-header__search {
    min-width: 0;
    max-width: 220px;
  }
}
@media (max-width: 900px) {
  .g-header__search {
    display: none;
  }
}
@media (max-width: 720px) {
  .g-mobile-toggle {
    display: inline-flex;
  }
  .g-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }
  .g-header__cta {
    gap: 6px;
  }
  .g-header__cta .g-auth-btn {
    --g-auth-cap: 32px;
    min-width: 92px;
    min-height: 38px;
    padding: 0 22px;
    font-size: 14px;
    -webkit-text-stroke-width: 1px;
  }
  .g-header__cta .g-auth-btn__inner {
    min-width: 0;
    padding: 0;
    font-size: inherit;
  }
}

/* ---------- Layout helpers ---------- */

.site-main.g-sections {
  margin: 0;
  padding: 15px;
}

.g-post-sections-fallback {
  padding-top: 24px;
  padding-bottom: 24px;
}

.g-post-sections-fallback .g-page-header {
  margin-bottom: 20px;
}

.g-post-sections-fallback .g-single__thumb {
  margin: 0 0 24px;
  border-radius: var(--g-radius-md);
  overflow: hidden;
}
.g-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  padding: 24px 0;
}
@media (max-width: 1080px) {
  .g-layout {
    grid-template-columns: 1fr;
  }
}

.g-section {
  padding: 28px 0;
}
.g-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  background-image: url('../images/buttons/title-background.png');
  background-repeat: repeat-x;
  background-size: contain;
}
.g-section__title {
  margin: 0;
  color: #e2d2bb;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
}
.g-section__viewall {
  color: #f19100;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
}
.g-section__viewall:hover {
  color: #ce4d17;
}

/* ---------- Games carousel & cards ---------- */
.g-games {
  padding: 28px 0 36px;
}

.g-games__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 28px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.g-games__title {
  margin: 0;
  color: #e2d2bb;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  -webkit-text-stroke: 0.5px #2f1d18;
  paint-order: stroke;
  filter: drop-shadow(1px 1px 0 rgb(0 0 0 / 0.4));
}

.g-games__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Rank + card (carousel or numbered grid) */
.g-games-slide {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
  min-height: 100%;
  position: relative;
}

.g-games-slide--grid {
  flex-direction: row;
  align-items: flex-end;
  gap: 10px;
}

.g-games-slide__num {
  flex: 0 0 auto;
  align-self: flex-end;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: #ffb800;
  -webkit-text-stroke: 1px rgba(34, 21, 17);
  paint-order: stroke fill;
  padding: 0 6px 12px 2px;
  margin: 0;
  z-index: 2;
  user-select: none;
  pointer-events: none;
}

@supports not (-webkit-text-stroke: 1px black) {
  .g-games-slide__num {
    color: rgba(8, 40, 48, 0.25);
    -webkit-text-stroke: 0;
  }
}

.g-games-slide--grid .g-games-slide__num {
  padding-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.g-games-slide__card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.g-games-slide--grid .g-games-slide__card {
  flex: 0 0 auto;
}

.g-games-slide__card > .g-game-card {
  width: 100%;
  min-height: 0;
}

/* Game tile — gradient frame; same portrait ratio as carousel (height follows width) */
.g-game-card {
  --gc-frame: 8px;
  --site-game-frame-outset: 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  flex: 0 0 auto;
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: var(--gc-frame);
  border: none;
  box-shadow: none;
  display: block;
}

.g-game-card:hover {
  box-shadow: none;
}

.g-game-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  background: #291915;
}

.g-game-card__media::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid transparent;
  border-image-source: url('../images/buttons/game-card-frame.webp');
  border-image-slice: 90;
  border-image-width: 24px;
  border-image-outset: 5px;
  content: '';
  pointer-events: none;
}

.g-game-card__img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.g-game-card__overlay {
  position: absolute;
  inset: 6px;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background-image: url('../images/buttons/game-card-bg-hover.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.g-game-card__overlay::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 4px;
  background-image: url('../images/buttons/card-stars.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: '';
  opacity: 0.3;
  pointer-events: none;
}

.g-game-card:hover .g-game-card__overlay {
  opacity: 1;
}

.g-game-card__play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background-image: url('../images/buttons/button-bg.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 20px rgb(var(--stb-blue-550) / 0.95),
    0 0 12px rgb(var(--stb-blue-200) / 0.9), 0 0 4px rgb(255 255 255 / 0.75);
  transition: box-shadow 0.2s ease;
  pointer-events: auto;
}

.g-game-card__play::before {
  width: 22px;
  height: 24px;
  margin-left: 4px;
  background: #173071;
  clip-path: polygon(18% 0, 100% 50%, 18% 100%);
  content: '';
}

.g-game-card__demo {
  display: none;
}

.g-game-card__badge {
  position: absolute;
  top: var(--gc-frame);
  left: var(--gc-frame);
  z-index: 3;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #ce4d17;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
}

.g-game-card__jackpot {
  display: none;
  position: absolute;
  left: var(--gc-frame);
  right: var(--gc-frame);
  bottom: var(--gc-frame);
  z-index: 3;
  background: #ffdf2b;
  color: #0a0a0a;
  text-align: center;
  padding: 7px 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.g-game-card__title {
  display: none;
  position: absolute;
  left: var(--gc-frame);
  right: var(--gc-frame);
  bottom: var(--gc-frame);
  z-index: 3;
  padding: 8px 8px 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
}

.g-games__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: end;
}

@media (max-width: 1180px) {
  .g-games__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 720px) {
  .g-games__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .g-games-slide__num {
    font-size: clamp(26px, 8vw, 40px);
  }
}

/* ---------- Bonuses grid ---------- */
.g-bonuses {
  padding: 28px 0;
}
.g-bonuses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1280px) {
  .g-bonuses__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .g-bonuses__grid {
    grid-template-columns: 1fr;
  }
}

.g-bonus-card {
  position: relative;
  padding: 28px;
  border-radius: var(--g-radius-lg);
  overflow: hidden;
  background: var(--g-bg);
  border: 1px solid var(--g-line);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.g-bonus-card.has-char {
  padding-right: min(42%, 200px);
}
.g-bonus-card__bg,
.g-bonus-card__video,
.g-bonus-card__scrim,
.g-bonus-card__char {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.g-bonus-card__bg,
.g-bonus-card__video {
  inset: 0;
}
.g-bonus-card__bg {
  background-image: var(--g-bonus-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.g-bonus-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-bonus-card__scrim {
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(32, 16, 41, 0.68) 0%,
    rgba(87, 58, 45, 0.62) 100%
  );
}
.g-bonus-card__char {
  right: -8px;
  bottom: 0;
  height: 108%;
  width: auto;
  max-width: 52%;
  object-fit: contain;
  object-position: right bottom;
  z-index: 1;
}
.g-bonus-card__body,
.g-bonus-card__cta {
  position: relative;
  z-index: 2;
}
.g-bonus-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.g-bonus-card__cta {
  --g-bonus-card-cta-cap: clamp(38px, 4.2vw, 60px);
  align-self: flex-start;
  flex-shrink: 0;
  min-width: clamp(150px, 17vw, 220px);
  min-height: clamp(48px, 5vw, 72px);
  padding: clamp(7px, 0.9vw, 10px) clamp(34px, 4.4vw, 50px);
  background-size: var(--g-bonus-card-cta-cap) 100%,
    var(--g-bonus-card-cta-cap) 100%,
    calc(100% - (var(--g-bonus-card-cta-cap) * 2) + 2px) 100%;
  font-size: clamp(15px, 1.8vw, 22px);
  -webkit-text-stroke-width: clamp(1px, 0.14vw, 2px);
}
.g-bonus-card__cta .action-button__inner {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
}
.g-bonus-card__eyebrow {
  color: #f79b33;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: 1px 1px 0 rgb(0 0 0 / 0.4);
}
.g-bonus-card__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
  text-shadow: 1px 1px 0 rgb(0 0 0 / 0.4);
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #0d0807;
  paint-order: stroke;
}
.g-bonus-card__title em {
  font-style: normal;
  color: var(--g-accent);
}
.g-bonus-card__sub {
  color: var(--g-text);
  font-size: 16px;
  line-height: 1.5;
  text-shadow: 1px 1px 0 rgb(0 0 0 / 0.4);
}
.g-bonus-card__sub p {
  margin: 0 0 0.5em;
  text-shadow: 1px 1px 0 rgb(0 0 0 / 0.4);
}
.g-bonus-card__sub p:last-child {
  margin-bottom: 0;
}
.g-bonus-card__sub em {
  font-style: normal;
  color: var(--g-accent);
}
@media (max-width: 720px) {
  .g-bonus-card {
    min-height: 200px;
    padding: 22px;
  }
  .g-bonus-card.has-char {
    padding-right: 22px;
  }
  .g-bonus-card__char {
    opacity: 0.45;
    max-width: 46%;
    height: 90%;
  }
  .g-bonus-card__cta {
    --g-bonus-card-cta-cap: 36px;
    min-width: 0;
    min-height: 44px;
    padding: 8px 34px;
    font-size: clamp(14px, 3.8vw, 17px);
  }
}

/* ---------- Providers strip ---------- */
.g-providers {
  padding: 28px 0;
}
.g-providers__list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
@media (max-width: 1080px) {
  .g-providers__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.g-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g-surface);
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius-md);
  height: 64px;
  padding: 8px;
  filter: grayscale(0.5);
  opacity: 0.85;
  transition: filter 0.15s var(--g-ease), opacity 0.15s var(--g-ease);
}
.g-provider:hover {
  filter: none;
  opacity: 1;
}

/* ---------- Promo banners ---------- */
.g-promo {
  padding: 24px 0;
}
.g-promo__grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}
.g-promo__grid--cols-1 {
  grid-template-columns: 1fr;
}
.g-promo__grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.g-promo__grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.g-promo__card {
  --g-promo-frame: 8px;
  position: relative;
  height: 100%;
  min-height: 180px;
  padding: var(--g-promo-frame);
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
}

.g-promo__media {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  min-height: 300px;
  height: 100%;
  padding: 28px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--g-surface);
}

.g-promo__media::before {
  position: absolute;
  inset: 5px;
  z-index: 3;
  border: 1px solid transparent;
  border-image-source: url('../images/buttons/game-card-frame.webp');
  border-image-slice: 90;
  border-image-width: 24px;
  border-image-outset: 5px;
  content: '';
  pointer-events: none;
}

.g-promo__card.has-bg .g-promo__media {
  background-image: linear-gradient(
      180deg,
      rgb(97, 50, 124, 0.55),
      rgb(111, 75, 58, 0.85)
    ),
    var(--g-promo-bg, none);
  background-size: 98% 97%;
  background-repeat: no-repeat;
  background-position: center;
}
.g-promo__card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  text-shadow: 1px 1px 0 rgb(0 0 0 / 0.4);
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #0d0807;
  paint-order: stroke;
}
.g-promo__card p {
  position: relative;
  z-index: 1;
  color: var(--g-muted);
  margin: 0 0 16px;
  flex: 0 0 auto;
  max-width: min(620px, 100%);
  text-align: center;
  text-shadow: 1px 1px 0 rgb(0 0 0 / 0.4);
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #0d0807;
  paint-order: stroke;
}
.g-promo__card .action-button {
  --g-promo-cta-cap: clamp(38px, 4.6vw, 60px);
  position: relative;
  z-index: 1;
  margin-top: 0;
  align-self: center;
  flex-shrink: 0;
  min-width: clamp(150px, 18vw, 240px);
  min-height: clamp(48px, 5.4vw, 88px);
  padding: clamp(7px, 1vw, 10px) clamp(34px, 5vw, 88px);
  background-size: var(--g-promo-cta-cap) 100%, var(--g-promo-cta-cap) 100%,
    calc(100% - (var(--g-promo-cta-cap) * 2) + 2px) 100%;
  font-size: clamp(15px, 1.9vw, 28px);
  -webkit-text-stroke-width: clamp(1px, 0.15vw, 2px);
}
.g-promo__card .action-button__inner {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
}
@media (max-width: 1280px) {
  .g-promo__grid--cols-2,
  .g-promo__grid--cols-3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .g-promo {
    padding: 16px 0;
  }
  .g-promo__card {
    min-height: 160px;
  }
  .g-promo__media {
    min-height: 300px;
    padding: 22px;
  }
  .g-promo__card h3 {
    font-size: 18px;
  }
  .g-promo__card .action-button {
    --g-promo-cta-cap: 36px;
    min-width: 0;
    min-height: 44px;
    padding: 8px 34px;
    font-size: clamp(14px, 3.8vw, 17px);
  }
}

/* ---------- CTA banner (container width, same as promo / games) ---------- */
.g-cta-banner {
  padding: 24px 0;
}
.g-cta-banner__shell {
  position: relative;
  overflow: hidden;
  min-height: clamp(148px, 18vw, 240px);
  border-radius: var(--g-radius-lg);
  box-shadow: inset 0 0 0 2px rgba(43, 211, 216, 0.55), var(--g-shadow-hero);
  background: linear-gradient(135deg, #05080c 0%, #0e2430 45%, #123843 100%);
}
.g-cta-banner__shell.is-no-bg {
  background: linear-gradient(90deg, #05080c 0%, #0e2430 40%, #153a48 100%);
}
.g-cta-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}
.g-cta-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(5, 8, 12, 0.97) 0%,
    rgba(5, 8, 12, 0.82) 28%,
    rgba(10, 39, 48, 0.35) 58%,
    rgba(10, 39, 48, 0) 82%
  );
  pointer-events: none;
}
.g-cta-banner__grid {
  position: relative;
  z-index: 2;
  display: block;
  min-height: clamp(148px, 18vw, 240px);
  padding: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 28px);
}
.g-cta-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1.5vw, 16px);
  min-width: 0;
  max-width: min(720px, 100%);
}
.g-cta-banner__title {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.g-cta-banner__sub {
  margin: 0;
  font-size: clamp(17px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  color: #6db4ff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.g-cta-banner__sub em {
  font-style: normal;
  color: #b8e5ff;
  font-weight: 800;
}
/* Slightly larger than default header auth (higher specificity on mobile too). */
.g-cta-banner .g-auth-btn {
  --g-auth-skew: 9px;
}
.g-cta-banner .g-auth-btn__inner {
  min-width: 108px;
  padding: 11px 26px 12px;
  font-size: 15px;
}
@media (max-width: 720px) {
  .g-cta-banner {
    padding: 16px 0;
  }
  .g-cta-banner__shell {
    border-radius: var(--g-radius-md);
    min-height: 0;
  }
  .g-cta-banner__grid {
    min-height: 0;
    padding: 20px 16px 16px;
  }
  .g-cta-banner__copy {
    align-items: center;
    text-align: center;
  }
  .g-cta-banner__bg {
    background-position: center top;
  }
  .g-cta-banner__scrim {
    background: linear-gradient(
      180deg,
      rgba(5, 8, 12, 0.55) 0%,
      rgba(5, 8, 12, 0.88) 42%,
      rgba(5, 8, 12, 0.94) 100%
    );
  }
  .g-cta-banner .g-auth-btn {
    --g-auth-skew: 8px;
  }
  .g-cta-banner .g-auth-btn__inner {
    min-width: 100px;
    padding: 10px 22px 11px;
    font-size: 14px;
  }
}

/* ---------- Tips box (callout list) ---------- */
.g-tips-box {
  padding: 24px 0;
}
.g-tips-box__head {
  margin-bottom: 12px;
}
.g-tips-box__intro {
  margin: 0 0 16px;
  max-width: none;
  color: var(--g-muted);
  font-size: 15px;
  line-height: 1.65;
}
.g-tips-box__intro p {
  margin: 0 0 0.75em;
}
.g-tips-box__intro p:last-child {
  margin-bottom: 0;
}
.g-tips-box__intro a {
  color: var(--g-accent);
  text-decoration: underline;
}
.g-tips-box__intro strong {
  color: var(--g-text);
  font-weight: 700;
}
.g-tips-box__panel {
  background: var(--g-surface);
  border: 1px solid var(--g-line);
  border-left: 5px solid var(--g-orange);
  border-radius: var(--g-radius-md);
  padding: 22px 26px 22px 24px;
}
.g-tips-box__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.g-tips-box__item {
  position: relative;
  padding-left: 1.15em;
  color: var(--g-text);
  font-size: 14px;
  line-height: 1.6;
}
.g-tips-box__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g-orange);
  transform: translateY(-50%);
}
.g-tips-box__label {
  font-weight: 500;
  color: #ffb800;
}
.g-tips-box__sep {
  color: var(--g-muted);
  font-weight: 400;
}
.g-tips-box__text {
  color: var(--g-text);
}
@media (max-width: 720px) {
  .g-tips-box {
    padding: 16px 0;
  }
  .g-tips-box__panel {
    padding: 18px 18px 18px 16px;
  }
  .g-tips-box__item {
    font-size: 13px;
  }
}

/* ---------- Text columns ---------- */
.g-text-cols {
  padding: 24px 0;
}
.g-text-cols__grid {
  display: grid;
  grid-template-columns: repeat(var(--g-text-cols-count, 3), minmax(0, 1fr));
  gap: 24px;
}
.g-text-cols h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 400;
}
.g-text-cols p {
  color: var(--g-muted);
  margin: 0;
}
@media (max-width: 900px) {
  .g-text-cols__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.g-faq {
  padding: 24px 0;
}
.g-faq__list {
  display: grid;
  gap: 8px;
}
.g-faq__item {
  background: var(--g-surface);
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius-md);
}
.g-faq__q {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: transparent;
  color: var(--g-text);
  border: 0;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.g-faq__a {
  padding: 0 16px 14px;
  color: var(--g-muted);
  display: none;
}
.g-faq__item.is-open .g-faq__a {
  display: block;
}
.g-faq__item.is-open .g-faq__q::after {
  transform: rotate(180deg);
}
.g-faq__q::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--g-accent);
  border-bottom: 2px solid var(--g-accent);
  transform: rotate(45deg);
  transition: transform 0.15s var(--g-ease);
  display: inline-block;
}

/* ---------- Footer ---------- */
.g-footer {
  background: var(--g-bg-2);
  border-top: 1px solid var(--g-line);
  padding: clamp(28px, 4vw, 40px) 0 clamp(24px, 3vw, 32px);
  margin-top: 32px;
}

.g-footer__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 3vw, 28px);
  padding-bottom: clamp(16px, 2.5vw, 24px);
}

.g-footer__logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.g-footer__logo .custom-logo-link,
.g-footer__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.g-footer__logo .custom-logo,
.g-footer__logo-img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.g-footer__about--stack {
  color: var(--g-muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 36rem;
  margin: -8px 0 0;
}

.g-footer__about--stack p {
  margin: 0 0 0.75em;
}

.g-footer__about--stack p:last-child {
  margin-bottom: 0;
}

.g-footer__trust,
.g-footer__payments {
  width: 100%;
  max-width: 56rem;
}

.g-footer-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px) clamp(14px, 2.5vw, 22px);
}

.g-footer-badges__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 6px;
  border-radius: 6px;
  transition: opacity 0.15s var(--g-ease), transform 0.12s var(--g-ease);
}

a.g-footer-badge:hover {
  opacity: 0.88;
}

a.g-footer-badge:focus-visible {
  outline: 2px solid var(--g-accent);
  outline-offset: 3px;
}

.g-footer-badge__img {
  display: block;
  height: auto;
  width: auto;
  max-width: min(120px, 28vw);
  object-fit: contain;
  opacity: 0.92;
}

.g-footer-badges--trust .g-footer-badge__img {
  max-height: 40px;
}

.g-footer-badges--payments .g-footer-badge__img {
  max-height: 28px;
}

.g-footer-badge__text {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--g-line);
  border-radius: 6px;
  color: var(--g-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.g-footer__legal {
  width: 100%;
  max-width: 52rem;
  color: var(--g-muted);
  font-size: clamp(11px, 2.8vw, 13px);
  line-height: 1.65;
}

.g-footer__legal-line {
  margin: 0 0 0.65em;
}

.g-footer__legal-line:last-child {
  margin-bottom: 0;
}

.g-footer__legal a {
  color: var(--g-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.g-footer__legal a:hover {
  color: var(--g-text);
}

.g-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--g-line);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .g-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}

.g-footer-widget__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.g-footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.g-footer-widget a {
  color: var(--g-muted);
  font-size: 13px;
}

.g-footer-widget a:hover {
  color: var(--g-text);
}

.g-footer__bottom--legacy {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--g-line);
  color: var(--g-muted);
  font-size: 12px;
  text-align: center;
}

/* ---------- Floating banner (homepage sections) ---------- */
.g-float-banner {
  position: fixed;
  z-index: 190;
  max-width: min(
    1120px,
    calc(
      100vw -
        max(
          24px,
          env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px)
        )
    )
  );
  width: max-content;
  box-sizing: border-box;
  pointer-events: none;
  transition: opacity 0.22s var(--g-ease), transform 0.22s var(--g-ease);
}

.g-float-banner.is-closing {
  opacity: 0;
  pointer-events: none;
}

.g-float-banner.is-dismissed {
  display: none !important;
}

.g-float-banner--v-bottom.is-closing {
  transform: translateY(10px);
}

.g-float-banner--v-top.is-closing {
  transform: translateY(-10px);
}

.g-float-banner--h-center.is-closing {
  transform: translateX(-50%) translateY(10px);
}

.g-float-banner--v-top.g-float-banner--h-center.is-closing {
  transform: translateX(-50%) translateY(-10px);
}

.g-float-banner__panel {
  position: relative;
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 28px;
  min-height: 76px;
  padding: 14px 46px 14px 18px;
  background: var(--g-bg-2);
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius-lg);
  box-shadow: var(--g-shadow-1);
}

.g-float-banner__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius-sm);
  background: var(--g-surface);
  color: var(--g-muted);
  cursor: pointer;
  transition: color 0.15s var(--g-ease), background 0.15s var(--g-ease),
    border-color 0.15s var(--g-ease), transform 0.12s var(--g-ease);
}

.g-float-banner__close:hover {
  color: var(--g-text);
  background: var(--g-line);
}

.g-float-banner__close:active {
  transform: scale(0.94);
}

.g-float-banner__close:focus-visible {
  outline: 2px solid var(--g-accent);
  outline-offset: 2px;
}

.g-float-banner__close-icon {
  display: block;
  flex-shrink: 0;
}

.g-float-banner__panel.is-no-logo {
  grid-template-columns: 1fr auto;
}

.g-float-banner__panel.is-no-cta {
  grid-template-columns: auto 1fr;
}

.g-float-banner__panel.is-no-logo.is-no-cta {
  grid-template-columns: 1fr;
}

.g-float-banner__panel.is-no-mid {
  grid-template-columns: auto auto;
}

.g-float-banner__panel.is-no-mid.is-no-logo {
  grid-template-columns: 1fr;
}

.g-float-banner__panel.is-no-mid.is-no-cta {
  grid-template-columns: 1fr;
  justify-items: center;
}

.g-float-banner__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.g-float-banner__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 48px;
  min-height: 48px;
  max-height: 72px;
  max-width: min(220px, 34vw);
  padding: 6px 10px;
  border-radius: var(--g-radius-md);
  overflow: hidden;
  background: var(--g-surface);
  border: 1px solid var(--g-line);
}

.g-float-banner__logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  object-position: center center;
}

.g-float-banner__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  min-width: 0;
  padding: 0 8px;
}

.g-float-banner__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f79b33;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.g-float-banner__headline {
  margin: 0;
  font-size: clamp(17px, 2.4vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  white-space: pre-line;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.g-float-banner__fine {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--g-text);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.g-float-banner__cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.g-float-banner__cta .actions,
.g-float-banner__cta .promo-action {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.g-float-banner__cta .action-button {
  --g-float-banner-cta-cap: clamp(38px, 4vw, 60px);
  min-width: clamp(150px, 16vw, 220px);
  min-height: clamp(48px, 5vw, 72px);
  padding: clamp(7px, 0.9vw, 10px) clamp(34px, 4.5vw, 62px);
  background-size: var(--g-float-banner-cta-cap) 100%,
    var(--g-float-banner-cta-cap) 100%,
    calc(100% - (var(--g-float-banner-cta-cap) * 2) + 2px) 100%;
  font-size: clamp(15px, 1.7vw, 22px);
  -webkit-text-stroke-width: clamp(1px, 0.14vw, 2px);
  max-width: 100%;
}

.g-float-banner__cta .action-button__inner {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
}

.g-float-banner--v-top {
  top: max(16px, env(safe-area-inset-top, 0px));
  bottom: auto;
}

.g-float-banner--v-bottom {
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  top: auto;
}

.g-float-banner--h-left {
  left: max(16px, env(safe-area-inset-left, 0px));
  right: auto;
  transform: none;
}

.g-float-banner--h-right {
  right: max(16px, env(safe-area-inset-right, 0px));
  left: auto;
  transform: none;
}

.g-float-banner--h-center {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.g-float-banner--v-bottom.g-float-banner--h-center,
.g-float-banner--v-top.g-float-banner--h-center {
  transform: translateX(-50%);
}

@media (max-width: 720px) {
  /*
	 * Mobile: full-width dock — row 1: logo | copy | close; row 2: full-width CTA.
	 * Horizontal position (left/center/right) is ignored — bar spans the viewport.
	 */
  .g-float-banner {
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    max-width: none;
    transform: none !important;
  }

  .g-float-banner--v-bottom {
    bottom: 0;
    top: auto;
  }

  .g-float-banner--v-top {
    top: 0;
    bottom: auto;
  }

  .g-float-banner__panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 36px;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 10px;
    row-gap: 10px;
    min-height: 0;
    padding: 12px max(12px, env(safe-area-inset-right, 0px)) 12px
      max(12px, env(safe-area-inset-left, 0px));
    border-radius: 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  }

  .g-float-banner__close {
    position: static;
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .g-float-banner--v-bottom .g-float-banner__panel {
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    border-radius: var(--g-radius-md) var(--g-radius-md) 0 0;
  }

  .g-float-banner--v-top .g-float-banner__panel {
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    border-radius: 0 0 var(--g-radius-md) var(--g-radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .g-float-banner__brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .g-float-banner__mid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 2px;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    align-self: center;
  }

  .g-float-banner__eyebrow {
    margin: 0;
    font-size: 9px;
    letter-spacing: 0.1em;
    line-height: 1.2;
  }

  .g-float-banner__headline {
    margin: 0;
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.25;
    white-space: pre-line;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .g-float-banner__fine {
    margin: 0;
    font-size: 10px;
    line-height: 1.25;
  }

  .g-float-banner__logo-wrap {
    min-width: 40px;
    min-height: 40px;
    max-height: 48px;
    max-width: min(80px, 20vw);
    padding: 4px 6px;
  }

  .g-float-banner__logo-img {
    max-height: 40px;
  }

  .g-float-banner__cta {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: stretch;
    align-self: stretch;
  }

  .g-float-banner__cta .actions,
  .g-float-banner__cta .promo-action {
    width: 100%;
    justify-content: stretch;
  }

  .g-float-banner__cta .action-button {
    --g-float-banner-cta-cap: 36px;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 44px;
    padding: 8px 34px;
    background-size: var(--g-float-banner-cta-cap) 100%,
      var(--g-float-banner-cta-cap) 100%,
      calc(100% - (var(--g-float-banner-cta-cap) * 2) + 2px) 100%;
    font-size: clamp(14px, 3.8vw, 17px);
    -webkit-text-stroke-width: 1px;
    transform: none;
    box-sizing: border-box;
    white-space: nowrap;
    text-align: center;
    line-height: 1.15;
  }

  .g-float-banner__cta .action-button__inner {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  /* No CTA: single row (logo | copy | close) */
  .g-float-banner__panel.is-no-cta {
    grid-template-columns: auto minmax(0, 1fr) 36px;
    grid-template-rows: auto;
    row-gap: 0;
  }

  .g-float-banner__panel.is-no-logo {
    grid-template-columns: minmax(0, 1fr) 36px;
  }

  .g-float-banner__panel.is-no-logo .g-float-banner__mid {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    align-items: flex-start;
  }

  .g-float-banner__panel.is-no-logo .g-float-banner__cta {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  /* Logo + CTA only */
  .g-float-banner__panel.is-no-mid {
    grid-template-columns: auto 36px;
  }

  .g-float-banner__panel.is-no-mid .g-float-banner__brand {
    grid-column: 1;
    grid-row: 1;
  }

  .g-float-banner__panel.is-no-mid .g-float-banner__close {
    grid-column: 2;
    grid-row: 1;
  }

  .g-float-banner__panel.is-no-mid .g-float-banner__cta {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .g-float-banner__panel.is-no-logo.is-no-cta .g-float-banner__mid {
    grid-column: 1 / 3;
    text-align: left;
    align-items: flex-start;
  }

  .g-float-banner__panel.is-no-mid.is-no-logo {
    grid-template-columns: minmax(0, 1fr) 36px;
    grid-template-rows: auto;
  }

  .g-float-banner__panel.is-no-mid.is-no-logo .g-float-banner__cta {
    grid-column: 1;
    grid-row: 1;
  }

  .g-float-banner__panel.is-no-mid.is-no-logo .g-float-banner__close {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .g-float-banner__panel.is-no-mid.is-no-logo
    .g-float-banner__cta
    .action-button {
    min-height: 44px;
  }

  /* Logo only (no copy, no CTA) */
  .g-float-banner__panel.is-no-mid.is-no-cta {
    grid-template-columns: 1fr 36px;
    grid-template-rows: auto;
    justify-items: start;
  }

  .g-float-banner__panel.is-no-mid.is-no-cta .g-float-banner__brand {
    grid-column: 1;
    justify-self: center;
    width: 100%;
  }

  .g-float-banner__panel.is-no-mid.is-no-cta .g-float-banner__close {
    grid-column: 2;
  }
}

/* ---------- Archive listings ---------- */
.g-archive {
  padding: 12px 0 48px;
  width: 100%;
}

.g-archive-hero {
  margin: 0 0 24px;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 32px);
  border-radius: var(--g-radius-lg);
  border: 1px solid var(--g-line);
  background: linear-gradient(
    135deg,
    var(--g-surface) 0%,
    var(--g-bg-2) 48%,
    var(--g-bg) 100%
  );
  box-shadow: var(--g-shadow-1);
  width: 100%;
  box-sizing: border-box;
}

.g-archive-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g-orange);
}

.g-archive-hero__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.g-archive-hero__title {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  flex: 1;
  min-width: min(100%, 280px);
}

.g-archive-hero__query {
  color: var(--g-accent);
  word-break: break-word;
}

.g-archive-hero__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: var(--g-text);
  background: var(--g-surface-2);
  border: 1px solid var(--g-line);
}

.g-archive-hero__desc {
  margin-top: 12px;
  color: var(--g-muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 72ch;
}

.g-archive-hero__desc p:last-child {
  margin-bottom: 0;
}

.g-archive-filters {
  margin-bottom: 20px;
  display: grid;
  gap: 14px;
}

.g-archive-filters__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.g-archive-filters__group {
  display: grid;
  gap: 8px;
}

.g-archive-filters__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g-muted);
}

.g-archive-filters__track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--g-line) transparent;
}

.g-archive-filters__track.is-scrollable {
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12px,
    #000 calc(100% - 12px),
    transparent
  );
}

.g-chip {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--g-muted);
  background: var(--g-bg-2);
  border: 1px solid var(--g-line);
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: color 0.15s var(--g-ease), background 0.15s var(--g-ease),
    border-color 0.15s var(--g-ease);
}

.g-chip:hover,
.g-chip:focus-visible {
  color: var(--g-text);
  border-color: var(--g-accent);
}

.g-chip.is-active {
  color: #052126;
  background: var(--g-accent);
  border-color: var(--g-accent);
}

.g-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: var(--g-radius-md);
  background: var(--g-bg-2);
  border: 1px solid var(--g-line);
}

.g-archive-toolbar__count {
  font-size: 13px;
  font-weight: 600;
  color: var(--g-muted);
}

.g-archive__grid {
  margin-top: 4px;
  width: 100%;
}

.g-archive__footer {
  margin-top: 32px;
}

/* Games archive: fluid grid — fills rail width, larger tiles than fixed 6-col */
.g-archive--games .g-games__grid {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  align-items: end;
}

@media (min-width: 720px) {
  .g-archive--games .g-games__grid {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  }
}

@media (min-width: 1200px) {
  .g-archive--games .g-games__grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* Bonuses archive: use available width */
.g-archive--bonuses .g-bonuses__grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.g-archive--blog.g-layout,
.g-archive--search {
  width: 100%;
}

.g-archive--blog .g-layout__main {
  min-width: 0;
}

.g-pagination {
  display: flex;
  justify-content: center;
}

.g-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.g-pagination li {
  margin: 0;
}

.g-pagination a.page-numbers,
.g-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--g-radius-sm);
  border: 1px solid var(--g-line);
  background: var(--g-bg-2);
  color: var(--g-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s var(--g-ease), border-color 0.15s var(--g-ease),
    background 0.15s var(--g-ease);
}

.g-pagination a.page-numbers:hover,
.g-pagination a.page-numbers:focus-visible {
  color: var(--g-accent);
  border-color: var(--g-accent);
}

.g-pagination span.page-numbers.current {
  color: #052126;
  background: var(--g-accent);
  border-color: var(--g-accent);
}

.g-pagination .prev.page-numbers,
.g-pagination .next.page-numbers {
  padding: 0 16px;
}

.g-pagination__arrow {
  font-size: 16px;
  line-height: 1;
}

.g-empty-state--archive {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(32px, 6vw, 48px) 24px;
}

.g-empty-state__icon {
  color: var(--g-muted);
  opacity: 0.65;
}

.g-empty-state__text {
  margin: 0;
  max-width: 36ch;
}

.g-archive-search-form {
  margin-top: 20px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.g-archive-search-form .search-form {
  display: flex;
  gap: 8px;
}

.g-archive-search-form input[type='search'] {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--g-radius-sm);
  border: 1px solid var(--g-line);
  background: var(--g-bg-2);
  color: var(--g-text);
}

.g-archive-search-form input[type='submit'],
.g-archive-search-form button[type='submit'] {
  padding: 10px 18px;
  border-radius: var(--g-radius-sm);
  border: 0;
  background: var(--g-accent);
  color: #052126;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Page / blog ---------- */
.g-page-header {
  padding: 24px 0;
}
.g-page-title {
  margin: 0;
  font-size: 2em;
  font-weight: 400;
}
.g-page-description {
  color: var(--g-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}
.g-page-description p:last-child {
  margin-bottom: 0;
}
.g-page-content {
  line-height: 1.65;
  font-size: 15px;
  color: var(--g-muted);
}
.g-page-content h2 {
  font-size: 1.5em;
  font-weight: 400;
  margin: 1.6em 0 0.4em;
}
.g-page-content h3 {
  font-size: 1.17em;
  font-weight: 400;
  margin: 1.4em 0 0.3em;
}
.g-page-content p {
  margin: 0 0 1em;
}
.g-page-content a {
  text-decoration: underline;
}
.g-page-content blockquote {
  border-left: 3px solid var(--g-accent);
  padding-left: 16px;
  color: var(--g-muted);
  margin: 1em 0;
}

.g-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .g-post-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .g-post-grid {
    grid-template-columns: 1fr;
  }
}

.g-post-card {
  background: var(--g-bg-2);
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius-md);
  overflow: hidden;
  transition: transform 0.15s var(--g-ease), border-color 0.15s var(--g-ease);
}

.g-post-card:hover {
  border-color: rgba(43, 211, 216, 0.45);
  transform: translateY(-2px);
}

.g-post-card__media img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}
.g-post-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.g-post-card__cat {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.g-post-card__cat a {
  color: var(--g-orange);
  text-decoration: none;
}
.g-post-card__cat a:hover {
  color: var(--g-accent);
}
.g-post-card__title {
  font-size: 17px;
  margin: 0;
  line-height: 1.3;
}
.g-post-card__title a {
  color: var(--g-text);
  text-decoration: none;
}
.g-post-card__title a:hover {
  color: var(--g-accent);
}
.g-post-card__meta {
  color: var(--g-muted);
  font-size: 12px;
}
.g-post-card__excerpt {
  color: var(--g-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
.g-post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--g-accent);
  text-decoration: none;
}

.g-post-card__more:hover {
  color: var(--g-text);
}

.g-single {
  padding: 24px 0;
}
.g-single__thumb {
  margin: 0 0 24px;
  border-radius: var(--g-radius-md);
  overflow: hidden;
}
.g-single__content {
  line-height: 1.75;
  font-size: 16px;
}
.g-single__content > * {
  margin: 0 0 1em;
}

/* ---------- Single Game ---------- */
.g-game-hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  padding: 24px 0;
  align-items: start;
}
@media (max-width: 720px) {
  .g-game-hero {
    grid-template-columns: 1fr;
  }
}
.g-game-hero__poster {
  border-radius: var(--g-radius-md);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--g-surface);
}
.g-game-hero__title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  margin: 0;
}
.g-game-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.g-game-meta div {
  background: var(--g-surface);
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius-sm);
  padding: 10px 12px;
}
.g-game-meta b {
  display: block;
  font-size: 11px;
  color: var(--g-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}
.g-game-meta span {
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Breadcrumbs ---------- */
.g-breadcrumbs {
  padding: 12px 0 0;
  font-size: 13px;
  color: var(--g-muted);
}
.g-breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.g-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}
.g-breadcrumbs__link {
  color: var(--g-muted);
  text-decoration: none;
  transition: color 0.15s var(--g-ease);
}
.g-breadcrumbs__link:hover,
.g-breadcrumbs__link:focus-visible {
  color: var(--g-accent);
}
.g-breadcrumbs__current {
  color: var(--g-text);
}
.g-breadcrumbs__sep {
  color: var(--g-line);
  font-size: 12px;
}

/* ---------- Single Bonus ---------- */
.g-single-bonus {
  padding-bottom: 32px;
}
.g-bonus__hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--g-radius-lg);
  min-height: clamp(240px, 32vw, 360px);
  display: flex;
  align-items: flex-end;
  padding: clamp(20px, 4vw, 40px);
  margin-top: 16px;
  background: var(--g-surface);
  border: 1px solid var(--g-line);
  color: var(--g-text);
  --g-bonus-accent: var(--g-orange);
}
.g-bonus__hero-bg,
.g-bonus__hero-video,
.g-bonus__hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.g-bonus__hero-bg {
  background-size: cover;
  background-position: center;
}
.g-bonus__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-bonus__hero-scrim {
  background: linear-gradient(
    120deg,
    rgba(10, 39, 48, 0.85) 0%,
    rgba(10, 39, 48, 0.55) 50%,
    rgba(10, 39, 48, 0.85) 100%
  );
}
.g-bonus__hero-char {
  position: absolute;
  right: clamp(-12px, -1vw, 0);
  bottom: 0;
  height: 100%;
  max-width: 45%;
  object-fit: contain;
  object-position: right bottom;
  z-index: 1;
}
.g-bonus__hero-body {
  position: relative;
  z-index: 2;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.g-bonus__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g-bonus-accent);
}
.g-bonus__title {
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
}
.g-bonus__title em {
  font-style: normal;
  color: var(--g-accent);
}
.g-bonus__subline {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--g-text);
  opacity: 0.9;
}
.g-bonus__subline em {
  font-style: normal;
  color: var(--g-accent);
}
.g-bonus__cta {
  align-self: flex-start;
  margin-top: 8px;
}
.g-bonus__content {
  margin-top: 24px;
  max-width: 720px;
  line-height: 1.75;
  font-size: 16px;
}
@media (max-width: 720px) {
  .g-bonus__hero {
    padding: 18px;
    min-height: 220px;
  }
  .g-bonus__hero-char {
    max-width: 40%;
    opacity: 0.8;
  }
}

/* ---------- Bonuses archive grid ---------- */
.g-bonuses__grid--archive {
  margin-top: 0;
}

/* ---------- 404 ---------- */
.g-404 {
  text-align: center;
  padding: 80px 0;
}
.g-404__code {
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 800;
  margin: 0;
  color: var(--g-accent);
}
.g-404__msg {
  color: var(--g-muted);
  margin: 0 0 24px;
}

/* ---------- Sidebar widgets ---------- */
.g-widget,
.g-widget__title {
  margin-bottom: 16px;
}
.g-widget {
  background: var(--g-bg-2);
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius-md);
  padding: 14px;
}
.g-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

/* ---------- Comments ---------- */
.g-comments {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--g-line);
}
.g-comments__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

/* ---------- Section helpers ---------- */
.g-empty-state {
  padding: 32px;
  text-align: center;
  color: var(--g-muted);
  border: 1px dashed var(--g-line);
  border-radius: var(--g-radius-md);
}

/* prefer-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}
