/* ===== High-Tech Design System ===== */
:root {
  --bg-void: #020617;
  --bg-primary: #030712;
  --bg-secondary: #0a0f1e;
  --bg-panel: rgba(6, 14, 32, 0.72);
  --bg-card: rgba(0, 229, 255, 0.04);
  --border-color: rgba(0, 229, 255, 0.14);
  --border-bright: rgba(0, 229, 255, 0.45);
  --text-primary: #e8f4ff;
  --text-secondary: #6b8aad;
  --text-dim: #3d5a7a;
  --accent-cyan: #00e5ff;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --accent-green: #00ffaa;
  --accent-magenta: #e879f9;
  --gradient-btn: linear-gradient(135deg, #00c8ff 0%, #3b82f6 50%, #7c3aed 100%);
  --gradient-text: linear-gradient(90deg, #ffffff 0%, #00e5ff 60%, #a855f7 100%);
  --gradient-hero: linear-gradient(180deg, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
  --shadow-glow: 0 0 24px rgba(0, 229, 255, 0.35);
  --shadow-glow-strong: 0 0 40px rgba(0, 229, 255, 0.5), 0 0 80px rgba(59, 130, 246, 0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --header-height: 52px;
  --bottom-bar-height: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font-mono: "SF Mono", "Cascadia Code", "Fira Code", Consolas, monospace;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-bar-height) + var(--safe-bottom) + 16px);
}

body.lang-zh {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ===== Tech Background ===== */
.tech-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.tech-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 80%);
}

.tech-bg__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.08) 0%, rgba(59, 130, 246, 0.04) 40%, transparent 70%);
}

/* ===== Particles ===== */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 50%;
  opacity: 0.6;
  box-shadow: 0 0 6px var(--accent-cyan);
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== WeChat Mask ===== */
.wechat-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.92);
  z-index: 9999;
  padding: 20px;
}

.wechat-mask.active {
  display: block;
}

.wechat-mask__arrow {
  position: absolute;
  top: 12px;
  right: 24px;
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent-cyan);
  border-bottom: none;
  border-left: none;
  transform: rotate(-45deg);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
  animation: arrow-bounce 1.5s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: rotate(-45deg) translate(0, 0); }
  50% { transform: rotate(-45deg) translate(5px, -5px); }
}

.wechat-mask__content {
  margin-top: 100px;
  text-align: center;
  font-size: 18px;
  line-height: 2;
}

.wechat-mask__content strong {
  color: var(--accent-cyan);
  font-size: 22px;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

.wechat-mask__hint {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* ===== QR Modal ===== */
.qr-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(8px);
  z-index: 9998;
  align-items: center;
  justify-content: center;
}

.qr-modal.active {
  display: flex;
}

.qr-modal__box {
  background: var(--bg-panel);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  position: relative;
  max-width: 320px;
  width: 90%;
  box-shadow: var(--shadow-glow-strong);
}

.qr-modal__box::before,
.qr-modal__box::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--accent-cyan);
  border-style: solid;
}

.qr-modal__box::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.qr-modal__box::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.qr-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.qr-modal__code {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--border-bright);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.5;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.header__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__lang,
.header__share {
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.header__lang {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.header__lang:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
  background: rgba(0, 229, 255, 0.1);
}

.header__share {
  color: var(--text-primary);
}

.header__share:hover {
  border-color: var(--border-bright);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 20px);
  text-align: center;
  z-index: 1;
}

.hero__visual {
  position: relative;
  height: 280px;
  margin: 0 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(160deg, #0a1628 0%, #030712 40%, #0c1a3a 100%);
  border: 1px solid var(--border-color);
}

.hero__frame {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: var(--radius-sm);
  pointer-events: none;
  z-index: 3;
}

.hero__scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 229, 255, 0.015) 2px,
    rgba(0, 229, 255, 0.015) 4px
  );
  pointer-events: none;
  z-index: 4;
  animation: scanline-move 8s linear infinite;
}

@keyframes scanline-move {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

.hero__hud {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--accent-cyan);
  border-style: solid;
  opacity: 0.7;
  z-index: 5;
}

.hero__hud--tl {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.hero__hud--br {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
}

.hero__character {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(0, 229, 255, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 40%, rgba(168, 85, 247, 0.15) 0%, transparent 40%),
    linear-gradient(180deg, transparent 30%, rgba(3, 7, 18, 0.9) 100%);
}

.hero__character::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 50%;
  animation: ring-pulse 3s ease-in-out infinite;
}

.hero__character::after {
  content: "⚔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  font-size: 72px;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.8)) drop-shadow(0 0 40px rgba(59, 130, 246, 0.4));
  animation: hero-float 3s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

@keyframes hero-float {
  0%, 100% { transform: translate(-50%, -58%); }
  50% { transform: translate(-50%, -63%); }
}

.hero__glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero__info {
  padding: 24px 16px;
  animation: fade-in-up 0.8s ease-out;
}

.hero__title {
  font-size: 30px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-transform: uppercase;
}

body.lang-zh .hero__title {
  letter-spacing: 4px;
  text-transform: none;
}

body.lang-zh .hero__subtitle {
  letter-spacing: 2px;
}

.hero__subtitle {
  font-size: 11px;
  color: var(--accent-cyan);
  letter-spacing: 5px;
  margin-top: 6px;
  font-family: var(--font-mono);
  opacity: 0.85;
}

.hero__slogan {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 14px 0 24px;
  font-weight: 400;
}

.hero__meta {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.96);
}

