/* =====================================================
   Royal Land MC — Ultra Modern CSS 2026
   بروزرسانی کامل برای سال 2026
   ===================================================== */

/* ── CSS Variables ─────────────────────────────────── */
:root {
  --rl-bg:           #03070f;
  --rl-bg2:          #060d1c;
  --rl-surface:      #0a1628;
  --rl-surface2:     #0e1f38;
  --rl-glass:        rgba(8, 18, 40, 0.75);
  --rl-glass2:       rgba(12, 24, 52, 0.85);
  --rl-border:       rgba(59, 130, 246, 0.14);
  --rl-border2:      rgba(99, 179, 237, 0.22);
  --rl-blue:         #3b82f6;
  --rl-blue2:        #60a5fa;
  --rl-blue-glow:    rgba(59, 130, 246, 0.4);
  --rl-blue-glow2:   rgba(59, 130, 246, 0.15);
  --rl-cyan:         #22d3ee;
  --rl-cyan-glow:    rgba(34, 211, 238, 0.3);
  --rl-purple:       #818cf8;
  --rl-purple-glow:  rgba(129, 140, 248, 0.25);
  --rl-gold:         #fbbf24;
  --rl-gold-glow:    rgba(251, 191, 36, 0.3);
  --rl-text:         #e2eeff;
  --rl-text2:        #94b8e0;
  --rl-text3:        #5b8ab8;
  --rl-radius:       1rem;
  --rl-radius-lg:    1.6rem;
  --rl-radius-xl:    2rem;

  /* 2026 easing curves */
  --ease-expo:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-snappy:     cubic-bezier(0.25, 0, 0, 1);
  --ease-smooth:     cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────── */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--rl-bg);
  background-image:
    radial-gradient(ellipse 100% 70% at 10% -5%, rgba(59, 130, 246, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 110%, rgba(34, 211, 238, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(129, 140, 248, 0.04) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='1' cy='1' r='0.7' fill='rgba(255,255,255,0.018)'/%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: auto, auto, auto, 60px 60px;
  color: var(--rl-text);
  overflow-x: hidden;
}



/* ── Selection ──────────────────────────────────────── */
::selection {
  background: rgba(59, 130, 246, 0.38);
  color: #fff;
}

/* ── Custom Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--rl-bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--rl-blue) 0%, var(--rl-cyan) 100%);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { opacity: 0.7; }
* { scrollbar-width: thin; scrollbar-color: var(--rl-blue) var(--rl-bg); }

/* ── Scroll Progress Bar ────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--rl-blue), var(--rl-cyan), var(--rl-purple));
  z-index: 9999;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px var(--rl-blue-glow), 0 0 24px rgba(34,211,238,0.2);
}

/* ── NOISE / GRAIN Overlay ─────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  mix-blend-mode: overlay;
}


/* shimmer highlight */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.045) 50%, transparent 60%);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease-expo);
  pointer-events: none;
}
.glass-card:hover::before { left: 130%; }

.glass-card:hover {
  transform: translateY(-5px) scale(1.005);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(59, 130, 246, 0.28),
    0 0 40px rgba(59, 130, 246, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
  border-color: rgba(99, 179, 237, 0.28);
}

/* ── Feature Cards ───────────────────────────────────── */
.feature-card {
  transition:
    transform 0.45s var(--ease-expo),
    box-shadow 0.45s var(--ease-expo),
    border-color 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -8px rgba(59, 130, 246, 0.35), 0 0 0 1px rgba(59,130,246,0.2);
}

/* ── Blog Cards ─────────────────────────────────────── */
.blog-card {
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s ease;
}
.blog-card:hover { transform: translateY(-6px); }

/* ── Product Cards ───────────────────────────────────── */
.product-card {
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s ease;
}
.product-card:hover { transform: translateY(-6px); }

/* ── Buttons — 2026 ──────────────────────────────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb 0%, #1e3fa8 50%, #1d4ed8 100%);
  border: 1px solid rgba(99, 153, 255, 0.4);
  border-radius: 99px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition:
    transform 0.28s var(--ease-spring),
    box-shadow 0.3s ease,
    background 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  text-decoration: none;
}

/* Glossy overlay */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
  border-radius: 99px 99px 0 0;
  pointer-events: none;
}

