/* ============================================
   PIROTS 4 SVERIGE — pirots4-sverige.com
   Galactic theme, full-width hero, demo focus
   ============================================ */

@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/BebasNeue-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-VariableFont_wght.woff2') format('woff2 supports variations'),
       url('../fonts/Outfit-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg:        #050513;
  --bg2:       #0a0a22;
  --bg3:       #11113a;
  --bg4:       #1a1a55;
  --card:      #0e0e2a;
  --card-lt:   #14143a;

  --gold:      #f7c843;
  --gold-lt:   #ffd96a;
  --gold-dk:   #b8901e;

  --fire:      #ff6b1f;
  --fire-lt:   #ff8d3e;
  --fire-dk:   #c44a0e;

  --magenta:   #b246e8;
  --cyber:     #3a8aff;
  --cyan:      #5dd6ff;

  --text:      #ffffff;
  --text-md:   rgba(255,255,255,0.78);
  --text-dim:  rgba(255,255,255,0.45);
  --border:    rgba(255,255,255,0.08);
  --border-a:  rgba(247,200,67,0.28);
  --border-fire: rgba(255,107,31,0.32);

  --header-h:  68px;
  --max-w:     1180px;

  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 50px;
  --font-d: 'Bebas Neue','Arial Black',sans-serif;
  --font-b: 'Outfit',system-ui,sans-serif;
  --tr: 0.22s ease;

  --sh-card:   0 4px 24px rgba(0,0,0,0.7);
  --sh-gold:   0 0 32px rgba(247,200,67,0.22);
  --sh-fire:   0 0 32px rgba(255,107,31,0.28);
  --sh-btn:    0 6px 24px rgba(255,107,31,0.50);
}

/* RELEASE FIXES */
.game-card { display: block; }
.game-info { display: flex; flex-direction: column; gap: 3px; }
html, body { overflow-x: hidden; }

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse at 15% 8%, rgba(178,70,232,0.14), transparent 55%),
    radial-gradient(ellipse at 88% 18%, rgba(58,138,255,0.16), transparent 55%),
    radial-gradient(ellipse at 50% 92%, rgba(255,107,31,0.10), transparent 60%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; color: inherit; font-family: inherit; }

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

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,5,19,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}
.site-header.scrolled { background: rgba(5,5,19,0.94); box-shadow: 0 4px 30px rgba(0,0,0,0.55); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo-link, .logo-link-mobile {
  display: flex; align-items: center;
  text-decoration: none;
}
.logo-link-mobile { display: none; }

.logo-link img { height: 52px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(247,200,67,0.30)); }
.logo-link-mobile img { height: 44px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(247,200,67,0.30)); }
.header-nav { display: flex; gap: 26px; }
.header-nav a {
  font-weight: 600; font-size: 14px;
  color: var(--text-md);
  transition: var(--tr);
  position: relative;
}
.header-nav a:hover { color: var(--gold); }
.header-nav a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: var(--tr);
}
.header-nav a:hover::after { width: 100%; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.burger {
  width: 40px; height: 40px;
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
}
.burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--tr);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  padding: 14px 0 20px;
  border-top: 1px solid var(--border);
  background: rgba(5,5,19,0.96);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 13px 20px;
  color: var(--text-md);
  font-weight: 600;
  border-radius: 10px;
}
.mobile-nav a:hover { color: var(--gold); background: rgba(247,200,67,0.06); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--r-pill);
  transition: var(--tr);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
  border: 1px solid transparent;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-xl { padding: 18px 38px; font-size: 19px; }

.btn-cta {
  background: linear-gradient(135deg, var(--fire), var(--fire-dk));
  color: #fff !important;
  box-shadow: var(--sh-btn);
  animation: pulse-cta 2.6s ease-in-out infinite;
}
.btn-cta:hover { transform: translateY(-2px); animation: none; box-shadow: 0 10px 32px rgba(255,107,31,0.65); }
@keyframes pulse-cta {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #1a1303 !important;
  box-shadow: var(--sh-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(247,200,67,0.55); }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--text) !important;
}
.btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: var(--gold); color: var(--gold) !important; }

