/* ============ LuckyBear Casino — основной стиль ============ */
:root {
  --bg: #0a0e1c;
  --bg-2: #0e1428;
  --card: #131a30;
  --card-2: #18213c;
  --border: rgba(45, 156, 255, 0.12);
  --text: #ffffff;
  --text-dim: #a8b2c8;
  --text-muted: #7a8499;
  --accent: #2d9cff;        /* фирменный синий из лого */
  --accent-2: #8aff50;      /* зелёный из глаз медведя */
  --accent-3: #ffd166;
  --danger: #ff4d6d;
  --header-bg: rgba(10, 14, 28, 0.78);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(45, 156, 255, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1240px;
  --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(45, 156, 255, 0.10), transparent 60%),
    radial-gradient(1000px 500px at 90% 0%, rgba(138, 255, 80, 0.06), transparent 60%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ============ Хедер ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
}
.logo-mark {
  width: 40px; height: 40px;
  display: block; border-radius: 10px;
  box-shadow: 0 6px 18px rgba(45, 156, 255, 0.35);
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--text-dim); border-radius: 8px; transition: all var(--t);
}
.nav a:hover, .nav a.active { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4ab2ff);
  color: #fff; box-shadow: var(--shadow-glow);
  border-color: rgba(255,255,255,0.1);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 0 40px rgba(45, 156, 255, 0.55); }
.btn-secondary { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.burger { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; padding: 6px; }

/* ============ Hero ============ */
.hero { padding: 70px 0 60px; position: relative; overflow: hidden; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(200, 255, 0, 0.1); color: var(--accent);
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(200, 255, 0, 0.25);
}
.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(34px, 5vw, 60px); line-height: 1.05; font-weight: 800;
  letter-spacing: -0.025em;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(16px, 1.6vw, 19px); color: var(--text-dim);
  max-width: 720px; margin: 0 0 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 50px; padding: 24px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-value {
  font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--accent);
  line-height: 1.1;
}
.stat-label { color: var(--text-muted); font-size: 13px; margin-top: 4px; }

/* ============ Секции ============ */
section { padding: 60px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 10px; font-weight: 800;
  letter-spacing: -0.02em;
}
.section-head p { color: var(--text-dim); font-size: 16px; margin: 0; }

/* Карточки игр */
.games-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.game-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 16px; text-align: center;
  transition: all var(--t); cursor: pointer; display: block;
}
.game-card:hover {
  transform: translateY(-4px); border-color: rgba(200, 255, 0, 0.4);
  box-shadow: var(--shadow);
}
.game-emoji { font-size: 44px; margin-bottom: 12px; }
.game-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--text); }
.game-provider { font-size: 12px; color: var(--text-muted); }

/* Преимущества */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.feature-card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: all var(--t);
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(64, 224, 208, 0.35); }
.feature-icon { font-size: 38px; margin-bottom: 14px; }
.feature-card h3 { font-size: 20px; margin: 0 0 10px; font-weight: 700; }
.feature-card p { color: var(--text-dim); margin: 0; font-size: 15px; }

/* Бонус-баннер */
.bonus-banner {
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.12), rgba(64, 224, 208, 0.12));
  border: 1px solid rgba(200, 255, 0, 0.3);
  border-radius: var(--radius-lg); padding: 50px 30px; text-align: center;
  position: relative; overflow: hidden;
}
.bonus-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 50% 0%, rgba(200, 255, 0, 0.18), transparent);
  pointer-events: none;
}
.bonus-banner h2 { font-size: clamp(26px, 3.6vw, 42px); margin: 0 0 14px; }
.bonus-banner p { font-size: 17px; color: var(--text-dim); margin: 0 0 26px; max-width: 600px; margin-inline: auto; }

/* Провайдеры */
.providers-grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.provider-tag {
  padding: 10px 18px; background: var(--card); border: 1px solid var(--border);
  border-radius: 999px; font-size: 14px; color: var(--text-dim); font-weight: 500;
  transition: all var(--t);
}
.provider-tag:hover { color: var(--accent); border-color: rgba(200, 255, 0, 0.4); }

/* SEO-текст */
.seo-text { max-width: 920px; margin: 0 auto; }
.seo-text h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 24px; text-align: center; }
.seo-text h3 { font-size: 22px; margin: 28px 0 12px; color: var(--accent-2); font-weight: 700; }
.seo-text p { color: var(--text-dim); margin: 0 0 14px; }
.seo-text ul { color: var(--text-dim); padding-left: 22px; margin: 0 0 14px; }
.seo-text ul li { margin-bottom: 6px; }
.seo-text a { color: var(--accent); border-bottom: 1px dashed rgba(200, 255, 0, 0.4); }
.seo-text strong { color: var(--text); }

/* FAQ */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
  transition: all var(--t);
}
.faq-item.open { border-color: rgba(200, 255, 0, 0.35); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 16px;
  user-select: none;
}
.faq-q::after {
  content: '+'; font-size: 26px; color: var(--accent); font-weight: 300;
  transition: transform var(--t); flex: 0 0 auto; margin-left: 16px;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; padding: 0 24px;
  color: var(--text-dim); transition: max-height var(--t), padding var(--t);
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 24px 22px; }

/* Сетка разделов */
.sitemap-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px;
}
.sitemap-grid a {
  padding: 14px 18px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--text-dim);
  transition: all var(--t);
}
.sitemap-grid a:hover { color: var(--accent); border-color: rgba(200, 255, 0, 0.35); transform: translateX(3px); }

/* Footer */
.site-footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 50px 0 24px; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px; margin-bottom: 36px;
}
.footer-col h4 {
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-providers {
  padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  color: var(--text-muted); font-size: 13px; line-height: 1.8; text-align: center;
}
.footer-bottom {
  padding-top: 20px; text-align: center; color: var(--text-muted);
  font-size: 13px; line-height: 1.7;
}

/* Toast */
.winner-toast {
  position: fixed; left: 20px; bottom: 90px; z-index: 90;
  background: linear-gradient(135deg, var(--card), var(--card-2));
  border: 1px solid rgba(200, 255, 0, 0.3); border-radius: var(--radius);
  padding: 14px 18px; max-width: 320px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  transform: translateX(-120%); transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.winner-toast.show { transform: translateX(0); }
.winner-toast .emoji { font-size: 28px; }
.winner-toast .text { font-size: 13px; line-height: 1.4; color: var(--text-dim); }
.winner-toast .text strong { color: var(--accent); }

/* Floating CTA */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #4ab2ff);
  display: grid; place-items: center; font-size: 26px; color: #fff;
  box-shadow: var(--shadow-glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Хлебные крошки */
.breadcrumbs {
  padding: 16px 0; font-size: 13px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs span { margin: 0 8px; color: var(--text-muted); }

/* Адаптив */
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
         flex-direction: column; align-items: stretch; gap: 0;
         background: var(--bg-2); border-top: 1px solid var(--border);
         padding: 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; }
  .burger { display: block; }
  .hero { padding: 50px 0 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 18px; }
  section { padding: 44px 0; }
  .bonus-banner { padding: 36px 18px; }
  .winner-toast { left: 12px; right: 12px; max-width: none; bottom: 84px; }
  .float-cta { width: 54px; height: 54px; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