/* Animated gradient sweep */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-expo);
  border-radius: 99px;
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 10px 30px -5px rgba(59, 130, 246, 0.65),
    0 0 0 1px rgba(99, 179, 255, 0.5),
    0 0 60px rgba(59, 130, 246, 0.15);
}
.btn-primary:active { transform: translateY(0) scale(0.97); }

/* Ripple */
.btn-primary .ripple, .btn-play .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple-anim 0.55s linear;
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(5); opacity: 0; } }

/* btn-play — same as btn-primary */
.btn-play {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb 0%, #1e3fa8 50%, #1d4ed8 100%);
  border: 1px solid rgba(99, 153, 255, 0.4);
  border-radius: 99px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition: transform 0.28s var(--ease-spring), box-shadow 0.3s ease;
  cursor: pointer;
}
.btn-play:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.65);
}
.btn-play:active { transform: translateY(0) scale(0.97); }

/* ── Navigation — floating pill bar ─────────────────── */
nav.glass-card {
  top: 0.75rem !important;
  left: 0 !important;
  right: 0 !important;
  margin-inline: auto;
  width: min(1180px, calc(100% - 1.5rem)) !important;
  padding-top: 0.7rem !important;
  padding-bottom: 0.7rem !important;
  background: rgba(4, 12, 28, 0.62) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid var(--rl-border) !important;
  border-radius: 18px !important;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  z-index: 999999 !important;
  transition: top 0.35s var(--ease-expo), box-shadow 0.35s ease,
    background 0.35s ease, border-color 0.35s ease,
    padding 0.35s var(--ease-expo);
}

/* حالت اسکرول — جمع‌وجورتر و شیشه‌ای‌تر */
nav.glass-card.scrolled {
  top: 0.45rem !important;
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
  background: rgba(3, 9, 22, 0.82) !important;
  border-color: rgba(99, 179, 237, 0.26) !important;
  box-shadow:
    0 14px 50px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
  font-weight: 500;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px; right: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--rl-blue), var(--rl-cyan));
  border-radius: 99px;
  transition: width 0.35s var(--ease-expo);
}
.nav-link:hover { color: #bfdbfe; }
.nav-link:hover::after { width: 100%; left: 0; }
.nav-link.active::after { width: 100%; }

/* ── Hero Section ───────────────────────────────────── */
/* Glowing orbs behind hero */
#home {
  position: relative;
  overflow: hidden;
}
#home::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center,
    rgba(59, 130, 246, 0.12) 0%,
    rgba(34, 211, 238, 0.06) 40%,
    transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: hero-glow 8s ease-in-out infinite alternate;
}
@keyframes hero-glow {
  0%   { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1;   transform: translateX(-50%) scale(1.15); }
}

/* Hero H1 text gradient */
h1 .text-transparent {
  background-clip: text !important;
  -webkit-background-clip: text !important;
  background-image: linear-gradient(135deg, #60a5fa 0%, #22d3ee 40%, #818cf8 100%) !important;
  animation: gradient-shift 4s ease infinite alternate;
  background-size: 200% 200% !important;
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ── Server Stats Box ────────────────────────────────── */
.server-stats {
  background: rgba(8, 18, 40, 0.8) !important;
  border: 1px solid rgba(59, 130, 246, 0.18) !important;
  border-radius: var(--rl-radius-lg) !important;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.server-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Counting numbers glow */
.server-stats .text-blue-400 {
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  font-variant-numeric: tabular-nums;
}

/* ── Animated Counter ────────────────────────────────── */
.count-up {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--rl-blue2) 0%, var(--rl-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 12px rgba(59,130,246,0.5));
}

/* ── IP Box ──────────────────────────────────────────── */
.ip-box { display: inline-flex !important; }
.ip-box-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
}
.ip-address {
  font-family: 'Courier New', monospace;
  font-size: 0.92rem;
  color: #93c5fd;
  letter-spacing: 0.06em;
  text-shadow: 0 0 12px rgba(147, 197, 253, 0.4);
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 99px;
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--ease-spring);
  font-family: 'Vazir', sans-serif;
}
.copy-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(59,130,246,0.3);
}

