@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
  /* Dark Theme: Obsidian & Electric Cyan/Indigo */
  --bg-page: #05070d;
  --bg-card: #0c101d;
  --bg-card-2: #12182b;
  --bg-nav: rgba(8, 11, 20, 0.82);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 229, 255, 0.35);
  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --text-muted: #64748b;
  --primary: #00e5ff;
  --primary-dark: #0284c7;
  --secondary: #6366f1;
  --emerald: #10b981;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --glow-primary: rgba(0, 229, 255, 0.25);
  --card-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.75);
  --mesh: radial-gradient(circle at 85% 8%, rgba(0, 229, 255, 0.14), transparent 38%),
          radial-gradient(circle at 12% 75%, rgba(99, 102, 241, 0.16), transparent 42%);
}

[data-theme="light"] {
  /* Light Theme: Crisp Porcelain & Deep Cobalt */
  --bg-page: #f3f6fb;
  --bg-card: #ffffff;
  --bg-card-2: #eaf0f8;
  --bg-nav: rgba(255, 255, 255, 0.88);
  --border: rgba(15, 23, 42, 0.09);
  --border-accent: rgba(2, 132, 199, 0.35);
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #64748b;
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --secondary: #4f46e5;
  --emerald: #059669;
  --rose: #e11d48;
  --amber: #d97706;
  --glow-primary: rgba(2, 132, 199, 0.18);
  --card-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
  --mesh: radial-gradient(circle at 85% 8%, rgba(2, 132, 199, 0.08), transparent 38%),
          radial-gradient(circle at 12% 75%, rgba(79, 70, 229, 0.08), transparent 42%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-page);
  background-image: var(--mesh);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Subtle Tactical Grid Background */
.tactical-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 25%, black 30%, transparent 80%);
}

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

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.6px;
}

.logo-emblem {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px var(--glow-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
  background: var(--bg-card-2);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--text-main);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s;
}

.theme-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 13px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  box-shadow: 0 10px 26px var(--glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-main);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero Showcase */
.hero-section {
  padding: 54px 0 48px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.35); }
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.24;
  margin-bottom: 18px;
}

.hero-title span {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-sub);
  font-size: 1.04rem;
  margin-bottom: 30px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.trust-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-sub);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.trust-item i { color: var(--primary); }

/* 3D Gaming Artwork Stage */
.artwork-stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 450px;
  border: 1px solid var(--border-accent);
  box-shadow: var(--card-shadow);
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.15) 0%, rgba(5, 7, 13, 0.45) 50%, rgba(5, 7, 13, 0.96) 100%),
    url('https://images.unsplash.com/photo-1598550476439-6847785fcea6?auto=format&fit=crop&w=1200&q=85') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  transition: transform 0.25s ease;
}

.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.hud-chip {
  background: rgba(8, 12, 24, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  padding: 7px 13px;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stage-bottom {
  background: rgba(10, 14, 26, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px;
  color: #fff;
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tel-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.tel-box strong {
  display: block;
  font-size: 1.15rem;
  color: #00e5ff;
  font-weight: 900;
}

.tel-box span { font-size: 0.74rem; color: #cbd5e1; }

/* Section Heading */
.sec-head {
  text-align: center;
  max-width: 660px;
  margin: 76px auto 36px;
}

.sec-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--glow-primary);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.sec-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.sec-head p { color: var(--text-sub); font-size: 0.96rem; }

/* Interactive Live Ping Tester */
.ping-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.ping-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.servers-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.srv-box {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.srv-info strong { display: block; font-size: 0.95rem; }
.srv-info span { font-size: 0.78rem; color: var(--text-sub); }
.srv-ms {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--emerald);
  direction: ltr;
}

/* Bento Features Grid */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.b-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.b-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-12 { grid-column: span 12; }

.icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--glow-primary);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.b-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.b-card p { font-size: 0.9rem; color: var(--text-sub); }

/* Supported Games Showcase */
.games-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.game-tile {
  position: relative;
  height: 220px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
}

.game-tile-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.game-tile:hover .game-tile-img {
  transform: scale(1.07);
  filter: brightness(0.62);
}

.game-tile-body { position: relative; z-index: 2; }
.game-tile-body small {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #00e5ff;
  margin-bottom: 4px;
}
.game-tile-body h3 { font-size: 1.18rem; font-weight: 900; }

/* Comparison Table */
.comp-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow-x: auto;
  box-shadow: var(--card-shadow);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.92rem;
}

.comp-table th, .comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.comp-table th {
  background: var(--bg-card-2);
  font-weight: 800;
}

.comp-table tr:last-child td { border-bottom: none; }
.highlight-col { background: rgba(0, 229, 255, 0.05); font-weight: 700; }

/* Pricing Cards */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.p-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

.p-card.best {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--card-shadow);
}

.best-pill {
  position: absolute;
  top: 22px;
  left: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.p-amount {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 14px 0 20px;
}

.p-amount span { font-size: 0.86rem; color: var(--text-sub); font-weight: 500; }

.p-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  flex: 1;
}

.p-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-sub);
}

