:root {
  --bg: #111318;
  --surface: #181b22;
  --surface-alt: #20242d;
  --text: #f4f5f7;
  --muted: #b8beca;
  --accent: #f6c65b;
  --accent-dark: #c48f23;
  --border: #343946;
  --radius: 22px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

header {
  background: #0d0f14;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  height: 58px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 58px;
}

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

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.button {
  background: var(--accent);
  color: #16120a;
}

.button-link {
  background: transparent;
  color: var(--accent);
}

.button:hover,
.button-link:hover {
  transform: translateY(-1px);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 18px;
  line-height: 1.18;
  color: var(--text);
  text-align: center;
}

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

h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-top: 8px;
}

h3 {
  font-size: 23px;
  margin-top: 24px;
}

h4 {
  font-size: 19px;
}

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

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

li {
  margin: 10px 0;
}

.hero-banner {
  background: linear-gradient(135deg, #1d212b 0%, #2a2418 100%);
  border: 1px solid rgba(246, 198, 91, 0.35);
  border-radius: calc(var(--radius) + 8px);
  padding: 34px;
  box-shadow: var(--shadow);
}

.hero-banner p {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.casino-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.casino-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.casino-name {
  margin: 0;
  text-align: center;
  font-size: 22px;
  line-height: 1.18;
  color: var(--text);
  font-weight: 700;
}

.casino-bonus {
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
  text-align: center;
}

.casino-data {
  display: grid;
  gap: 10px;
  margin: 0;
}

.casino-data div {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.casino-data div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.casino-data span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.casino-data strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}

.casino-card .button {
  width: 100%;
  margin-top: auto;
}

.comparison-table {
  width: 100%;
  overflow-x: auto;
  margin: 22px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

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

tr:last-child {
  border-bottom: 0;
}

td {
  padding: 16px 18px;
  vertical-align: top;
  color: var(--muted);
}

.comparison-table tr:first-child td {
  color: var(--text);
  background: var(--surface-alt);
  font-weight: 700;
}

.notice-box {
  background: rgba(246, 198, 91, 0.1);
  border: 1px solid rgba(246, 198, 91, 0.35);
  border-radius: var(--radius);
  padding: 22px;
  margin: 22px 0;
  color: var(--text);
}

.notice-box p {
  margin-bottom: 0;
  color: var(--text);
}

.formula-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(246, 198, 91, 0.12);
  border: 1px solid rgba(246, 198, 91, 0.4);
  border-radius: var(--radius);
  padding: 24px;
  margin: 22px 0;
  text-align: center;
}

.formula-box p {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.35;
}

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

.steps-list li {
  counter-increment: step-counter;
  position: relative;
  margin: 0;
  padding: 20px 20px 20px 76px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #16120a;
  font-weight: 800;
}

.steps-list strong {
  color: var(--text);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.checklist-card {
  position: relative;
  padding: 22px 22px 22px 58px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.checklist-card::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(246, 198, 91, 0.18);
  color: var(--accent);
  font-weight: 800;
  border: 1px solid rgba(246, 198, 91, 0.45);
}

.checklist-title {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.18;
  text-align: center;
  color: var(--text);
  font-weight: 700;
}

.checklist-card p:last-child {
  margin: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.info-card p {
  margin-bottom: 0;
}

.author-box {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 22px;
}

.author-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  flex: 0 0 160px;
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-name {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.18;
  text-align: left;
  color: var(--text);
  font-weight: 700;
}

.author-content p:last-child {
  margin-bottom: 0;
}

.faq-container {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.toggle {
  display: none;
}

.faq-question {
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}

.icon {
  color: var(--accent);
  margin-right: 8px;
}

.faq-answer p {
  margin-bottom: 0;
}

footer {
  background-color: #121212;
  color: #8e8e8e;
  padding: 25px 15px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  border-top: 1px solid #222;
  margin-top: 36px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-brand,
.responsible-note,
.footer-note {
  margin: 0 0 12px;
}

.responsible-note p {
  font-weight: 700;
  margin: 0 0 10px;
  font-size: 13px;
  color: #aaa;
}

.footer-brand p {
  margin: 0 0 15px;
  font-size: 11px;
  color: #8e8e8e;
}

.footer-links {
  margin-bottom: 15px;
  font-weight: 500;
  color: #aaa;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  margin: 0 8px;
}

.footer-note p {
  margin: 0;
  font-size: 11px;
  color: #777;
}

@media (max-width: 980px) {
  .casino-showcase,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1,
  h2,
  h3 {
    text-align: center;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
  }

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

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

  .section {
    padding: 26px 16px;
  }

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

  .casino-showcase,
  .info-grid,
  .checklist-grid,
  .author-box,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .casino-name,
  .checklist-title {
    text-align: center;
  }

  .author-name {
    text-align: left;
  }

  .author-photo {
    margin: 0 auto;
  }

  .steps-list li {
    padding: 72px 18px 18px;
    text-align: center;
  }

  .steps-list li::before {
    left: 50%;
    transform: translateX(-50%);
  }

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

  table {
    width: 100%;
  }

  td {
    padding: 14px;
  }

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

  .footer-links a {
    display: inline-block;
    margin: 4px 8px;
  }
}
