:root {
  --bg: #05080f;
  --bg-alt: #090e1a;
  --card: #0d1424;
  --card-2: #101a2e;
  --border: rgba(148, 180, 255, 0.09);
  --text: #eef3fb;
  --text-dim: #8b9bb4;
  --primary: #00e585;
  --primary-2: #16c7ff;
  --primary-dark: #00b368;
  --primary-glow: rgba(0, 229, 133, 0.3);
  --grad: linear-gradient(135deg, #00e585, #16c7ff);
  --danger: #ff5470;
  --radius: 20px;
  --font: 'Vazirmatn', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

::selection { background: var(--primary); color: #05080f; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1b2a45; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

.container { width: min(1200px, 92%); margin-inline: auto; }

img { max-width: 100%; display: block; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

main { position: relative; z-index: 1; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden { opacity: 0; visibility: hidden; }

.loader-bolt {
  width: 64px;
  height: 64px;
  animation: boltPulse 1.1s var(--ease-out) infinite;
  filter: drop-shadow(0 0 24px var(--primary-glow));
}

@keyframes boltPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.55; }
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(5, 8, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--border);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }

.brand-logo {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 14px var(--primary-glow));
  transition: transform 0.45s var(--ease-spring);
}

.brand:hover .brand-logo { transform: rotate(-10deg) scale(1.1); }

.brand-text { display: flex; flex-direction: column; font-weight: 800; font-size: 1.25rem; line-height: 1.2; }

.brand-text small {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 12px;
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
}

.nav-links a:hover { color: var(--text); background: rgba(148, 180, 255, 0.06); }

.nav-links a.active { color: var(--primary); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 16px;
  left: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #05080f !important;
  border-radius: 12px !important;
  padding: 9px 20px !important;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease !important;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--primary-glow); background: var(--grad) !important; }

.nav-cta.active::after { display: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }

.nav-toggle span { width: 26px; height: 3px; background: var(--text); border-radius: 3px; transition: transform 0.35s var(--ease-out), opacity 0.3s ease; }

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  padding: 13px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: scale(0.97); }

.btn-shine::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-160%) skewX(-12deg);
  animation: autoShine 4.5s ease infinite;
}

@keyframes autoShine {
  0%, 55% { transform: translateX(-160%) skewX(-12deg); }
  75%, 100% { transform: translateX(160%) skewX(-12deg); }
}

.btn-primary {
  background: var(--grad);
  color: #05080f;
  box-shadow: 0 6px 26px var(--primary-glow);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 38px var(--primary-glow); }

.btn-ghost {
  background: rgba(148, 180, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { transform: translateY(-3px); background: rgba(148, 180, 255, 0.11); border-color: rgba(148, 180, 255, 0.22); }

.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 6px 24px rgba(88, 101, 242, 0.4); }

.btn-discord:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(88, 101, 242, 0.5); }

.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

.btn-block { width: 100%; }

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.08);
  animation: heroZoom 14s var(--ease-out) forwards;
}

@keyframes heroZoom { to { transform: scale(1); } }

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0.55) 0%, rgba(5, 8, 15, 0.25) 30%, rgba(5, 8, 15, 0.45) 68%, var(--bg) 100%),
    radial-gradient(ellipse at center 42%, transparent 20%, rgba(5, 8, 15, 0.5) 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
}

.hero-content { position: relative; text-align: center; padding: 150px 0 110px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 133, 0.1);
  border: 1px solid rgba(0, 229, 133, 0.35);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}

.gradient-text {
  background: linear-gradient(120deg, #00e585 15%, #6ff0ae 40%, #16c7ff 65%, #00e585 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}

@keyframes shine { to { background-position: 220% center; } }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: #c4d2e6;
  max-width: 660px;
  margin: 0 auto 38px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }

.hero-ip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.95rem;
  background: rgba(5, 8, 15, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 100px;
}

.hero-ip strong { color: var(--primary); letter-spacing: 0.5px; }

.hero-ip-sep { width: 1px; height: 16px; background: var(--border); }

.hero-ip-ver { font-size: 0.8rem; color: var(--text-dim); }

.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); position: relative; }

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3); opacity: 0; } }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  right: 50%;
  transform: translateX(50%);
}

