/* ==========================================================================
   AXPLUS — VIKING REWARDS & EVENT HUB (EXACT MOCKUP DESIGN SYSTEM)
   Deep Slate (#0c1219 / #141d27) · Neon Emerald (#00e06c) · Viking Gold (#facc15)
   3-Column Desktop Dashboard + Mobile-First & Telegram Mini App Ready
   ========================================================================== */

:root {
  --bg-body: #0b1118;
  --bg-topbar: #0f161f;
  --bg-sidebar: #0f161f;
  --bg-panel: #141d27;
  --bg-card: #16202b;
  --bg-card-hover: #1b2735;
  --bg-row: #1a2532;
  --bg-input: #151f2a;

  --emerald: #00e06c;
  --emerald-dark: #00c45e;
  --emerald-soft: rgba(0, 224, 108, 0.14);
  --emerald-border: rgba(0, 224, 108, 0.32);
  --emerald-glow: rgba(0, 224, 108, 0.35);

  --gold: #facc15;
  --gold-soft: rgba(250, 204, 21, 0.14);
  --gold-border: rgba(250, 204, 21, 0.32);

  --text-white: #ffffff;
  --text-light: #dbe4ee;
  --text-muted: #8496ab;
  --text-dim: #5e7186;

  --border: #1e2b3a;
  --border-card: #223142;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --topbar-h: 64px;
  --left-rail-w: 222px;
  --right-rail-w: 292px;
  --bottom-nav-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--bg-body);
  color: var(--text-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

body {
  background: var(--bg-body);
  color: var(--text-white);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
}

/* ==========================================================================
   1. TOP HEADER BAR
   ========================================================================== */
.ax-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: calc(var(--topbar-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(15, 22, 31, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 16px;
  padding-right: 18px;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
}

.menu-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #16202b;
  border: 1px solid var(--border-card);
  color: #a3b4c6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.menu-toggle-btn:hover {
  background: #1d2a38;
  color: #ffffff;
  border-color: #2f4257;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.brand-logo {
  height: 30px;
  width: auto;
  display: block;
}

/* Center Search Box with Green Cursor Pipe */
.header-search {
  flex: 1;
  max-width: 440px;
  height: 40px;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.header-search:focus-within {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 224, 108, 0.12);
}

.search-pipe {
  width: 2px;
  height: 16px;
  background: var(--emerald);
  border-radius: 2px;
  margin-right: 10px;
  box-shadow: 0 0 6px var(--emerald);
  flex-shrink: 0;
}

.header-search input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-white);
  font-size: 13px;
}

.header-search input::placeholder {
  color: var(--text-muted);
}

/* Right Header Icons & Huscarl Profile Chip */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #16202b;
  border: 1px solid var(--border-card);
  color: #b0c0d2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.hdr-icon-btn:hover {
  background: #1e2b39;
  color: #ffffff;
}

.hdr-icon-btn svg {
  width: 18px;
  height: 18px;
}

.notif-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

.hdr-profile-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #141e28;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 5px 11px 5px 9px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.hdr-profile-chip:hover {
  background: #192532;
  border-color: #30445a;
}

.hdr-avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.hdr-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid #3c4f63;
}

.mini-gold-coin {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fef08a, #ca8a04);
  border: 1.5px solid #4d4818;
  color: #261b03;
  font-size: 8px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hdr-profile-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.hdr-profile-text strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}

.hdr-profile-text span {
  font-size: 10.5px;
  font-weight: 800;
  color: #cbd5e1;
}

.hdr-profile-text span b {
  color: var(--gold);
}

.hdr-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   2. MAIN 3-COLUMN WORKSPACE SHELL
   ========================================================================== */
.ax-workspace {
  display: grid;
  grid-template-columns: var(--left-rail-w) minmax(0, 1fr);
  min-height: calc(100dvh - var(--topbar-h));
}

body.sidebar-collapsed .ax-workspace {
  grid-template-columns: 0px minmax(0, 1fr);
}