.btn--primary {
  background: var(--gradient-btn);
  color: #fff;
  padding: 14px 48px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: btn-shine 3s ease-in-out infinite;
}

@keyframes btn-shine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.btn--primary:hover {
  box-shadow: var(--shadow-glow-strong);
}

.btn--pulse {
  animation: btn-pulse 2.5s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(0, 229, 255, 0.3); }
  50% { box-shadow: 0 0 32px rgba(0, 229, 255, 0.55), 0 0 48px rgba(59, 130, 246, 0.25); }
}

.btn--full {
  width: 100%;
  padding: 14px;
}

/* ===== Section Title ===== */
.section-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
}

body.lang-zh .section-title {
  letter-spacing: 2px;
  text-transform: none;
}

.section-title::before,
.section-title::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan));
  vertical-align: middle;
  margin: 0 12px;
}

.section-title::after {
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
}

/* ===== Features ===== */
.features {
  padding: 32px 16px;
  position: relative;
  z-index: 1;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--accent-cyan);
  border-left: 1px solid var(--accent-cyan);
  opacity: 0.5;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-bright);
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.1);
}

.feature-card__icon {
  font-size: 28px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
}

.feature-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 11px;
  color: var(--text-secondary);
}

/* ===== Carousel ===== */
.screenshots {
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

.carousel {
  position: relative;
  overflow: hidden;
  padding: 0 16px;
}

.carousel__track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel__slide {
  min-width: 100%;
  padding: 0 8px;
  transition: transform 0.4s;
}

.carousel__slide--active .carousel__img {
  transform: scale(1);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.2);
  border-color: var(--border-bright);
}

.carousel__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  transform: scale(0.94);
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.carousel__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.carousel__img--1 {
  background: linear-gradient(135deg, #0c1a3a 0%, #0a2540 50%, #1a1040 100%);
}

.carousel__img--2 {
  background: linear-gradient(135deg, #041e30 0%, #0a2a40 50%, #0c2040 100%);
}

.carousel__img--3 {
  background: linear-gradient(135deg, #0a1a30 0%, #102040 50%, #1a0a30 100%);
}

.carousel__img--4 {
  background: linear-gradient(135deg, #100a30 0%, #1a1040 50%, #0a2040 100%);
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--text-dim);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s, box-shadow 0.3s;
  padding: 0;
}

.carousel__dot--active {
  background: var(--accent-cyan);
  width: 20px;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/* ===== Gameplay ===== */
.gameplay {
  padding: 32px 16px;
  position: relative;
  z-index: 1;
}

.gameplay__item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.gameplay__item--reverse {
  flex-direction: row-reverse;
}

.gameplay__img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.gameplay__img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}

.gameplay__img--1 {
  background: linear-gradient(135deg, #0a2040, #1a1040);
}

.gameplay__img--2 {
  background: linear-gradient(135deg, #041e30, #0a2a40);
}

.gameplay__img--3 {
  background: linear-gradient(135deg, #100a30, #1a1040);
}

.gameplay__text h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
}

.gameplay__text p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Gift ===== */
.gift {
  padding: 32px 16px;
  position: relative;
  z-index: 1;
}

.gift__card {
  background: var(--bg-panel);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.08);
  position: relative;
}

.gift__card::before {
  content: "◈ LIMITED";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-void);
  padding: 0 12px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  letter-spacing: 2px;
}

body.lang-zh .gift__card::before {
  content: "◈ 限时";
}

.gift__timer {
  text-align: center;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.lang-zh .gift__timer {
  text-transform: none;
}

.gift__countdown {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.gift__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.gift__item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.gift__item-icon {
  font-size: 22px;
}

/* ===== Reviews ===== */
.reviews {
  padding: 32px 16px;
  position: relative;
  z-index: 1;
}

.reviews__score {
  text-align: center;
  margin-bottom: 20px;
}

.reviews__stars {
  font-size: 22px;
  color: var(--accent-cyan);
  letter-spacing: 4px;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.reviews__score p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-family: var(--font-mono);
}

.reviews__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  border-left: 2px solid var(--accent-cyan);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.review-card__stars {
  font-size: 11px;
  color: var(--accent-cyan);
  letter-spacing: 1px;
}

.review-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  padding: 24px 16px;
  text-align: center;
  font-size: 10px;
  color: var(--text-dim);
  line-height: 2;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  border-top: 1px solid var(--border-color);
  margin: 0 16px;
}

/* ===== Bottom Bar ===== */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-bar-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: flex;
  gap: 10px;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 10px;
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  z-index: 100;
}

.bottom-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.4;
}

.bottom-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.bottom-bar__btn:active {
  transform: scale(0.96);
}

.bottom-bar__btn--android {
  background: var(--gradient-btn);
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}

.bottom-bar__btn--ios {
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.bottom-bar__btn--ios:hover {
  border-color: var(--border-bright);
}

/* ===== Animations ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  body {
    max-width: 480px;
    margin: 0 auto;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
  }

  .bottom-bar {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
  }

  .header {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
  }
}
