/* ===================================================================
   Brick Master - Block Mania — Main Stylesheet
   =================================================================== */

/* === VARIABLES === */
:root {
  --brick-blue:   #4285F4;
  --brick-cyan:   #1FD1F9;
  --brick-gold:   #E8C818;
  --brick-green:  #43E97B;
  --brick-coral:  #FF6B6B;

  --primary:        #1A237E;
  --primary-dark:   #0F1535;
  --primary-light:  #3949AB;
  --primary-pale:   #E8ECFF;

  --accent:         #E8C818;
  --accent-light:   #FFE082;

  --cream:    #F4F6FF;
  --soft-bg:  #E8ECFF;
  --white:    #FFFFFF;

  --text-dark:  #0F1535;
  --text-mid:   #3949AB;
  --text-soft:  #5C6BC0;
  --text-light: #FFFFFF;

  --ink-deep:   #0A0E24;

  --shadow-glow: rgba(232, 200, 24, 0.35);

  --gradient-hero: linear-gradient(135deg, #0F1535 0%, #1A237E 50%, #283888 100%);
  --gradient-gold: linear-gradient(135deg, #E8C818, #FFC93C);
  --gradient-page: linear-gradient(180deg, #EEF1FF 0%, var(--cream) 40%, #F8FAFF 100%);

  --max-width: 1200px;

  /* 首页科技风 */
  --tech-bg:       #050818;
  --tech-bg-mid:   #0a1028;
  --tech-neon:     #00f0ff;
  --tech-neon-dim: rgba(0, 240, 255, 0.15);
  --tech-gold:     #E8C818;
  --tech-text:     #dce4ff;
  --tech-muted:    #7a8bb8;
  --tech-line:     rgba(0, 240, 255, 0.22);
  --tech-gold-line:rgba(232, 200, 24, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--gradient-page);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===================================================================
   HOME PAGE — 科技风
   =================================================================== */

body.home-page {
  background: var(--tech-bg);
  color: var(--tech-text);
}

/* --- 背景动画层 --- */
.tech-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.tech-grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 28s linear infinite;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

@keyframes gridDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(48px, 48px); }
}

.tech-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 240, 255, 0.015) 3px,
    rgba(0, 240, 255, 0.015) 4px
  );
  animation: scanPulse 8s ease-in-out infinite;
}

@keyframes scanPulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.9; }
}

.tech-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: glowFloat 12s ease-in-out infinite;
}

.tech-glow--cyan {
  width: 480px; height: 480px;
  top: -8%; right: -5%;
  background: rgba(0, 240, 255, 0.12);
}

.tech-glow--gold {
  width: 420px; height: 420px;
  bottom: 15%; left: -8%;
  background: rgba(232, 200, 24, 0.1);
  animation-delay: -6s;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -30px) scale(1.08); }
}

.tech-bg-shot {
  position: absolute;
  width: clamp(140px, 16vw, 220px);
  border-radius: 16px;
  opacity: 0.07;
  filter: blur(1px) saturate(1.3);
  border: 1px solid var(--tech-line);
  animation: shotFloat 20s ease-in-out infinite;
}

.tech-bg-shot--a { top: 12%; left: 4%;  animation-delay: 0s;    }
.tech-bg-shot--b { top: 55%; right: 3%; animation-delay: -7s;  }
.tech-bg-shot--c { bottom: 8%; left: 38%; animation-delay: -14s; width: clamp(120px, 14vw, 180px); }

@keyframes shotFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); opacity: 0.07; }
  50%      { transform: translateY(-24px) rotate(2deg); opacity: 0.11; }
}

.tech-particles span {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--tech-neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--tech-neon);
  animation: particleBlink 4s ease-in-out infinite;
}