.p-features i { color: var(--primary); flex-shrink: 0; }

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

details.faq-item summary {
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-item p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--text-sub);
  font-size: 0.9rem;
}

/* Footer (Zero Admin Links) */
footer {
  margin-top: 84px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  padding: 42px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-sub);
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.mobile-menu-btn { display: none; }

@media (max-width: 920px) {
  .hero-section, .footer-grid { grid-template-columns: 1fr; }
  .span-6, .span-4 { grid-column: span 12; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: grid; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }
}

/* Rotating Gamer Testimonials Marquee */
.marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: 10px 0 20px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scrollReviews 38s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.review-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--card-shadow);
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--glow-primary);
  color: var(--primary);
  font-weight: 900;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--amber);
}

.review-card p {
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .container { padding: 0 14px; }
  .hero-section { padding: 28px 0 24px; gap: 24px; }
  .artwork-stage { min-height: 340px; }
  .nav-cta .btn-primary { padding: 8px 12px; font-size: 0.8rem; }
  .review-card { width: 275px; }
}

/* ================= CUTE DYNAMIC GAMING BUDDY & FLOATING ELEMENTS ================= */
.gaming-buddy {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 950;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.buddy-btn {
  pointer-events: auto;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1.5px solid var(--primary);
  box-shadow: 0 12px 28px var(--glow-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: buddyBob 3.2s ease-in-out infinite;
}

.buddy-btn:hover {
  transform: scale(1.1) rotate(-4deg);
}

@keyframes buddyBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.buddy-bubble {
  pointer-events: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  color: var(--text-main);
  padding: 10px 15px;
  border-radius: 16px 16px 4px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  max-width: 230px;
  box-shadow: var(--card-shadow);
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: all 0.28s ease;
}

.buddy-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Subtle Dynamic Floating Gaming Shapes in Hero */
.float-badge-1 {
  animation: floatSlow 5s ease-in-out infinite;
}
.float-badge-2 {
  animation: floatSlow 6.2s ease-in-out infinite reverse;
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 600px) {
  .gaming-buddy { bottom: 14px; right: 14px; }
  .buddy-btn { width: 54px; height: 54px; border-radius: 16px; }
  .buddy-bubble { max-width: 190px; font-size: 0.78rem; }
}

/* ================= V6: DYNAMIC GAMES TICKER MARQUEE ================= */
.games-ticker-wrap {
  position: relative;
  overflow: hidden;
  padding: 14px 0;
  margin: 10px 0 38px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.games-ticker-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: tickerSlide 26s linear infinite;
}

.games-ticker-wrap:hover .games-ticker-track {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.game-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.game-pill:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.game-pill-dot {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--glow-primary);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.game-pill small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--emerald);
}

/* ================= V6: UPGRADED EYE-CATCHING PRICING CARDS ================= */
.p-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.p-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.p-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 24px 55px -12px var(--glow-primary);
}

.p-card:hover::before,
.p-card.best::before {
  opacity: 1;
}

.p-card.best {
  transform: scale(1.03);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.06) 0%, var(--bg-card) 45%);
}

.p-card.best:hover {
  transform: scale(1.03) translateY(-8px);
}

.plan-icon-head {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--glow-primary);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