.btn-outline-fire {
  background: transparent;
  border: 2px solid var(--fire);
  color: var(--fire) !important;
}
.btn-outline-fire:hover { background: var(--fire); color: #fff !important; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 720px;
  padding: 60px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../img/backgrounds/hero-banner.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(5,5,19,0.4) 0%,
    rgba(5,5,19,0.55) 50%,
    rgba(5,5,19,0.95) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-content { min-width: 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(247,200,67,0.10);
  border: 1px solid var(--border-a);
  font-size: 12px; font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px var(--gold);
}
.hero-title {
  font-family: var(--font-d);
  font-size: clamp(46px, 6.5vw, 84px);
  line-height: 0.95;
  margin: 0 0 18px;
  letter-spacing: 0.5px;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero-title .hi-gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold), var(--fire));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-md);
  margin: 0 0 26px;
  max-width: 540px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 28px;
}
.hero-stat {
  text-align: center;
  padding: 12px 8px;
  border-radius: var(--r-md);
  background: rgba(247,200,67,0.06);
  border: 1px solid var(--border-a);
}
.hero-stat-val {
  font-family: var(--font-d);
  font-size: 24px;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 4px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero right — logo + video teaser */
.hero-right { position: relative; min-width: 0; }
.hero-logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 16px 50px rgba(247,200,67,0.30));
  margin-bottom: 18px;
}
.hero-logo-wrap img {
  max-width: 100%;
  max-height: 460px;
  width: auto;
  animation: float-y 6s ease-in-out infinite;
}
@keyframes float-y {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

.hero-video-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--border-a);
  box-shadow: var(--sh-gold), 0 20px 50px rgba(0,0,0,0.6);
  background: #000;
}
.hero-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-video-badge {
  position: absolute; top: 12px; left: 12px;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(255,107,31,0.92);
  color: #fff;
  border-radius: var(--r-pill);
  z-index: 2;
}
.hero-video-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== SECTIONS GENERIC ===== */
.section { padding: 70px 0; position: relative; }
.section-eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(247,200,67,0.10);
  border: 1px solid var(--border-a);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-d);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
  margin: 0 0 14px;
  letter-spacing: 0.5px;
}
.section-title .hi-gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold), var(--fire));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  font-size: 17px;
  color: var(--text-md);
  margin: 0 0 36px;
  max-width: 720px;
}
.section-header { margin-bottom: 36px; }

/* ===== DEMO IFRAME ===== */
.demo-section {
  background: linear-gradient(180deg, transparent, rgba(58,138,255,0.06), transparent);
}
.demo-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 2px solid var(--border-a);
  box-shadow: var(--sh-gold), 0 24px 60px rgba(0,0,0,0.6);
  background: #000;
}
.demo-frame {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  position: relative;
}
.demo-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.demo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--card);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.demo-info { display: flex; align-items: center; gap: 14px; }
.demo-info-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #00e676; box-shadow: 0 0 10px #00e676;
  animation: blink 2s ease-in-out infinite;
}
.demo-info-text {
  font-size: 13px;
  color: var(--text-md);
}
.demo-info-text strong { color: var(--gold); font-weight: 700; }

/* ===== STATS / SPECS GRID ===== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.spec-card {
  padding: 22px 18px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--card-lt), var(--card));
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.spec-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--fire));
  opacity: 0; transition: var(--tr);
}
.spec-card:hover { border-color: var(--border-a); transform: translateY(-3px); }
.spec-card:hover::before { opacity: 1; }
.spec-icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--fire-dk));
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(247,200,67,0.35);
}
.spec-val {
  font-family: var(--font-d);
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 6px;
}
.spec-lbl {
  font-size: 13px;
  color: var(--text-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ===== FEATURES — videos grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--tr);
  display: flex;
  flex-direction: column;
}
.feature-card:hover { border-color: var(--border-a); transform: translateY(-4px); box-shadow: var(--sh-gold); }
.feature-video {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.feature-video video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.feature-body {
  padding: 20px 22px 24px;
}
.feature-eyebrow {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255,107,31,0.16);
  color: var(--fire-lt);
  margin-bottom: 10px;
}
.feature-title {
  font-family: var(--font-d);
  font-size: 26px;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
  color: var(--gold);
}
.feature-text {
  color: var(--text-md);
  font-size: 14px;
  margin: 0;
}

/* ===== MOBILE / APP SECTION ===== */
.mobile-section {
  background: linear-gradient(180deg,
    transparent,
    rgba(255,107,31,0.05) 40%,
    rgba(178,70,232,0.05) 80%,
    transparent);
  padding: 80px 0 90px;
}
.mobile-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.mobile-content { min-width: 0; }
.mobile-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 26px 0 32px;
}
.m-feat {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}
.m-feat-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--fire), var(--fire-dk));
  font-size: 18px;
}
.m-feat-title { font-weight: 700; font-size: 14px; margin: 0 0 3px; color: var(--text); }
.m-feat-text { font-size: 12px; color: var(--text-dim); margin: 0; line-height: 1.45; }