.tech-particles span:nth-child(1)  { top: 15%; left: 20%; animation-delay: 0s; }
.tech-particles span:nth-child(2)  { top: 28%; left: 75%; animation-delay: -0.8s; }
.tech-particles span:nth-child(3)  { top: 45%; left: 12%; animation-delay: -1.6s; }
.tech-particles span:nth-child(4)  { top: 62%; left: 88%; animation-delay: -2.4s; }
.tech-particles span:nth-child(5)  { top: 78%; left: 30%; animation-delay: -3.2s; }
.tech-particles span:nth-child(6)  { top: 35%; left: 50%; animation-delay: -1.2s; width: 2px; height: 2px; background: var(--tech-gold); box-shadow: 0 0 6px var(--tech-gold); }
.tech-particles span:nth-child(7)  { top: 8%;  left: 60%; animation-delay: -2s; }
.tech-particles span:nth-child(8)  { top: 88%; left: 65%; animation-delay: -2.8s; }
.tech-particles span:nth-child(9)  { top: 52%; left: 42%; animation-delay: -3.6s; width: 2px; height: 2px; }
.tech-particles span:nth-child(10) { top: 70%; left: 8%;  animation-delay: -0.4s; background: var(--tech-gold); box-shadow: 0 0 6px var(--tech-gold); }

@keyframes particleBlink {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.6); }
}

.page-main,
.footer {
  position: relative;
  z-index: 1;
}

body.home-page .page-main {
  padding-top: 4.5rem;
}

/* --- 导航 --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.85rem 2rem;
  transition: all 0.35s ease;
}

.navbar--tech {
  border-bottom: 1px solid transparent;
}

.navbar--tech.scrolled {
  background: rgba(5, 8, 24, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--tech-line);
  box-shadow: 0 4px 30px rgba(0, 240, 255, 0.08);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  width: 42px; height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
}

body.home-page .nav-logo-text {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tech-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

body.home-page .nav-links a {
  color: var(--tech-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

body.home-page .nav-links a:hover {
  color: var(--tech-neon);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

body.home-page .nav-recharge-link {
  color: var(--tech-gold) !important;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--tech-gold-line);
}

body.home-page .nav-download-btn {
  background: transparent;
  color: var(--tech-gold);
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--tech-gold);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: all 0.3s ease;
}

body.home-page .nav-download-btn:hover {
  background: rgba(232, 200, 24, 0.12);
  box-shadow: 0 0 20px rgba(232, 200, 24, 0.3);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--tech-text);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(5, 8, 24, 0.97);
  border-bottom: 1px solid var(--tech-line);
  padding: 1rem 2rem;
}

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

.mobile-menu a {
  display: block;
  color: var(--tech-text);
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.mobile-menu-recharge { color: var(--tech-gold) !important; }

/* 政策页导航 */
.navbar:not(.navbar--tech) {
  padding: 0.9rem 2rem;
}

.navbar:not(.navbar--tech).scrolled {
  background: rgba(244, 246, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(15, 21, 53, 0.1);
}

.navbar:not(.navbar--tech) .nav-logo-text {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar:not(.navbar--tech) .nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.navbar:not(.navbar--tech) .nav-links a:hover { color: var(--primary); }

.navbar:not(.navbar--tech) .nav-recharge-link {
  background: var(--gradient-gold);
  color: var(--primary-dark) !important;
  padding: 0.32rem 0.95rem;
  border-radius: 50px;
  text-decoration: none;
}

.navbar:not(.navbar--tech) .nav-download-btn {
  background: var(--gradient-gold);
  color: var(--primary-dark);
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  clip-path: none;
}

.navbar:not(.navbar--tech):not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.92);
}

.navbar:not(.navbar--tech):not(.scrolled) .nav-links a:hover {
  color: var(--accent);
}

.navbar:not(.navbar--tech):not(.scrolled) .mobile-menu-btn span {
  background: var(--white);
}

.navbar:not(.navbar--tech).scrolled .mobile-menu-btn span {
  background: var(--text-dark);
}

.navbar:not(.navbar--tech) .mobile-menu {
  background: rgba(244, 246, 255, 0.98);
  border-bottom: none;
  box-shadow: 0 8px 24px rgba(15, 21, 53, 0.1);
}

.navbar:not(.navbar--tech) .mobile-menu a {
  color: var(--text-dark);
  border-bottom-color: rgba(26, 35, 126, 0.1);
}

/* --- 按钮 --- */
.tech-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.tech-btn svg { width: 26px; height: 26px; flex-shrink: 0; }

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

.tech-btn__label {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.7;
  text-transform: uppercase;
}

.tech-btn__name { font-size: 1rem; font-weight: 800; }

.tech-btn--gold {
  background: var(--gradient-gold);
  color: var(--primary-dark);
  border: none;
  box-shadow: 0 0 24px rgba(232, 200, 24, 0.35);
}

.tech-btn--gold:hover {
  box-shadow: 0 0 36px rgba(232, 200, 24, 0.55);
  transform: translateY(-2px);
}