body.sidebar-collapsed .left-sidebar {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Left Sidebar */
.left-sidebar {
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  padding: 16px 12px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: var(--topbar-h);
  height: calc(100dvh - var(--topbar-h));
  overflow-y: auto;
  transition: transform 0.22s ease, opacity 0.18s ease;
  z-index: 95;
}

.left-sidebar::-webkit-scrollbar {
  width: 4px;
}
.left-sidebar::-webkit-scrollbar-thumb {
  background: #1f2d3d;
  border-radius: 4px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  width: 100%;
  height: 43px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #c2d0df;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: left;
}

.nav-item svg {
  width: 19px;
  height: 19px;
  color: #b0c1d4;
  flex-shrink: 0;
  transition: color 0.16s ease;
}

.nav-item:hover {
  background: rgba(26, 38, 52, 0.75);
  color: #ffffff;
}

.nav-item:hover svg {
  color: #ffffff;
}

/* Exact Emerald Gradient Active Pill on Lobi / Active Item */
.nav-item.active {
  background: linear-gradient(90deg, rgba(0, 224, 108, 0.24) 0%, rgba(0, 224, 108, 0.05) 100%);
  border-color: rgba(0, 224, 108, 0.28);
  color: #ffffff;
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--emerald);
}

.nav-item.active svg {
  color: var(--emerald);
}

.nav-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 6px;
}

.ext-arrow {
  margin-left: auto;
  width: 13px !important;
  height: 13px !important;
  opacity: 0.65;
}

/* ==========================================================================
   3. STAGE GRID: CENTER CONTENT + RIGHT RAIL
   ========================================================================== */
.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--right-rail-w);
  gap: 18px;
  padding: 18px 20px 36px;
  max-width: 1460px;
  width: 100%;
  margin: 0 auto;
  align-items: start;
}

.center-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.view {
  display: none;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  animation: viewFade 0.2s ease;
}

.view.active {
  display: flex;
}

@keyframes viewFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   4. LOBİ ROW 1: VIKING AURORA HERO BANNER SLIDER
   ========================================================================== */
.hero-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #233346;
  min-height: 326px;
  display: flex;
  align-items: center;
  padding: 30px 36px;
  background: radial-gradient(circle at 18% 30%, rgba(0, 224, 108, 0.06), transparent 52%), #091119;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.hero-art-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(630px, 72%);
  background-image:
    radial-gradient(circle at 76% 32%, rgba(0, 224, 108, 0.24) 0%, rgba(0, 224, 108, 0.06) 36%, transparent 66%),
    radial-gradient(circle at 92% 82%, rgba(245, 196, 81, 0.16) 0%, transparent 52%),
    linear-gradient(135deg, rgba(15, 29, 44, 0.15) 0%, rgba(0, 224, 108, 0.08) 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 16%, #000 34%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 16%, #000 34%, #000 100%);
  z-index: 0;
  transition: opacity 0.3s ease;
}

.hero-copy-box {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.hero-welcome {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 10px;
}

.hero-copy-box h1 {
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-copy-box h1 .txt-emerald {
  color: var(--emerald);
}

.hero-copy-box p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #b7c6d8;
  margin-bottom: 22px;
  max-width: 400px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  background: linear-gradient(180deg, #09e875 0%, #00cb60 100%);
  border: none;
  color: #041d0e;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 224, 108, 0.3);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.btn-primary-green:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-dark-vip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  background: rgba(18, 28, 39, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #33465c;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-dark-vip:hover {
  background: #1d2c3d;
  border-color: var(--gold-border);
}

.btn-dark-vip svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* Hero Slider Dots at Bottom Center */
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
}

.hero-dot.active {
  width: 22px;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

/* ==========================================================================
   5. LOBİ ROW 2: 7-CARD HORIZONTAL FEATURE STRIP
   ========================================================================== */
.feature-strip-7 {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.feat-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 13px;
  padding: 15px 8px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.feat-tile:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: var(--emerald-border);
}

.feat-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  filter: drop-shadow(0 0 8px rgba(0, 224, 108, 0.28));
}

.feat-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.feat-tile h3 {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.feat-tile p {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   6. LOBİ ROW 3: AKTİF ETKİNLİKLER PANEL (3 ILLUSTRATED CARDS)
   ========================================================================== */
.active-events-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.panel-title svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.panel-all-link {
  background: none;
  border: none;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.panel-all-link:hover {
  text-decoration: underline;
}

.showcase-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.visual-event-card {
  position: relative;
  height: 184px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid #263749;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
  background: #101821;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.visual-event-card:hover {
  transform: translateY(-3px);
  border-color: var(--emerald);
}

.vec-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  z-index: 0;
}

.visual-event-card:hover .vec-bg {
  transform: scale(1.05);
}

.vec-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 22, 0.12) 0%, rgba(10, 15, 22, 0.55) 52%, rgba(10, 15, 22, 0.95) 100%);
  z-index: 1;
}

