:root {
  --bg: #071026;
  --card: #101a3a;
  --text: #f7f8ff;
  --muted: #c7cde3;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f5b642;
  --radius: 22px;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(72, 180, 255, 0.15),
      transparent 34%
    ),
    radial-gradient(
      circle at top right,
      rgba(245, 182, 66, 0.16),
      transparent 32%
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.header {
  background: #160d35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.headerInner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  display: block;
  width: auto;
  max-width: 180px;
  height: 52px;
  object-fit: contain;
}

.headerActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.headerAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 220px;
  padding: 0 26px;
  border-radius: 999px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.35),
    inset 0 -3px 8px rgba(0, 0, 0, 0.26),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

.headerAction.register {
  background: linear-gradient(180deg, #ff7186 0%, #c72d48 55%, #8f1d36 100%);
}

.headerAction.login {
  background: linear-gradient(180deg, #a765ff 0%, #6825dc 55%, #3c148f 100%);
}

.content {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.contentMain {
  width: 100%;
}

#intro,
.section {
  background: linear-gradient(
    145deg,
    rgba(16, 26, 58, 0.96),
    rgba(8, 15, 36, 0.96)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#intro {
  padding: 34px;
  margin-top: 28px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

#intro::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 182, 66, 0.32),
    transparent 70%
  );
  pointer-events: none;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
}

h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin-top: 24px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.introDescription {
  max-width: 930px;
  margin: 0 auto 16px;
  font-size: 18px;
  color: #e9edff;
  text-align: center;
  position: relative;
  z-index: 1;
}

.articleMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 22px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid var(--line);
}

.articleMeta strong {
  color: #fff;
  font-weight: 700;
}

.articleMeta time {
  margin-left: 8px;
  color: var(--muted);
}

.keyFactsMini {
  margin: 22px 0 0;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.keyFactsMini dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.keyFactsMini dl div {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.keyFactsMini dt {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.keyFactsMini dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--muted);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 22px auto;
  padding: 30px;
}

.section[data-highlight="true"] {
  background:
    linear-gradient(135deg, rgba(245, 182, 66, 0.12), rgba(72, 180, 255, 0.08)),
    linear-gradient(145deg, rgba(16, 26, 58, 0.96), rgba(8, 15, 36, 0.96));
}

.loginButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 0 22px;
  margin: 22px auto 4px;
  border-radius: 14px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.tableWrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

h3 + .tableWrap {
  margin-top: 14px;
}

.general-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

.general-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.general-table th {
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  font-weight: 800;
}

.general-table td {
  color: var(--muted);
}

.general-table tr:last-child td {
  border-bottom: 0;
}

.infoTable td:first-child {
  width: 34%;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.045);
}

.steps {
  margin: 16px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  color: var(--muted);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 14px;
  left: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.sectionLabel {
  display: block;
  margin: 20px 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.promoCodesBox {
  margin: 20px 0;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at top left,
      rgba(245, 182, 66, 0.16),
      transparent 36%
    ),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(245, 182, 66, 0.24);
}

.promoCodesIntro {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

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

.promoCodeCard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.promoCodeCard code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--accent);
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.promoCodeCard span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.categoryTag {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(72, 180, 255, 0.12);
  border: 1px solid rgba(72, 180, 255, 0.22);
  color: #e4f6ff;
  font-weight: 700;
  font-size: 14px;
}

.gamesIntro {
  max-width: 980px;
  margin: 0 auto 18px;
  text-align: center;
}

.gamesCategoriesBox {
  max-width: 880px;
  margin: 22px auto;
  padding: 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top, rgba(72, 180, 255, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
}

.gamesCategoriesBox .sectionLabel {
  margin: 0 0 16px;
}

.gamesAfterText {
  max-width: 980px;
  margin: 18px auto 0;
  text-align: center;
}

.ratingBox {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
}

.ratingNumber {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #111a3b 58%, transparent 60%),
    conic-gradient(var(--accent) 0 84%, rgba(255, 255, 255, 0.14) 84% 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.faqItem {
  margin: 18px 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
}

.faqItem h3 {
  margin-top: 0;
  text-align: left;
}

.faqItem p {
  margin-bottom: 0;
}

.footer {
  background: #160d35;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 16px;
  color: var(--muted);
  text-align: center;
}

.footerInner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.footerInfo {
  margin: 0 auto 10px;
  max-width: 920px;
  font-size: 14px;
  line-height: 1.5;
}

.footerInfo strong {
  color: #fff;
}

.footerDisclaimer {
  margin: 0 auto 10px;
  max-width: 920px;
  font-size: 14px;
  line-height: 1.5;
}

.footerDisclaimer strong {
  color: #fff;
}

.copyright {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .headerInner {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    height: 46px;
    max-width: 160px;
  }

  .headerActions {
    width: 100%;
    justify-content: center;
  }

  .headerAction {
    min-width: 0;
    flex: 1;
    min-height: 46px;
    padding: 0 12px;
    font-size: 15px;
  }

  .content {
    width: min(100% - 22px, var(--max));
    padding-top: 16px;
  }

  #intro,
  .section {
    width: min(100% - 22px, var(--max));
    padding: 22px;
    border-radius: 18px;
  }

  .loginButton {
    width: 100%;
    max-width: 100%;
  }

  .keyFactsMini dl {
    grid-template-columns: 1fr;
  }

  .articleMeta {
    display: block;
    text-align: center;
  }

  .articleMeta time {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .general-table th,
  .general-table td {
    padding: 12px;
  }

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

  .promoCodeCard {
    min-height: auto;
    align-items: center;
    text-align: center;
  }

  .gamesIntro,
  .gamesAfterText {
    text-align: left;
  }

  .gamesCategoriesBox {
    padding: 16px;
  }

  .categories {
    justify-content: flex-start;
  }

  .categoryTag {
    font-size: 13px;
    padding: 8px 11px;
  }

  .ratingBox {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ratingNumber {
    margin: 0 auto;
  }

  .faqItem h3 {
    text-align: center;
  }
}
