:root {
  --bg: #0f1020;
  --surface: #181a2e;
  --surface-alt: #21243d;
  --text: #f6f7fb;
  --muted: #c5c8d8;
  --accent: #ffcc3d;
  --accent-dark: #d99c00;
  --border: rgba(255, 255, 255, 0.14);
  --gold-border: rgba(255, 204, 61, 0.38);
  --radius: 22px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, #2e315c 0, #0f1020 460px);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

header {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 16, 32, 0.94);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  height: 58px;
}

.logo img {
  height: 58px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  border: 0;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #171707;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(255, 204, 61, 0.22);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--border);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto;
  padding: 32px;
  background: linear-gradient(
    180deg,
    rgba(33, 36, 61, 0.96),
    rgba(24, 26, 46, 0.98)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

h1 {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: center;
}

h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-align: center;
}

h3 {
  margin: 24px 0 12px;
  font-size: 22px;
  line-height: 1.22;
  text-align: center;
}

h4 {
  margin: 20px 0 10px;
  font-size: 18px;
  text-align: center;
}

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

ul,
ol {
  margin: 14px 0 18px;
  padding-left: 24px;
  color: var(--muted);
}

li {
  margin: 8px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  overflow: hidden;
}

tr {
  border-bottom: 1px solid var(--border);
}

td {
  padding: 14px 16px;
  border: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
}

.author-block {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  margin: 24px 0 0;
  border-radius: 26px;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 204, 61, 0.16),
      transparent 320px
    ),
    rgba(255, 255, 255, 0.055);
  border: 1px solid var(--gold-border);
}

.author-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 61, 0.95),
    rgba(217, 156, 0, 0.9)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171707;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(255, 204, 61, 0.22);
}

.author-name {
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 900;
  font-size: 20px;
}

.author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 14px;
}

.author-tags p {
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 204, 61, 0.12);
  border: 1px solid rgba(255, 204, 61, 0.28);
  color: #f8e7a7;
  font-size: 13px;
  font-weight: 800;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

.footer-brand {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}

.pros-cons div,
.expert-note,
.info-card,
.review-card {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
}

.expert-note {
  margin: 18px 0;
  background: rgba(255, 204, 61, 0.09);
  border-color: rgba(255, 204, 61, 0.28);
}

.comparison-table {
  overflow-x: auto;
}

.review-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  position: relative;
}

.casino-card {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.casino-title {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.casino-bonus {
  width: 100%;
  margin: 12px 0 20px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 61, 0.2),
    rgba(255, 255, 255, 0.045)
  );
  border: 1px solid rgba(255, 204, 61, 0.34);
  color: #ffe792;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.bonus-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.review-card .button {
  margin-top: auto;
}

.casino-card .button {
  margin: auto auto 0;
}

.highlight-list {
  margin: 18px 0;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 61, 0.09),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(255, 204, 61, 0.26);
}

.highlight-list p {
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 900;
  text-align: center;
}

.highlight-list ul {
  margin-bottom: 0;
}

.steps-box {
  display: grid;
  gap: 18px;
  margin: 20px 0 0;
}

.step-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 61, 0.11),
    rgba(255, 255, 255, 0.045)
  );
  border: 1px solid rgba(255, 204, 61, 0.26);
  text-align: left;
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #171707;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(255, 204, 61, 0.18);
}

.step-card h3 {
  margin: 0 0 8px;
  text-align: left;
}

.step-card p {
  margin-bottom: 0;
  text-align: left;
}

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

.new-casino-cell {
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 204, 61, 0.18),
      transparent 180px
    ),
    rgba(255, 255, 255, 0.055);
  border: 1px solid var(--gold-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.new-casino-cell h3 {
  margin-top: 0;
}

.new-casino-cell .button {
  margin-top: auto;
}

.promo-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  margin: 20px 0;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(255, 204, 61, 0.18),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 204, 61, 0.35);
}

.notice-box {
  padding: 18px 20px;
  margin: 18px 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.faq-container {
  display: grid;
  gap: 12px;
}

.faq-item {
  position: relative;
  padding: 18px 52px 18px 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.toggle {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.faq-question {
  margin: 0;
  font-size: 18px;
  text-align: left;
}

.icon {
  position: absolute;
  right: 18px;
  top: 22px;
  width: 18px;
  height: 18px;
}

.icon:before,
.icon:after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}

.icon:before {
  width: 18px;
  height: 2px;
  top: 8px;
}

.icon:after {
  width: 2px;
  height: 18px;
  left: 8px;
}

.faq-answer {
  display: none;
  margin: 14px 0 0;
}

.toggle:checked ~ .faq-answer {
  display: block;
}

.toggle:checked ~ .icon:after {
  display: none;
}

footer {
  margin-top: 32px;
  padding: 24px 0 34px;
  background: #0a0b15;
  border-top: 1px solid var(--border);
}

footer p {
  margin: 0 0 10px;
}

@media (max-width: 768px) {
  h1,
  h2,
  h3 {
    text-align: center;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 25px;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    flex-direction: column;
  }

  .button,
  .button-link {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .section {
    width: calc(100% - 24px);
    padding: 22px 16px;
    margin: 18px auto;
  }

  .promo-banner,
  .info-grid,
  .review-grid,
  .pros-cons,
  .new-casino-grid {
    grid-template-columns: 1fr;
  }

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

  .author-photo {
    margin: 0 auto;
  }

  .author-tags {
    justify-content: center;
  }

  .step-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .step-card h3 {
    text-align: left;
  }

  .step-card p {
    text-align: left;
  }

  .step-number {
    margin: 0;
  }

  .faq-question {
    text-align: left;
  }

  table {
    width: 100%;
  }

  .comparison-table {
    overflow-x: auto;
  }

  footer,
  .footer-inner,
  .footer-brand {
    text-align: center;
  }
}