.vec-badge {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  background: rgba(8, 33, 21, 0.88);
  border: 1px solid rgba(0, 224, 108, 0.45);
  color: var(--emerald);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 7px;
  text-transform: uppercase;
}

.vec-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.vec-bottom h4 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3px;
}

.vec-bottom p {
  font-size: 12px;
  color: #b4c4d6;
}

.vec-arrow {
  color: #cbd5e1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

/* ==========================================================================
   7. RIGHT SIDEBAR RAIL (3 STACKED WIDGETS)
   ========================================================================== */
.right-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 18px;
}

/* Widget 1: Huscarl VIP: GOLD + 72% Progress */
.huscarl-top {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding-top: 4px;
  padding-left: 4px;
  margin-bottom: 16px;
}

.huscarl-avatar-box {
  position: relative;
  width: 62px;
  height: 62px;
  flex-shrink: 0;
}

.huscarl-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid #3e5063;
}

.huscarl-gold-chip {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #5a5617;
  border: 1.5px solid rgba(250, 204, 21, 0.55);
  padding: 3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.huscarl-gold-chip span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fef08a, #ca8a04);
  color: #241a03;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.huscarl-info {
  flex: 1;
}

.huscarl-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 3px;
}

.huscarl-info .vip-line {
  font-size: 13px;
  font-weight: 800;
  color: #cbd5e1;
}

.huscarl-info .vip-line b {
  color: var(--gold);
}

.vip-prog-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  margin-bottom: 8px;
}

.vip-prog-labels span {
  color: var(--text-muted);
  font-weight: 600;
}

.vip-prog-labels strong {
  color: #cbd5e1;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.vip-prog-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vip-prog-track {
  flex: 1;
  height: 9px;
  border-radius: 999px;
  background: #0e151d;
  overflow: hidden;
  border: 1px solid #1f2d3c;
}

.vip-prog-fill {
  height: 100%;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00c45e 0%, #19f07e 100%);
  box-shadow: 0 0 10px rgba(0, 224, 108, 0.5);
}

.vip-prog-pct {
  font-size: 12px;
  font-weight: 800;
  color: var(--emerald);
}

/* Widget 2: Hızlı Erişim */
.quick-widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.quick-widget-title svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

.quick-links-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-link-row {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border-radius: 10px;
  background: var(--bg-row);
  border: 1px solid #253547;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.16s ease;
}

.quick-link-row:hover {
  background: #213041;
  border-color: #344a63;
  color: #ffffff;
}

.qlr-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qlr-left svg {
  width: 17px;
  height: 17px;
}

.qlr-gold { color: var(--gold); }
.qlr-silver { color: #cbd5e1; }

/* Widget 3: AX PLUS VIP KULÜP Illustrated Promo Card */
.vip-promo-banner {
  position: relative;
  min-height: 258px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #25384b;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  background: #0d151e;
}

.vpb-art {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 26, 0.15) 0%, rgba(11, 18, 26, 0.94) 100%);
  z-index: 0;
}

.vpb-content {
  position: relative;
  z-index: 1;
  max-width: 200px;
}

.vpb-content h3 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}