/* ── Versions Mini Banner ────────────────────────────── */
.versions-mini-banner {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.8rem 1.2rem;
  background: rgba(8, 18, 40, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-decoration: none;
  transition: all 0.3s var(--ease-expo);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.versions-mini-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, rgba(34,211,238,0.04) 100%);
  pointer-events: none;
}
.versions-mini-banner::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left 0.6s var(--ease-expo);
}
.versions-mini-banner:hover::after { left: 150%; }
.versions-mini-banner:hover {
  background: rgba(12, 28, 60, 0.9);
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(59,130,246,0.15);
}
.vmb-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-radius: 11px;
  transition: transform 0.3s var(--ease-spring);
}
.versions-mini-banner:hover .vmb-icon { transform: scale(1.15) rotate(-8deg); }
.vmb-text { flex: 1; min-width: 0; text-align: right; }
.vmb-title {
  font-size: 0.85rem; font-weight: 700;
  color: #dde6f0; margin: 0 0 2px; line-height: 1.3;
}
.vmb-sub {
  font-size: 0.74rem; color: rgba(143, 168, 200, 0.8);
  margin: 0; line-height: 1.3;
}
.vmb-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex-shrink: 0;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 9px; color: #93c5fd;
  font-size: 0.8rem;
  transition: all 0.25s var(--ease-spring);
}
.versions-mini-banner:hover .vmb-arrow {
  background: rgba(59, 130, 246, 0.25);
  transform: translateX(-4px);
}

/* ── Section Headings ────────────────────────────────── */
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px; right: 50%;
  transform: translateX(50%);
  width: 64px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--rl-blue), var(--rl-cyan), transparent);
  border-radius: 99px;
  animation: underline-glow 3s ease-in-out infinite alternate;
}
@keyframes underline-glow {
  0%   { box-shadow: 0 0 6px rgba(59,130,246,0.4); }
  100% { box-shadow: 0 0 12px rgba(34,211,238,0.6); }
}

/* ── Icon Boxes ─────────────────────────────────────── */
.w-14.h-14.bg-blue-900\/50, .w-12.h-12.bg-blue-900\/50 {
  background: rgba(15, 35, 80, 0.7) !important;
  border: 1px solid rgba(59, 130, 246, 0.18) !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.08);
  transition: all 0.3s var(--ease-spring);
}
.feature-card:hover .w-14.h-14.bg-blue-900\/50 {
  background: rgba(30, 58, 138, 0.5) !important;
  border-color: rgba(59, 130, 246, 0.35) !important;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.25);
  transform: scale(1.1) rotate(5deg);
}

