:root {
  --bg: #04050a;
  --bg2: #080b14;
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.14);
  --text: #f0f2ff;
  --muted: #6b7280;
  --muted2: #9ca3af;
  --accent: #3290EE; /* Ocean Blue */
  --accent2: #FF477E; /* Cherry */
  --luna: #3290EE;
  --axion: #FF477E;
  --axion2: #FF0A54; /* Deep Cherry for rich gradients */
  --success: #34d399;
  --warn: #fbbf24;
  --warn-bg: rgba(251,191,36,0.08);
  --warn-border: rgba(251,191,36,0.2);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
  --bg: #f7f8fc;
  --bg2: #eef1f7;
  --surface: #ffffff;
  --surface2: #f1f3f9;
  --border: rgba(0,0,0,0.08);
  --border2: rgba(0,0,0,0.15);
  --text: #0b0d17;
  --muted: #6b7280;
  --muted2: #4b5563;
  --accent: #3290EE;
  --accent2: #FF477E;
}

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(50, 144, 238, 0.12), transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(255, 71, 126, 0.12), transparent 40%);
  animation: bgShift 20s ease-in-out infinite alternate;
}

[data-theme="light"] body::before {
  background: radial-gradient(circle at 20% 20%, rgba(50, 144, 238, 0.12), transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(255, 71, 126, 0.12), transparent 40%);
}

@keyframes bgShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-40px, -30px); }
}

/* ═══════════════════════════════════════
   COSMIC BACKGROUND
═══════════════════════════════════════ */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cosmos-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(50, 144, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 144, 238, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  z-index: 2;
}

.cosmos-blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: 1;
}