.vpb-content p {
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.btn-sm-emerald {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 9px;
  background: var(--emerald);
  border: none;
  color: #041d0e;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 224, 108, 0.32);
}

/* ==========================================================================
   8. INNER MODULE VIEWS (SKOR, ÇOKLU, FREESPIN, ORANLAR, PROMO, QUIZ, ÇEKİLİŞ, TAKVİM, VIP)
   ========================================================================== */
.view-banner-head {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.view-banner-head h2 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.view-banner-head p {
  font-size: 13px;
  color: var(--text-muted);
}

.cards-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mod-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 15px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.pill-green {
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 7px;
}

.pill-gold {
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 7px;
}

/* Match Score Prediction */
.score-arena {
  background: #101720;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  text-align: center;
}

.team-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.team-crest {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #1b2735;
  border: 1px solid #2c3e53;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.team-label {
  font-size: 13px;
  font-weight: 700;
}

.stepper-ctrl {
  display: inline-flex;
  align-items: center;
  background: #182330;
  border: 1px solid #293a4d;
  border-radius: 9px;
  overflow: hidden;
}

.step-btn {
  width: 30px;
  height: 32px;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.score-num {
  width: 34px;
  height: 32px;
  background: #0d131a;
  border: none;
  text-align: center;
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  outline: none;
}

/* Mobile-safe 16px inputs */
.ax-field {
  width: 100%;
  height: 43px;
  background: #101720;
  border: 1px solid #263648;
  border-radius: 10px;
  padding: 0 13px;
  color: #ffffff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease;
}

.ax-field::placeholder {
  color: var(--text-muted);
  font-size: 13.5px;
}

.ax-field:focus {
  border-color: var(--emerald);
}

.btn-block-green {
  width: 100%;
  height: 43px;
  border-radius: 10px;
  background: var(--emerald);
  border: none;
  color: #041d0e;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Promo Code Copy Box */
.promo-box {
  background: #101720;
  border: 1px dashed var(--emerald-border);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.promo-code-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* Calendar Schedule List */
.calendar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cal-row {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 13px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cal-day-badge {
  min-width: 84px;
  text-align: center;
  background: #101720;
  border: 1px solid #253547;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--emerald);
}

/* VIP Cards Grid */
.vip-rank-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vip-rank-card.featured {
  border-color: var(--gold-border);
}

/* Profile Modal */
.ax-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(6, 10, 15, 0.76);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ax-modal.open {
  display: flex;
}

.modal-panel {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid #2b3d52;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================================
   9. MOBILE STICKY BOTTOM NAV & RESPONSIVE ADAPTATION
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 98;
  height: calc(var(--bottom-nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(15, 22, 31, 0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(5, 1fr);
}

.mob-nav-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.mob-nav-btn svg {
  width: 20px;
  height: 20px;
}

.mob-nav-btn.active {
  color: var(--emerald);
}

.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 14, 0.72);
  backdrop-filter: blur(3px);
  z-index: 92;
}

.ax-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + var(--safe-bottom));
  transform: translate(-50%, 16px);
  z-index: 220;
  background: #1b2836;
  border: 1px solid var(--emerald);
  color: #ffffff;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.ax-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1280px) {
  .stage-grid {
    grid-template-columns: minmax(0, 1fr) 264px;
  }
  .feature-strip-7 {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .feature-strip-7::-webkit-scrollbar {
    display: none;
  }
  .feat-tile {
    min-width: 114px;
    flex: 0 0 114px;
  }
}

@media (max-width: 1024px) {
  .stage-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .right-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
  .vip-promo-banner {
    grid-column: span 2;
    min-height: 200px;
  }
  body[data-active-view]:not([data-active-view="lobi"]) .right-rail {
    display: none;
  }
}

@media (max-width: 900px) {
  .ax-workspace {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100vw;
  }

  .left-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 266px;
    height: 100dvh;
    padding-top: calc(var(--topbar-h) + 14px + var(--safe-top));
    padding-bottom: calc(20px + var(--safe-bottom));
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.18s ease, visibility 0.22s ease;
  }

  body.mobile-menu-open .left-sidebar {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.mobile-menu-open .mobile-backdrop {
    display: block;
  }

  .header-search {
    display: none;
  }

  .mobile-bottom-bar {
    display: grid;
    width: 100%;
    max-width: 100vw;
  }

  .stage-grid {
    padding: 14px 12px calc(var(--bottom-nav-h) + 44px + var(--safe-bottom));
    width: 100%;
    max-width: 100vw;
  }

  .ax-toast {
    bottom: calc(var(--bottom-nav-h) + 14px + var(--safe-bottom));
  }
}

@media (max-width: 680px) {
  .ax-header {
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }

  .header-left {
    min-width: 0;
    gap: 10px;
  }

  .brand-logo {
    height: 26px;
  }

  .hdr-profile-text,
  .hdr-chevron {
    display: none;
  }

  .hdr-profile-chip {
    padding: 4px;
    border-radius: 10px;
  }

  .hero-banner {
    min-height: 244px;
    padding: 20px 16px 34px;
  }

  .hero-art-layer {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    background-image:
      radial-gradient(circle at 82% 24%, rgba(0, 224, 108, 0.22) 0%, rgba(0, 224, 108, 0.05) 42%, transparent 72%),
      radial-gradient(circle at 90% 85%, rgba(245, 196, 81, 0.14) 0%, transparent 55%);
    background-size: cover;
    background-position: center;
  }

  .hero-copy-box h1 {
    font-size: 24px;
  }

  .hero-btn-group {
    gap: 8px;
  }

  .btn-primary-green,
  .btn-dark-vip {
    height: 38px;
    padding: 0 13px;
    font-size: 12.5px;
  }

  .showcase-cards-3,
  .cards-2col,
  .right-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .vip-promo-banner {
    grid-column: span 1;
  }

  .mod-card {
    padding: 14px;
    min-width: 0;
  }

  .team-label {
    font-size: 12px;
    word-break: break-word;
  }

  .step-btn {
    width: 26px;
  }

  .score-num {
    width: 28px;
  }

  .cal-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   DEMO SLOT ARENA VIEW (SCOPED .dm-* — ZERO IMPACT ON OTHER AXPLUS VIEWS)
   ========================================================================== */
body[data-active-view="demo"] .stage-grid {
  grid-template-columns: minmax(0, 1fr);
}

body[data-active-view="demo"] .right-rail {
  display: none;
}

.dm-top-head {
  flex-wrap: wrap;
  gap: 12px;
}

.dm-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dm-lang-select,
.dm-sort-select {
  background: #131d28;
  color: #f3f7fb;
  border: 1px solid #243447;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.dm-quick-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  max-width: 100%;
}

.dm-quick-switcher::-webkit-scrollbar {
  display: none;
}

.dm-quick-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  margin-right: 4px;
}

.dm-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #131d28;
  border: 1px solid #243447;
  color: #f1f5f9;
  padding: 6px 12px 6px 7px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.dm-quick-pill img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.dm-quick-pill:hover {
  border-color: rgba(0, 224, 108, 0.45);
  background: #182534;
}

.dm-quick-pill.active {
  background: rgba(0, 224, 108, 0.14);
  border-color: var(--emerald);
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 224, 108, 0.16);
}

.dm-pill-mult {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(250, 204, 21, 0.12);
  padding: 2px 6px;
  border-radius: 999px;
}

.dm-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: stretch;
}

.dm-player-shell {
  background: #111a24;
  border: 1px solid #223244;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.dm-player-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #0b1219;
  border-bottom: 1px solid #1e2d3d;
  flex-wrap: wrap;
}

.dm-player-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  min-width: 0;
}

.dm-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  flex-shrink: 0;
}

.dm-player-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #fff;
}

.dm-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.dm-badge.gold {
  background: rgba(250, 204, 21, 0.14);
  color: var(--gold);
  border: 1px solid rgba(250, 204, 21, 0.28);
}

.dm-badge.emerald {
  background: rgba(0, 224, 108, 0.13);
  color: var(--emerald);
  border: 1px solid rgba(0, 224, 108, 0.28);
}

.dm-player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dm-ctrl-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  border: 1px solid #263749;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.dm-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #3a5169;
}