/* ── Page Loader ─────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--rl-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-ring {
  width: 52px; height: 52px;
  border: 3px solid rgba(59, 130, 246, 0.12);
  border-top-color: var(--rl-blue);
  border-right-color: var(--rl-cyan);
  border-radius: 50%;
  animation: spin 0.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 20px rgba(59,130,246,0.3);
}
.loader-text {
  font-size: 0.78rem;
  color: var(--rl-text3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: loader-pulse 1.2s ease-in-out infinite;
}
@keyframes loader-pulse {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Scroll Reveal ───────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.75s var(--ease-expo),
    transform 0.75s var(--ease-expo);
}
[data-reveal="up"]    { transform: translateY(45px); }
[data-reveal="down"]  { transform: translateY(-45px); }
[data-reveal="left"]  { transform: translateX(45px); }
[data-reveal="right"] { transform: translateX(-45px); }
[data-reveal="scale"] { transform: scale(0.88); }
[data-reveal].revealed { opacity: 1; transform: none; }

[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.65s var(--ease-expo),
    transform 0.65s var(--ease-expo);
}
[data-reveal-group].revealed > *:nth-child(1) { transition-delay: 0.04s; }
[data-reveal-group].revealed > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-group].revealed > *:nth-child(3) { transition-delay: 0.20s; }
[data-reveal-group].revealed > *:nth-child(4) { transition-delay: 0.28s; }
[data-reveal-group].revealed > *:nth-child(5) { transition-delay: 0.36s; }
[data-reveal-group].revealed > *:nth-child(6) { transition-delay: 0.44s; }
[data-reveal-group].revealed > * { opacity: 1; transform: none; }

/* ── Floating Animation ──────────────────────────────── */
.animate-float {
  animation: float-smooth 5s var(--ease-expo) infinite;
}
@keyframes float-smooth {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(1.5deg); }
  66%       { transform: translateY(-7px) rotate(-0.5deg); }
}

/* ── Glow Pulse ──────────────────────────────────────── */
.glow-pulse {
  animation: glow-pulse 2.8s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 16px rgba(59, 130, 246, 0.25); }
  50%      { box-shadow: 0 0 40px rgba(59, 130, 246, 0.55), 0 0 80px rgba(59, 130, 246, 0.15); }
}

/* ── Online Status Dot ───────────────────────────────── */
.status-online {
  display: inline-block;
  width: 10px; height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: status-ring 2s ease-in-out infinite;
}
@keyframes status-ring {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ── Skeleton Loading ────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.03) 25%,
    rgba(255,255,255,0.07) 50%,
    rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.8s infinite;
  border-radius: var(--rl-radius);
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Image Hover ─────────────────────────────────────── */
.image-container img,
article img,
.glass-card img,
.product-card img,
.blog-card img {
  transition: transform 0.6s var(--ease-expo), filter 0.4s ease;
  display: block;
}
.image-container:hover img,
article:hover img,
.glass-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.07) saturate(1.1);
}

/* ── Image Modal ─────────────────────────────────────── */
.image-modal {
  display: none;
  position: fixed;
  inset: 0; z-index: 1000;
  background-color: rgba(2, 6, 16, 0.94);
  backdrop-filter: blur(16px);
  animation: modal-in 0.3s var(--ease-expo);
}
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
.image-modal-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 88%; max-height: 88%;
  border-radius: var(--rl-radius-lg);
  box-shadow: 0 40px 100px rgba(0,0,0,0.85);
  animation: modal-img-in 0.38s var(--ease-spring);
}
@keyframes modal-img-in {
  from { transform: translate(-50%, -47%) scale(0.92); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
}
.image-modal-close {
  position: absolute;
  top: 20px; right: 28px;
  color: rgba(255,255,255,0.6);
  font-size: 32px; cursor: pointer;
  transition: color 0.2s, transform 0.25s var(--ease-spring);
  z-index: 1001;
}
.image-modal-close:hover {
  color: #fff;
  transform: scale(1.25) rotate(90deg);
}

/* ── Form Inputs ─────────────────────────────────────── */
textarea, input[type="text"], input[type="email"],
input[type="password"], input[type="search"], select {
  background: rgba(8, 18, 42, 0.75) !important;
  border: 1px solid rgba(59, 130, 246, 0.18) !important;
  border-radius: var(--rl-radius) !important;
  color: var(--rl-text) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
  font-family: 'Vazir', sans-serif !important;
}
textarea:focus, input:focus, select:focus {
  outline: none !important;
  border-color: var(--rl-blue) !important;
  box-shadow: 0 0 0 3px var(--rl-blue-glow2) !important;
}

/* ── Comment Cards ───────────────────────────────────── */
.comment-card {
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s ease, border-color 0.3s ease;
}
.comment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.4), 0 0 0 1px rgba(59,130,246,0.22);
  border-color: rgba(59, 130, 246, 0.32);
}