/* Phone mockup */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.phone-frame {
  position: relative;
  width: 270px;
  height: 560px;
  background: #0a0a18;
  border-radius: 42px;
  border: 3px solid #2a2a45;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.7),
    var(--sh-fire),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  transform: rotate(-3deg);
  transition: var(--tr);
}
.phone-frame:hover { transform: rotate(0deg) translateY(-6px); }
.phone-frame::before {
  content: '';
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #000;
  border-radius: 14px;
  z-index: 5;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background-image: url('../img/backgrounds/game-base-portrait.webp');
  background-size: cover;
  background-position: center;
}
.phone-screen::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.65) 100%);
}
.phone-logo {
  position: absolute;
  top: 56px; left: 50%;
  transform: translateX(-50%);
  width: 64%;
  max-width: 170px;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.7));
}
.phone-cta {
  position: absolute;
  bottom: 56px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 44px);
  padding: 12px 14px;
  background: linear-gradient(135deg, var(--fire), var(--fire-dk));
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  border-radius: var(--r-pill);
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(255,107,31,0.55);
  z-index: 3;
  animation: pulse-cta 2.6s ease-in-out infinite;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone-badge {
  position: absolute;
  padding: 11px 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #1a1303;
  border-radius: var(--r-md);
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 6px 20px rgba(247,200,67,0.45);
  z-index: 4;
  text-align: center;
  white-space: nowrap;
}
.phone-badge-val { font-family: var(--font-d); font-size: 19px; line-height: 1; }
.phone-badge-lbl { font-size: 9px; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.8; }
.phone-badge.pb-left  { left: -38px; top: 28%; animation: float-y 4s ease-in-out infinite; }
.phone-badge.pb-right { right: -38px; bottom: 32%; animation: float-y 4s ease-in-out infinite; animation-delay: -2s; }

/* ===== DOWNLOAD STEPS ===== */
.download-section {
  background: linear-gradient(180deg, rgba(58,138,255,0.04), transparent);
}
.steps-tabs {
  display: inline-flex;
  background: var(--card);
  border-radius: var(--r-pill);
  padding: 5px;
  border: 1px solid var(--border);
  margin-bottom: 26px;
  gap: 4px;
}
.steps-tab {
  padding: 10px 22px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-md);
  border-radius: var(--r-pill);
  transition: var(--tr);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.steps-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #1a1303;
  box-shadow: 0 4px 14px rgba(247,200,67,0.35);
}
.steps-panel { display: none; }
.steps-panel.active { display: block; animation: fade-in 0.3s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.step-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--border);
  transition: var(--tr);
}
.step-item:hover { border-color: var(--border-a); transform: translateY(-2px); }
.step-num {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire), var(--fire-dk));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d);
  font-size: 22px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,31,0.35);
}
.step-title { font-weight: 700; font-size: 15px; margin: 0 0 5px; color: var(--text); }
.step-text  { font-size: 13px; color: var(--text-dim); margin: 0; line-height: 1.45; }

/* ===== COMPARE TABLE ===== */
.compare-wrap {
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.compare-table thead th {
  background: rgba(247,200,67,0.10);
  color: var(--gold);
  font-family: var(--font-d);
  font-size: 17px;
  letter-spacing: 0.8px;
  font-weight: 400;
}
.compare-table thead th.col-mobile { color: var(--fire-lt); }
.compare-table tbody td:first-child { font-weight: 600; color: var(--text); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.c-yes { color: #00e676; font-weight: 800; font-size: 18px; }
.c-no  { color: #ff5252; font-weight: 800; font-size: 18px; }
.c-txt { color: var(--text-dim); font-size: 13px; }

/* ===== SYMBOLS GRID ===== */
.symbols-section { padding: 70px 0; }
.symbols-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.symbol-card {
  position: relative;
  padding: 16px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--card-lt), var(--card));
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--tr);
}
.symbol-card:hover { border-color: var(--border-a); transform: translateY(-4px) scale(1.03); box-shadow: var(--sh-gold); }
.symbol-thumb {
  width: 80px; height: 80px;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.55));
}
.symbol-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.symbol-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}
.symbol-pay {
  font-family: var(--font-d);
  font-size: 17px;
  color: var(--gold);
  line-height: 1;
}