.dm-player-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 430px;
  background: #060a0f;
  overflow: hidden;
}

.dm-player-viewport iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.dm-poster-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(11, 18, 26, 0.48) 0%, rgba(6, 10, 15, 0.92) 100%);
}

.dm-poster-bg {
  position: absolute;
  inset: -18px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.42);
  transform: scale(1.08);
  z-index: -1;
}

.dm-poster-thumb {
  width: 124px;
  height: 124px;
  border-radius: 22px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
  margin-bottom: 14px;
}

.dm-poster-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.dm-poster-sub {
  font-size: 13px;
  color: #cbd5e1;
  max-width: 430px;
  margin-bottom: 18px;
  line-height: 1.45;
}

.dm-btn-launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #00e06c 0%, #00b856 100%);
  color: #03150b;
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(0, 224, 108, 0.16), 0 14px 32px rgba(0, 224, 108, 0.38);
  transition: transform 0.16s ease;
}

.dm-btn-launch:hover {
  transform: scale(1.04);
}

.dm-poster-perks {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  font-size: 12px;
  color: #b6c5d6;
  flex-wrap: wrap;
  justify-content: center;
}

.dm-ingame-nudge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 12;
  background: rgba(11, 18, 26, 0.95);
  border: 1px solid var(--emerald);
  border-radius: 14px;
  padding: 13px 15px;
  max-width: 300px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
}