.mouse {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(196, 210, 230, 0.5);
  border-radius: 14px;
  position: relative;
}

.mouse-wheel {
  position: absolute;
  top: 7px;
  right: 50%;
  transform: translateX(50%);
  width: 4px;
  height: 9px;
  border-radius: 3px;
  background: var(--primary);
  animation: wheel 1.8s var(--ease-out) infinite;
}

@keyframes wheel {
  0% { opacity: 1; transform: translateX(50%) translateY(0); }
  70% { opacity: 0; transform: translateX(50%) translateY(14px); }
  100% { opacity: 0; transform: translateX(50%) translateY(0); }
}

.stats-strip { position: relative; z-index: 2; margin-top: -76px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(160deg, rgba(13, 20, 36, 0.92), rgba(9, 14, 26, 0.92));
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}

.stat-card:hover { transform: translateY(-6px); border-color: rgba(0, 229, 133, 0.3); }

.stat-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: var(--fc, var(--primary));
  background: color-mix(in srgb, var(--fc, var(--primary)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--fc, var(--primary)) 28%, transparent);
}

.stat-card div:last-child { display: flex; flex-direction: column; }

.stat-card strong { font-size: 1.55rem; font-weight: 900; color: var(--text); }

.stat-card span { font-size: 0.85rem; color: var(--text-dim); }

.section { padding: 110px 0; position: relative; }

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(13, 20, 36, 0.65) 18%, rgba(13, 20, 36, 0.65) 82%, transparent);
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }

.section-tag {
  display: inline-block;
  color: var(--primary);
  background: rgba(0, 229, 133, 0.08);
  border: 1px solid rgba(0, 229, 133, 0.28);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-head h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 900; margin-bottom: 12px; }

.section-head p { color: var(--text-dim); font-size: 1.05rem; }

.gm-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.gm-panel {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.45s var(--ease-out), border-color 0.4s ease, box-shadow 0.45s ease;
}

.gm-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--gm) 10%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gm-panel:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--gm) 45%, transparent);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), 0 0 40px color-mix(in srgb, var(--gm) 12%, transparent);
}

.gm-panel:hover::after { opacity: 1; }

.gm-media { position: relative; height: 230px; overflow: hidden; }

.gm-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, var(--card) 100%);
}

.gm-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.7s var(--ease-out);
}

.gm-panel:hover .gm-media img { transform: scale(1.12); }

.gm-body { padding: 6px 28px 30px; position: relative; }

.gm-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }

.gm-badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--gm);
  background: color-mix(in srgb, var(--gm) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--gm) 34%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--gm) 18%, transparent);
  transition: transform 0.45s var(--ease-spring);
}

.gm-panel:hover .gm-badge { transform: scale(1.12) rotate(-6deg); }

.gm-head h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: 0.3px; }

.gm-body > p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 16px; }

.gm-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }

.gm-tags li {
  font-size: 0.78rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--gm) 80%, #ffffff);
  background: color-mix(in srgb, var(--gm) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--gm) 26%, transparent);
  padding: 4px 13px;
  border-radius: 100px;
}

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

.feature-card {
  background: linear-gradient(160deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fc, var(--primary)), transparent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--fc, var(--primary)) 32%, transparent);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  color: var(--fc, var(--primary));
  background: color-mix(in srgb, var(--fc, var(--primary)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--fc, var(--primary)) 30%, transparent);
  margin-bottom: 20px;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 0 28px color-mix(in srgb, var(--fc, var(--primary)) 30%, transparent);
}

.feature-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }

