/* =============================================================
   Digital World Enterprises Inc. — Corporate Site
   Design system / global stylesheet
   Aesthetic: modern dark-tech, trust-forward, corporate.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces (light theme) */
  --bg:            #ffffff;
  --bg-2:          #f4f7fb;
  --surface:       #ffffff;
  --surface-2:     #f5f8fc;
  --surface-3:     #eef3f9;
  --line:          rgba(15, 23, 42, 0.10);
  --line-strong:   rgba(15, 23, 42, 0.17);

  /* Text */
  --text:          #0f1729;
  --text-muted:    #41495f;
  --text-dim:      #586273;

  /* Brand (deepened for contrast on white) */
  --cyan:          #7c3aed;
  --blue:          #7c3aed;
  --indigo:        #6d28d9;
  --violet:        #7c3aed;
  --teal:          #0d9488;
  --green:         #059669;
  --amber:         #d97706;

  --brand-grad:    linear-gradient(120deg, #a855f7 0%, #7c3aed 50%, #6d28d9 100%);
  --brand-grad-soft: linear-gradient(120deg, rgba(139,92,246,0.12), rgba(109,40,217,0.10));

  /* Layout */
  --container:     1200px;
  --container-narrow: 860px;
  --radius:        14px;
  --radius-lg:     22px;
  --radius-sm:     10px;
  --shadow:        0 18px 45px -22px rgba(15, 23, 42, 0.22);
  --shadow-soft:   0 10px 28px -16px rgba(15, 23, 42, 0.14);

  /* Type */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 74px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Page-wide ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(8, 145, 178, 0.05), transparent 60%),
    radial-gradient(900px 700px at 100% 0%, rgba(124, 58, 237, 0.06), transparent 55%),
    radial-gradient(700px 600px at 50% 110%, rgba(37, 99, 235, 0.04), transparent 60%),
    var(--bg);
}
/* (background grid removed — clean, no decorative visuals) */

/* Page-wide WebGL aurora — fixed full-viewport layer behind all content.
   Sits above body::before (-2) and below content. Lighter sections let it
   glow through; dark bands cover it for contrast. */
.page-webgl {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity 1s ease;
}
.page-webgl.ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .page-webgl { display: none; } }

/* Per-section WebGL particle constellation (dark bands).
   Absolutely fills its section, glows behind the content, clipped to it. */