.cosmos-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: drift 20s ease-in-out infinite alternate,
             breathe 12s ease-in-out infinite alternate;
  will-change: transform, scale, translate, border-radius;
  z-index: 0;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(50, 144, 238, 0.12) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 71, 126, 0.1) 0%, transparent 70%);
  bottom: -150px; right: -100px;
  animation-delay: -7s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(50, 144, 238, 0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

[data-theme="light"] .cosmos-grid {
  display: block;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  animation: gridPan 30s linear infinite;
}

@keyframes gridPan {
  from { background-position: 0 0; }
  to   { background-position: -60px -60px; }
}

[data-theme="light"] .orb-1 { background: radial-gradient(circle, rgba(50, 144, 238, 0.35) 0%, transparent 70%); }
[data-theme="light"] .orb-2 { background: radial-gradient(circle, rgba(255, 71, 126, 0.3) 0%, transparent 70%); }
[data-theme="light"] .orb-3 { background: radial-gradient(circle, rgba(50, 144, 238, 0.25) 0%, transparent 70%); }

/* Light Theme Fluid Orb Animation */
[data-theme="light"] .cosmos-orb {
  animation: ambientFlow 25s ease-in-out infinite alternate;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

@keyframes ambientFlow {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  33%  { transform: translate(50px, -40px) rotate(120deg) scale(1.1); border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; }
  66%  { transform: translate(-30px, 50px) rotate(240deg) scale(0.95); border-radius: 30% 70% 50% 50% / 60% 40% 70% 30%; }
  100% { transform: translate(20px, 20px) rotate(360deg) scale(1.05); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

@keyframes drift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(40px, -30px); }
  50%  { transform: translate(-30px, 40px); }
  75%  { transform: translate(20px, -15px); }
  100% { transform: translate(-10px, 10px); }
}

@keyframes breathe {
  0%, 100% { scale: 1; }
  50%      { scale: 1.08; }
}

/* Stars */
.stars {
  position: absolute;
  inset: 0;
  animation: starDrift 60s linear infinite;
  z-index: 2;
}

@keyframes starDrift {
  from { transform: translateY(0); }
  to   { transform: translateY(-200px); }
}

.star {
  position: absolute;
  border-radius: 50%;
  background: white;
  color: white;
  box-shadow: 0 0 6px currentColor, 0 0 12px currentColor;
  animation: twinkle var(--dur, 3s) ease-in-out infinite alternate;
}

/* Light Theme Bokeh Dust Animation */
[data-theme="light"] .stars {
  display: block;
  opacity: 1;
  animation: dustRise 80s linear infinite;
}
[data-theme="light"] .star {
  background: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px currentColor;
  opacity: 0.3;
  filter: blur(1.5px);
  animation: dustPulse 6s ease-in-out infinite alternate;
}

@keyframes dustRise {
  from { transform: translate(0, 100px); }
  to   { transform: translate(-100px, -300px); }
}

@keyframes dustPulse {
  0%   { opacity: 0.1; transform: scale(0.8); }
  100% { opacity: 0.5; transform: scale(1.8); }
}

@keyframes twinkle {
  from { opacity: var(--min-op, 0.1); transform: scale(1); }
  to   { opacity: var(--max-op, 0.6); transform: scale(1.3); }
}

/* Shooting Stars */
.shooting-star {
  position: absolute;
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #fff);
  opacity: 0;
  transform: rotate(-45deg);
  animation: shoot 6s linear infinite;
  will-change: transform, opacity;
  z-index: 2;
}

/* Hide Shooting Stars in Light Mode for an airy, distraction-free look */
[data-theme="light"] .shooting-star {
  display: none;
}

.ss-1 { top: 10%; left: 20%; animation-delay: 0s; }
.ss-2 { top: -10%; left: 70%; animation-delay: 3s; }
.ss-3 { top: 40%; left: -10%; animation-delay: 7s; }

@keyframes shoot {
  0% { opacity: 0; transform: translate(0,0) rotate(-45deg); }
  10% { opacity: 1; }
  100% { transform: translate(800px,800px) rotate(-45deg); opacity: 0; }
}

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
#app {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: max(90px, env(safe-area-inset-top));
  padding-bottom: max(60px, env(safe-area-inset-bottom));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.view { display: none !important; width: 100%; }
.view.active { display: block !important; }

/* ═══════════════════════════════════════
   TOPBAR
═══════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) 24px 14px;
  background: rgba(4,5,10,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

[data-theme="light"] .topbar {
  background: rgba(244,246,252,0.75);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.topbar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-brand-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn{
  width:44px;
  height:44px;

  border-radius:14px;

  border:1px solid var(--border);
  background:var(--surface);

  color:var(--muted2);

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;
  transition:var(--transition);

  user-select:none;

  flex-shrink:0;
}

.icon-btn svg{
  width:18px;
  height:18px;

  display:block;
  flex-shrink:0;
}

.icon-btn:hover{
  border-color:var(--border2);
  color:var(--text);
  background:var(--surface2);
}

.icon-btn:active{
  transform:scale(0.92);
}

/* ═══════════════════════════════════════
   BACK BUTTON
═══════════════════════════════════════ */
.back-row {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted2);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.btn-back:hover { background: var(--surface2); border-color: var(--border2); color: var(--text); transform: translateX(-3px); }
.btn-back:active { transform: translateX(-3px) scale(0.96); }
.btn-back svg { transition: transform 0.25s ease; }
.btn-back:hover svg { transform: translateX(-3px); }

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
.page-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 8px;
}

.page-sub {
  font-size: 1rem;
  color: var(--muted2);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════
   PILL BADGE
═══════════════════════════════════════ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  border: 1px solid;
}

.pill-blue  { background: rgba(50, 144, 238, 0.1); border-color: rgba(50, 144, 238, 0.25); color: var(--accent); opacity: 0.8; }
.pill-cherry { background: rgba(255, 71, 126, 0.1); border-color: rgba(255, 71, 126, 0.25); color: var(--axion); opacity: 0.8; }
.pill-amber { background: rgba(251, 191, 36, 0.1);  border-color: rgba(251, 191, 36, 0.25);  color: var(--warn); opacity: 0.8; }
.pill-green { background: rgba(52, 211, 153, 0.1);  border-color: rgba(52, 211, 153, 0.25);  color: var(--success); opacity: 1; }
.pill-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ═══════════════════════════════════════
   CARDS
═══════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.card:hover { border-color: var(--border2); }

.card + .card { margin-top: 16px; }

/* Rom Hero Card */
.rom-grid > .anim {
  display: flex;
  flex-direction: column;
}

.rom-hero {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rom-hero:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.rom-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
  border-color: var(--border2);
}
.rom-hero:active { transform: translateY(-2px) scale(0.99); }

.rom-hero-banner {
  width: 100%;
  aspect-ratio: 21/9;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.rom-hero-banner::after {
  display: none;
}

.rom-hero-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rom-hero-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.rom-hero-sub {
  color: var(--muted2);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* Device / Version Row Cards */
.row-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  user-select: none;
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.row-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.row-card + .row-card { margin-top: 16px; }

.row-card:hover {
  background: var(--surface2);
  border-color: var(--border2);
  transform: translateX(4px);
}
.row-card:active { transform: translateX(4px) scale(0.98); }

.row-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.row-card:hover .row-icon {
  border-color: var(--accent);
  background: rgba(50, 144, 238, 0.1);
  color: var(--accent);
}

.row-card.axion-card:hover .row-icon {
  border-color: var(--axion);
  background: rgba(255, 71, 126, 0.1);
  color: var(--axion);
}

.row-content { flex: 1; min-width: 0; }
.row-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.row-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.row-arrow {
  color: var(--muted);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
}
.row-card:hover .row-arrow { transform: translateX(5px); color: var(--text); }

/* ═══════════════════════════════════════
   HOME NAV LINKS
═══════════════════════════════════════ */
.home-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition), opacity var(--transition);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  border: none;
  outline: none;
}
.btn:active { transform: scale(0.95) !important; }

.btn-primary {
  background: var(--accent);
  color: #04050a;
  box-shadow: 0 8px 24px rgba(50, 144, 238, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(50, 144, 238, 0.35); filter: brightness(1.08); }

.btn-ghost {
  background: var(--surface);
  color: var(--muted2);
  border: 1px solid var(--border);
  opacity: 0.8;
}
.btn-ghost:hover { background: var(--surface2); border-color: var(--border2); color: var(--text); transform: translateY(-1px); opacity: 1; }

.btn-full { width: 100%; }

.btn-axion {
  background: linear-gradient(135deg, var(--axion), var(--axion2));
  color: white; /* Changed back to white for contrast against deep cherry */
  box-shadow: 0 8px 24px rgba(255, 71, 126, 0.25);
}
.btn-axion:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 71, 126, 0.35); filter: brightness(1.08); }