/* ── Back Button ─────────────────────────────────────── */
.back-btn {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.07);
  transition: all 0.28s var(--ease-spring);
  text-decoration: none;
}
.back-btn:hover {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(59,130,246,0.2);
}
.back-btn i { transition: transform 0.25s var(--ease-spring); }
.back-btn:hover i { transform: translateX(-5px); }

/* ── Highlight Blockquote ────────────────────────────── */
.highlight {
  background: rgba(59, 130, 246, 0.08);
  border-right: 3px solid var(--rl-blue);
  border-left: none;
  padding: 1rem 1.3rem;
  border-radius: 0 var(--rl-radius) var(--rl-radius) 0;
  position: relative; overflow: hidden;
}
.highlight::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(59,130,246,0.05), transparent);
  pointer-events: none;
}

/* ── Video Container ─────────────────────────────────── */
.video-container {
  border-radius: var(--rl-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  border: 1px solid var(--rl-border);
  transition: box-shadow 0.35s ease, transform 0.35s var(--ease-expo);
}
.video-container:hover {
  box-shadow: 0 28px 80px rgba(0,0,0,0.65);
  transform: scale(1.01);
}

/* ── Tag / Badge ─────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 0.3em;
  padding: 0.25rem 0.8rem;
  border-radius: 99px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em;
  transition: transform 0.22s var(--ease-spring), box-shadow 0.22s ease;
}
.tag:hover { transform: scale(1.08); box-shadow: 0 4px 14px rgba(0,0,0,0.3); }

/* ── Tooltip ─────────────────────────────────────────── */
[data-tip] { position: relative; }
[data-tip]::before {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%; transform: translateX(-50%) translateY(5px);
  background: rgba(8, 18, 42, 0.96);
  color: #e2e8f0;
  font-size: 0.75rem;
  white-space: nowrap;
  padding: 0.32rem 0.75rem;
  border-radius: 7px;
  border: 1px solid var(--rl-border);
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s, transform 0.22s var(--ease-expo);
  z-index: 100;
}
[data-tip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  background: rgba(3, 8, 20, 0.92) !important;
  border-top: 1px solid var(--rl-border);
  position: relative;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rl-blue), var(--rl-cyan), transparent);
}
footer a {
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.72;
}
footer a:hover { color: #93c5fd; opacity: 1; }

/* Social icon buttons in footer */
footer .w-10.h-10 {
  background: rgba(15, 35, 80, 0.7) !important;
  border: 1px solid rgba(59,130,246,0.15);
  transition: all 0.3s var(--ease-spring);
}
footer .w-10.h-10:hover {
  background: rgba(30, 58, 138, 0.6) !important;
  border-color: rgba(59,130,246,0.4);
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.25);
}

/* ── PARALLAX STARS (اضافه شد — بدون JS) ─────────────── */
.stars-layer {
  position: fixed;
  inset: 0; pointer-events: none; z-index: -1;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 65%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 15%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 45%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.28) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 25% 90%, rgba(255,255,255,0.22) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 35%, rgba(147,197,253,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 75%, rgba(34,211,238,0.25) 0%, transparent 100%);
}

/* ── 2026 Glow lines (decorative) ───────────────────── */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--rl-blue) 40%, var(--rl-cyan) 60%, transparent 100%);
  opacity: 0.35;
  box-shadow: 0 0 8px var(--rl-blue-glow);
}


@media (max-width: 1024px) {
  body {
    background-attachment: scroll;
  }
}
/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .glass-card { border-radius: var(--rl-radius); }
  [data-reveal], [data-reveal-group] > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .btn-primary, .btn-play {
    font-size: 0.9rem;
    padding: 0.65rem 1.2rem;
  }
}

@media (max-width: 640px) {
  .btn-login, .border.border-blue-400 {
    font-size: 0.60rem !important;
    padding: 0.34rem 0.60rem !important;
  }
}