/* ================= V6: CUTE CUSTOM GAMING CURSOR (DESKTOP ONLY) ================= */
@media (hover: hover) and (pointer: fine) {
  .sp-cursor-dot,
  .sp-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
  }

  .sp-cursor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
  }

  .sp-cursor-ring {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.8px solid var(--primary);
    opacity: 0.65;
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  }

  .sp-cursor-ring.hovering {
    width: 46px;
    height: 46px;
    border-color: var(--secondary);
    background: rgba(0, 229, 255, 0.1);
    opacity: 0.9;
  }
}

@media (hover: none), (pointer: coarse) {
  .sp-cursor-dot, .sp-cursor-ring { display: none !important; }
}


/* ================= V7: GAME LOGO BADGES, SIMULATOR, SCROLL REVEAL & AI CHAT ================= */
.game-logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* Before / After Simulator Card */
.sim-card {
  margin-top: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--card-shadow);
}
.sim-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}
.sim-switch-wrap {
  display: flex;
  background: var(--bg-card-2);
  padding: 5px;
  border-radius: 14px;
  border: 1px solid var(--border);
  gap: 4px;
}
.sim-tab {
  border: none;
  background: transparent;
  color: var(--text-sub);
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
}
.sim-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 6px 16px var(--glow-primary);
}
.sim-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.sim-box {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.sim-box span { font-size: 0.8rem; color: var(--text-sub); display: block; }
.sim-box strong { font-size: 1.35rem; font-weight: 900; display: block; margin: 4px 0 10px; direction: ltr; text-align: right; }
.sim-bar {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  overflow: hidden;
}
.sim-bar > div {
  height: 100%;
  border-radius: 999px;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}

/* Cute Animated Sparkle Cursor Trail */
.sp-cursor-spark {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transform: translate(-50%, -50%) scale(1);
  animation: sparkFade 0.55s ease-out forwards;
}
@keyframes sparkFade {
  0% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -18px) scale(0.15); }
}

.sp-cursor-ring.clicking {
  transform: translate(-50%, -50%) scale(0.72) rotate(45deg);
  border-color: var(--emerald);
}

/* ================= V7: CUTE AI CHAT SUPPORT DRAWER ================= */
.ai-chat-panel {
  position: fixed;
  bottom: 96px;
  right: 22px;
  width: 360px;
  max-width: calc(100vw - 28px);
  height: 490px;
  max-height: 72vh;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 24px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.65);
  z-index: 960;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ai-chat-panel.open { display: flex; }

@keyframes chatPop {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-chat-head {
  padding: 15px 18px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(99, 102, 241, 0.16));
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 15px;
  font-size: 0.84rem;
  line-height: 1.65;
}
.ai-msg.bot {
  align-self: flex-start;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-bottom-right-radius: 4px;
}
.ai-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-bottom-left-radius: 4px;
}

.ai-quick-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 14px 10px;
}
.ai-chip {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--text-sub);
  cursor: pointer;
  transition: 0.2s;
}
.ai-chip:hover { border-color: var(--primary); color: var(--primary); }

.ai-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.ai-chat-input {
  flex: 1;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 13px;
  color: var(--text-main);
  font-size: 0.86rem;
  outline: none;
}
.ai-chat-input:focus { border-color: var(--primary); }

/* ================= V8: CYBER PING CORE HUD (NO STOCK PHOTO) ================= */
.cyber-hud-stage {
  position: relative;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.cyber-hud-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(0, 229, 255, 0.14), transparent 48%),
    radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.15), transparent 50%);
}

.hud-top-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hud-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 5px 11px;
  border-radius: 999px;
}

.hud-game-switcher {
  display: flex;
  gap: 4px;
  background: var(--bg-card-2);
  padding: 4px;
  border-radius: 11px;
  border: 1px solid var(--border);
}

.hud-g-btn {
  border: none;
  background: transparent;
  color: var(--text-sub);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.hud-g-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.hud-radar-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.radar-visual {
  position: relative;
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
}

.radar-svg {
  width: 100%;
  height: 100%;
}

.radar-sweep {
  transform-origin: 110px 110px;
  animation: radarSpin 4.5s linear infinite;
}

@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-blip {
  animation: blipPulse 2.4s ease-in-out infinite;
}
.blip-2 { animation-delay: 0.7s; }
.blip-3 { animation-delay: 1.4s; }

@keyframes blipPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.25); }
}