/* ===== X-ITER TABLE ===== */
.xiter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.xiter-card {
  padding: 22px 14px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--card-lt), var(--card));
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.xiter-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247,200,67,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.xiter-card:hover { border-color: var(--border-a); transform: translateY(-3px); }
.xiter-mult {
  font-family: var(--font-d);
  font-size: 38px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
}
.xiter-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-md);
  margin: 0 0 6px;
}
.xiter-text {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.4;
}
.xiter-card.xiter-super {
  background: linear-gradient(180deg, rgba(255,107,31,0.18), var(--card));
  border-color: var(--border-fire);
}
.xiter-card.xiter-super .xiter-mult { color: var(--fire-lt); }

/* ===== SERIES TIMELINE ===== */
.series-section {
  background: linear-gradient(180deg, transparent, rgba(178,70,232,0.04), transparent);
}
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.series-card {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--border);
  transition: var(--tr);
  overflow: hidden;
}
.series-card:hover { border-color: var(--border-a); transform: translateY(-4px); box-shadow: var(--sh-gold); }
.series-card.is-current {
  border-color: var(--fire);
  background: linear-gradient(180deg, rgba(255,107,31,0.10), var(--card));
}
.series-num {
  font-family: var(--font-d);
  font-size: 60px;
  line-height: 0.85;
  background: linear-gradient(135deg, var(--gold), var(--fire));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 8px;
}
.series-name {
  font-family: var(--font-d);
  font-size: 24px;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}
.series-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.series-tag {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  font-size: 11px;
  color: var(--text-md);
  font-weight: 600;
}
.series-text {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0 0 14px;
  line-height: 1.5;
}
.series-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  transition: var(--tr);
}
.series-link:hover { color: var(--fire-lt); gap: 10px; }
.series-card.is-current .series-link { color: var(--fire-lt); }

