:root {
  --bg: #0b0c12;
  --bg-soft: #11121a;
  --card: #1a1b24;
  --card-2: #20222d;
  --blue: #268cff;
  --cyan: #19c7ff;
  --pink: #d6006f;
  --pink-hover: #f0188a;
  --text: #ffffff;
  --muted: #a6a8b3;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 66% 8%, rgba(38, 140, 255, 0.24), transparent 33rem),
    radial-gradient(circle at 12% 18%, rgba(214, 0, 111, 0.16), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  z-index: 1000;
  background: var(--pink);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 18, 26, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar,
.category-strip,
.hero,
.trust-grid,
.games-section,
.promotions,
.site-footer {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  height: 42px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a:hover {
  color: var(--text);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.language-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-hover));
  color: #fff;
  box-shadow: 0 12px 32px rgba(214, 0, 111, 0.36);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #04111f;
  box-shadow: 0 12px 32px rgba(38, 140, 255, 0.24);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-lg {
  min-height: 52px;
  padding-inline: 26px;
}

.search-panel {
  display: none;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto 14px;
  gap: 10px;
}

.search-panel.is-open {
  display: flex;
}

.search-panel input {
  flex: 1;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #0e0f16;
  color: var(--text);
  outline: none;
}

.category-strip {
  padding: 10px 0 8px;
}

.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.category-scroll a {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.category-scroll a:hover {
  color: #fff;
  border-color: rgba(38, 140, 255, 0.5);
  box-shadow: 0 0 24px rgba(38, 140, 255, 0.16);
}

.hero {
  min-height: 250px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(11, 12, 18, 0.95) 0%, rgba(11, 12, 18, 0.78) 43%, rgba(11, 12, 18, 0.18) 100%),
    url("../assets/hero-banner/imgi_40_home-banner_slots_bg.webp") center right / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 45%, rgba(25, 199, 255, 0.26), transparent 22rem),
    linear-gradient(180deg, transparent, rgba(11, 12, 18, 0.52));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 30px 48px;
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(440px, 0.58fr);
  align-items: end;
  gap: 36px;
}

.hero-copy-block {
  max-width: 620px;
}

.hero-action-panel {
  justify-self: end;
  width: min(520px, 100%);
  padding-bottom: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.bonus-line {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.45vw, 34px);
  line-height: 1.05;
  font-weight: 950;
  color: #fff;
  text-shadow: 0 0 36px rgba(38, 140, 255, 0.48);
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
}

.hero-ctas,
.payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-ctas {
  justify-content: flex-end;
}

.payment-row {
  margin-top: 14px;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.payment-row img {
  width: 48px;
  height: 28px;
  object-fit: contain;
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.88);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.trust-grid article {
  padding: 13px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(32, 34, 45, 0.92), rgba(26, 27, 36, 0.92));
  border: 1px solid var(--line);
}

.trust-grid span {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 950;
}

.trust-grid p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.games-section,
.promotions {
  padding-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-heading h2,
.review h2,
.faq-section h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.1;
}

.section-heading a {
  color: var(--cyan);
  font-weight: 900;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.game-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.game-card {
  overflow: hidden;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  min-width: 0;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0f1018;
  transition: transform 240ms ease;
}

.game-card span,
.game-card small {
  display: block;
  padding-inline: 12px;
}

.game-card span {
  padding-top: 11px;
  color: #fff;
  font-weight: 900;
  line-height: 1.2;
  min-height: 48px;
}

.game-card small {
  padding-bottom: 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 0, 111, 0.55);
  box-shadow: 0 0 28px rgba(214, 0, 111, 0.2), 0 0 36px rgba(38, 140, 255, 0.12);
}

.game-card:hover img {
  transform: scale(1.05);
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bonus-card {
  position: relative;
  min-height: 452px;
  overflow: hidden;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(81, 116, 255, 0.3);
  background:
    radial-gradient(circle at 50% 30%, rgba(38, 140, 255, 0.24), transparent 13rem),
    linear-gradient(180deg, #172b93 0%, #101942 100%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.bonus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 36%),
    radial-gradient(circle at 50% 0%, rgba(25, 199, 255, 0.16), transparent 18rem);
  pointer-events: none;
}

.bonus-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 24, 138, 0.54);
  box-shadow: 0 0 34px rgba(214, 0, 111, 0.22), 0 20px 58px rgba(0, 0, 0, 0.36);
}

.bonus-pill {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  min-width: 128px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-bottom-left-radius: 22px;
  background: #2a55d7;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.bonus-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 260px;
  height: 190px;
  margin: 26px auto 34px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.28));
  transition: transform 220ms ease;
}