.dm-ingame-nudge[hidden] {
  display: none;
}

.dm-nudge-close {
  position: absolute;
  top: 7px;
  right: 9px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
}

.dm-nudge-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.dm-nudge-text {
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.4;
  margin-bottom: 10px;
}

.dm-promo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: linear-gradient(90deg, rgba(0, 224, 108, 0.10) 0%, rgba(250, 204, 21, 0.08) 100%);
  border-top: 1px solid rgba(0, 224, 108, 0.24);
  flex-wrap: wrap;
}

.dm-promo-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.dm-promo-icon {
  font-size: 21px;
}

.dm-promo-copy strong {
  display: block;
  font-size: 13.5px;
  color: #fff;
}

.dm-promo-copy span {
  font-size: 12px;
  color: var(--text-muted);
}

.dm-promo-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dm-code-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #080f16;
  border: 1px dashed var(--gold);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.dm-code-box code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
}

.dm-code-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 7px;
  border-radius: 5px;
}

.dm-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--emerald) 0%, #00b856 100%);
  color: #03150b;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 224, 108, 0.24);
  cursor: pointer;
  white-space: nowrap;
}

.dm-btn-full {
  width: 100%;
  padding: 12px 16px;
}

.dm-side-card {
  background: #121c27;
  border: 1px solid #223244;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.dm-side-banner {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  padding: 16px 14px;
  background-size: cover;
  background-position: right center;
  border: 1px solid rgba(0, 224, 108, 0.28);
}

.dm-side-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(7, 14, 21, 0.94) 15%, rgba(7, 14, 21, 0.62) 100%);
}

.dm-side-banner-inner {
  position: relative;
  z-index: 1;
}

.dm-side-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: var(--emerald);
  background: rgba(0, 224, 108, 0.14);
  border: 1px solid rgba(0, 224, 108, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 7px;
}

.dm-side-banner-inner h3 {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 5px;
}

.dm-side-banner-inner p {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.42;
}

.dm-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dm-spec-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid #223244;
  border-radius: 10px;
  padding: 9px 11px;
}

.dm-spec-item span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.dm-spec-item strong {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.dm-spec-item strong.emerald { color: var(--emerald); }
.dm-spec-item strong.gold { color: var(--gold); }

.dm-steps-box {
  background: rgba(0, 224, 108, 0.05);
  border: 1px solid rgba(0, 224, 108, 0.16);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dm-step-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #dce6f2;
}

.dm-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald);
  color: #04150c;
  font-weight: 900;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dm-side-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dm-lobby-wrap {
  background: #101822;
  border: 1px solid #203042;
  border-radius: 18px;
  padding: 20px;
  margin-top: 4px;
}

.dm-lobby-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.dm-lobby-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}

.dm-lobby-header p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.dm-lobby-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dm-search-wrap {
  position: relative;
  min-width: 250px;
}

.dm-search-wrap span {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  pointer-events: none;
}

.dm-search-wrap input {
  width: 100%;
  background: #141f2b;
  border: 1px solid #253649;
  border-radius: 10px;
  padding: 9px 12px 9px 34px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.dm-search-wrap input:focus {
  border-color: var(--emerald);
}

.dm-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.dm-filter-tabs::-webkit-scrollbar {
  display: none;
}

.dm-filter-tab {
  background: #141f2b;
  color: var(--text-muted);
  border: 1px solid #253649;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.dm-filter-tab.active {
  background: var(--emerald);
  color: #03150b;
  border-color: var(--emerald);
}

.dm-games-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.dm-slot-card {
  background: #141f2b;
  border: 1px solid #243548;
  border-radius: 13px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dm-slot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 224, 108, 0.55);
}

.dm-slot-card.is-playing {
  border-color: var(--emerald);
  box-shadow: 0 0 0 2px rgba(0, 224, 108, 0.25);
}

.dm-slot-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0c141d;
  overflow: hidden;
}

.dm-slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.dm-slot-card:hover .dm-slot-thumb img {
  transform: scale(1.06);
}

.dm-slot-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
}

.dm-slot-badges {
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  pointer-events: none;
}

.dm-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
}

.dm-tag.bb {
  background: rgba(0, 224, 108, 0.9);
  color: #03150b;
}

.dm-tag.mult {
  background: rgba(8, 14, 20, 0.85);
  color: var(--gold);
  border: 1px solid rgba(250, 204, 21, 0.35);
}