.radar-readout {
  position: absolute;
  bottom: 10px;
  background: var(--bg-card-2);
  border: 1px solid var(--border-accent);
  padding: 5px 14px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.radar-readout strong {
  display: block;
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.radar-readout span {
  font-size: 0.7rem;
  color: var(--text-sub);
  font-weight: 700;
}

.hud-wave-box {
  width: 100%;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px 6px;
}

.hud-wave-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-sub);
  margin-bottom: 4px;
}

.wave-svg {
  width: 100%;
  height: 36px;
  display: block;
}

.wave-path-1 {
  stroke-dasharray: 12 4;
  animation: waveDash 1.8s linear infinite;
}
@keyframes waveDash {
  to { stroke-dashoffset: -32; }
}

.hud-metrics-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hud-m-item {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
}

.hud-m-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
}

.hud-m-item span {
  font-size: 0.74rem;
  color: var(--text-sub);
}

.hud-platforms-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-sub);
}

.hud-platforms-bar span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Fix Seamless LTR Marquee Animation (No jump in RTL!) */
@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================= V8: FULL MOBILE RESPONSIVENESS FIXES ================= */
html, body {
  max-width: 100%;
  overflow-x: clip !important;
}

.pricing-row {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.games-showcase {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.servers-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.sim-metrics {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

@media (max-width: 920px) {
  .p-card.best {
    transform: none !important;
  }
  .p-card.best:hover {
    transform: translateY(-4px) !important;
  }
  .hero-section {
    grid-template-columns: 1fr;
    padding: 28px 0 24px;
    gap: 28px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-desc {
    font-size: 0.94rem;
  }
  .nav-links.open {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
    gap: 6px;
  }
  .nav-links.open a {
    width: 100%;
    padding: 12px 14px;
  }
}

@media (max-width: 600px) {
  .container { padding: 0 14px; }
  .nav-wrap { height: 64px; gap: 8px; }
  .logo { font-size: 1.08rem; gap: 8px; }
  .logo-emblem { width: 34px; height: 34px; border-radius: 10px; }
  .theme-btn { width: 36px; height: 36px; border-radius: 10px; }
  .nav-cta .btn-primary { padding: 8px 12px; font-size: 0.78rem; border-radius: 10px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .trust-strip { gap: 12px; font-size: 0.8rem; }
  .cyber-hud-stage { padding: 16px; border-radius: 22px; }
  .radar-visual { width: 175px; height: 175px; }
  .hud-game-switcher { width: 100%; justify-content: space-between; }
  .hud-g-btn { flex: 1; text-align: center; }
  .ping-card, .sim-card, .b-card, .p-card { padding: 18px; border-radius: 18px; }
  .sim-switch-wrap { width: 100%; }
  .sim-tab { flex: 1; font-size: 0.78rem; padding: 8px 10px; }
  .sec-head { margin: 48px auto 24px; }
  .sec-head h2 { font-size: 1.4rem; }
  .comp-table th, .comp-table td { padding: 12px 10px; font-size: 0.8rem; }
  .ai-chat-panel { right: 10px; left: 10px; width: auto; bottom: 82px; height: 68vh; }
  .buddy-bubble { display: none; }
}

/* ================= V9: BRAND IDENTITY HARMONY, TACTILE DEPTH & SIGNATURE WIDGETS ================= */
:root {
  --brand-green: #00e676;
}
[data-theme="light"] {
  --brand-green: #059669;
}

/* Subtle Film/Carbon Grain Texture (Removes flat AI look) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.032;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 0%;
  height: 3px;
  z-index: 200;
  background: linear-gradient(90deg, var(--brand-green), var(--primary), var(--secondary));
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.65);
  transition: width 0.08s linear;
}

/* Real Brand Logo Emblem */
.logo-brand-img {
  background: rgba(8, 13, 26, 0.92) !important;
  border: 1.5px solid rgba(0, 230, 118, 0.45);
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.22), inset 0 0 10px rgba(0, 229, 255, 0.14) !important;
  padding: 4px;
  overflow: hidden;
}
[data-theme="light"] .logo-brand-img {
  background: #0a1020 !important;
  border-color: rgba(2, 132, 199, 0.45);
}
.logo-brand-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 4px rgba(0, 230, 118, 0.4));
}

/* Tactical Broadcast Telemetry Ribbon */
.telemetry-ribbon {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-sub);
}
.tr-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tr-item strong { color: var(--text-main); font-weight: 800; }
.tr-sep { width: 1px; height: 14px; background: var(--border); }

/* Signature Split: Playable Hit-Reg Arena + Smart ISP Optimizer */
.signature-split {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.arena-card, .optimizer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* Tactical Corner Brackets */
.arena-card::after, .cyber-hud-stage::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--brand-green);
  border-left: 2px solid var(--brand-green);
  border-radius: 4px 0 0 0;
  opacity: 0.65;
  pointer-events: none;
}

