:root {
  --bg-body: #050814;
  --bg-card: #111827;
  --bg-card-alt: #0b1020;

  --accent: #fbbf24;
  --accent-soft: rgba(251, 191, 36, 0.1);
  --accent-strong: #f59e0b;

  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2937;

  --btn-bg: #22c55e;
  --btn-bg-hover: #16a34a;
  --btn-text: #f9fafb;

  --tag-bg: #111827;
  --tag-border: #374151;

  --pay-bg: #0f172a;
  --pay-text: #e5e7eb;

  --footer-bg: #020617;
  --danger: #f97316;

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: radial-gradient(circle at top, #111827 0, #020617 60%, #000 100%);
  color: var(--text-main);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-tag {
  font-size: 12px;
  color: var(--text-muted);
}

.brand-name {
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
}

.top-badge {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.05);
  border: 1px solid rgba(248, 250, 252, 0.12);
  color: var(--text-muted);
}

.hero {
  padding: 34px 0 22px;
}

.hero h1 {
  font-size: 26px;
  margin: 0 0 12px;
  line-height: 1.2;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 10px;
}

.hero-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.hero-disclaimer {
  margin: 0;
  font-size: 12px;
  color: var(--danger);
}

.casino-list-section {
  padding: 8px 0 26px;
}

.casino-list-section h2 {
  font-size: 20px;
  margin: 0 0 16px;
}

.casino-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: stretch;
  background: linear-gradient(135deg, var(--bg-card) 0, var(--bg-card-alt) 100%);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(55, 65, 81, 0.8);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 16px;
  position: relative;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.casino-card:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.65);
}

.casino-rank {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.casino-card:nth-of-type(1) .casino-rank {
  color: #111827;
  border-color: rgba(251, 191, 36, 0.55);
  background: linear-gradient(135deg, #fbbf24 0%, #fde68a 55%, #f59e0b 110%);
  box-shadow: 0 10px 22px rgba(251, 191, 36, 0.28);
}

.casino-card:nth-of-type(2) .casino-rank {
  color: #111827;
  border-color: rgba(148, 163, 184, 0.65);
  background: linear-gradient(135deg, #e5e7eb 0%, #cbd5e1 55%, #94a3b8 110%);
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.22);
}

.casino-card:nth-of-type(3) .casino-rank {
  color: #111827;
  border-color: rgba(245, 158, 11, 0.55);
  background: linear-gradient(135deg, #f59e0b 0%, #fdba74 55%, #b45309 110%);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.22);
}

.casino-main {
  display: flex;
  gap: 16px;
}

.casino-logo {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
  padding: 0;
}

.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.casino-info {
  flex: 1;
  min-width: 0;
}

.casino-name {
  margin: 0 0 4px;
  font-size: 18px;
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.stars { color: var(--accent); }
.rating-text { color: var(--text-muted); }

.casino-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tag {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--tag-border);
  font-size: 12px;
  background: var(--tag-bg);
  color: var(--text-muted);
}

.casino-bonus {
  margin-bottom: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.95));
  border: 1px solid rgba(251, 191, 36, 0.16);
}

.bonus-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.bonus-main {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2px;
}

.bonus-wr {
  font-size: 12px;
  color: var(--text-muted);
}

.casino-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.pay {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--pay-bg);
  color: var(--pay-text);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.casino-cta {
  width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  text-align: right;
}

.casino-flag {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.7);
  color: #bbf7d0;
}

.casino-badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #bfdbfe;
}

.btn-primary {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  color: var(--btn-text);
  background: linear-gradient(135deg, var(--btn-bg) 0, #4ade80 100%);
  box-shadow: 0 12px 20px rgba(22, 163, 74, 0.5);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--btn-bg-hover) 0, #22c55e 100%);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(22, 163, 74, 0.7);
}

.cta-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 210px;
  margin: 0;
}

.info-section {
  padding: 18px 0 34px;
  border-top: 1px solid var(--border-subtle);
}

.content h2 {
  font-size: 18px;
  margin: 18px 0 10px;
}

.content h3 {
  font-size: 15px;
  margin: 14px 0 8px;
  color: var(--text-main);
}

.content p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.faq {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 41, 55, 0.75);
}

.faq h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.faq-item {
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(55, 65, 81, 0.65);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text-main);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-answer {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-subtle);
  padding: 16px 0 20px;
  font-size: 12px;
  color: var(--text-muted);
}

.site-footer p { margin: 4px 0; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .casino-card { grid-template-columns: auto 1fr; }

  .casino-cta {
    width: auto;
    align-items: flex-start;
    text-align: left;
    margin-top: 8px;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding-top: 10px;
  }

  .btn-primary { width: auto; }
  .cta-disclaimer { max-width: none; }
}

@media (max-width: 640px) {
  .top-bar .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }

  .brand { align-items: center; }

  .hero h1 { font-size: 22px; text-align: center; }
  .hero-tags { justify-content: center; }
  .hero-disclaimer { text-align: center; }

  .casino-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .casino-rank {
    position: absolute;
    top: 10px;
    right: 12px;
  }

  .casino-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .casino-logo {
    width: 78px;
    height: 78px;
    margin: 0 auto;
  }

  .casino-info { width: 100%; }

  .casino-name { font-size: 16px; text-align: center; }

  .casino-rating {
    justify-content: center;
    text-align: center;
  }

  .casino-tags {
    justify-content: center;
  }

  .casino-bonus {
    text-align: center;
  }

  .casino-payments {
    justify-content: center;
  }

  .casino-cta {
    width: 100%;
    align-items: center;
    text-align: center;
    margin-top: 10px;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding-top: 12px;
  }

  .casino-cta > * { align-self: center; }

  .btn-primary {
    width: 100%;
    max-width: 280px;
  }

  .cta-disclaimer {
    max-width: 320px;
    text-align: center;
  }

  .content h2, .content h3, .content p { text-align: left; }
  .faq h2 { text-align: left; }
}