.bonus-card:hover img {
  transform: scale(1.04);
}

.bonus-label {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: #aeb6d2;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.bonus-card strong {
  position: relative;
  z-index: 1;
  max-width: 460px;
  color: #fff;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.06;
  font-weight: 950;
  text-transform: uppercase;
}

.review,
.faq-section {
  margin-top: 46px;
  padding: 52px 0;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--line);
}

.faq-section {
  margin-top: 0;
  background: transparent;
}

.content-wrap {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.review p,
.review li,
.faq-section p {
  color: #d6d7dd;
}

.review h3 {
  margin: 34px 0 12px;
  font-size: 25px;
}

.review h4 {
  margin: 0 0 12px;
  font-size: 20px;
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: var(--card);
}

caption {
  padding: 14px 16px;
  text-align: left;
  color: #fff;
  font-weight: 950;
  background: #141620;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: #fff;
  font-size: 14px;
  background: rgba(38, 140, 255, 0.08);
}

td {
  color: #d8d9df;
}

.check-list,
.columns-list {
  padding-left: 20px;
}

.columns-list {
  columns: 2;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pros-cons > div {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
}

.faq-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 950;
}

details p {
  padding: 0 18px 18px;
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px 0 100px;
  color: var(--muted);
}

.site-footer p {
  max-width: 720px;
  margin: 12px 0 0;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero {
    min-height: 320px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    width: min(680px, 100%);
    gap: 18px;
    align-items: center;
  }

  .hero-action-panel {
    justify-self: start;
    width: auto;
    padding: 0;
  }

  .payment-row {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .bonus-grid {
    grid-template-columns: 1fr;
  }

  .bonus-card {
    min-height: 390px;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 86px;
  }

  .topbar,
  .category-strip,
  .hero,
  .trust-grid,
  .games-section,
  .promotions,
  .site-footer {
    width: min(100% - 20px, 1440px);
  }

  .topbar {
    min-height: 66px;
    gap: 10px;
  }

  .brand img {
    height: 35px;
  }

  .language-badge,
  .hide-sm {
    display: none;
  }

  .header-actions {
    gap: 7px;
  }

  .btn {
    padding-inline: 13px;
  }

  .hero {
    min-height: 300px;
    border-radius: 14px;
    background:
      linear-gradient(90deg, rgba(11, 12, 18, 0.95) 0%, rgba(11, 12, 18, 0.8) 58%, rgba(11, 12, 18, 0.35) 100%),
      url("../assets/hero-banner/imgi_40_home-banner_slots_bg.webp") center right 28% / cover no-repeat;
  }

  .hero-content {
    padding: 24px 18px;
  }

  h1 {
    font-size: 36px;
  }

  .bonus-line {
    font-size: 28px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .btn-lg {
    min-height: 48px;
  }

  .payment-row {
    gap: 8px;
  }

  .payment-row img {
    width: 50px;
    height: 29px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .trust-grid article {
    padding: 14px;
  }

  .trust-grid span {
    font-size: 18px;
  }

  .game-grid,
  .game-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .game-card span {
    min-height: 43px;
    font-size: 14px;
  }

  .bonus-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .bonus-card {
    min-height: 350px;
    padding: 22px;
    border-radius: 18px;
  }

  .bonus-card img {
    height: 150px;
    margin: 26px auto 24px;
  }

  .bonus-pill {
    min-width: 104px;
    min-height: 38px;
    font-size: 16px;
    border-bottom-left-radius: 18px;
  }

  .bonus-card strong {
    font-size: 30px;
  }

  .content-wrap {
    width: min(100% - 24px, 1040px);
  }

  .review,
  .faq-section {
    padding: 38px 0;
  }

  table {
    min-width: 620px;
  }

  .columns-list {
    columns: 1;
  }

  .site-footer {
    display: block;
    padding-bottom: 32px;
  }

  .floating-cta {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(13, 15, 24, 0.94);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav a {
    min-width: 0;
    min-height: 54px;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 6px 4px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-bottom-nav i {
    color: var(--cyan);
    font-size: 17px;
  }

  .mobile-bottom-nav span {
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
  }

  .mobile-bottom-nav .bottom-cta {
    background: linear-gradient(135deg, var(--pink), var(--pink-hover));
    color: #fff;
    box-shadow: 0 10px 24px rgba(214, 0, 111, 0.28);
  }

  .mobile-bottom-nav .bottom-cta i {
    color: #fff;
  }
}

@media (max-width: 430px) {
  .icon-button {
    width: 38px;
    height: 38px;
  }

  .topbar .btn-primary {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .hero-ctas .btn {
    flex: 1 1 135px;
  }
}