.arena-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hitreg-arena {
  position: relative;
  height: 220px;
  border-radius: 18px;
  background: radial-gradient(circle at center, rgba(0, 230, 118, 0.08), rgba(5, 7, 13, 0.92));
  border: 1px solid var(--border-accent);
  overflow: hidden;
  cursor: crosshair;
  user-select: none;
}
[data-theme="light"] .hitreg-arena {
  background: radial-gradient(circle at center, rgba(2, 132, 199, 0.12), #0f172a);
}

.arena-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 229, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.arena-start-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(6, 9, 18, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #f8fafc;
}

.arena-target {
  position: absolute;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid #00e676;
  background: radial-gradient(circle, #00e676 0%, rgba(0, 229, 255, 0.35) 55%, transparent 72%);
  box-shadow: 0 0 22px rgba(0, 230, 118, 0.75);
  transform: translate(-50%, -50%);
  cursor: crosshair;
  animation: targetPop 0.18s ease-out;
}
.arena-target.laggy {
  border-color: #f43f5e;
  background: radial-gradient(circle, #f43f5e 0%, rgba(245, 158, 11, 0.35) 55%, transparent 72%);
  box-shadow: 0 0 22px rgba(244, 63, 94, 0.7);
}
@keyframes targetPop {
  from { transform: translate(-50%, -50%) scale(0.35); }
  to { transform: translate(-50%, -50%) scale(1); }
}

.arena-hit-toast {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 5;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.84);
  color: #00e676;
  display: none;
}

.arena-stats {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-sub);
  background: var(--bg-card-2);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* Smart ISP Optimizer */
.opt-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.opt-controls label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 5px;
}
.opt-select {
  width: 100%;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 10px 10px;
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  outline: none;
}
.opt-select:focus { border-color: var(--brand-green); }

.opt-output {
  background: var(--bg-card-2);
  border: 1px solid var(--border-accent);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: space-between;
}
.opt-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.opt-kpi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.opt-kpi span { display: block; font-size: 0.7rem; color: var(--text-sub); }
.opt-kpi strong { font-family: monospace; font-size: 1.05rem; font-weight: 900; color: var(--primary); }
.opt-tip-text { font-size: 0.83rem; color: var(--text-sub); line-height: 1.7; }

/* Bespoke Custom Esports Game Art Cards */
.bespoke-games-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.esport-card {
  position: relative;
  height: 205px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f8fafc;
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.esport-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-green);
}
.ec-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: transform 0.45s ease;
}
.esport-card:hover .ec-art { transform: scale(1.06); }
.ec-top, .ec-bottom { position: relative; z-index: 2; }
.ec-top { display: flex; justify-content: space-between; align-items: center; }
.ec-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.ec-ping {
  font-family: monospace;
  font-size: 0.86rem;
  font-weight: 900;
  color: #00e676;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.35);
  padding: 3px 9px;
  border-radius: 8px;
}
.ec-bottom h3 { font-size: 1.22rem; font-weight: 900; margin-bottom: 4px; color: #fff; }
.ec-bottom p { font-size: 0.82rem; color: #cbd5e1; }

/* Scroll Reveal Animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .signature-split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .telemetry-ribbon { justify-content: center; font-size: 0.74rem; padding: 8px 12px; }
  .tr-sep { display: none; }
  .opt-controls { grid-template-columns: 1fr; }
  .arena-card, .optimizer-card { padding: 18px; }
}
