/* ===== BeonBet Casino — Global Styles ===== */
:root {
  --bg: #05101b;
  --bg-2: #0b1a2b;
  --bg-3: #10283f;
  --surface: #11263b;
  --surface-2: #173650;
  --border: rgba(61, 220, 145, 0.18);
  --text: #eaf3ff;
  --text-dim: #9fb3c8;
  --muted: #6f89a3;
  --primary: #3ddc91;
  --primary-dark: #1aa872;
  --primary-glow: rgba(61, 220, 145, 0.45);
  --accent: #16e8a6;
  --danger: #ff6565;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px -8px var(--primary-glow);
  --container-max: 1240px;
  --header-h: 78px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', sans-serif;
}

* {
  box-sizing: border-box;
}
html, body {
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1200px 600px at 85% -5%, rgba(61, 220, 145, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(22, 232, 166, 0.08), transparent 60%),
    linear-gradient(180deg, #05101b 0%, #020912 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #05101b; padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { left: 12px; top: 12px; z-index: 9999; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; line-height: 1; text-align: center;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #05101b;
  box-shadow: 0 10px 30px -10px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -8px var(--primary-glow); color: #05101b; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(61, 220, 145, 0.5);
}
.btn-outline:hover { background: rgba(61, 220, 145, 0.1); color: var(--primary); }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5, 16, 27, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
}
.logo { height: 36px; width: auto; }
.logo-link { flex-shrink: 0; }
.main-nav { flex: 1; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
}
.main-nav a {
  color: var(--text-dim);
  padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  transition: background .2s, color .2s;
}
.main-nav a:hover { color: var(--primary); background: rgba(61, 220, 145, 0.08); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-login { padding: 10px 18px; font-size: 14px; }
.header-cta { padding: 10px 20px; font-size: 14px; }
.burger {
  display: none;
  width: 44px; height: 44px; border: none; background: transparent; cursor: pointer;
  padding: 0; flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.burger span {
  display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  height: calc(100vh - var(--header-h));
  background: #05101b;
  padding: 24px; overflow-y: auto; z-index: 999;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block; padding: 14px 18px; border-radius: 10px; color: var(--text);
  font-size: 16px; font-weight: 500; border: 1px solid transparent;
}
.mobile-menu a:hover { background: rgba(61, 220, 145, 0.08); border-color: var(--border); }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* ========== Hero ========== */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 80px;
  background:
    radial-gradient(800px 400px at 20% 20%, rgba(61, 220, 145, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(11, 26, 43, 0.6), rgba(5, 16, 27, 0.9));
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('/images/background.png') center/cover no-repeat;
  opacity: 0.35; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(32px, 5vw, 54px); line-height: 1.1; margin: 0 0 18px;
  font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #a5f3d1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 18px; color: var(--text-dim); margin: 0 0 28px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 320px;
}
.hero-visual img { max-width: 100%; filter: drop-shadow(0 20px 40px rgba(61, 220, 145, 0.3)); }
.hero-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(61, 220, 145, 0.14); color: var(--primary); border: 1px solid var(--border);
  margin-bottom: 18px;
}

/* ========== Sections / Cards ========== */
.section { padding: 64px 0; }
.section-sm { padding: 44px 0; }
.section-title {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin: 0 0 14px;
  letter-spacing: -0.01em; line-height: 1.2;
}
.section-lead { font-size: 17px; color: var(--text-dim); margin: 0 0 32px; max-width: 720px; }
.prose { max-width: 900px; }
.prose h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 0 0 18px; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
.prose h2 {
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; margin: 40px 0 14px;
  color: var(--text); letter-spacing: -0.01em;
}
.prose h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; color: var(--text); }
.prose p { margin: 0 0 14px; color: var(--text-dim); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; color: var(--text-dim); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary); }
.prose .table-wrap { overflow-x: auto; margin: 18px 0; border-radius: var(--radius); border: 1px solid var(--border); }
.prose table {
  width: 100%; border-collapse: collapse; min-width: 400px;
  background: var(--surface);
}
.prose th, .prose td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border); color: var(--text);
}
.prose th { background: var(--surface-2); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--primary); }

/* Page content card wrapper */
.content-card {
  background: linear-gradient(180deg, rgba(17, 38, 59, 0.6), rgba(11, 26, 43, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
}
.content-card.prose { max-width: 100%; }

/* ========== Grid of feature cards ========== */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(61, 220, 145, 0.35); box-shadow: var(--shadow-glow); }
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--text); }
.card p { margin: 0 0 16px; color: var(--text-dim); font-size: 15px; }
.card .card-img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 14px; }

/* Hero / bonus cards with image hero */
.promo-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.promo-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a3a58 0%, #0d2238 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px; min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.promo-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px 200px at 110% -20%, rgba(61, 220, 145, 0.2), transparent 60%);
}
.promo-card .promo-img {
  position: absolute; right: -10px; bottom: -10px; width: 150px; height: 150px;
  object-fit: contain; opacity: 0.95; z-index: 1;
}
.promo-card > * { position: relative; z-index: 2; }
.promo-card h3 { margin: 0 0 8px; font-size: 20px; color: var(--text); }
.promo-card .promo-amount { font-size: 28px; font-weight: 800; color: var(--primary); margin: 6px 0; }
.promo-card p { margin: 0; color: var(--text-dim); font-size: 14px; max-width: 60%; }
.promo-card .btn { align-self: flex-start; margin-top: 18px; }