.dm-slot-hover {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 18, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.dm-slot-card:hover .dm-slot-hover {
  opacity: 1;
}

.dm-slot-hover span {
  background: var(--emerald);
  color: #03150b;
  font-weight: 900;
  font-size: 11.5px;
  padding: 7px 13px;
  border-radius: 999px;
}

.dm-slot-body {
  padding: 9px 10px 11px;
}

.dm-slot-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.dm-slot-sub {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-muted);
}

.dm-load-more-wrap {
  margin-top: 18px;
  text-align: center;
}

.dm-btn-load-more {
  background: #141f2b;
  color: #fff;
  border: 1px solid rgba(0, 224, 108, 0.35);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .dm-stage-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dm-games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .dm-player-viewport {
    aspect-ratio: 4 / 3;
    min-height: 330px;
  }
  .dm-poster-thumb {
    width: 86px;
    height: 86px;
  }
  .dm-poster-title {
    font-size: 19px;
  }
  .dm-btn-launch {
    padding: 12px 20px;
    font-size: 13.5px;
  }
  .dm-lobby-wrap {
    padding: 14px;
  }
  .dm-lobby-controls,
  .dm-search-wrap,
  .dm-sort-select,
  .dm-promo-right {
    width: 100%;
    min-width: 0;
  }
  .dm-promo-right {
    justify-content: space-between;
  }
  .dm-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* ==========================================================================
   V2 SPEED, MOBILE & MINI APP POLISH (NO-VIKING / NO-VIP)
   ========================================================================== */
.hdr-avatar-svg {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(0, 224, 108, 0.12);
  border: 1px solid rgba(0, 224, 108, 0.28);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-search {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 12px;
  height: 40px;
  border-radius: 10px;
  background: rgba(11, 17, 24, 0.85);
  border: 1px solid var(--border);
}

.mobile-drawer-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: #e2e8f0;
  font-size: 13px;
}

@media (max-width: 900px) {
  .mobile-drawer-search {
    display: flex;
  }
}

.qlr-emerald {
  color: var(--emerald);
}

.rail-tg-card {
  background:
    radial-gradient(circle at 90% 12%, rgba(0, 224, 108, 0.16), transparent 55%),
    linear-gradient(160deg, #101b27 0%, #0b121b 100%);
  border: 1px solid rgba(0, 224, 108, 0.22);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rail-tg-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 224, 108, 0.12);
  color: var(--emerald);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.rail-tg-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: #f8fafc;
}

.rail-tg-card p {
  font-size: 12.5px;
  line-height: 1.45;
  color: #94a3b8;
}

.dm-side-banner {
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 224, 108, 0.24), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(245, 196, 81, 0.16), transparent 55%),
    linear-gradient(135deg, #102030 0%, #09131d 100%) !important;
}

/* Mobile & Telegram Mini App True CSS Fullscreen for Demo Slot Iframe */
body.dm-fullscreen-active {
  overflow: hidden !important;
}

.dm-player-viewport.dm-css-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  aspect-ratio: auto !important;
  z-index: 9999 !important;
  border-radius: 0 !important;
  background: #000 !important;
}

.dm-player-viewport.dm-css-fullscreen iframe {
  width: 100% !important;
  height: 100% !important;
}

.dm-fs-exit-btn {
  position: fixed;
  top: calc(10px + var(--safe-top, 0px));
  right: 12px;
  z-index: 10001;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(11, 17, 24, 0.88);
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

/* Improved Mobile Touch Targets & Scroll Hints */
.hero-dot {
  position: relative;
}
.hero-dot::after {
  content: '';
  position: absolute;
  inset: -12px -6px;
}

.section-link-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
}

@media (max-width: 900px) {
  .feature-strip-7,
  .dm-quick-switcher,
  .dm-filter-tabs {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 90%, transparent 100%);
    padding-right: 18px;
  }
}

/* SSR SEO Footer Block (Clean, Subtle & Crawlable) */
.ax-seo-foot {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(15, 22, 31, 0.72);
  border: 1px solid var(--border);
}

.ax-seo-foot h2 {
  font-size: 14px;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.ax-seo-foot p {
  font-size: 12.5px;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 12px;
}

.ax-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.ax-seo-links a {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ax-seo-links a:hover {
  color: var(--emerald);
}