.section-particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.2s ease;
}
.section-particles.ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .section-particles { display: none; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.2rem; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 6.5vw, 3.7rem); }
h2 { font-size: clamp(1.45rem, 4.8vw, 2.7rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p  { color: var(--text-muted); }

.gradient-text {
  background: linear-gradient(120deg, #a855f7, #7c3aed 45%, #6d28d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: var(--container-narrow); }
.section { padding: clamp(40px, 5vw, 76px) 0; }
.section-sm { padding: clamp(28px, 3.5vw, 48px) 0; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.06);
  max-width: 100%;          /* never force the page wider than the viewport */
}
.eyebrow::before { flex-shrink: 0; }
/* let grid/flex copy columns shrink below their content's intrinsic width
   (prevents long non-wrapping children from causing horizontal overflow) */
.hero3d-grid > *, .page-hero-grid > *, .split > *, .copy-aside > * { min-width: 0; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.96rem;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 10px 28px -10px rgba(124, 58, 237, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(124, 58, 237, 0.75); }
.btn-ghost { background: rgba(15, 23, 42, 0.035); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(15, 23, 42, 0.07); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand .mark { width: 42px; height: 42px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(37,99,235,0.28)); }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.12; }
.brand-text .b1 { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-text .b2 { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  padding: 9px 13px; border-radius: 9px; transition: color .15s ease, background .15s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(15, 23, 42, 0.05); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s ease; opacity: .7; }
.has-dropdown:hover .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 270px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; gap: 11px; align-items: flex-start; padding: 10px 11px; border-radius: 9px; transition: background .15s ease; }
.dropdown a:hover { background: rgba(15, 23, 42, 0.05); }
.dropdown .di { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: var(--brand-grad-soft); color: var(--cyan); }
.dropdown .di svg { width: 17px; height: 17px; }
.dropdown a > span:last-child { display: flex; flex-direction: column; }
.dropdown .dt { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--text); margin-bottom: 2px; }
.dropdown .dd { display: block; font-size: 0.78rem; color: var(--text-dim); line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 9px; width: 42px; height: 42px; color: var(--text); }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(70px, 11vw, 130px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { margin-top: 20px; }
.hero .lead { margin-top: 20px; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust .t b { font-family: var(--font-head); font-size: 1.5rem; }
.hero-trust .t span { font-size: 0.82rem; color: var(--text-dim); }

.hero-visual { position: relative; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.96rem; }

.card-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(8,145,178,0.14), rgba(124,58,237,0.14)); color: var(--blue);
  border: 1px solid var(--line-strong); margin-bottom: 18px;
  box-shadow: 0 10px 24px -16px rgba(37,99,235,0.45), inset 0 1px 0 rgba(255,255,255,0.7);
}
.card-ico svg { width: 26px; height: 26px; }

.feature-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 11px; }
.feature-list li { position: relative; padding-left: 28px; color: var(--text-muted); font-size: 0.95rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: var(--brand-grad); border-radius: 5px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Split / alternating sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img, .feature-img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }

/* Stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { display: block; font-family: var(--font-head); line-height: 1.08; font-size: clamp(1.35rem, 3.4vw, 2.4rem); background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: break-word; }
.stat span { font-size: 0.86rem; color: var(--text-muted); }

/* Pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted);
  padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(15,23,42,0.03); }
.pill svg { width: 15px; height: 15px; color: var(--cyan); }

/* Process steps */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step .n { counter-increment: step; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; background: var(--brand-grad-soft); color: var(--cyan); border: 1px solid var(--line-strong); }
.step .n::before { content: counter(step, decimal-leading-zero); }

/* ---------- Callouts ---------- */
.callout {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 22px 24px; background: rgba(52, 211, 153, 0.05);
  display: flex; gap: 16px; align-items: flex-start;
}
.callout.info  { background: rgba(34, 211, 238, 0.05); }
.callout.warn  { background: rgba(251, 191, 36, 0.06); border-color: rgba(251, 191, 36, 0.28); }
.callout .ci { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(15,23,42,0.05); color: var(--green); }
.callout.warn .ci { color: var(--amber); }
.callout.info .ci { color: var(--cyan); }
.callout h4 { margin-bottom: 4px; }
.callout p { font-size: 0.92rem; margin: 0; }

/* ---------- Compliance badges ---------- */
.badge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.cbadge { display: flex; gap: 13px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cbadge .cb-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(52,211,153,0.1); color: var(--green); }
.cbadge .cb-ico svg { width: 22px; height: 22px; }
.cbadge b { font-family: var(--font-head); font-size: 0.95rem; display: block; color: var(--text); }
.cbadge span { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.acc-q { width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; padding: 20px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc-q .pm { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.acc-q .pm::before, .acc-q .pm::after { content: ""; position: absolute; background: var(--cyan); border-radius: 2px; transition: transform .25s ease; }
.acc-q .pm::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.acc-q .pm::after  { width: 2px; height: 14px; top: 4px; left: 10px; }
.acc-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a-inner { padding: 0 22px 22px; color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
table.data th { font-family: var(--font-head); color: var(--text); background: var(--surface-2); font-weight: 600; }
table.data td { color: var(--text-muted); }
table.data tr:last-child td { border-bottom: none; }

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.logo-chip { display: flex; align-items: center; gap: 11px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); flex: 1 1 200px; }
.logo-chip .lc-mark { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #04111d; }
.logo-chip b { font-family: var(--font-head); font-size: 0.98rem; }
.logo-chip span { font-size: 0.76rem; color: var(--text-dim); }

/* ---------- Game cards ---------- */
.game-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); transition: transform .22s ease, border-color .22s ease; }
.game-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.game-art { aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; background: var(--surface-2); color: #fff; overflow: hidden; }
.game-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,26,0.04), rgba(10,14,26,0.42)); }
.game-art svg, .game-art .gtag { position: relative; z-index: 1; }
.game-art svg { width: 46px; height: 46px; opacity: 0.96; }
/* themed cover art per portfolio card */
.grid-3 > *:nth-child(1) .game-art { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.grid-3 > *:nth-child(2) .game-art { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.grid-3 > *:nth-child(3) .game-art { background: linear-gradient(135deg, #8b5cf6, #22d3ee); }
.grid-3 > *:nth-child(4) .game-art { background: linear-gradient(135deg, #2dd4bf, #3b82f6); }
.grid-3 > *:nth-child(5) .game-art { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.grid-3 > *:nth-child(6) .game-art { background: linear-gradient(135deg, #0ea5e9, #6366f1); }

.game-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-illustration { width: 100%; height: auto; margin-bottom: 18px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.game-art .gtag { position: absolute; top: 14px; left: 14px; font-size: 0.72rem; font-family: var(--font-head); font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(4,17,29,0.6); border: 1px solid rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(4px); }
.game-body { padding: 20px 22px; }
.game-body h3 { font-size: 1.12rem; }
.game-body p { font-size: 0.9rem; margin-top: 6px; }
.game-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.game-meta span { font-size: 0.72rem; color: var(--text-dim); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px); overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(120deg, rgba(34,211,238,0.12), rgba(99,102,241,0.14) 50%, rgba(139,92,246,0.12)); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 120%, rgba(139,92,246,0.25), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-family: var(--font-head); font-weight: 600; color: var(--text); }
.field label .req { color: var(--cyan); }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,0.15); }
.field textarea { resize: vertical; min-height: 130px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-muted); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan); }
.form-note { font-size: 0.82rem; color: var(--text-dim); }

/* Contact info cards */
.contact-card { display: flex; gap: 15px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-card .cc-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: var(--brand-grad-soft); color: var(--cyan); }
.contact-card b { font-family: var(--font-head); display: block; margin-bottom: 3px; }
.contact-card a, .contact-card p { color: var(--text-muted); font-size: 0.92rem; }
.contact-card a:hover { color: var(--cyan); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.84rem; color: var(--text-dim); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { max-width: 16ch; }
.page-hero p { margin-top: 18px; max-width: 64ch; font-size: 1.12rem; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 42px; }
.prose h3 { font-size: 1.15rem; margin-top: 28px; }
.prose p, .prose li { color: var(--text-muted); font-size: 0.98rem; }
.prose p { margin-top: 14px; }
.prose ul, .prose ol { margin-top: 12px; display: grid; gap: 8px; }
.prose strong { color: var(--text); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 36px; }
.toc h4 { margin-bottom: 12px; }
.toc ul { list-style: none; padding: 0; columns: 2; gap: 18px; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--text-muted); font-size: 0.9rem; }
.toc a:hover { color: var(--cyan); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: linear-gradient(180deg, #ffffff, #f5f8fc); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; max-width: 38ch; }
.footer-legal-line { font-size: 0.8rem; color: var(--text-dim); margin-top: 18px; max-width: 44ch; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-dim); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 10px; display: grid; place-items: center; color: var(--text-muted); transition: all .15s ease; }
.footer-social a:hover { color: var(--text); border-color: var(--cyan); background: rgba(34,211,238,0.08); }
.footer-social svg { width: 18px; height: 18px; }
.footer-disclaimer { padding: 0 0 40px; }
.footer-disclaimer p { font-size: 0.78rem; color: var(--text-dim); line-height: 1.6; max-width: 100%; }

/* ---------- Hero / page-hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, rgba(8,145,178,0.09), rgba(124,58,237,0.06) 42%, rgba(255,255,255,0) 88%); }

/* ---- Full-bleed cinematic hero ---- */
.hero-cine {
  background:
    linear-gradient(95deg, rgba(7,11,22,0.94) 0%, rgba(7,11,22,0.74) 42%, rgba(7,11,22,0.40) 100%),
    url("../img/generated/hero.png") center/cover no-repeat;
  color: #fff; display: flex; align-items: center;
  min-height: min(720px, 88vh);
  padding-block: clamp(56px, 8vw, 96px);
}
.hero-cine .container { width: 100%; }
.hero-cine .eyebrow { color: #7dd3fc; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }
.hero-cine .eyebrow::before { background: #22d3ee; box-shadow: 0 0 12px #22d3ee; }
.hero-cine h1 { color: #fff; }
.hero-cine .gradient-text { background: linear-gradient(120deg, #22d3ee, #7dd3fc 42%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cine .lead { color: rgba(255,255,255,0.84); }
.hero-cine .hero-trust { border-top-color: rgba(255,255,255,0.20); }
.hero-cine .hero-trust .t b { background: linear-gradient(120deg,#22d3ee,#c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cine .hero-trust .t span { color: rgba(255,255,255,0.62); }
.hero-cine .btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.34); }
.hero-cine .btn-ghost:hover { background: rgba(255,255,255,0.2); }
.hero-cine .snapshot { background: linear-gradient(160deg, rgba(18,26,44,0.80), rgba(10,15,28,0.80)); border-color: rgba(255,255,255,0.16); backdrop-filter: blur(10px); }
.hero-cine .snapshot h4 { color: rgba(255,255,255,0.6); }
.hero-cine .snapshot-row { border-bottom-color: rgba(255,255,255,0.12); }
.hero-cine .snapshot-row .k { color: rgba(255,255,255,0.82); }
.hero-cine .snapshot-row .k svg { color: #67e8f9; }
.hero-cine .snapshot-row .v { color: #fff; }
.hero-cine .snapshot-row .v.ok { color: #6ee7b7; }
@media (max-width: 860px) {
  .hero-cine { min-height: calc(100svh - var(--header-h)); }
  .hero-cine .hero-visual { display: none; }  /* clean full-screen banner on mobile */
  .hero-cine .hero-trust { flex-direction: column; gap: 14px; align-items: flex-start; }
  .hero-cine .hero-trust .t { width: 100%; }
}
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(820px 420px at 8% -25%, rgba(8,145,178,0.12), transparent 60%),
    radial-gradient(760px 460px at 100% -15%, rgba(139,92,246,0.12), transparent 58%),
    linear-gradient(180deg, #f7fbff 0%, rgba(255,255,255,0) 92%);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(99,102,241,0.18), rgba(34,211,238,0.10) 45%, transparent 70%);
  filter: blur(30px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { background: rgba(34,211,238,0.08); }

/* Two-column interior hero (copy + visual) */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 44px; align-items: center; }
.page-hero-media { position: relative; }
.page-hero-media img {
  width: 100%; height: auto; display: block; border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.page-hero-media.framed {
  border-radius: var(--radius-lg); padding: 12px;
  background: linear-gradient(160deg, rgba(124,58,237,0.14), rgba(34,211,238,0.10));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.page-hero-media.framed img { border: 1px solid rgba(15,23,42,0.12); }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .page-hero-media { order: -1; width: 100%; max-width: 520px; margin-inline: auto; }
}

/* Bahatiz product showcase strip */
.bz-show { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bz-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); transition: transform .2s ease, box-shadow .2s ease; }
.bz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.bz-card .bz-media { aspect-ratio: 16/10; overflow: hidden; background: #150f2e; }
.bz-card .bz-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bz-card .bz-body { padding: 18px 20px; }
.bz-card .bz-body h4 { font-size: 1.05rem; }
.bz-card .bz-body p { font-size: 0.88rem; margin-top: 5px; }
@media (max-width: 860px) { .bz-show { grid-template-columns: 1fr; } }

/* ---------- Snapshot / glass panel ---------- */
.snapshot {
  background: linear-gradient(160deg, #ffffff, #f5f8fc);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.snapshot h4 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.snapshot-row { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.snapshot-row:last-child { border-bottom: none; }
.snapshot-row .k { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 9px; }
.snapshot-row .k svg { width: 17px; height: 17px; color: var(--cyan); }
.snapshot-row .v { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; color: var(--text); text-align: right; }
.snapshot-row .v.ok { color: var(--green); }

/* ---------- Corporate structure diagram ---------- */
.org { display: grid; gap: 22px; justify-items: center; }
.org-parent {
  text-align: center; padding: 24px 30px; border-radius: var(--radius-lg);
  background: var(--brand-grad); color: #04111d; box-shadow: 0 14px 36px -14px rgba(59,130,246,0.6);
  max-width: 460px;
}
.org-parent b { font-family: var(--font-head); font-size: 1.2rem; display: block; }
.org-parent span { font-size: 0.85rem; opacity: 0.85; }
.org-connector { width: 2px; height: 26px; background: var(--line-strong); }
.org-children { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; width: 100%; }
.org-node { text-align: center; padding: 20px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.org-node.highlight { border-color: var(--cyan); background: rgba(34,211,238,0.06); }
.org-node b { font-family: var(--font-head); font-size: 1rem; display: block; }
.org-node span { font-size: 0.78rem; color: var(--text-dim); }
.org-node .tag { display: inline-block; margin-top: 8px; font-size: 0.68rem; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(34,211,238,0.12); color: var(--cyan); }

/* Two-column copy + aside */
.copy-aside { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .copy-aside { grid-template-columns: 1fr; gap: 28px; } }

/* Form result note */
.form-result { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); color: var(--green); font-size: 0.9rem; }

/* ---------- Reveal animation ---------- */
/* Soft fade-in as sections scroll into view (no WebGL, tasteful only).
   Scoped to .js-reveal so content is always visible if JS is off/fails. */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
/* staggered cascade for items inside a grid */
.js-reveal .grid > .reveal:nth-child(2) { transition-delay: .07s; }
.js-reveal .grid > .reveal:nth-child(3) { transition-delay: .14s; }
.js-reveal .grid > .reveal:nth-child(4) { transition-delay: .07s; }
.js-reveal .grid > .reveal:nth-child(5) { transition-delay: .14s; }
.js-reveal .grid > .reveal:nth-child(6) { transition-delay: .21s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .toc ul { columns: 1; }

  /* Mobile menu */
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99;
    background: var(--bg); border-top: 1px solid var(--line);
    padding: 22px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .mobile-menu.open { transform: translateX(0); visibility: visible; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 18px 12px; }
  .stat span { font-size: 0.78rem; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  /* tighten card sections on small screens */
  .card { padding: 22px; }
  .pillar { padding: 24px 20px; }
  .pillar-head h3 { font-size: 1.3rem; }
  .cbadge { padding: 14px; }
  .callout { padding: 18px; }
}

/* Mobile menu (hidden on desktop) */
.mobile-menu { display: none; }
@media (max-width: 860px) { .mobile-menu { display: block; } }
.mobile-menu .mm-group { border-bottom: 1px solid var(--line); padding: 6px 0; }
.mobile-menu .mm-group > a, .mobile-menu .mm-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 14px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--text); background: none; border: none; text-align: left; }
.mobile-menu .mm-sub { display: none; padding: 0 0 10px 8px; }
.mobile-menu .mm-group.open .mm-sub { display: grid; gap: 2px; }
.mobile-menu .mm-sub a { padding: 9px 8px; color: var(--text-muted); font-size: 0.95rem; }
.mobile-menu .mm-toggle .chev { width: 18px; height: 18px; transition: transform .2s ease; }
.mobile-menu .mm-group.open .mm-toggle .chev { transform: rotate(180deg); }
.mobile-menu .mm-cta { margin-top: 22px; }

/* =============================================================
   3D / WebGL HERO  (homepage)
   Light, premium, floating glass panels around a glowing emblem.
   Pure CSS 3D + mouse parallax; WebGL aurora canvas behind.
   ============================================================= */
.hero3d {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 92px) 0 clamp(36px, 4vw, 56px);
  background:
    radial-gradient(1100px 620px at 6% -10%,  rgba(8,145,178,0.07), transparent 60%),
    radial-gradient(1000px 680px at 100% -4%, rgba(139,92,246,0.08), transparent 58%),
    radial-gradient(820px 620px at 72% 118%, rgba(37,99,235,0.05), transparent 60%),
    linear-gradient(180deg, #f9fcff 0%, #ffffff 60%);
  isolation: isolate;
}
/* Generated key-art layer (sits behind the WebGL + content) */
.hero3d-keyart {
  position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background: url("../img/generated/hero-keyart.png") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(95deg, transparent 0%, transparent 32%, #000 70%);
  mask-image: linear-gradient(95deg, transparent 0%, transparent 32%, #000 70%);
  opacity: .92;
}
.hero3d-webgl {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -2; opacity: 0; transition: opacity 1.1s ease;
  pointer-events: none;
}
.hero3d-webgl.ready { opacity: 0.55; }
/* soft animated aurora fallback (also adds glow above the canvas) */
.hero3d-aurora {
  position: absolute; inset: -22% -10% auto -10%; height: 78%;
  z-index: -1; pointer-events: none; filter: blur(66px); opacity: 0.26;
  background:
    radial-gradient(420px 320px at 22% 26%, rgba(34,211,238,0.30), transparent 70%),
    radial-gradient(460px 360px at 80% 20%, rgba(139,92,246,0.28), transparent 70%),
    radial-gradient(360px 300px at 60% 72%, rgba(59,130,246,0.20), transparent 70%);
  animation: auroraDrift 18s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(-3%, -1%, 0) scale(1.02); }
}
.hero3d-inner { position: relative; z-index: 1; }
.hero3d-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.12fr); gap: 40px; align-items: center;
}

/* ---- Copy ---- */
.hero3d-title { margin-top: 20px; font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 0.98; letter-spacing: -0.03em; }
.hero3d-title .ln { display: block; }
.hero3d-title .ln:not(.gradient-text) { color: var(--text); }
.hero3d .lead { margin-top: 22px; font-size: 1.14rem; max-width: 52ch; }
.hero3d .hero-actions { margin-top: 30px; }
.hero3d .hero-trust { margin-top: 36px; padding-top: 26px; }

/* ---- 3D stage ---- */
.hero3d-stage {
  position: relative;
  height: clamp(420px, 42vw, 560px);
  perspective: 1400px;
  perspective-origin: 55% 45%;
}
.stage-depth {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

/* central emblem */
.orb {
  position: absolute; left: 50%; top: 50%;
  width: 230px; height: 230px; margin: -115px 0 0 -115px;
  transform: translateZ(0px);
  display: grid; place-items: center;
}
.orb-halo {
  position: absolute; inset: -28%;
  background: radial-gradient(circle, rgba(99,102,241,0.45), rgba(34,211,238,0.18) 45%, transparent 70%);
  filter: blur(22px);
  animation: orbPulse 6s ease-in-out infinite;
}
@keyframes orbPulse { 0%,100%{ opacity:.7; transform:scale(1);} 50%{ opacity:1; transform:scale(1.08);} }
.orb-core {
  position: relative; width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.92), rgba(255,255,255,0) 42%),
    linear-gradient(150deg, #22d3ee 0%, #3b82f6 48%, #8b5cf6 100%);
  box-shadow:
    0 30px 60px -20px rgba(59,130,246,0.65),
    inset 0 2px 6px rgba(255,255,255,0.6),
    inset 0 -16px 30px rgba(76,29,149,0.45);
  transform-style: preserve-3d;
  animation: orbFloat 7s ease-in-out infinite;
}
@keyframes orbFloat { 0%,100%{ transform: translateY(0) translateZ(40px);} 50%{ transform: translateY(-12px) translateZ(40px);} }
.orb-monogram {
  font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; letter-spacing: -0.02em;
  color: #fff; text-shadow: 0 2px 10px rgba(8,30,80,0.45); z-index: 2;
}
.orb-ring {
  position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,0.7);
  inset: 50% 50%; pointer-events: none;
}
.orb-ring.r1 { width: 220px; height: 220px; margin: -110px 0 0 -110px; transform: rotateX(74deg) rotateZ(0deg); animation: ringSpin 9s linear infinite; border-color: rgba(34,211,238,0.6); }
.orb-ring.r2 { width: 260px; height: 260px; margin: -130px 0 0 -130px; transform: rotateX(68deg) rotateY(26deg); animation: ringSpin 14s linear infinite reverse; border-color: rgba(139,92,246,0.5); }
.orb-ring.r3 { width: 196px; height: 196px; margin: -98px 0 0 -98px; transform: rotateX(80deg) rotateY(-18deg); animation: ringSpin 7s linear infinite; border-style: dashed; border-color: rgba(59,130,246,0.45); }
@keyframes ringSpin { to { transform: rotateX(74deg) rotateZ(360deg); } }

/* glass cards */
.fcard {
  position: absolute;
  background: linear-gradient(150deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74));
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 18px;
  box-shadow: 0 26px 50px -26px rgba(15,33,80,0.5), inset 0 1px 0 rgba(255,255,255,0.85);
  backdrop-filter: blur(10px) saturate(140%);
  padding: 14px 15px; width: 230px;
  transform-style: preserve-3d;
  transform: translateZ(var(--cz, 0px));
  animation: cardFloat var(--fdur, 8s) ease-in-out infinite;
  animation-delay: var(--fdelay, 0s);
  will-change: transform;
}
.fcard::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(130deg, rgba(255,255,255,0.6), transparent 38%);
  mix-blend-mode: screen; opacity: .7;
}
/* keep text/content above the glossy ::after overlay so it stays legible */
.fcard > * { position: relative; z-index: 1; }
@keyframes cardFloat {
  0%,100%{ transform: translateZ(var(--cz, 0px)) translateY(0); }
  50%    { transform: translateZ(var(--cz, 0px)) translateY(-14px); }
}

.fc-head { display: flex; gap: 10px; align-items: center; }
.fc-head > div { display: flex; flex-direction: column; line-height: 1.2; }
.fc-head b { font-family: var(--font-head); font-size: 0.86rem; color: var(--text); }
.fc-head span { font-size: 0.7rem; color: var(--text-dim); }
.fc-ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 18px -8px rgba(37,99,235,0.6); }
.fc-ico svg { width: 19px; height: 19px; }
.g-cyan   { background: linear-gradient(140deg,#22d3ee,#3b82f6); }
.g-blue   { background: linear-gradient(140deg,#3b82f6,#6366f1); }
.g-violet { background: linear-gradient(140deg,#8b5cf6,#6366f1); }
.g-amber  { background: linear-gradient(140deg,#fbbf24,#f97316); }

.fc-os { display: flex; gap: 6px; margin-top: 12px; }
.fc-os span { font-size: 0.66rem; font-family: var(--font-head); font-weight: 600; color: var(--text-muted); padding: 3px 9px; border-radius: 999px; background: rgba(15,23,42,0.05); }

.fc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 12px; }
.fc-stats div { text-align: center; background: rgba(15,23,42,0.04); border-radius: 9px; padding: 7px 4px; }
.fc-stats i { display: block; font-style: normal; font-size: 0.6rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-dim); }
.fc-stats b { font-family: var(--font-head); font-size: 0.82rem; color: var(--blue); }

.fc-spark { width: 100%; height: 50px; margin-top: 12px; display: block; }

.fc-ip-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-top: 12px; }
.fc-ip-grid span { aspect-ratio: 3/4; border-radius: 7px; }
.fc-ip-grid span:nth-child(1){ background: linear-gradient(150deg,#f43f5e,#7c3aed); }
.fc-ip-grid span:nth-child(2){ background: linear-gradient(150deg,#0ea5e9,#22d3ee); }
.fc-ip-grid span:nth-child(3){ background: linear-gradient(150deg,#f59e0b,#ec4899); }
.fc-ip-grid span:nth-child(4){ background: linear-gradient(150deg,#10b981,#3b82f6); }

/* Bahatiz Lucky-Wheel card */
.fcard-lucky { width: 210px; background: linear-gradient(155deg, rgba(35,16,64,0.92), rgba(17,10,38,0.88)); border-color: rgba(168,85,247,0.45); box-shadow: 0 28px 56px -24px rgba(76,29,149,0.7), inset 0 1px 0 rgba(255,255,255,0.18); }
.fcard-lucky::after { background: linear-gradient(130deg, rgba(168,85,247,0.35), transparent 45%); }
.fcard-lucky .fc-head { justify-content: space-between; align-items: center; }
.fc-coin { font-family: var(--font-head); font-weight: 700; font-size: 0.94rem; color: #ffe9a0; text-shadow: 0 1px 3px rgba(0,0,0,0.45); display: inline-flex; align-items: baseline; gap: 4px; }
.fc-coin em { font-style: normal; font-size: 0.66rem; font-weight: 500; color: rgba(255,236,179,0.92); }
.fc-tag { font-size: 0.62rem; font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.4); padding: 3px 10px; border-radius: 999px; background: linear-gradient(120deg,#a855f7,#ec4899); }
.wheel { position: relative; width: 104px; height: 104px; margin: 12px auto 10px; }
.wheel-disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(#f43f5e 0 45deg,#f59e0b 45deg 90deg,#fde047 90deg 135deg,#34d399 135deg 180deg,#22d3ee 180deg 225deg,#3b82f6 225deg 270deg,#a855f7 270deg 315deg,#ec4899 315deg 360deg);
  box-shadow: 0 0 0 5px rgba(255,255,255,0.12), 0 10px 26px -8px rgba(168,85,247,0.7);
  animation: wheelSpin 9s cubic-bezier(.3,0,.2,1) infinite;
}
@keyframes wheelSpin { 0%{ transform: rotate(0);} 70%{ transform: rotate(1080deg);} 100%{ transform: rotate(1080deg);} }
.wheel-hub { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #cbd5e1); box-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.wheel-pin { position: absolute; left: 50%; top: -6px; width: 0; height: 0; margin-left: -7px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 13px solid #fff; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5)); z-index: 2; }
.fc-lucky-foot { display: flex; align-items: center; justify-content: space-between; }
.fc-lucky-foot b { font-family: var(--font-head); color: #fff; font-size: 0.92rem; }
.fc-spin { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; color: #04111d; padding: 5px 14px; border-radius: 999px; background: linear-gradient(120deg,#34d399,#22d3ee); box-shadow: 0 6px 14px -6px rgba(16,185,129,0.8); }

/* Compliance pill card */
.fcard-compliance { width: auto; display: flex; gap: 11px; align-items: center; padding: 12px 16px; }
.fc-shield { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg,#6366f1,#8b5cf6); box-shadow: 0 8px 18px -8px rgba(99,102,241,0.7); }
.fc-shield svg { width: 20px; height: 20px; }
.fcard-compliance b { display: block; font-family: var(--font-head); font-size: 0.86rem; color: var(--text); }
.fcard-compliance span { font-size: 0.68rem; color: var(--text-dim); }

/* card placement (desktop) */
.fcard-mobile     { top: 2%;   left: -2%;  --fdur: 8.5s; --fdelay: -1s; }
.fcard-lucky      { top: -4%;  right: 0%;  --fdur: 9.5s; --fdelay: -3s; }
.fcard-backend    { top: 40%;  left: -8%;  --fdur: 7.5s; --fdelay: -2s; }
.fcard-ops        { bottom: 2%; right: -3%; --fdur: 8s;  --fdelay: -0.5s; }
.fcard-ip         { bottom: -2%; left: 6%;  --fdur: 10s; --fdelay: -4s; }
.fcard-compliance { top: 46%;  right: -6%; --fdur: 8.8s; --fdelay: -1.5s; }

/* ---- Feature strip ---- */
.hero3d-features {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  margin-top: clamp(34px, 5vw, 56px);
  padding: 18px clamp(8px, 2vw, 22px);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,251,255,0.9));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); backdrop-filter: blur(8px);
}
.hf { display: flex; gap: 12px; align-items: center; padding: 8px 14px; position: relative; }
.hf:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 18%; height: 64%; width: 1px; background: var(--line); }
.hf-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; color: var(--blue); background: var(--brand-grad-soft); border: 1px solid var(--line); }
.hf-ico svg { width: 21px; height: 21px; }
.hf b { display: block; font-family: var(--font-head); font-size: 0.84rem; color: var(--text); }
.hf span { font-size: 0.72rem; color: var(--text-dim); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .fcard { width: 200px; }
  .fcard-backend { left: -4%; }
  .fcard-compliance { right: -2%; }
}
@media (max-width: 980px) {
  .hero3d-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  /* Mobile: animated card deck + the glowing emblem on top (mirrors desktop,
     fully responsive — minmax/min-width:0 guarantee it can't blow out). */
  .hero3d-stage { order: 2; height: auto; margin-top: 2px; perspective: none; min-width: 0; }
  .stage-depth { position: static; transform: none !important; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; align-items: start; }
  /* show the animated emblem centered above the deck */
  .orb { display: grid; position: static; grid-column: 1 / -1; width: 150px; height: 150px; margin: 0 auto 8px; transform: none; }
  .fcard {
    position: static !important; inset: auto !important; width: auto !important; margin: 0 !important;
    opacity: 1 !important; min-width: 0;
    animation: cardBob 5.5s ease-in-out infinite;   /* gentle live motion on mobile */
    box-shadow: 0 16px 34px -22px rgba(15,33,80,0.45), inset 0 1px 0 rgba(255,255,255,0.85);
  }
  .fcard > * { min-width: 0; }
  .stage-depth > .fcard:nth-of-type(2) { animation-delay: -1.1s; }
  .stage-depth > .fcard:nth-of-type(3) { animation-delay: -2.2s; }
  .stage-depth > .fcard:nth-of-type(4) { animation-delay: -3.3s; }
  .stage-depth > .fcard:nth-of-type(5) { animation-delay: -1.7s; }
  .stage-depth > .fcard:nth-of-type(6) { animation-delay: -0.6s; }
  .fcard-compliance { grid-column: 1 / -1; }
  .hero3d-features { grid-template-columns: repeat(3, 1fr); }
  .hf:nth-child(3)::after { display: none; }
  /* subtle full-bleed key-art behind the deck */
  .hero3d-keyart {
    background-image: url("../img/generated/hero-keyart-m.png");
    background-position: center top; opacity: .4;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
    mask-image: linear-gradient(180deg, #000, transparent 78%);
  }
}
@keyframes cardBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 760px) {
  .hero3d-title { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .fcard { padding: 13px; }
  .hero3d-features { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .hf::after { display: none !important; }
}
@media (max-width: 380px) {
  .stage-depth { grid-template-columns: 1fr; }
  .fcard-compliance { grid-column: auto; }
}
@media (max-width: 460px) {
  .hero3d-features { grid-template-columns: 1fr; }
  .hf:not(:last-child) { border-bottom: 1px solid var(--line); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .orb-core { transform: translateZ(40px); }
  .stage-depth { transform: none; }
}

/* =============================================================
   TWO-SIDES PILLARS
   ============================================================= */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar {
  position: relative; padding: 30px clamp(22px,3vw,32px); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; }
.pillar-studio::before   { background: linear-gradient(90deg, #22d3ee, #3b82f6); }
.pillar-platform::before { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.pillar-kicker { font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.pillar-head { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; }
.pillar-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 26px -12px rgba(37,99,235,.6); }
.pillar-head h3 { font-size: 1.45rem; }
.pillar > p { margin-top: 8px; }

/* =============================================================
   GAMES SHOWCASE (dark gallery + CSS-art thumbnails)
   ============================================================= */
.games-gallery {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 520px at 82% -12%, rgba(124,58,237,0.30), transparent 60%),
    radial-gradient(760px 520px at -4% 112%, rgba(8,145,178,0.26), transparent 60%),
    linear-gradient(180deg, #0b1024 0%, #090d1c 100%);
}
.games-gallery > .container { position: relative; z-index: 1; }
.games-gallery .section-head h2 { color: #fff; }
.games-gallery .section-head p  { color: rgba(255,255,255,.72); }
.games-gallery .eyebrow { color: #7dd3fc; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.games-gallery .eyebrow::before { background: #22d3ee; box-shadow: 0 0 12px #22d3ee; }

.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gx {
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gx:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.30); box-shadow: 0 26px 46px -24px rgba(0,0,0,.75); }
.gx-art { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: #0b1024; }
.gx-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.28)); pointer-events: none; z-index: 1; }
.gx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gx:hover .gx-img { transform: scale(1.06); }
.gx-body { padding: 14px 16px; }
.gx-body h3 { font-size: 1.06rem; color: #fff; }
.gx-body p { font-size: .76rem; color: rgba(255,255,255,.6); margin-top: 3px; }

/* Chess */
.gx-chess { background: conic-gradient(#6b4a2b 0 25%, #ead9b8 0 50%, #6b4a2b 0 75%, #ead9b8 0) 0 0 / 25% 25%; }
.gx-glyph { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 2.9rem; line-height: 1; color: #0b1024;
  background: radial-gradient(circle at 35% 30%, #fff, #dfe6ef); box-shadow: 0 10px 22px rgba(0,0,0,.45), inset 0 2px 4px rgba(255,255,255,.8); position: relative; z-index: 1; }
/* Tic-Tac-Toe */
.gx-ttt { background: linear-gradient(160deg, #1e293b, #0f172a); }
.ttt { width: 76%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(3,1fr); gap: 6px; }
.ttt span { display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.06); font-size: 1.45rem; font-weight: 700; line-height: 1; }
.ttt .x { color: #22d3ee; } .ttt .o { color: #f472b6; }
/* Checkers */
.gx-checkers { background: conic-gradient(#3b2f2f 0 25%, #cbb89d 0 50%, #3b2f2f 0 75%, #cbb89d 0) 0 0 / 25% 25%; }
.gx-checkers .disc { position: absolute; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 -4px 6px rgba(0,0,0,.4), 0 4px 8px rgba(0,0,0,.45); z-index: 1; }
.disc.r { background: radial-gradient(circle at 35% 30%, #fb7185, #e11d48); left: 28%; top: 26%; }
.disc.b { background: radial-gradient(circle at 35% 30%, #64748b, #0f172a); left: 52%; top: 42%; }
.disc.r.d2 { left: 34%; top: 58%; }
/* 2048 */
.gx-2048 { background: linear-gradient(160deg, #bbada0, #9c8a7a); }
.t2048 { width: 74%; aspect-ratio: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t2048 span { border-radius: 9px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: #fff; box-shadow: 0 3px 6px rgba(0,0,0,.2); }
.t2048 .v2 { background: #eee4da; color: #776e65; } .t2048 .v4 { background: #ede0c8; color: #776e65; }
.t2048 .v8 { background: #f2b179; } .t2048 .v32 { background: #f67c5f; }
/* Gem match */
.gx-match { background: linear-gradient(160deg, #1e1b4b, #0f172a); }
.gems { width: 74%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.gems span { border-radius: 50%; box-shadow: inset 0 -3px 6px rgba(0,0,0,.35), 0 3px 6px rgba(0,0,0,.3); }
.gems .g1 { background: radial-gradient(circle at 35% 30%, #fca5a5, #ef4444); }
.gems .g2 { background: radial-gradient(circle at 35% 30%, #93c5fd, #3b82f6); }
.gems .g3 { background: radial-gradient(circle at 35% 30%, #86efac, #22c55e); }
.gems .g4 { background: radial-gradient(circle at 35% 30%, #fde68a, #f59e0b); }
/* Solitaire */
.gx-solitaire { background: linear-gradient(160deg, #065f46, #064e3b); }
.gx-solitaire .card { position: absolute; left: 50%; top: 50%; width: 54px; height: 74px; margin: -37px 0 0 -27px; border-radius: 8px; background: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 6px 14px rgba(0,0,0,.45); z-index: 1; }
.gx-solitaire .c1 { transform: translateX(-34px) rotate(-12deg); color: #0f172a; }
.gx-solitaire .c2 { transform: rotate(2deg); color: #e11d48; z-index: 2; }
.gx-solitaire .c3 { transform: translateX(34px) rotate(14deg); color: #e11d48; }
/* Word */
.gx-word { background: linear-gradient(160deg, #7c3aed, #4f46e5); }
.gx-word .tiles { display: flex; gap: 6px; }
.gx-word .tiles span { width: 40px; height: 46px; border-radius: 8px; background: linear-gradient(180deg, #fffbeb, #fde68a); color: #92400e; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; box-shadow: 0 6px 12px rgba(0,0,0,.3); }
/* Sudoku */
.gx-sudoku { background: linear-gradient(160deg, #0ea5e9, #1e3a8a); }
.sud { width: 70%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(3,1fr); gap: 4px; background: rgba(255,255,255,.25); padding: 4px; border-radius: 8px; }
.sud span { background: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #0f172a; font-size: 1.05rem; border-radius: 3px; }

.games-note { margin-top: 28px; color: rgba(255,255,255,.62); font-size: .95rem; }
.games-gallery .pill { color: rgba(255,255,255,.88); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.games-gallery .pill svg { color: #7dd3fc; }

/* =============================================================
   EXCEPTIONAL ANIMATION LAYER (performant; reduced-motion disables it)
   ============================================================= */
/* Flowing gradient text */
.gradient-text { background-size: 220% 220%; animation: gradFlow 9s ease-in-out infinite; }
@keyframes gradFlow { 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }

/* Scroll progress bar (created by main.js) */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--brand-grad); z-index: 200; will-change: transform; pointer-events: none; box-shadow: 0 0 12px rgba(59,130,246,0.6); }

/* Primary button: light sweep on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent); transform: skewX(-18deg); pointer-events: none; }
.btn-primary:hover::after { animation: btnShine .85s ease; }
@keyframes btnShine { from { left: -130%; } to { left: 140%; } }

/* Card hover: lift + soft colored glow */
.card, .pillar, .game-card, .contact-card, .gx, .bz-card { transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .25s ease; }
.card:hover { box-shadow: 0 26px 52px -26px rgba(37,99,235,0.45); }
.pillar:hover { box-shadow: 0 26px 52px -26px rgba(124,58,237,0.4); }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

/* Coin / game tiles: hover lift + diagonal shine */
.gx:hover { transform: translateY(-6px); box-shadow: 0 30px 54px -26px rgba(0,0,0,0.8); border-color: rgba(125,211,252,0.5); }
.gx-art::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%); transform: translateX(-130%); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gx:hover .gx-art::before { transform: translateX(130%); }

/* Icon tiles get a gentle pop on card hover */
.card:hover .card-ico, .pillar:hover .pillar-ico { transform: translateY(-2px) scale(1.05); transition: transform .25s ease; }

/* Reveal variants (added via JS .reveal) — richer entrances */
.js-reveal .reveal.rv-scale { transform: translateY(20px) scale(.96); }
.js-reveal .reveal.rv-scale.in { transform: none; }

/* Eyebrow dot: gentle pulse */
.eyebrow::before { animation: dotPulse 2.6s ease-in-out infinite; }
@keyframes dotPulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(34,211,238,0.55); } 50%{ box-shadow: 0 0 0 5px rgba(34,211,238,0); } }

@media (prefers-reduced-motion: reduce) {
  .gradient-text, .eyebrow::before, .btn-primary::after, .gx-art::before { animation: none !important; }
  .scroll-progress { display: none !important; }
}

/* =============================================================
   BAHATIZ SWEEPSTAKES SHOWCASE + LOBBY MOCK
   ============================================================= */
.bahatiz-showcase { background: linear-gradient(180deg, #faf7ff, #ffffff); }
.bahatiz-media { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.bahatiz-banner-img { width: 100%; border-radius: 18px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); display: block; }
/* Bahatiz prize visual (replaces the lucky-wheel mock) */
.fc-prize { margin: 10px 0 6px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,0.14); }
.fc-prize img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-prize { width: 96px; height: 96px; flex-shrink: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 10px 22px -10px rgba(0,0,0,0.6); }
.bl-prize img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bahatiz-lobby {
  background: linear-gradient(160deg, #1a1033, #0d0820);
  border: 1px solid rgba(168,85,247,.35); border-radius: 20px; padding: 18px;
  box-shadow: 0 34px 64px -30px rgba(76,29,149,.85); color: #fff; width: 100%; max-width: 470px; min-width: 0; margin-inline: auto;
}
.bl-top { display: flex; justify-content: space-between; align-items: center; }
.bl-logo { font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.bl-dot { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, #22d3ee, #8b5cf6); }
.bl-coins { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: #fde68a; }
.bl-coins em { font-style: normal; font-weight: 500; font-size: .66rem; color: rgba(253,230,138,.7); }
.bl-hero { margin-top: 14px; border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 14px;
  background: linear-gradient(120deg, rgba(168,85,247,.55), rgba(59,130,246,.42)); position: relative; overflow: hidden; }
.bl-hero-copy { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.bl-badge { align-self: flex-start; font-size: .58rem; font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.32); color: #fde68a; }
.bl-hero-copy b { font-family: var(--font-head); font-size: 1.25rem; }
.bl-hero-copy small { font-size: .72rem; color: rgba(255,255,255,.82); }
.bl-spin { align-self: flex-start; margin-top: 6px; font-family: var(--font-head); font-weight: 700; font-size: .74rem; color: #04111d; padding: 7px 16px; border-radius: 999px; background: linear-gradient(120deg, #34d399, #22d3ee); box-shadow: 0 6px 14px -6px rgba(16,185,129,.8); }
.bl-wheel { width: 96px; height: 96px; flex-shrink: 0; margin: 0; }
.bl-winners { display: flex; align-items: center; gap: 8px; margin-top: 14px; overflow: hidden; min-width: 0; }
.bl-wlabel { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); flex-shrink: 0; }
.bl-chip { font-size: .7rem; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.bl-chip i { font-style: normal; color: #6ee7b7; font-weight: 600; }
.bl-games { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; margin-top: 14px; }
.bl-tile { aspect-ratio: 1; border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.bl-tile.t1 { background: linear-gradient(150deg, #f43f5e, #7c3aed); }
.bl-tile.t2 { background: linear-gradient(150deg, #0ea5e9, #22d3ee); }
.bl-tile.t3 { background: linear-gradient(150deg, #f59e0b, #ec4899); }
.bl-tile.t4 { background: linear-gradient(150deg, #10b981, #3b82f6); }
.bl-tile.t5 { background: linear-gradient(150deg, #8b5cf6, #6366f1); }
.bl-tile.t6 { background: linear-gradient(150deg, #fbbf24, #f43f5e); }

/* Showcase responsive */
@media (max-width: 980px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  /* Games gallery becomes a swipeable slider: exactly 2 cards per view,
     paginated in pairs via scroll-snap. */
  .game-grid {
    display: flex; grid-template-columns: none; gap: 12px;
    overflow-x: auto; overflow-y: visible;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scroll-padding-left: 0; padding-bottom: 4px;
    scrollbar-width: none;
  }
  .game-grid::-webkit-scrollbar { display: none; }
  .game-grid .gx {
    flex: 0 0 calc((100% - 12px) / 2); /* two per view */
    scroll-snap-align: none;
  }
  .game-grid .gx:nth-child(odd) { scroll-snap-align: start; } /* snap by pairs */

  /* pagination dots (built by JS) */
  .slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .slider-dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
    background: rgba(255,255,255,0.28); transition: width .25s ease, background .25s ease;
  }
  .slider-dots button.active { width: 22px; background: var(--brand-grad); }

  .bl-hero { flex-direction: column; text-align: center; }
  .bl-hero-copy { align-items: center; }
  .bl-wheel { width: 110px; height: 110px; }
}
@media (min-width: 721px) { .slider-dots { display: none; } }
@media (max-width: 420px) {
  .bl-games { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   PURPLE REDESIGN v2 — clean compliance-forward homepage
   ============================================================= */
.brand .mark { width: auto; height: 40px; }

/* ---- Hero ---- */
.vhero { position: relative; overflow: hidden; padding: clamp(36px,6vw,80px) 0 clamp(32px,4vw,56px);
  background: radial-gradient(900px 520px at 92% -12%, rgba(139,92,246,0.10), transparent 60%); }
.vhero-glow { position: absolute; right: -8%; top: -12%; width: 480px; height: 480px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(168,85,247,0.22), transparent 65%); filter: blur(46px); pointer-events: none; }
.vhero .container { position: relative; z-index: 1; }
.vhero-grid { display: grid; grid-template-columns: 1fr; grid-template-areas: "copy" "cards" "points" "actions"; }
.vhero-copy { grid-area: copy; max-width: 880px; }
.vhero-cards { grid-area: cards; margin-top: 34px; }
.vpoints { grid-area: points; }
.vhero-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.vhero-title { margin-top: 14px; font-size: clamp(2rem,5.4vw,3.4rem); line-height: 1.07; }
.vhero .lead { margin-top: 18px; }
.vpoints { display: grid; gap: 12px; margin-top: 24px; }
.vpoint { display: flex; gap: 13px; align-items: flex-start; }
.vp-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: var(--violet);
  background: var(--brand-grad-soft); border: 1px solid var(--line-strong); }
.vpoint p { font-size: 0.95rem; margin: 0; align-self: center; }
.vhero .hero-actions { margin-top: 28px; }

/* ---- Emblem scene ---- */
.emblem-scene { position: relative; width: 100%; max-width: 440px; margin-inline: auto; aspect-ratio: 1/1; }
.podium { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); width: 64%; aspect-ratio: 2.5/1; }
.podium::before { content:""; position:absolute; inset: 26% 0 0 0; border-radius: 50%; background: linear-gradient(180deg,#a78bfa,#6d28d9); box-shadow: 0 30px 50px -18px rgba(109,40,217,0.55); }
.podium::after { content:""; position:absolute; inset: 0 7% 34% 7%; border-radius: 50%; background: linear-gradient(180deg,#ddd6fe,#a78bfa); }
.emblem-logo { position: absolute; left: 50%; bottom: 27%; transform: translateX(-50%); width: 50%; z-index: 2;
  filter: drop-shadow(0 26px 30px rgba(109,40,217,0.4)); animation: emblemFloat 5.5s ease-in-out infinite; }
.emblem-logo img { width: 100%; height: auto; }
@keyframes emblemFloat { 0%,100%{ transform: translate(-50%,0); } 50%{ transform: translate(-50%,-12px); } }
.float-el { position: absolute; z-index: 1; animation: floatEl var(--d,6s) ease-in-out infinite; }
.fe-gift { left: 3%; top: 46%; width: 17%; --d: 6.4s; }
.fe-gift svg { width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(109,40,217,0.3)); }
.fe-coin { border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fde68a, #f59e0b); box-shadow: inset 0 -3px 5px rgba(0,0,0,0.25), 0 8px 14px rgba(0,0,0,0.18); }
.fe-coin1 { right: 8%; top: 23%; width: 10%; aspect-ratio: 1; --d: 5.6s; }
.fe-coin2 { right: 17%; top: 53%; width: 7%; aspect-ratio: 1; --d: 7.2s; }
.fe-chip { right: 2%; top: 42%; width: 12%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #c4b5fd, #6d28d9); border: 3px dashed rgba(255,255,255,0.65); box-shadow: 0 10px 16px rgba(109,40,217,0.3); --d: 6s; }
.fe-cube { left: 19%; top: 16%; width: 9%; aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg,#fff,#ede9fe); box-shadow: 0 10px 16px rgba(124,58,237,0.22); --d: 5.9s; }
@keyframes floatEl { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-13px); } }

/* ---- What we do cards ---- */
.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.vcard:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -26px rgba(124,58,237,0.35); border-color: rgba(124,58,237,0.28); }
.vcard-ico { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; color: var(--violet);
  background: var(--brand-grad-soft); border: 1px solid var(--line-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7); }
.vcard h3 { font-size: 1.08rem; }
.vcard p { font-size: 0.92rem; margin-top: 8px; }

/* ---- What we don't do ---- */
.eyebrow.danger { color: #dc2626; background: rgba(220,38,38,0.06); border-color: rgba(220,38,38,0.28); }
.eyebrow.danger::before { background: #dc2626; box-shadow: 0 0 12px #dc2626; }
.dont-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.dont-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 24px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.dont-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #dc2626; background: rgba(220,38,38,0.08); }
.dont-item p { font-size: 0.92rem; margin: 0; color: var(--text); font-weight: 600; font-family: var(--font-head); }

/* ---- Why it matters (dark rounded band) ---- */
.why-matters { padding: 0 0 clamp(40px,5vw,72px); }
.why-matters .container { position: relative; overflow: hidden; background: linear-gradient(160deg,#1a1033,#0d0820); border-radius: 28px; padding: clamp(32px,4vw,56px) clamp(22px,4vw,52px); color: #fff;
  box-shadow: 0 40px 80px -40px rgba(76,29,149,0.7); }
.why-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.why-matters .eyebrow { color: #c4b5fd; background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.2); }
.why-matters .eyebrow::before { background: #a855f7; box-shadow: 0 0 12px #a855f7; }
.why-matters h2 { color: #fff; }
.why-matters p { color: rgba(255,255,255,0.78); }
.why-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.wpill { font-size: 0.84rem; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.92); }
.why-matters .btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.3); }
.why-visual img { width: 100%; border-radius: 20px; display: block; }
.why-shield { aspect-ratio: 4 / 3; border-radius: 20px; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 18%, rgba(168,85,247,0.30), rgba(15,10,34,0.25) 60%);
  border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }
.why-shield svg { width: 46%; height: auto; filter: drop-shadow(0 20px 34px rgba(124,58,237,0.55)); }

@media (max-width: 900px) {
  .vhero-actions { margin-top: 16px; flex-direction: column; }
  .vhero-actions .btn { width: 100%; }
  .why-grid { grid-template-columns: 1fr; gap: 22px; }
  .why-visual { order: -1; max-width: 340px; margin-inline: auto; }
  .dont-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .dont-grid { gap: 12px; }
  .vcard { padding: 24px 18px; }
}

/* ---- Hero: the 6 element cards (full-width grid, 3-col desktop / 2-col mobile) ---- */
.vhero-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; align-items: start;
  perspective: 1000px; }
.vhero-cards .fcard { position: static; width: auto; min-width: 0; margin: 0; inset: auto; animation: none;
  transform: none; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
  transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 18px 38px -24px rgba(15,33,80,0.45), inset 0 1px 0 rgba(255,255,255,0.85); }
.vhero-cards .fcard > * { min-width: 0; }
.vhero-cards .fcard:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(124,58,237,0.4); }
@media (max-width: 760px) {
  .vhero-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vhero-cards .fcard { padding: 13px; }
  .vhero-cards .fcard > * { min-width: 0; }
  .vhero-cards .fc-head { gap: 8px; }
  .vhero-cards .fc-head b { font-size: 0.82rem; }
  .vhero-cards .fc-head span { font-size: 0.64rem; }
  .vhero-cards .fc-ico { width: 32px; height: 32px; }
  .vhero-cards .fc-ico svg { width: 17px; height: 17px; }
  .vhero-cards .fc-stats i { font-size: 0.55rem; }
  .vhero-cards .fc-stats b { font-size: 0.7rem; }
  .vhero-cards .fc-os span { font-size: 0.6rem; }
}
@media (max-width: 360px) { .vhero-cards { gap: 9px; } }

/* ---- Desktop: hero elements beside the copy (side-by-side), like before.
     Left = copy + points + buttons · Right = the 6 element cards (2-col).
     Mobile keeps the stacked order (copy → cards → points → buttons). ---- */
@media (min-width: 901px) {
  .vhero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    grid-template-areas:
      "copy    cards"
      "points  cards"
      "actions cards";
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(30px, 4vw, 60px);
    align-items: start;
  }
  .vhero-copy    { max-width: 560px; }
  .vpoints       { max-width: 560px; margin-top: 22px; }
  .vhero-actions { margin-top: 22px; }
  .vhero-cards   { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 4px; align-self: start; }
}

/* ---- What we do: always 3 columns (match the reference, incl. mobile) ---- */
.vdo-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
@media (max-width: 640px) {
  .vdo-grid { gap: 10px; }
  .vdo-grid .vcard { padding: 16px 9px; }
  .vdo-grid .vcard-ico { width: 44px; height: 44px; margin-bottom: 10px; border-radius: 12px; }
  .vdo-grid .vcard-ico svg { width: 20px; height: 20px; }
  .vdo-grid .vcard h3 { font-size: 0.8rem; line-height: 1.2; }
  .vdo-grid .vcard p { font-size: 0.7rem; margin-top: 5px; }
}
@media (max-width: 380px) {
  .vdo-grid { gap: 7px; }
  .vdo-grid .vcard { padding: 12px 6px; }
  .vdo-grid .vcard-ico { width: 38px; height: 38px; }
  .vdo-grid .vcard-ico svg { width: 17px; height: 17px; }
  .vdo-grid .vcard h3 { font-size: 0.72rem; }
  .vdo-grid .vcard p { font-size: 0.62rem; }
}