.feature-card p { color: var(--text-dim); font-size: 0.95rem; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.step-card {
  background: linear-gradient(160deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  color: var(--primary);
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease;
}

.step-card:hover { transform: translateY(-8px); border-color: rgba(0, 229, 133, 0.32); }

.step-num {
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, rgba(238, 243, 251, 0.14), rgba(238, 243, 251, 0.02));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(0, 229, 133, 0.09);
  border: 1px solid rgba(0, 229, 133, 0.26);
  transition: transform 0.45s var(--ease-spring);
}

.step-card:hover .step-icon { transform: scale(1.1) rotate(-5deg); }

.step-card h3 { color: var(--text); font-size: 1.15rem; font-weight: 800; margin: 18px 0 10px; }

.step-card p { color: var(--text-dim); font-size: 0.93rem; }

.step-card strong { color: var(--primary); }

.step-line {
  align-self: center;
  width: 44px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(0, 229, 133, 0.5) 0 7px, transparent 7px 14px);
}

.cta-section { padding: 40px 0 130px; }

.cta-inner {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 133, 0.25);
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.82), rgba(5, 8, 15, 0.6) 50%, rgba(5, 8, 15, 0.85));
}

.cta-content { position: relative; padding: 84px 40px; }

.cta-content h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 900; margin-bottom: 12px; text-shadow: 0 4px 28px rgba(0, 0, 0, 0.6); }

.cta-content > p { color: #c4d2e6; font-size: 1.1rem; margin-bottom: 34px; }

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.page-hero { padding: 170px 0 70px; text-align: center; position: relative; }

.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; margin: 14px 0 12px; }

.page-hero p { color: var(--text-dim); font-size: 1.08rem; max-width: 560px; margin-inline: auto; }

.shop-section { padding-top: 30px; }

.shop-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 50px; }

.shop-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dim);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 32px;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.shop-tab:hover { color: var(--text); transform: translateY(-2px); }

.shop-tab.active {
  color: #05080f;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 6px 24px var(--primary-glow);
}

.shop-panel { display: none; }

.shop-panel.active { display: block; animation: panelIn 0.5s var(--ease-out); }

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

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 22px; }

.product-card {
  background: linear-gradient(160deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -10%, color-mix(in srgb, var(--pc) 16%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--pc) 50%, transparent);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.product-card:hover::before { opacity: 1; }

.product-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--pc);
  color: #05080f;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--pc) 50%, transparent);
}

.product-icon { color: var(--pc); margin-bottom: 16px; position: relative; transition: transform 0.45s var(--ease-spring); }

.product-card:hover .product-icon { transform: scale(1.12) rotate(-5deg); }

.product-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; position: relative; }

.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; position: relative; }

.product-price strong { font-size: 1.7rem; font-weight: 900; color: var(--pc); }

.product-price span { color: var(--text-dim); font-size: 0.88rem; }

.product-features { list-style: none; flex: 1; margin-bottom: 24px; position: relative; }

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.88rem;
  padding: 5px 0;
}

.product-features li svg { color: var(--pc); flex-shrink: 0; margin-top: 6px; }

.shop-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 50px;
  background: rgba(22, 199, 255, 0.07);
  border: 1px solid rgba(22, 199, 255, 0.22);
  border-radius: var(--radius);
  padding: 22px 26px;
  color: var(--primary-2);
}

.shop-note svg { flex-shrink: 0; }

.shop-note p { color: var(--text-dim); font-size: 0.93rem; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal.open { visibility: visible; opacity: 1; }

.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 5, 10, 0.78); backdrop-filter: blur(8px); }

.modal-box {
  position: relative;
  width: min(430px, 92%);
  background: linear-gradient(160deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px 34px 34px;
  text-align: center;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.45s var(--ease-spring);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.modal.open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(148, 180, 255, 0.06);
  border: none;
  color: var(--text-dim);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.modal-close:hover { background: rgba(255, 84, 112, 0.14); color: var(--danger); }

.modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: var(--primary);
  background: rgba(0, 229, 133, 0.09);
  border: 1px solid rgba(0, 229, 133, 0.28);
}

.modal-box h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }

.modal-product-name { color: var(--text-dim); margin-bottom: 4px; }

.modal-product-price { color: var(--primary); font-size: 1.4rem; font-weight: 900; margin-bottom: 18px; }