/* Games grid */
.games-strip {
  display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.game-tile {
  aspect-ratio: 3/4;
  border-radius: 12px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.game-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.game-tile img { width: 100%; height: 100%; object-fit: cover; }
.game-tile .tile-cta {
  position: absolute; inset: auto 10px 10px 10px;
  padding: 8px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #05101b; font-weight: 700; font-size: 13px; text-align: center;
  opacity: 0; transition: opacity .2s ease;
}
.game-tile:hover .tile-cta { opacity: 1; }

/* Image strip with link */
.image-strip { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: center; }
.image-strip img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; }

.side-by-side { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: center; }
.side-by-side img { border-radius: var(--radius-lg); border: 1px solid var(--border); }

/* Feature band */
.feature-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  background: linear-gradient(135deg, rgba(61, 220, 145, 0.08), rgba(22, 232, 166, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
}
.feature-band .feat { display: flex; gap: 12px; align-items: flex-start; }
.feature-band .feat .ico {
  width: 42px; height: 42px; border-radius: 10px; background: rgba(61, 220, 145, 0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--primary); font-size: 18px; font-weight: 800;
}
.feature-band .feat h4 { margin: 0 0 2px; font-size: 15px; color: var(--text); }
.feature-band .feat p { margin: 0; font-size: 13px; color: var(--text-dim); }

/* CTA block */
.cta-block {
  margin: 48px 0;
  border-radius: var(--radius-lg);
  padding: 44px;
  background:
    radial-gradient(400px 200px at 85% 20%, rgba(61, 220, 145, 0.25), transparent 60%),
    linear-gradient(135deg, #0e2a44 0%, #072036 100%);
  border: 1px solid var(--border);
  text-align: center;
}
.cta-block h2 { font-size: clamp(22px, 3vw, 32px); margin: 0 0 10px; }
.cta-block p { color: var(--text-dim); margin: 0 0 22px; font-size: 16px; }

/* ========== Footer ========== */
.site-footer {
  margin-top: 80px;
  background: linear-gradient(180deg, #041018 0%, #01060c 100%);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  margin-bottom: 40px;
}
.footer-col h3 { color: var(--primary); margin: 0 0 14px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--primary); }
.footer-logo { margin-bottom: 14px; }
.footer-tag { color: var(--text-dim); font-size: 14px; max-width: 420px; margin: 0 0 12px; }
.footer-age { font-size: 13px; color: var(--muted); }
.regulators { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.regulators-title { color: var(--text); margin: 0 0 20px; font-size: 16px; font-weight: 700; text-align: center; }
.regulators-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.regulator-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; background: rgba(255, 255, 255, 0.96); border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08); color: #0b1a2b; font-size: 12px; font-weight: 600; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 100px;
}
.regulator-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -12px rgba(0,0,0,0.4); color: #0b1a2b; }
.regulator-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  background: #000;
  padding: 10px 14px;
  border-radius: 8px;
  min-height: 56px; width: 100%;
}
.regulator-logo-wrap img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; }
.regulator-btn img {
  max-height: 44px; max-width: 100%; object-fit: contain; width: auto;
}
.footer-bottom {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border);
  text-align: center; color: var(--muted); font-size: 13px;
}
.footer-bottom p { margin: 4px 0; }

/* ========== FAQ ========== */
.faq-wrap { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 16px; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; color: var(--primary); transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--text-dim); font-size: 15px; line-height: 1.7; }

/* ========== Breadcrumbs ========== */
.breadcrumb { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { margin: 0 6px; color: var(--muted); }

/* ========== Page Hero (small) ========== */
.page-hero {
  padding: 56px 0 32px;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(61, 220, 145, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(11, 26, 43, 0.6), rgba(5, 16, 27, 0.9));
  border-bottom: 1px solid var(--border);
}

/* ========== Utility ========== */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .main-nav ul { gap: 2px; }
  .main-nav a { font-size: 13px; padding: 6px 10px; }
  .header-login { display: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { min-height: 220px; order: -1; }
  .hero-visual img { max-height: 280px; }
  .side-by-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-card { padding: 28px 20px; }
}
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-cta { padding: 9px 16px; font-size: 13px; }
  .hero { padding: 40px 0 52px; }
  .section { padding: 44px 0; }
  .cta-block { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .promo-card .promo-img { width: 110px; height: 110px; }
  .promo-card p { max-width: 100%; }
}
@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .header-cta { padding: 8px 14px; }
  .header-actions { gap: 6px; }
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 36px 0; }
  .cta-block { padding: 24px 16px; margin: 32px 0; }
  .content-card { padding: 20px 14px; border-radius: var(--radius); }
  .footer-grid { grid-template-columns: 1fr; }
  .regulators-grid { grid-template-columns: repeat(2, 1fr); }
  .regulator-btn { min-height: 90px; padding: 10px; font-size: 11px; }
  .logo { height: 28px; }
  .games-strip { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .promo-card { min-height: auto; padding: 20px; }
  .promo-card .promo-img { width: 90px; height: 90px; position: relative; right: auto; bottom: auto; margin-top: 8px; opacity: 0.9; }
  .prose table { font-size: 13px; }
  .prose th, .prose td { padding: 8px 10px; }
}
@media (max-width: 380px) {
  .games-strip { grid-template-columns: repeat(2, 1fr); }
}