/* ── Reduced Motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Smooth lazy images ──────────────────────────────── */
img { transition: opacity 0.35s ease; }
img[loading="lazy"] { opacity: 0; }
img.loaded          { opacity: 1; }

/* ── White icon (Rubika) ─────────────────────────────── */
.white-icon { filter: brightness(0) invert(1); }

/* ── Particles BG decoration ─────────────────────────── */
@keyframes particle-float {
  0%,100% { transform: translateY(0) translateX(0); opacity: 0.4; }
  33%      { transform: translateY(-30px) translateX(12px); opacity: 0.7; }
  66%      { transform: translateY(-15px) translateX(-8px); opacity: 0.5; }
}

/* ── Number Stat glow effect ─────────────────────────── */
.text-3xl.font-bold.text-blue-400 {
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
  transition: text-shadow 0.3s ease;
}

/* ── 2026 hover card lift with border glow ───────────── */
.glass-card.feature-card:hover,
.glass-card.blog-card:hover,
.glass-card.product-card:hover {
  border-color: rgba(99, 179, 237, 0.3) !important;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.6),
    0 0 0 1px rgba(59, 130, 246, 0.22),
    0 0 50px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

#site-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  max-width: 100vw;
}

#site-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: blur(4px) brightness(0.55) saturate(1.2);
  transform: scale(1.06);
  transition: filter 0.5s ease;
}

#site-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
          linear-gradient(180deg,
          rgba(3, 7, 15, 0.55) 0%,
          rgba(6, 13, 28, 0.35) 30%,
          rgba(6, 13, 28, 0.35) 70%,
          rgba(3, 7, 15, 0.65) 100%
          ),
          radial-gradient(ellipse 120% 60% at 50% 0%,
          rgba(10, 25, 60, 0.5) 0%,
          transparent 70%
          );
  z-index: 1;
}

#site-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 2;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

body {
  background-color: #03070f !important;
  background-image: none !important;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
          radial-gradient(ellipse 80% 50% at 20% -5%, rgba(59, 130, 246, 0.08) 0%, transparent 55%),
          radial-gradient(ellipse 60% 45% at 80% 105%, rgba(34, 211, 238, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

#site-bg .bg-mobile { display: none; }
#site-bg .bg-desktop { display: block; }

@media (max-width: 768px) {
  #site-bg .bg-desktop { display: none; }
  #site-bg .bg-mobile {
    display: block;
    object-position: center center;
  }
  #site-bg img {
    filter: blur(3px) brightness(0.45) saturate(1.1);
  }
}

@media (max-width: 768px) {
  nav.glass-card {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
  nav.glass-card .container {
    flex-wrap: nowrap !important;
  }
  nav.glass-card img.h-6 {
    height: 2rem !important;
  }
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* =====================================================
   ✦ 2026.2 Modern Refresh — لایه‌ی تازه‌سازی طراحی
   ===================================================== */

/* ── Typography: Vazirmatn ──────────────────────────── */
body,
.copy-btn,
textarea, input[type="text"], input[type="email"],
input[type="password"], input[type="search"], select,
button {
  font-family: 'Vazirmatn', 'Vazir', system-ui, sans-serif !important;
}

h1, h2, h3 {
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* ── Aurora blobs — پشت محتوا، خیلی ظریف ────────────── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aurora::before,
.aurora::after {
  content: '';
  position: absolute;
  width: 55vw; height: 55vw;
  max-width: 760px; max-height: 760px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  will-change: transform;
}
.aurora::before {
  top: -22%; right: -12%;
  background: radial-gradient(circle at 30% 30%,
    rgba(59, 130, 246, 0.55) 0%,
    rgba(34, 211, 238, 0.25) 45%,
    transparent 70%);
  animation: aurora-drift-a 26s ease-in-out infinite alternate;
}
.aurora::after {
  bottom: -28%; left: -14%;
  background: radial-gradient(circle at 70% 70%,
    rgba(129, 140, 248, 0.45) 0%,
    rgba(59, 130, 246, 0.2) 50%,
    transparent 72%);
  animation: aurora-drift-b 32s ease-in-out infinite alternate;
}
@keyframes aurora-drift-a {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-9vw, 7vh) scale(1.12); }
}
@keyframes aurora-drift-b {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vw, -6vh) scale(1.08); }
}

