/* ============================================================
   Crown Coins Casino — стиль сайту
   Всі кольори змінні нижче: міняйте тут — зміниться весь сайт
   ============================================================ */

:root {
  /* Фон */
  --purple-950: #1B0536;
  --purple-900: #240A4D;
  --purple-800: #2E1059;
  --purple-700: #3A1670;

  /* Акценти */
  --purple: #7B2FBE;
  --purple-hover: #6822A8;
  --green: #00C853;
  --green-hover: #00A344;
  --gold: #FFC93C;
  --gold-deep: #F5A623;
  --red: #7A1B14;

  /* Текст */
  --text: #FFFFFF;
  --muted: #C9B6E9;
  --line: rgba(255, 255, 255, 0.10);

  /* Інше */
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1180px;
  --font: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--purple-900);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 5, 54, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
}

.logo img { width: 42px; height: 42px; }

.logo-name {
  font-weight: 800;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: 0.4px;
}

.logo-name span { color: var(--gold); }

.logo-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  font-family: var(--font);
}

.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-green { background: var(--green); color: #063D1E; }
.btn-green:hover { background: var(--green-hover); color: #FFFFFF; }

.btn-purple { background: var(--purple); color: #FFFFFF; }
.btn-purple:hover { background: var(--purple-hover); }

.btn-gold {
  background: linear-gradient(135deg, #FFD86B, var(--gold-deep));
  color: #4A2500;
}

.btn-big { padding: 16px 40px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 34px 0 26px; }

.hero-card {
  position: relative;
  border-radius: 22px;
  padding: 46px 46px 40px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 201, 60, 0.25), transparent 45%),
    linear-gradient(135deg, var(--red) 0%, #A6341F 55%, var(--gold-deep) 100%);
  border: 2px solid rgba(255, 201, 60, 0.75);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFE9B8;
  margin-bottom: 22px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-note { font-size: 13px; color: #FFE9B8; margin-top: 14px; }

.hero-art { display: flex; justify-content: center; }

/* ---------- Смуга переваг ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px auto 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--purple-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.feature img { width: 40px; height: 40px; flex: none; }

.feature b { display: block; font-size: 14.5px; }

.feature span { font-size: 12.5px; color: var(--muted); }

/* ---------- Секції ---------- */
.section { padding: 46px 0; }

.section-alt { background: var(--purple-950); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.section h3 { font-size: 20px; font-weight: 800; margin: 26px 0 10px; color: var(--gold); }

.section h4 { font-size: 17px; font-weight: 700; margin: 20px 0 8px; }

.section p { margin-bottom: 14px; color: #EDE4F7; }

.section .lead { font-size: 18px; color: var(--muted); }

.gold-line {
  width: 74px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  margin: 0 0 22px;
}

/* ---------- Списки ---------- */
.list-check { list-style: none; margin: 12px 0 18px; }

.list-check li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
  color: #EDE4F7;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #063D1E;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  line-height: 24px;
}

.list-star { list-style: none; margin: 12px 0 18px; }

.list-star li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #EDE4F7;
}

.list-star li::before {
  content: "★";
  position: absolute;
  left: 2px;
  color: var(--gold);
  font-size: 16px;
}

/* ---------- Таблиці ---------- */
.table-wrap { overflow-x: auto; margin: 18px 0 8px; border-radius: var(--radius-sm); border: 1px solid var(--line); }

.table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--purple-800); }

.table th {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #4A2500;
  text-align: left;
  padding: 13px 16px;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.table td { padding: 13px 16px; border-top: 1px solid var(--line); color: #EDE4F7; }

.table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.03); }

.table .hl { color: var(--gold); font-weight: 700; }

/* ---------- Ігри ---------- */
.games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.game {
  background: var(--purple-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.game:hover { transform: translateY(-4px); border-color: var(--gold); }

.game img { width: 100%; height: auto; }

.game-body { padding: 12px 14px 14px; }

.game-body b { display: block; font-size: 15px; }

.game-body span { font-size: 12.5px; color: var(--muted); }

.game-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #063D1E;
  background: var(--green);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }

.faq-item h3 { margin: 0 0 8px; font-size: 17.5px; }

.faq-item p { margin: 0; }

/* ---------- CTA-блок ---------- */
.cta-box {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 201, 60, 0.18), transparent 55%),
    var(--purple-800);
  border: 1px solid rgba(255, 201, 60, 0.45);
  border-radius: 22px;
  padding: 44px 30px;
}

.cta-box h2 { margin-bottom: 10px; }

.cta-box p { max-width: 640px; margin: 0 auto 24px; }

/* ---------- Підвал ---------- */
.footer {
  background: var(--purple-950);
  border-top: 1px solid var(--line);
  padding: 40px 0 30px;
  margin-top: 46px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 26px;
}

.footer h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 12px; }

.footer ul { list-style: none; }

.footer li { margin-bottom: 8px; }

.footer a { color: var(--muted); font-size: 14.5px; }

.footer a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.age-badge {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 800;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  font-size: 14px;
}

/* ---------- Адаптивність ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .games { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; }
  .games { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
  .header-actions { width: 100%; justify-content: flex-start; }
  .hero-card { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
