:root {
  --bg: #120d1f;
  --bg-soft: #1b1430;
  --card: #231942;
  --card-2: #2c224f;
  --text: #f7f2ff;
  --muted: #cabfe4;
  --line: rgba(255,255,255,.09);
  --accent: #ff5ea8;
  --accent-2: #7d7bff;
  --gold: #ffcf66;
  --shadow: 0 20px 60px rgba(9,5,19,.32);
}
html { scroll-behavior: smooth; }
body.site-body { background: radial-gradient(circle at top, #281a4f 0%, var(--bg) 42%, #0f0b18 100%); color: var(--text); font-family: Arial, sans-serif; }
body.site-body .u-sheet { width: min(1140px, calc(100% - 32px)); }
a { color: #f7d9ff; }
a:hover { color: #fff; }
.u-grey-5 { background: rgba(255,255,255,.05); border: 1px solid var(--line); box-shadow: var(--shadow); }
.u-black { background: linear-gradient(135deg, var(--accent), #ff7e7e) !important; color: white !important; }

.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: rgba(18,13,31,.78); border-bottom: 1px solid var(--line); }
.header-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-mark { font-size: 1.35rem; font-weight: 700; letter-spacing: .04em; color: white; }
.top-nav { display: flex; gap: 22px; align-items: center; }
.top-nav a { color: var(--muted); font-weight: 600; }
.top-nav a:hover { color: white; }
.nav-toggle { display: none; background: transparent; color: white; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }

.hero-section::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0, rgba(8,6,16,.28) 54%, rgba(8,6,16,.6) 100%); }
.hero-section .u-group-1 { background: rgba(20,12,38,.32); border: 1px solid rgba(255,255,255,.10); border-radius: 30px; backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.eyebrow { display: inline-block; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-btn { background: linear-gradient(135deg, var(--accent), #ff8a5b); color: white; border-radius: 999px; padding: 14px 26px; font-weight: 700; }
.hero-btn-alt { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); }

.responsible-strip { background: linear-gradient(90deg, #23324a, #2c3b59); padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.responsible-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.responsible-grid div { background: rgba(255,255,255,.06); border-radius: 18px; padding: 18px 20px; }
.responsible-grid strong { display: block; color: white; }
.responsible-grid span { color: #d7d0ea; font-size: .96rem; }

.u-container-layout-1, .u-container-layout-2, .u-container-layout-3, .u-container-layout-4, .u-container-layout-5 { padding: 34px; }
.u-text { color: var(--text); }
.u-text-2, .u-text-3, .u-text-4, .u-text-7, .u-text-10, .contact-copy, .legal-page p { color: var(--muted); line-height: 1.7; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.section-heading h2 { font-size: 2.7rem; margin: 8px 0 10px; }
.section-heading p { color: var(--muted); }
.section-heading-light h2, .section-heading-light p { color: white; }

.mini-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 72px; width: 100%; border-radius: 18px; color: white; font-weight: 700; background: linear-gradient(135deg, rgba(255,94,168,.2), rgba(125,123,255,.2)); border: 1px solid rgba(255,255,255,.1); }
.logos-repeater .u-container-layout-1,.logos-repeater .u-container-layout-2,.logos-repeater .u-container-layout-3,.logos-repeater .u-container-layout-4,.logos-repeater .u-container-layout-5 { padding: 0; }

.games-showcase { padding: 88px 0; }
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.game-card { background: rgba(255,255,255,.05); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.game-card img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.game-card div { padding: 20px; }
.game-card h3 { margin: 0 0 8px; }
.game-card p { margin: 0 0 16px; color: var(--muted); min-height: 72px; }
.game-card button { border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: white; font-weight: 700; }

.testimonials-home { padding: 88px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.stars { color: var(--gold); font-size: 1.15rem; margin-bottom: 10px; letter-spacing: .15em; }
.testimonial-card h3 { margin: 0 0 10px; color: white; }
.testimonial-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.insight-section { padding: 88px 0; }
.insight-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.insight-grid article { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.insight-grid h3 { margin-top: 0; }
.insight-grid p { margin-bottom: 0; color: var(--muted); }

.gallery-grid img { display:block; width:100%; aspect-ratio:1/1; object-fit:cover; }
.gallery-grid .u-gallery-item { overflow:hidden; }
.gallery-grid .u-gallery-item:hover img { transform: scale(1.04); transition: transform .35s ease; }

.faq-list { display: grid; gap: 14px; }
.faq-list details { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.faq-list summary { cursor: pointer; font-weight: 700; color: white; }
.faq-list p { color: var(--muted); margin: 14px 0 0; }

.quote-section .u-sheet-1 { display: flex; min-height: 380px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.quote-section .u-text-1 { max-width: 760px; font-size: 1.5rem; line-height: 1.8; color: #f8efff; }
.quote-section .u-text-2 { margin: 30px 0 8px; letter-spacing: .08em; text-transform: uppercase; }
.quote-section .u-text-3 { color: var(--gold); font-style: italic; }

.stats-section { padding: 88px 0; }
.stats-section .u-list-item { border-radius: 22px; }
.stats-section .u-text-1, .stats-section .u-text-4, .stats-section .u-text-7 { font-size: 3rem; color: white; margin: 0; }
.stats-section .u-text-2, .stats-section .u-text-5, .stats-section .u-text-8 { margin: 10px 0 8px; }
.stats-section .u-text-3, .stats-section .u-text-6, .stats-section .u-text-9 { color: var(--muted); margin: 0; }

.contact-section .u-group-1 { background: rgba(18,13,31,.82); border-radius: 28px; border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow); }
.contact-data { display: grid; gap: 8px; margin: 24px 0 26px; color: var(--muted); }
.contact-form .u-form-group { margin-bottom: 12px; }
.contact-form label { display: block; margin-bottom: 7px; color: #fff; }
.contact-form .u-input { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: white; padding: 14px 16px; }
.contact-form .u-btn-1 { width: 100%; border-radius: 999px; padding: 14px 18px; color: white; background: linear-gradient(135deg, var(--accent), #ff8a5b); }

.site-footer { padding: 34px 0 120px; background: rgba(8,6,16,.65); border-top: 1px solid var(--line); }
.footer-grid { display:grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding: 10px 0 22px; }
.footer-grid p, .footer-bottom p { color: var(--muted); }
.footer-links { display:flex; flex-wrap:wrap; gap:14px 18px; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:18px; border-top:1px solid var(--line); padding-top:18px; }

.legal-page { padding: 72px 0 84px; }
.legal-page h1 { font-size: 3rem; margin: 8px 0 18px; }
.legal-page h2 { margin-top: 30px; }
.reviews-page .standalone-grid { margin-top: 26px; }

.age-overlay { display:none; position:fixed; inset:0; background:rgba(2,1,8,.88); z-index:1000; }
.age-overlay.active { display:block; }
.age-popup { display:none; position:fixed; z-index:1001; left:50%; top:50%; transform:translate(-50%,-50%); width:min(92vw, 460px); background:linear-gradient(180deg, #24183f, #140f26); border:1px solid rgba(255,255,255,.12); color:white; border-radius:24px; padding:28px; text-align:center; box-shadow: var(--shadow); }
.age-popup.active { display:block; }
.age-badge { display:inline-flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:50%; background:linear-gradient(135deg, var(--accent), #ff8a5b); font-weight:700; margin-bottom:14px; }
.age-popup p { color: var(--muted); }
.age-actions { display:flex; justify-content:center; gap:12px; margin-top:18px; }
.age-actions button { border:0; border-radius:999px; padding:12px 22px; cursor:pointer; font-weight:700; }
#yesButton { background: linear-gradient(135deg, var(--accent), #ff8a5b); color:#fff; }
#noButton { background: rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.12); }

.cookie-banner { display:none; position:fixed; left:0; right:0; bottom:0; z-index:999; padding:14px; }
.cookie-banner.show { display:block; }
.cookie-inner { max-width: 920px; margin:0 auto; background: rgba(20,12,38,.96); border:1px solid rgba(255,255,255,.12); border-radius: 22px; box-shadow: var(--shadow); padding:18px 20px; display:grid; grid-template-columns: 1fr auto; gap:16px; }
.cookie-copy p { margin:6px 0 0; color:var(--muted); }
.cookie-actions { display:flex; gap:10px; align-items:center; }
.cookie-btn { border:0; border-radius:999px; padding:12px 18px; cursor:pointer; font-weight:700; }
.cookie-primary { background: linear-gradient(135deg, var(--accent), #ff8a5b); color:white; }
.cookie-secondary { background: rgba(255,255,255,.08); color:white; border:1px solid rgba(255,255,255,.12); }

@media (max-width: 991px) {
  .top-nav { position: absolute; top: 78px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: flex-start; padding: 18px; background: rgba(18,13,31,.96); border: 1px solid var(--line); border-radius: 18px; }
  .top-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .responsible-grid, .games-grid, .testimonial-grid, .insight-grid, .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 767px) {
  .section-heading h2, .legal-page h1 { font-size: 2.2rem; }
  .responsible-grid, .games-grid, .testimonial-grid, .insight-grid, .footer-grid, .footer-bottom { grid-template-columns: 1fr; display:grid; }
  .cookie-inner { grid-template-columns: 1fr; }
  .cookie-actions { flex-wrap: wrap; }
  .cookie-actions .cookie-btn { flex: 1 1 100%; }
}


/* --- layout & mobile navigation fixes --- */
.site-body > section,
.site-body > .responsible-strip {
  scroll-margin-top: 96px;
}

.u-section-2,
.u-section-3,
.u-section-4,
.games-showcase,
.u-section-5,
.testimonials-home,
.insight-section,
.u-section-8,
.u-section-9,
.quote-section,
.stats-section,
.contact-section,
.legal-page {
  margin-top: 24px;
}

.u-section-4,
.u-section-8,
.quote-section {
  overflow: hidden;
}

@media (max-width: 991px) {
  .site-header { overflow: visible; }
  .header-shell { position: relative; }
  .nav-toggle {
    position: relative;
    z-index: 70;
    min-width: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .top-nav {
    top: calc(100% + 10px);
    z-index: 60;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .34);
  }
  .top-nav a {
    width: 100%;
    padding: 10px 0;
  }
}

@media (max-width: 767px) {
  .u-section-2,
  .u-section-3,
  .u-section-4,
  .games-showcase,
  .u-section-5,
  .testimonials-home,
  .insight-section,
  .u-section-8,
  .u-section-9,
  .quote-section,
  .stats-section,
  .contact-section,
  .legal-page {
    margin-top: 18px;
  }
}