/* ── Hero: badge + chips ────────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1.05rem;
  border-radius: 99px;
  background: rgba(8, 22, 48, 0.75);
  border: 1px solid rgba(59, 130, 246, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 600;
  color: #a8c8f0;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  margin-bottom: 1.4rem;
}
.hero-badge .status-online { width: 8px; height: 8px; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.4rem 0 0.4rem;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #bcd6f7;
  background: rgba(10, 24, 52, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease-spring),
    border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.hero-chip i {
  font-size: 0.78rem;
  color: var(--rl-blue2);
}
.hero-chip:hover {
  transform: translateY(-3px);
  background: rgba(17, 38, 80, 0.75);
  border-color: rgba(99, 179, 237, 0.45);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.18);
}

/* پاراگراف هیرو: کلمات کلیدی یکدست و آرام */
.hero-copy { color: var(--rl-text2); }
.hero-copy strong {
  color: #cfe3ff;
  font-weight: 700;
}

/* ── Server stats: سه کاشی شیشه‌ای ──────────────────── */
.server-stats.stats-grid {
  background: transparent !important;
  border: none !important;
  backdrop-filter: none;
  box-shadow: none;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0 !important;
  max-width: 620px;
}
.server-stats.stats-grid::before { display: none; }

.stat-tile {
  position: relative;
  padding: 1.15rem 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(7, 17, 38, 0.72);
  border: 1px solid rgba(59, 130, 246, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.3s var(--ease-expo), border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.stat-tile::before {
  content: '';
  position: absolute;
  top: 0; right: 50%;
  transform: translateX(50%);
  width: 56%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--rl-blue), var(--rl-cyan), transparent);
  opacity: 0.65;
}
.stat-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 179, 237, 0.36);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(59, 130, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.stat-tile .stat-value {
  background: linear-gradient(135deg, #7db4fb 0%, #4fd6ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.35));
}
.stat-tile .stat-label {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--rl-text2);
}

/* ── Mobile menu polish ─────────────────────────────── */
#mobile-menu {
  border-radius: 14px !important;
  background: rgba(5, 13, 30, 0.97) !important;
  border: 1px solid rgba(59, 130, 246, 0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
#mobile-menu:not(.hidden) {
  animation: menu-in 0.32s var(--ease-expo);
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
#mobile-menu .nav-link {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}
#mobile-menu .nav-link:hover {
  background: rgba(59, 130, 246, 0.12);
}
#mobile-menu .nav-link::after { display: none; }

/* ── Footer 2026.2 ──────────────────────────────────── */
footer .footer-social {
  display: flex;
  gap: 0.7rem;
}
footer .footer-social a {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(15, 35, 80, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.16);
  color: #9fc1ec;
  font-size: 1.05rem;
  opacity: 1;
  transition: all 0.3s var(--ease-spring);
}
footer .footer-social a:hover {
  transform: translateY(-4px) scale(1.06);
  color: #fff;
}
footer .footer-social a.social-discord:hover {
  background: rgba(88, 101, 242, 0.28);
  border-color: rgba(88, 101, 242, 0.6);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3);
}
footer .footer-social a.social-telegram:hover {
  background: rgba(34, 158, 217, 0.25);
  border-color: rgba(34, 158, 217, 0.55);
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.3);
}
footer .footer-social a.social-rubika:hover {
  background: rgba(186, 85, 211, 0.22);
  border-color: rgba(186, 85, 211, 0.5);
  box-shadow: 0 8px 24px rgba(186, 85, 211, 0.28);
}

