:root {
  --bg: #efe7d8;
  --paper: #fffaf0;
  --text: #172033;
  --muted: #5f6b7c;
  --dark: #202938;
  --dark-2: #172033;
  --blue: #4d7feb;
  --yellow: #ffd400;
  --border: #e0d3bd;
  --radius: 18px;
  --shadow: 0 14px 32px rgba(60, 48, 28, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

.age-strip {
  background: var(--dark-2);
  color: #fff;
  text-align: center;
  padding: 9px 14px;
  font-size: 14px;
}

.age-strip strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 26px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px;
  background: rgba(239, 231, 216, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--dark);
  color: var(--yellow);
  font-weight: 900;
  border: 2px solid var(--yellow);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: -3px;
}

.main-nav {
  display: flex;
  gap: 22px;
  font-weight: 800;
  color: #374258;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  border-radius: 6px;
  background: var(--text);
}

.hero,
.section,
.responsible-box,
.site-footer {
  max-width: 1180px;
  margin: 24px auto;
  padding-left: 22px;
  padding-right: 22px;
}

.hero {
  padding-top: 52px;
  padding-bottom: 46px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #a17600;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}

h1,
h2 {
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 {
  max-width: 960px;
  font-size: clamp(34px, 5vw, 60px);
}

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

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

.hero p {
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 900;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(77, 127, 235, 0.25);
}

.btn-secondary {
  background: var(--dark);
  color: #fff;
}

.section {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding-top: 34px;
  padding-bottom: 34px;
  box-shadow: var(--shadow);
}

.content-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

.iframe-shell {
  margin-top: 22px;
  background: var(--dark);
  border: 3px solid var(--yellow);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(32, 41, 56, .22);
}

.iframe-shell iframe {
  display: block;
  width: 100%;
  min-height: 165px;
  border: 0;
  border-radius: 14px;
  background: var(--dark);
}

.author-section {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 26px;
  align-items: center;
}

.author-photo {
  width: 170px;
  height: 170px;
  border-radius: 28px;
  background: #edf2fb;
  border: 4px solid var(--yellow);
}

.role {
  font-weight: 900;
  color: var(--blue);
}

.responsible-box {
  background: #fff4bf;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  padding-top: 28px;
  padding-bottom: 28px;
}

.responsible-box p {
  margin-bottom: 0;
  color: #514718;
}

.site-footer {
  padding-top: 20px;
  padding-bottom: 44px;
}

.site-footer p {
  margin-top: 8px;
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    inset: 78px 14px auto 14px;
    display: none;
    flex-direction: column;
    padding: 18px;
    border-radius: 18px;
    background: var(--paper);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }

  .nav-toggle { display: block; }

  .author-section {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero,
  .section,
  .responsible-box,
  .site-footer {
    margin-left: 12px;
    margin-right: 12px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand strong {
    font-size: 15px;
  }
}

.site-footer {
  background: #0f1724;
  color: #ffffff;
  padding: 40px 22px;
  margin-top: 40px;
  border-top: 2px solid #ffd400;
}

.site-footer strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.site-footer p {
  color: #c7d0df;
  margin: 0;
  max-width: 700px;
  line-height: 1.7;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffd400;
}

.footer-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  color: #aeb8c8;
  font-size: 14px;
}

.site-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  flex-shrink: 0;
}

.casino-table-section {
  margin-top: 50px;
}

.casino-table-wrap {
  border-radius: 18px;
  border: 1px solid #d9ccb7;
  background: #fffaf0;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  overflow: hidden;
}

.casino-table {
  width: 100%;
  border-collapse: collapse;
}

.casino-table thead {
  background: #202938;
}

.casino-table th {
  color: #ffffff;
  text-align: left;
  padding: 18px;
  font-size: 15px;
}

.casino-table td {
  padding: 18px;
  border-bottom: 1px solid #ece2d2;
  color: #445066;
}

.casino-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: #172033;
}

.casino-name img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
}

.rating {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ffd400;
  color: #172033;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: #4d7feb;
  color: #ffffff;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.play-btn:hover {
  background: #3769d9;
}

/* Mobile/tablet */
@media (max-width: 768px) {
  .casino-table-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .casino-table,
  .casino-table thead,
  .casino-table tbody,
  .casino-table th,
  .casino-table td,
  .casino-table tr {
    display: block;
    width: 100%;
  }

  .casino-table thead {
    display: none;
  }

  .casino-table tr {
    margin-bottom: 16px;
    padding: 16px;
    background: #fffaf0;
    border: 1px solid #d9ccb7;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }

  .casino-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #ece2d2;
  }

  .casino-table td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .casino-table td::before {
    content: attr(data-label);
    font-weight: 900;
    color: #172033;
    flex: 0 0 110px;
  }

  .casino-name {
    justify-content: flex-end;
    text-align: right;
  }

  .play-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .casino-table tr {
    padding: 14px;
  }

  .casino-table td {
    flex-direction: column;
    gap: 6px;
  }

  .casino-table td::before {
    flex: none;
  }

  .casino-name {
    justify-content: flex-start;
    text-align: left;
  }
}

/* FAQ */
.faq-section {
  margin-top: 50px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid #d9ccb7;
  border-radius: 18px;
  background: #fffaf0;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  cursor: pointer;

  font-size: 18px;
  font-weight: 800;
  color: #172033;
  text-align: left;
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  background: #202938;
  color: #ffd400;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  font-weight: 900;

  transition: 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;

  transition:
    max-height 0.3s ease,
    padding 0.3s ease;

  padding: 0 24px;
}

.faq-answer p {
  margin: 0;
  color: #5f6b7c;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 24px;
}

.faq-item.active .faq-icon {
  background: #ffd400;
  color: #172033;
  transform: rotate(45deg);
}

/* Tablet */
@media (max-width: 768px) {
  .faq-question {
    padding: 18px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .faq-item.active .faq-answer {
    padding: 0 18px 18px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .faq-question {
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
  }

  .faq-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 20px;
  }

  .faq-answer p {
    font-size: 14px;
    line-height: 1.7;
  }
}

.article-image {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.article-image img {
  max-width: 100%;
  width: 800px;
  border-radius: 18px;
  display: block;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}