.tech-btn--outline {
  background: transparent;
  color: var(--tech-neon);
  border: 1px solid var(--tech-line);
}

.tech-btn--outline:hover {
  background: var(--tech-neon-dim);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.tech-btn--light {
  color: var(--tech-gold);
  border-color: var(--tech-gold-line);
}

.tech-btn--light:hover {
  background: rgba(232, 200, 24, 0.1);
}

/* --- 区块标题 --- */
.section-head,
.features .section-head,
.screenshots .section-head {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  text-align: center;
}

.section-eyebrow {
  display: block;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--tech-neon);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-eyebrow--gold { color: var(--tech-gold); }

.section-title {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--tech-text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.section-title--light { color: var(--tech-text); }

.section-desc {
  font-size: 1.05rem;
  color: var(--tech-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- HERO --- */
.hero {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
  position: relative;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--tech-neon);
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--tech-line);
  background: rgba(0, 240, 255, 0.06);
}

.hero-badge__dot {
  width: 7px; height: 7px;
  background: var(--tech-neon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--tech-neon);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-title__line {
  display: block;
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--tech-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-title__accent {
  display: block;
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--tech-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  text-shadow: 0 0 30px rgba(232, 200, 24, 0.4);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: var(--tech-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.hero-tags li {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tech-muted);
  padding: 0.35rem 0.75rem;
  border-left: 2px solid var(--tech-neon);
  background: rgba(0, 240, 255, 0.04);
}

/* 设备展示 + 旋转光环 */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device {
  position: relative;
  width: min(280px, 80vw);
}

.hero-device__frame {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid var(--tech-line);
  box-shadow:
    0 0 40px rgba(0, 240, 255, 0.2),
    0 0 80px rgba(0, 240, 255, 0.08),
    inset 0 0 30px rgba(0, 240, 255, 0.05);
}

.hero-device__frame img {
  width: 100%;
  display: block;
}

.hero-device__ring {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 36px;
  animation: ringSpin 14s linear infinite;
}

.hero-device__ring--2 {
  inset: -36px;
  border-color: rgba(232, 200, 24, 0.15);
  animation-direction: reverse;
  animation-duration: 20s;
}

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

.hero-stats {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--tech-line);
  border-bottom: 1px solid var(--tech-line);
}

.hero-stat {
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid var(--tech-line);
}

.hero-stat:last-child { border-right: none; }

.hero-stat__val {
  display: block;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--tech-gold);
  margin-bottom: 0.2rem;
}

.hero-stat__lbl {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tech-muted);
}

/* --- FEATURES --- */
.features {
  padding: 5rem 1.5rem;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tech-line), transparent);
}

.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--tech-line);
  border: 1px solid var(--tech-line);
}

.tech-panel {
  background: rgba(5, 8, 24, 0.85);
  padding: 2rem 1.75rem;
  position: relative;
  transition: background 0.3s ease;
}

.tech-panel:hover {
  background: rgba(0, 240, 255, 0.04);
}

.tech-panel__num {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--tech-neon);
  opacity: 0.7;
  margin-bottom: 0.75rem;
  display: block;
}

.tech-panel__title {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tech-text);
  margin-bottom: 0.55rem;
  letter-spacing: 0.03em;
}

.tech-panel__desc {
  font-size: 0.9rem;
  color: var(--tech-muted);
  line-height: 1.65;
}

/* --- SCREENSHOTS 滚动带 --- */
.screenshots {
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}

.screenshots::before,
.screenshots::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.screenshots::before {
  left: 0;
  background: linear-gradient(90deg, var(--tech-bg), transparent);
}

.screenshots::after {
  right: 0;
  background: linear-gradient(-90deg, var(--tech-bg), transparent);
}

.screenshot-marquee {
  overflow: hidden;
  padding: 1.5rem 0;
}

.screenshot-marquee__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.screenshot-marquee__track:hover {
  animation-play-state: paused;
}

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

.screenshot-frame {
  flex-shrink: 0;
  width: 180px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--tech-line);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.12);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-frame:hover {
  border-color: var(--tech-neon);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.3);
}

.screenshot-frame img {
  width: 100%;
  display: block;
}

/* --- COINS --- */
.coins {
  padding: 5rem 1.5rem;
  position: relative;
}

