:root {
  --bg: #ffffff;
  --bg-header: #000000;
  --bg-footer: #0a0a0a;
  --bg-card: #f8f9fa;
  --bg-surf: #141414;
  --bg-surf2: #e9ecef;
  --accent: #e52521;
  --accent2: #ff3a35;
  --accent-red: #ff2a2a;
  --neon: #26d926;
  --success: #26d926;
  --text: #1a1a1a;
  --text-light: #ffffff;
  --text2: #6c757d;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent2); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header {
  background: var(--bg-header);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 20px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
  display: block;
}
.main-nav a:hover { background: rgba(255,255,255,.08); color: var(--text-light); }
.main-nav a.is-active {
  background: var(--accent);
  color: var(--text-light);
}

.play-btn {
  background: var(--accent);
  color: var(--text-light) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 4px 14px rgba(229,37,33,.35);
  transition: background .2s ease, transform .1s ease;
  white-space: nowrap;
}
.play-btn:hover { background: var(--accent2); color: var(--text-light) !important; transform: translateY(-1px); }

.burger {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text-light);
  cursor: pointer;
  padding: 8px;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 900px) {
  .burger { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-header);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 600px; }
  .main-nav ul { flex-direction: column; padding: 12px; gap: 4px; }
  .main-nav a { padding: 12px 16px; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d0505 100%);
  color: var(--text-light);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(229,37,33,.25), transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 720px;
  margin: 0 auto 24px;
}
.hero .play-btn { display: inline-block; padding: 14px 32px; font-size: 16px; }

/* SECTIONS */
main { padding: 0; }
section { padding: 48px 0; }
section:nth-child(even) { background: var(--bg-card); }

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin: 36px 0 16px; line-height: 1.3; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); font-weight: 600; margin: 24px 0 12px; line-height: 1.4; }

p { margin-bottom: 16px; }

.content { max-width: 900px; margin: 0 auto; }
.content ul, .content ol { margin: 16px 0 20px 24px; }
.content li { margin-bottom: 8px; }

.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 32px 0;
}
.content-with-image img { border-radius: 12px; box-shadow: var(--shadow); }
@media (max-width: 800px) { .content-with-image { grid-template-columns: 1fr; } }

.info-box {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 8px;
  margin: 24px 0;
}

/* TABLES */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}
.data-table th, .data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  background: var(--bg-surf);
  color: var(--text-light);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: var(--bg-surf2); }

/* CASINO TOP GRID */
.top-casinos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.casino-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.casino-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }

.casino-card.is-top { border: 2px solid var(--accent); }

.rank-badge {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--bg-surf2);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
}
.casino-card.is-top .rank-badge {
  background: var(--accent);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(229,37,33,.4);
}

.reko-badge {
  display: inline-block;
  background: var(--neon);
  color: #033b03;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.casino-logo {
  height: 60px;
  margin: 8px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.casino-logo img { max-height: 60px; width: auto; object-fit: contain; }

.stars {
  color: #ffb400;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.rating-num { color: var(--text2); font-size: 14px; margin-left: 6px; }

.casino-utp {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 16px;
  flex-grow: 1;
}
.casino-utp strong { color: var(--accent); font-size: 16px; display: block; margin-bottom: 4px; }

.casino-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-primary {
  background: var(--accent);
  color: var(--text-light) !important;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .5px;
  transition: background .2s ease;
}
.btn-primary:hover { background: var(--accent2); color: var(--text-light) !important; }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text) !important;
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  transition: background .2s ease, border-color .2s ease;
}
.btn-secondary:hover { background: var(--bg-surf2); border-color: var(--text2); color: var(--text) !important; }

@media (max-width: 900px) { .top-casinos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .top-casinos { grid-template-columns: 1fr; } }