.modal-user { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 18px; }

.modal-user strong { color: var(--text); }

.modal-hint { color: var(--text-dim); font-size: 0.8rem; margin-top: 14px; }

.auth-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 130px 0 60px;
}

.auth-bg { position: absolute; inset: 0; overflow: hidden; }

.auth-bg svg { width: 100%; height: 100%; }

.auth-wrap { position: relative; display: flex; justify-content: center; }

.auth-card {
  width: min(440px, 100%);
  background: linear-gradient(165deg, rgba(13, 20, 36, 0.92), rgba(9, 14, 26, 0.92));
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 44px 38px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.auth-head { text-align: center; margin-bottom: 30px; }

.auth-logo { width: 64px; height: 64px; margin-bottom: 14px; filter: drop-shadow(0 0 18px var(--primary-glow)); }

.auth-head h1 { font-size: 1.55rem; font-weight: 900; margin-bottom: 6px; }

.auth-head p { color: var(--text-dim); font-size: 0.95rem; }

.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  padding: 13px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 22px;
  animation: shakeIn 0.5s ease;
}

@keyframes shakeIn {
  0% { transform: translateX(0); opacity: 0; }
  20% { transform: translateX(-8px); opacity: 1; }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

.alert-error { background: rgba(255, 84, 112, 0.1); border: 1px solid rgba(255, 84, 112, 0.32); color: var(--danger); }

.form-group { margin-bottom: 20px; }

.form-group label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dim); }

.input-wrap { position: relative; display: flex; align-items: center; }

.input-wrap > svg { position: absolute; right: 16px; color: var(--text-dim); pointer-events: none; transition: color 0.3s ease; }

.input-wrap:focus-within > svg { color: var(--primary); }

.input-wrap input {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: rgba(5, 8, 15, 0.7);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 48px 14px 48px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-wrap input::placeholder { color: #566a85; font-family: var(--font); }

.input-wrap input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 229, 133, 0.12); }

.toggle-pass {
  position: absolute;
  left: 12px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  padding: 4px;
  transition: color 0.3s ease;
}

.toggle-pass:hover { color: var(--text); }

.auth-alt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 18px;
  background: rgba(22, 199, 255, 0.06);
  border: 1px solid rgba(22, 199, 255, 0.2);
  border-radius: 14px;
  color: var(--primary-2);
}

.auth-alt p { color: var(--text-dim); font-size: 0.85rem; }

.auth-alt code {
  background: rgba(22, 199, 255, 0.13);
  color: var(--primary-2);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.dash-hero { padding-bottom: 20px; text-align: right; }

.dash-welcome { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.dash-avatar svg { filter: drop-shadow(0 0 20px var(--primary-glow)); border-radius: 16px; }

.dash-welcome h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; }

.dash-welcome p { color: var(--text-dim); }

.dash-logout { margin-right: auto; }

.dash-section { padding-top: 40px; }

.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }

.dash-card {
  background: linear-gradient(160deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}

.dash-card:hover { transform: translateY(-5px); border-color: rgba(148, 180, 255, 0.18); }

.dash-card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--fc);
  background: color-mix(in srgb, var(--fc) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--fc) 30%, transparent);
  margin-bottom: 8px;
}

.dash-card span { color: var(--text-dim); font-size: 0.85rem; }

.dash-card strong { font-size: 1.15rem; font-weight: 800; }

.text-success { color: var(--primary); }

.dash-panels { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }

.dash-panel {
  background: linear-gradient(160deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.dash-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; color: var(--primary); }

.dash-panel h3 svg { color: var(--primary); }

.dash-empty { text-align: center; padding: 30px 0 10px; color: var(--text-dim); }

.dash-empty svg { opacity: 0.4; margin-bottom: 12px; }

.dash-empty p { margin-bottom: 18px; }

.dash-panel-text { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 14px; }

.dash-links { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.dash-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  padding: 12px 16px;
  background: rgba(148, 180, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out);
}

.dash-links a:hover { color: var(--text); background: rgba(148, 180, 255, 0.08); transform: translateX(-4px); }

.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.rule-card {
  background: linear-gradient(160deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}

.rule-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--fc) 40%, transparent); }