/* ===== CASINOS / WHERE TO PLAY ===== */
.casinos-section { padding: 80px 0; }
.casinos-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.casino-card {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 22px;
  padding: 22px 26px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--border);
  transition: var(--tr);
  align-items: center;
}
.casino-card:hover { border-color: var(--border-a); transform: translateY(-3px); box-shadow: var(--sh-card); }
.casino-rank {
  display: flex; align-items: center; gap: 14px;
}
.casino-rank-num {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #1a1303;
  font-family: var(--font-d);
  font-size: 21px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(247,200,67,0.30);
}
.casino-logo {
  width: 84px;
  height: 84px;
  border-radius: var(--r-md);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  overflow: hidden;
}
.casino-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.casino-info-name {
  font-family: var(--font-d);
  font-size: 24px;
  color: var(--text);
  margin: 0 0 4px;
  letter-spacing: 0.5px;
}
.casino-rating {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.casino-rating-val {
  font-weight: 800;
  color: var(--gold);
  font-size: 14px;
}
.casino-stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.casino-perks {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.casino-perk {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(247,200,67,0.10);
  color: var(--gold);
  font-weight: 600;
}
.casino-action { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }

/* ===== PAYMENTS ===== */
.payments-section { padding: 50px 0 70px; }
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 10px;
}
.pay-item {
  height: 52px;
  background: #fff;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  padding: 6px 10px;
  transition: var(--tr);
}
.pay-item:hover { transform: translateY(-3px); box-shadow: 0 4px 18px rgba(0,0,0,0.5); }
.pay-item img { max-height: 28px; max-width: 100%; object-fit: contain; }

/* ===== PROS / CONS ===== */
.proscons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pros-card, .cons-card {
  padding: 24px 26px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--border);
}
.pros-card { border-left: 4px solid #00e676; }
.cons-card { border-left: 4px solid #ff5252; }
.pros-head, .cons-head {
  font-family: var(--font-d);
  font-size: 22px;
  letter-spacing: 0.5px;
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.pros-head { color: #00e676; }
.cons-head { color: #ff5252; }
.pros-body, .cons-body {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pros-body li, .cons-body li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 14px;
  color: var(--text-md);
  line-height: 1.5;
}
.pros-body li::before {
  content: '✓';
  position: absolute; left: 0; top: 7px;
  color: #00e676;
  font-weight: 800;
}
.cons-body li::before {
  content: '✕';
  position: absolute; left: 0; top: 7px;
  color: #ff5252;
  font-weight: 800;
}

/* ===== FAQ ===== */
.faq-section { padding: 70px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--tr);
}
.faq-item.open { border-color: var(--border-a); box-shadow: var(--sh-card); }
.faq-question {
  padding: 18px 24px;
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin: 0;
}
.faq-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(247,200,67,0.14);
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
  transition: var(--tr);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: #1a1303; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-md);
  font-size: 14px;
  line-height: 1.65;
}
.faq-answer-inner p { margin: 0 0 10px; }
.faq-answer-inner p:last-child { margin: 0; }

/* ===== TOC ===== */
.toc-wrap {
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--border-a);
  margin: 24px 0;
  overflow: hidden;
}
.toc-toggle {
  width: 100%;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  text-align: left;
}
.toc-chevron {
  margin-left: auto;
  transition: var(--tr);
}
.toc-wrap.open .toc-chevron { transform: rotate(180deg); }
.toc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.toc-wrap.open .toc-body { max-height: 500px; }
.toc-list {
  padding: 4px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.toc-list a {
  font-size: 13px;
  color: var(--text-md);
  padding: 5px 0;
  transition: var(--tr);
  border-bottom: 1px dashed transparent;
}
.toc-list a:hover { color: var(--gold); border-color: var(--border-a); padding-left: 8px; }

/* ===== PROSE (SEO TEXT) ===== */
.section.prose.container { max-width: 920px; }
.prose { font-size: 16px; line-height: 1.72; color: var(--text-md); }
.prose h2 {
  font-family: var(--font-d);
  font-size: clamp(28px, 3vw, 38px);
  color: var(--text);
  margin: 38px 0 14px;
  letter-spacing: 0.5px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-b);
  font-size: 21px;
  font-weight: 700;
  color: var(--gold);
  margin: 26px 0 10px;
}
.prose p { margin: 0 0 14px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--gold); border-bottom: 1px dashed currentColor; }
.prose a:hover { color: var(--fire-lt); }
.prose ol, .prose ul, .list-content {
  padding-left: 1.5em !important;
  margin: 12px 0 18px !important;
}
.prose ol, .list-content.list-ol { list-style: decimal !important; }
.prose ul, .list-content.list-ul { list-style: disc !important; }
.prose ol li, .prose ul li, .list-content li {
  padding: 4px 0 !important;
  display: list-item !important;
}
.prose table, .review-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}
.review-table-wrap {
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 18px 0;
}
.review-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.review-table tr:last-child td { border-bottom: 0; }
.review-table tr:nth-child(odd) td { background: rgba(255,255,255,0.02); }
.review-table tr td:first-child { font-weight: 700; color: var(--text); width: 38%; }

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 60px;
  padding: 50px 0 24px;
  background: linear-gradient(180deg, transparent, rgba(5,5,19,0.9));
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
.footer-logo { height: 46px; width: auto; margin: 0 0 12px; }
.footer-about {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 14px;
  line-height: 1.55;
  max-width: 320px;
}
.footer-col-title {
  font-family: var(--font-d);
  font-size: 16px;
  color: var(--gold);
  margin: 0 0 12px;
  letter-spacing: 0.7px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-md);
  transition: var(--tr);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.age-badge {
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: #ff3030;
  color: #fff;
  font-family: var(--font-d);
  font-size: 18px;
  flex-shrink: 0;
}
.footer-disclaimer {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
  max-width: 780px;
}
.footer-disclaimer a { color: var(--gold); border-bottom: 1px dashed currentColor; }
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0;
}

/* ===== FADE-IN ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fd1 { transition-delay: 0.08s; }
.fd2 { transition-delay: 0.16s; }
.fd3 { transition-delay: 0.24s; }
.fd4 { transition-delay: 0.32s; }

/* =========================================
   ====== MEDIA QUERIES (mobile-first) =====
   ========================================= */

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-right { max-width: 520px; margin: 0 auto; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .symbols-grid { grid-template-columns: repeat(5, 1fr); }
  .xiter-grid { grid-template-columns: repeat(5, 1fr); }
  .mobile-grid { grid-template-columns: 1fr 320px; gap: 40px; }
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
}