footer .footer-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 0.9rem;
}
footer .footer-title::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 28px; height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--rl-blue), var(--rl-cyan));
  opacity: 0.7;
}
footer ul a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease, transform 0.25s var(--ease-expo), opacity 0.2s ease;
}
footer ul a:hover { transform: translateX(-4px); }
footer ul a i {
  font-size: 0.6rem;
  color: var(--rl-blue2);
  opacity: 0.7;
}

.footer-ip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  background: rgba(8, 20, 44, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.22);
  font-size: 0.82rem;
  color: #9fc1ec;
}
.footer-ip .ip-address { font-size: 0.85rem; }

/* ── Footer 2026.3 — Full Redesign ──────────────────── */
.rl-footer {
  position: relative;
  overflow: hidden;
  padding: 0 0 1.6rem;
}

/* نوار CTA */
.footer-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  padding: 1.8rem 2rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(13, 30, 66, 0.92) 0%, rgba(7, 16, 36, 0.94) 60%, rgba(10, 22, 50, 0.92) 100%);
  border: 1px solid rgba(99, 153, 255, 0.28);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  z-index: 2;
}
.footer-cta-glow {
  position: absolute;
  top: -60%; left: 20%;
  width: 60%; height: 160%;
  background: radial-gradient(ellipse at center,
    rgba(59, 130, 246, 0.18) 0%,
    rgba(34, 211, 238, 0.08) 45%,
    transparent 70%);
  pointer-events: none;
}
.footer-cta-title {
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 800;
  color: #eaf3ff;
  margin-bottom: 0.55rem;
}
.footer-cta-sub { margin: 0; }
.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  position: relative;
}

/* چیپ آنلاین زنده */
.footer-online-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 99px;
  background: rgba(16, 50, 36, 0.55);
  border: 1px solid rgba(34, 197, 94, 0.35);
  font-size: 0.82rem;
  color: #a7e8c0;
}
.footer-online-chip strong {
  color: #4ade80;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

/* اینماد */
.footer-enamad {
  display: inline-block;
  padding: 0.4rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.14);
  transition: border-color 0.25s ease, background 0.25s ease;
  opacity: 1 !important;
}
.footer-enamad:hover {
  border-color: rgba(99, 179, 237, 0.35);
  background: rgba(255, 255, 255, 0.07);
}
.footer-enamad img {
  max-width: 88px;
  border-radius: 9px;
  display: block;
}

/* آپتایم */
.footer-uptime {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  border-radius: 99px;
  background: rgba(8, 20, 44, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.18);
  font-size: 0.76rem;
  color: #9fc1ec;
}

/* نوار پایانی */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(30, 58, 138, 0.45);
  position: relative;
  z-index: 2;
}
.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(96, 145, 210, 0.55);
}
.footer-bottom-links a {
  color: rgba(147, 187, 240, 0.75);
}
.footer-bottom-links a:hover { color: #bfdbfe; }

/* واترمارک */
.footer-watermark {
  position: absolute;
  bottom: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(4rem, 13vw, 11rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(99, 153, 255, 0.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

.footer-grid { position: relative; z-index: 2; }

@media (max-width: 640px) {
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 1.2rem;
  }
  .footer-cta-actions { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Live online counter pop ────────────────────────── */
[data-live-online] { display: inline-block; }
.online-pop { animation: online-pop 0.45s var(--ease-spring); }
@keyframes online-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.14); filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.55)); }
  100% { transform: scale(1); }
}

/* ── Accessibility: focus ring ──────────────────────── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.8);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ── موبایل: کاشی‌های آمار جمع‌وجور ─────────────────── */
@media (max-width: 640px) {
  .server-stats.stats-grid { gap: 0.55rem; }
  .stat-tile { padding: 0.85rem 0.5rem 0.75rem; border-radius: 14px; }
  .stat-tile .stat-value { font-size: 1.35rem !important; }
  .stat-tile .stat-label { font-size: 0.68rem; }
  .hero-chip { font-size: 0.76rem; padding: 0.38rem 0.8rem; }
  nav.glass-card { border-radius: 14px !important; }
}