.btn-sm {
  padding: 9px 16px;
  font-size: 0.82rem;
}

/* download grid */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted2);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}
.dl-btn:hover { background: var(--surface2); border-color: var(--border2); color: var(--text); transform: translateY(-2px); }
.dl-btn:active { transform: scale(0.97); }
.dl-btn svg { flex-shrink: 0; }

.dl-btn-label { font-size: 0.7rem; color: var(--muted); margin-top: 2px; font-family: var(--font-body); letter-spacing: 0.04em; }
.dl-btn-inner { display: flex; flex-direction: column; }

/* ═══════════════════════════════════════
   INFO TABLE
═══════════════════════════════════════ */
.info-table { display: flex; flex-direction: column; gap: 8px; }

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.875rem;
  transition: background var(--transition);
}
.info-row:hover { background: var(--surface2); }

.info-key {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
}
.info-key svg { color: var(--accent); flex-shrink: 0; }
.info-val {
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════
   CHANGELOG
═══════════════════════════════════════ */
.changelog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted2);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.toggle-btn:hover { border-color: var(--border2); color: var(--text); }
.toggle-btn svg { transition: transform 0.3s ease; }

.changelog-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              margin-top 0.4s ease;
  margin-top: 0;
}
.changelog-wrap.open {
  grid-template-rows: 1fr;
  margin-top: 16px;
}
.changelog-inner { overflow: hidden; }

.changelog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}
.changelog-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--muted2);
  line-height: 1.55;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: background var(--transition);
}
.changelog-list li strong {
  color: var(--text);
  font-weight: 600;
}
.changelog-list li:hover { background: var(--surface2); }
.changelog-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
  box-shadow: 0 0 8px var(--accent);
}
.changelog-list.axion-cl li::before { background: var(--axion); box-shadow: 0 0 8px var(--axion); }

/* ═══════════════════════════════════════
   WARNING BOX
═══════════════════════════════════════ */
.warn-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  font-size: 0.875rem;
  color: var(--warn);
  margin-bottom: 16px;
}
.warn-box svg { flex-shrink: 0; margin-top: 1px; }
.warn-box strong { color: var(--text); display: block; margin-bottom: 4px; font-weight: 600; }

/* ═══════════════════════════════════════
   INSTALL STEPS
═══════════════════════════════════════ */
.install-steps { display: flex; flex-direction: column; gap: 8px; }
.install-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--muted2);
  line-height: 1.5;
}
.step-num {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   HOME PAGE
═══════════════════════════════════════ */
.home-hero {
  margin-bottom: 32px;
}

.home-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.home-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.home-title-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-desc {
  font-size: 1.05rem;
  color: var(--muted2);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════
   SECTION HEADING
═══════════════════════════════════════ */
.section-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ═══════════════════════════════════════
   DEVICE HERO IMAGE
═══════════════════════════════════════ */
.device-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0 16px;
  position: relative;
}

.device-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(70px);
  opacity: 0.15;
}

.axion-glow { background: var(--axion); }

.device-img {
  height: 220px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  position: relative;
  z-index: 1;
  transition: transform var(--spring);
}
.device-img:hover { transform: translateY(-10px) scale(1.04); }

/* ═══════════════════════════════════════
   ABOUT / DONATE
═══════════════════════════════════════ */
.avatar {
  width: 80px; height: 80px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border2);
  margin-bottom: 24px;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.donate-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
}
.donate-option:hover { background: var(--surface2); border-color: var(--border2); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.donate-option + .donate-option { margin-top: 16px; }
.donate-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim { animation: fadeUp 0.5s cubic-bezier(0.4,0,0.2,1) both; }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.1s; }
.d3 { animation-delay: 0.15s; }
.d4 { animation-delay: 0.2s; }
.d5 { animation-delay: 0.25s; }
.d6 { animation-delay: 0.3s; }

/* ═══════════════════════════════════════ FOOTER ═══════════════════════════════════════ */
footer {
  text-align: center;
  padding: 48px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  margin-top: auto;
}

/* ═══════════════════════════════════════ RESPONSIVE ═══════════════════════════════════════ */
@media (min-width: 640px) {
  .dl-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 400px) {
  .home-title { font-size: 2.8rem; }
  #app { padding-left: 16px; padding-right: 16px; }
  .card { padding: 22px; }
  .rom-hero-body { padding: 18px 20px 22px; }
}

.rom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ═══════════════════════════════════════ ADDED GRID ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .rom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cosmos-blur,
  .cosmos-orb,
  .shooting-star {
    display: none;
  }
}