.rule-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }

.rule-head .feature-icon { width: 54px; height: 54px; margin-bottom: 0; }

.rule-head h3 { font-size: 1.15rem; font-weight: 800; }

.rule-card ul { list-style: none; }

.rule-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.92rem;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(148, 180, 255, 0.07);
}

.rule-card li:last-child { border-bottom: none; }

.rule-card li svg { color: var(--fc); flex-shrink: 0; margin-top: 7px; }

.ip-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  background: rgba(0, 229, 133, 0.08);
  border: 1px solid rgba(0, 229, 133, 0.28);
  border-radius: 12px;
  padding: 9px 18px;
  cursor: pointer;
  direction: ltr;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}

.ip-chip:hover { background: rgba(0, 229, 133, 0.16); transform: translateY(-2px); }

.ip-chip-lg { font-size: 1.05rem; padding: 13px 24px; width: 100%; justify-content: center; }

.footer { position: relative; z-index: 1; background: #04060c; border-top: 1px solid var(--border); margin-top: 40px; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }

.footer-col h4 { font-size: 1rem; font-weight: 800; margin-bottom: 18px; color: var(--text); }

.footer-col > a { display: block; color: var(--text-dim); text-decoration: none; font-size: 0.92rem; padding: 6px 0; transition: color 0.3s ease, transform 0.3s var(--ease-out); }

.footer-col > a:hover { color: var(--primary); transform: translateX(-4px); }

.footer-brand .brand-logo { margin-bottom: 12px; }

.footer-brand h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 8px; }

.footer-brand p { color: var(--text-dim); font-size: 0.9rem; max-width: 300px; margin-bottom: 18px; }

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  background: rgba(148, 180, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out), border-color 0.3s ease;
}

.footer-socials a:hover { color: var(--primary); border-color: rgba(0, 229, 133, 0.4); background: rgba(0, 229, 133, 0.07); transform: translateY(-4px); }

.footer-ip { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 10px; }

.footer-version { color: var(--text-dim); font-size: 0.82rem; margin-top: 12px; }

.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }

.footer-bottom p { color: var(--text-dim); font-size: 0.85rem; text-align: center; }

.toast {
  position: fixed;
  bottom: 30px;
  right: 50%;
  transform: translateX(50%) translateY(90px);
  z-index: 300;
  background: var(--grad);
  color: #05080f;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 100px;
  box-shadow: 0 14px 40px var(--primary-glow);
  transition: transform 0.45s var(--ease-spring);
  pointer-events: none;
}

.toast.show { transform: translateX(50%) translateY(0); }

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal[data-anim="pop"] { transform: translateY(20px) scale(0.9); }

.reveal[data-anim="pop"].visible { transform: translateY(0) scale(1); }

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-panels { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-line { display: none; }
}

@media (max-width: 900px) {
  .gm-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 12, 0.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 105;
  }
  .nav-links.open { visibility: visible; opacity: 1; }
  .nav-links a { font-size: 1.2rem; opacity: 0; transform: translateY(16px); transition: opacity 0.4s ease, transform 0.4s var(--ease-out); }
  .nav-links.open a { opacity: 1; transform: translateY(0); }
  .nav-links.open a:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open a:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.open a:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.open a:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.open a:nth-child(5) { transition-delay: 0.25s; }
  .nav-links.open a:nth-child(6) { transition-delay: 0.3s; }
  .rules-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .stats-strip { margin-top: -46px; }
  .hero-content { padding: 130px 0 90px; }
  .gm-media { height: 190px; }
  .cta-content { padding: 60px 24px; }
  .dash-welcome { justify-content: center; text-align: center; }
  .dash-logout { margin-right: 0; }
}

@media (max-width: 540px) {
  .features-grid, .stats-grid, .dash-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .auth-card { padding: 34px 24px; }
  .shop-tab { flex: 1; justify-content: center; padding: 12px 16px; }
  .hero-ip { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