/* REVIEWS SLIDER */
.reviews {
  background: var(--bg-card);
}
.reviews-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.reviews-track {
  display: flex;
  gap: 24px;
  overflow: hidden;
}
.review-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  flex: 0 0 calc(33.333% - 16px);
  border: 1px solid var(--border);
}
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.review-name { font-weight: 700; color: var(--text); }
.review-date { color: var(--text2); font-size: 13px; }
.review-stars { color: #ffb400; margin-bottom: 12px; font-size: 16px; letter-spacing: 2px; }
.review-text { color: var(--text); font-size: 15px; line-height: 1.6; }

.review-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.review-btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: background .2s ease, transform .1s ease;
  box-shadow: 0 4px 12px rgba(229,37,33,.3);
}
.review-btn:hover { background: var(--accent2); transform: scale(1.05); }
.review-btn:disabled { background: var(--text2); cursor: not-allowed; box-shadow: none; }

@media (max-width: 900px) { .review-card { flex: 0 0 calc(50% - 12px); } }
@media (max-width: 600px) { .review-card { flex: 0 0 100%; } }

/* AUTHOR BLOCK */
.author-block {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  margin: 60px auto 40px;
  max-width: 900px;
  border: 1px solid var(--border);
}
.author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.author-role { color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.author-bio { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.author-updated { font-size: 13px; color: var(--text2); }

@media (max-width: 600px) {
  .author-block { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .author-avatar { margin: 0 auto; }
}

/* FAQ */
.faq { max-width: 900px; margin: 40px auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: color .2s ease;
}
.faq-question:hover { color: var(--accent); }
.faq-question::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s ease;
  line-height: 1;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--text2);
  font-size: 15px;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 8px;
}

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #b81b17 100%);
  color: var(--text-light);
  text-align: center;
  padding: 60px 20px;
}
.cta-band h2 { color: var(--text-light); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.05rem; margin-bottom: 24px; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-band .play-btn {
  background: #fff;
  color: var(--accent) !important;
  padding: 14px 32px;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.cta-band .play-btn:hover { background: #fff; color: var(--accent) !important; transform: translateY(-2px); }

/* FOOTER */
.site-footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,.75);
  padding: 60px 0 20px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--text-light);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.75); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }

.footer-cta {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 20px;
}
.footer-cta .play-btn { display: inline-block; padding: 14px 32px; font-size: 15px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
}
.footer-badges {
  display: flex;
  align-items: center;
  gap: 20px;
}
.age-badge {
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
}
.responsible-links a { color: rgba(255,255,255,.75); margin-right: 12px; }
.copyright { color: rgba(255,255,255,.5); font-size: 13px; }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* GAME WIDGET (surf area) */
.game-surface {
  background: var(--bg-surf);
  color: var(--text-light);
  padding: 32px;
  border-radius: 16px;
  margin: 32px 0;
  text-align: center;
  border: 1px solid rgba(255,255,255,.06);
}
.game-surface h3 { color: var(--text-light); }
.game-surface .neon-text { color: var(--neon); font-weight: 700; font-size: 2rem; }

/* CASINO CTA BLOCK (on review pages) */
.casino-cta-block {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--bg-card);
  padding: 32px;
  border-radius: 16px;
  margin: 40px 0;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}
.casino-cta-block .cta-image {
  flex: 0 0 300px;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
}
.casino-cta-block .cta-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.casino-cta-block .cta-content {
  flex: 1;
}
.casino-cta-block .cta-content h2 { margin-top: 0; margin-bottom: 12px; }
.casino-cta-block .cta-content .stars { margin: 12px 0; font-size: 22px; }
.casino-cta-block .cta-content p { color: var(--text); font-size: 16px; margin-bottom: 20px; }
.casino-cta-block .cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.casino-cta-block .cta-buttons .btn-primary { padding: 14px 28px; font-size: 15px; }

@media (max-width: 800px) {
  .casino-cta-block { flex-direction: column; text-align: center; padding: 24px; gap: 24px; }
  .casino-cta-block .cta-image { flex: 0 0 auto; margin: 0 auto; }
  .casino-cta-block .cta-buttons { justify-content: center; }
}

/* CTA INLINE */
.inline-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--text-light) !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: .5px;
  margin: 8px 0;
  transition: background .2s ease;
}
.inline-cta:hover { background: var(--accent2); color: var(--text-light) !important; }

.legal-content h2 { margin-top: 32px; }
.legal-content p, .legal-content li { color: var(--text); font-size: 15px; }
.legal-content { max-width: 850px; margin: 0 auto; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 10px 0 10px 30px;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--success);
  font-weight: 700;
  font-size: 18px;
}