@media (max-width: 900px) {
  html, body { overflow-x: hidden; }
  .header-nav { display: none; }
  .header-actions { display: none; }
  .burger { display: flex; }
  .logo-link { display: none; }
  .logo-link-mobile { display: flex; }

  .hero { min-height: auto; padding: 40px 0 60px; }
  .hero-title { font-size: 50px; word-break: break-word; overflow-wrap: break-word; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .hero-stat { padding: 10px 4px; }
  .hero-stat-val { font-size: 19px; }
  .hero-stat-lbl { font-size: 9px; }

  .section { padding: 56px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .mobile-grid { grid-template-columns: 1fr; gap: 50px; }
  .phone-wrap { order: -1; }
  .mobile-features { grid-template-columns: 1fr 1fr; }
  .symbols-grid { grid-template-columns: repeat(4, 1fr); }
  .xiter-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .xiter-card { padding: 16px 8px; }
  .xiter-mult { font-size: 28px; }
  .xiter-name { font-size: 10px; }
  .xiter-text { display: none; }
  .series-grid { grid-template-columns: 1fr; }
  .casino-card { grid-template-columns: 1fr; gap: 14px; text-align: center; position: relative; padding-top: 28px; }
  .casino-rank { justify-content: center; flex-direction: column; gap: 12px; }
  .casino-rank-num { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); }
  .casino-logo { margin: 22px auto 0; }
  .casino-perks { justify-content: center; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 600px) {
  html, body { overflow-x: hidden; }
  .container { padding: 0 14px; }
  .section { padding: 50px 0; }
  .section.prose.container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hero { padding: 30px 0 50px; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-stat-val { font-size: 22px; }
  .hero-stat-lbl { font-size: 10px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .hero-logo-wrap img { max-height: 240px; }

  .section-title { font-size: 32px; }
  .section-sub { font-size: 15px; }

  .specs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .spec-card { padding: 16px 10px; }
  .spec-icon { width: 44px; height: 44px; font-size: 22px; }
  .spec-val { font-size: 24px; }
  .spec-lbl { font-size: 11px; }

  .mobile-features { grid-template-columns: 1fr; }
  .phone-frame { width: 230px; height: 480px; }
  .phone-logo { top: 44px; max-width: 140px; }
  .phone-cta { font-size: 12px; padding: 10px 12px; bottom: 48px; width: calc(100% - 36px); }
  .phone-badge.pb-left  { left: -24px; padding: 8px 10px; }
  .phone-badge.pb-right { right: -24px; padding: 8px 10px; }
  .phone-badge-val { font-size: 16px; }

  .steps-list { grid-template-columns: 1fr; }
  .symbols-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .symbol-card { padding: 12px 8px; }
  .symbol-thumb { width: 60px; height: 60px; }
  .symbol-name { font-size: 11px; }
  .symbol-pay { font-size: 14px; }

  .xiter-grid { grid-template-columns: repeat(2, 1fr); }
  .xiter-card { padding: 18px 14px; }
  .xiter-mult { font-size: 34px; }
  .xiter-name { font-size: 11px; }
  .xiter-text { display: block; }

  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td {
    display: block;
    width: 100%;
  }
  .compare-table tr {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin-bottom: 10px;
    padding: 12px 14px;
    background: var(--card);
  }
  .compare-table tr td {
    padding: 6px 0;
    border-bottom: 0;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
  }
  .compare-table tr td:first-child {
    grid-column: 1 / -1;
    font-size: 14px;
    color: var(--gold);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 4px;
  }
  .compare-table tr td:nth-child(2)::before { content: '📱 Mobil'; font-size: 11px; color: var(--text-dim); }
  .compare-table tr td:nth-child(3)::before { content: '💻 Dator'; font-size: 11px; color: var(--text-dim); }

  .casino-card { padding: 32px 18px 18px; }
  .proscons-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-about { max-width: none; }
  .demo-info { flex-wrap: wrap; }
}

@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 26px; }
  .symbols-grid { grid-template-columns: repeat(2, 1fr); }
  .xiter-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== IFRAME FACADE ===== */
.demo-facade {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background-image: url('../img/backgrounds/hero-banner.webp');
  background-size: cover; background-position: center;
  cursor: pointer;
  z-index: 1;
}
.demo-facade::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,5,19,0.55), rgba(58,138,255,0.20));
}
.demo-facade-inner {
  position: relative; z-index: 1; text-align: center; padding: 20px;
}
.demo-play-btn {
  width: 92px; height: 92px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire), var(--fire-dk));
  box-shadow: 0 8px 32px rgba(255,107,31,0.5);
  animation: pulse-cta 2s ease-in-out infinite;
  transition: var(--tr);
}
.demo-facade:hover .demo-play-btn { transform: scale(1.08); }
.demo-play-btn::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 18px 0 18px 28px;
  border-color: transparent transparent transparent #fff;
  margin-left: 8px;
}
.demo-facade-text {
  font-family: var(--font-d);
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--gold);
  margin: 0 0 6px;
}
.demo-facade-sub {
  font-size: 13px;
  color: var(--text-md);
  margin: 0;
}