:root {
  color-scheme: dark;
  --bg: #0b1220;
  --card: rgba(15, 23, 42, 0.8);
  --muted: #94a3b8;
  --text: #e2e8f0;
  --accent: #22d3ee;
  --accent-2: #a78bfa;
  --border: rgba(148, 163, 184, 0.2);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg) url("assets/casino-bg.svg") center/cover no-repeat fixed;
}

.page {
  min-height: 100vh;
  backdrop-filter: blur(0px);
}

.overlay {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.92), rgba(11, 18, 32, 0.86));
  min-height: 100vh;
}

.container {
  width: min(1040px, 92vw);
  margin: 0 auto;
  padding: 28px 0 72px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #0b1220;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.btn {
  border: 1px solid transparent;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #0b1220;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.hero {
  display: grid;
  gap: 24px;
  padding: 40px 0 28px;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-title {
  font-size: clamp(28px, 4.6vw, 44px);
  margin: 0 0 16px;
}

.hero-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.section {
  margin-top: 32px;
}

.section h2 {
  font-size: 24px;
  margin: 0 0 14px;
}

.section p {
  color: var(--muted);
  line-height: 1.6;
}

ul {
  margin: 12px 0 0 18px;
  padding: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.telegram-line {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.6);
}

.telegram-line a {
  color: var(--accent);
  text-decoration: none;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: rgba(15, 23, 42, 0.65);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.faq-question span {
  font-weight: 600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  max-height: 180px;
  margin-top: 10px;
}

footer {
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

@media (min-width: 820px) {
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
}