.coins::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--tech-neon-dim) 1px, transparent 1px),
    linear-gradient(var(--tech-neon-dim) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}

.coins-split {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.coins-visual img {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(232, 200, 24, 0.35));
  animation: coinHover 5s ease-in-out infinite;
}

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

.coins-desc {
  font-size: 1rem;
  color: var(--tech-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.coins-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.coins-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--tech-text);
  font-size: 0.92rem;
}

.coins-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--tech-gold);
}

/* --- CTA + CONTACT --- */
.cta-row {
  max-width: var(--max-width);
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  border: 1px solid var(--tech-line);
}

.cta-block {
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.06) 0%, rgba(5, 8, 24, 0.9) 100%);
  border-right: 1px solid var(--tech-line);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--tech-gold);
  box-shadow: 0 0 12px var(--tech-gold);
}

.cta-block__coin {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px rgba(232, 200, 24, 0.5));
}

.cta-block__title {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--tech-text);
  margin-bottom: 0.75rem;
}

.cta-block__desc {
  font-size: 0.95rem;
  color: var(--tech-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cta-block__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cta-block__rating {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tech-gold);
  letter-spacing: 0.05em;
}

.contact-block {
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(5, 8, 24, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-block__desc {
  font-size: 0.95rem;
  color: var(--tech-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--tech-neon);
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 1px solid var(--tech-line);
  align-self: flex-start;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.contact-email-link:hover {
  background: var(--tech-neon-dim);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.25);
}

.contact-email-link svg { width: 22px; height: 22px; flex-shrink: 0; }

.contact-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--tech-muted);
}

/* === FOOTER === */
.footer {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.8rem 2rem;
  border-top: 1px solid var(--tech-line);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.8rem;
}

.footer-brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }

.footer-brand-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.footer-company-info {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

.footer-links-group { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links-group a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links-group a:hover { color: var(--brick-gold); }

.footer-recharge-link { color: var(--brick-gold) !important; font-weight: 800 !important; }

.footer-appstore-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-appstore-link:hover { color: var(--brick-gold); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* === LEGAL PAGES === */
.legal-hero {
  background: var(--gradient-hero);
  padding: 8.5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  top: -50px; left: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 200, 24, 0.2), transparent 70%);
  pointer-events: none;
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.legal-hero h1 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.legal-hero .legal-meta {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
}

.legal-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.legal-content {
  background: var(--white);
  border-radius: 28px;
  padding: 3rem 2.6rem;
  box-shadow: 0 18px 60px rgba(15, 21, 53, 0.1);
  border: 1px solid var(--primary-pale);
  font-size: 0.96rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 2rem 0 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--primary-pale);
}

.legal-content h2:first-of-type { margin-top: 0.5rem; }

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1.4rem 0 0.5rem;
}

.legal-content p { margin-bottom: 0.85rem; }

.legal-content ul,
.legal-content ol { padding-left: 1.5rem; margin-bottom: 0.85rem; }

.legal-content li { margin-bottom: 0.4rem; }

.legal-content a { color: var(--primary); font-weight: 700; }

.legal-content a:hover { text-decoration: underline; }

.legal-content strong { color: var(--primary-dark); }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
}

.legal-back:hover { color: var(--primary-dark); }

/* === RESPONSIVE === */
@media (max-width: 968px) {
  .nav-links, .nav-download-btn { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle { margin: 0 auto 1.75rem; }
  .hero-actions { justify-content: center; }
  .hero-tags { justify-content: center; }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(1),
  .hero-stat:nth-child(2) {
    border-bottom: 1px solid var(--tech-line);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coins-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .coins-visual img { margin: 0 auto 1rem; }

  .cta-row {
    grid-template-columns: 1fr;
  }

  .cta-block {
    border-right: none;
    border-bottom: 1px solid var(--tech-line);
  }

  .contact-email-link { align-self: center; }
}

@media (max-width: 600px) {
  body.home-page .page-main { padding-top: 4rem; }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-block__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-block__actions .tech-btn {
    justify-content: center;
  }

  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .legal-page { padding: 2.5rem 1.2rem 3rem; }
  .legal-content { padding: 2rem 1.4rem; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .tech-grid,
  .tech-bg-shot,
  .tech-glow,
  .tech-particles span,
  .hero-device__ring,
  .screenshot-marquee__track,
  .coins-visual img,
  .hero-badge__dot {
    animation: none !important;
  }
}
