﻿/* ============================
   SKYMOON.SU — GLOBAL STYLES
   ============================ */
:root {
  --primary: #7c3aed;
  --primary-light: #a855f7;
  --accent: #06b6d4;
  --accent2: #f59e0b;
  --moon: #fbbf24;
  --moon-glow: rgba(251,191,36,0.3);
  --bg-dark: #06040f;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.15);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --gradient-main: linear-gradient(135deg, #7c3aed, #06b6d4);
  --gradient-moon: linear-gradient(135deg, #fbbf24, #f59e0b, #ef4444);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.4);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-lg: 24px;
  --font: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ====== STARFIELD ====== */
.stars {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; overflow: hidden;
}
.star {
  position: absolute; border-radius: 50%;
  background: white; animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%,100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
.nebula {
  position: fixed; top: -20%; left: -10%; width: 120%; height: 120%;
  background: radial-gradient(ellipse at 30% 20%, rgba(124,58,237,0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(6,182,212,0.08) 0%, transparent 40%),
              radial-gradient(ellipse at 50% 50%, rgba(251,191,36,0.04) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
  animation: nebulaDrift 20s ease-in-out infinite alternate;
}
@keyframes nebulaDrift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(2%,2%) scale(1.05); }
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2rem; height: 72px;
  backdrop-filter: blur(24px);
  background: rgba(6,4,15,0.7);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(6,4,15,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; font-weight: 800; font-size: 1.4rem;
  color: var(--text-primary);
}
.logo-icon { font-size: 1.8rem; filter: drop-shadow(0 0 8px var(--moon-glow)); animation: logoFloat 3s ease-in-out infinite; }
@keyframes logoFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.logo-accent { color: var(--primary-light); }
.logo-domain { color: var(--text-muted); font-size: 0.9em; }

.nav-links {
  display: flex; gap: 0.25rem; list-style: none; margin-left: auto;
}
.nav-link {
  padding: 0.5rem 1rem; border-radius: 10px; text-decoration: none;
  color: var(--text-secondary); font-weight: 500; font-size: 0.95rem;
  transition: all 0.2s; cursor: pointer;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-card); }
.nav-link.active { color: var(--primary-light); background: rgba(124,58,237,0.15); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.server-badge {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.8rem; border-radius: 20px;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981; animation: pulse 2s ease-in-out infinite;
}
.badge-text { font-size: 0.8rem; color: #10b981; font-weight: 600; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,0.4)} 50%{box-shadow:0 0 0 6px rgba(16,185,129,0)} }

.btn-connect {
  padding: 0.5rem 1.25rem; border-radius: 12px; border: none; cursor: pointer;
  background: var(--gradient-main); color: white; font-family: var(--font);
  font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem;
  transition: all 0.2s; box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-connect:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(124,58,237,0.6); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: 0.3s; }

/* ====== PAGES WRAPPER ====== */
.pages-wrapper { position: relative; z-index: 1; }
.page { display: none; }
.page.active { display: block; }

/* ====== BUTTONS ====== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 14px; border: none; cursor: pointer;
  background: var(--gradient-main); color: white; font-family: var(--font);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: all 0.25s; box-shadow: 0 4px 24px rgba(124,58,237,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.6); }
.btn-primary.large { font-size: 1.1rem; padding: 1rem 2.5rem; }
.btn-primary.w100 { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 14px; cursor: pointer;
  background: transparent; color: var(--text-primary); font-family: var(--font);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid var(--border-light); transition: all 0.25s;
}
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--primary-light); }

/* ====== HERO ====== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 2rem 4rem; max-width: 1280px; margin: 0 auto;
  gap: 4rem;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.4);
  color: var(--primary-light); margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease both;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.gradient-text {
  background: var(--gradient-main); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 520px;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-ip-block { margin-bottom: 2rem; animation: fadeInUp 0.6s 0.3s ease both; }
.ip-box {
  display: inline-flex; align-items: center; gap: 1rem; cursor: pointer;
  padding: 1rem 1.5rem; border-radius: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-light);
  transition: all 0.2s; backdrop-filter: blur(10px);
}
.ip-box:hover { border-color: var(--primary-light); background: rgba(124,58,237,0.1); transform: translateY(-2px); }
.ip-icon { font-size: 1.4rem; }
.ip-address { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 600; }
.ip-copy { font-size: 0.8rem; color: var(--text-muted); }

.hero-buttons {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem;
  animation: fadeInUp 0.6s 0.4s ease both;
}

.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  animation: fadeInUp 0.6s 0.5s ease both;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary-light); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* MOON VISUAL */
.hero-visual { flex: 0 0 420px; display: flex; justify-content: center; align-items: center; }
.moon-container { position: relative; width: 340px; height: 340px; display: flex; justify-content: center; align-items: center; }
.moon {
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fde68a, #fbbf24 40%, #f59e0b 70%, #b45309);
  box-shadow: 0 0 60px rgba(251,191,36,0.4), 0 0 120px rgba(251,191,36,0.2), inset -20px -20px 40px rgba(0,0,0,0.3);
  position: relative; animation: moonFloat 6s ease-in-out infinite;
}
@keyframes moonFloat { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-15px) rotate(2deg)} }
.moon-crater {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,0.15), rgba(0,0,0,0.05));
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.2);
}
.c1 { width: 40px; height: 40px; top: 40px; left: 50px; }
.c2 { width: 25px; height: 25px; top: 100px; left: 140px; }
.c3 { width: 18px; height: 18px; top: 140px; left: 60px; }
.moon-shine {
  position: absolute; top: 15%; left: 15%; width: 30%; height: 25%;
  background: radial-gradient(circle, rgba(255,255,255,0.4), transparent);
  border-radius: 50%; transform: rotate(-30deg);
}
.moon-ring {
  position: absolute; border-radius: 50%; border: 2px solid rgba(251,191,36,0.2);
  animation: ringPulse 4s ease-in-out infinite;
}
.moon-ring { width: 270px; height: 270px; }
.ring2 { width: 310px; height: 310px; animation-delay: 1.5s; border-color: rgba(124,58,237,0.2); }
@keyframes ringPulse { 0%,100%{transform:scale(1);opacity:0.5} 50%{transform:scale(1.05);opacity:1} }

.floating-blocks { position: absolute; width: 100%; height: 100%; }
.mc-block {
  position: absolute; font-size: 1.8rem;
  animation: blockFloat var(--dur,5s) ease-in-out infinite;
  animation-delay: var(--delay,0s);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}
.b1 { top: 10%; left: 5%; --dur:5s; --delay:0s; }
.b2 { top: 15%; right: 5%; --dur:6s; --delay:1s; }
.b3 { bottom: 20%; left: 10%; --dur:4.5s; --delay:2s; }
.b4 { bottom: 10%; right: 10%; --dur:7s; --delay:0.5s; }
.b5 { top: 50%; left: 0%; --dur:5.5s; --delay:1.5s; }
@keyframes blockFloat { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-20px) rotate(10deg)} }

/* ====== SECTIONS ====== */
.section { max-width: 1280px; margin: 0 auto; padding: 5rem 2rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.9rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.3);
  color: var(--primary-light); margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 0.75rem; }
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ====== FEATURES ====== */
.features-section { }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.feature-card {
  position: relative; padding: 2rem; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.3s ease; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient-main); opacity: 0; transition: 0.3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(124,58,237,0.4); background: var(--bg-card-hover); box-shadow: var(--shadow-card); }
.feature-card:hover::before { opacity: 1; }
.feature-card.featured { border-color: rgba(124,58,237,0.5); background: rgba(124,58,237,0.08); }
.feature-card.featured::before { opacity: 1; }
.feature-badge {
  position: absolute; top: 1rem; right: 1rem;
  padding: 0.2rem 0.6rem; border-radius: 20px; font-size: 0.7rem; font-weight: 700;
  background: var(--gradient-main); color: white; letter-spacing: 0.05em;
}
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ====== JOIN SECTION ====== */
.join-section { }
.join-card {
  display: flex; gap: 4rem; align-items: center;
  padding: 3rem; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.join-left { flex: 1; }
.join-left h2 { font-size: 2rem; font-weight: 800; margin-bottom: 2rem; }
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; align-items: center; gap: 1.25rem; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--primary);
  background: rgba(124,58,237,0.15); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: var(--primary-light); flex-shrink: 0;
}
.step-info h4 { font-weight: 700; margin-bottom: 0.2rem; }
.step-info p { color: var(--text-secondary); font-size: 0.9rem; }
.step-info .mono { font-family: var(--font-mono); color: var(--accent); cursor: pointer; }
.step-info .mono:hover { text-decoration: underline; }

.join-right { flex: 0 0 320px; }
.server-card {
  padding: 1.75rem; border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.3); border: 1px solid var(--border-light);
  display: flex; flex-direction: column; gap: 1rem;
}
.server-card-header { display: flex; align-items: center; gap: 0.75rem; }
.server-icon { font-size: 2.5rem; }
.server-name { font-weight: 700; font-size: 1.1rem; }
.server-version { font-size: 0.8rem; color: var(--text-muted); }
.server-online-badge {
  margin-left: auto; display: flex; align-items: center; gap: 0.4rem;
  padding: 0.25rem 0.6rem; border-radius: 20px;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.4);
  font-size: 0.7rem; font-weight: 700; color: #10b981; letter-spacing: 0.05em;
}
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: pulse 2s infinite; }
.server-card-ip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.server-card-ip:hover { border-color: var(--primary-light); background: rgba(124,58,237,0.1); }
.server-card-stats { display: flex; flex-direction: column; gap: 0.5rem; }
.sc-stat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text-secondary); }
.sc-stat-icon { font-size: 1rem; }

/* ====== MINI DONATE ====== */
.mini-donate-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2.5rem;
}
.mini-donate-card {
  padding: 1.5rem; border-radius: var(--radius); text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  cursor: pointer; transition: all 0.25s; position: relative; overflow: hidden;
}
.mini-donate-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,0.5); box-shadow: var(--shadow-card); }
.mini-donate-card.popular { border-color: var(--primary); background: rgba(124,58,237,0.1); }
.mini-popular-badge {
  position: absolute; top: 0; right: 0;
  padding: 0.2rem 0.6rem; border-radius: 0 var(--radius) 0 10px; font-size: 0.7rem;
  font-weight: 700; background: var(--gradient-main); color: white;
}
.mini-lunar-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.mini-lunar-amount { font-size: 1.5rem; font-weight: 800; color: var(--moon); }
.mini-lunar-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.mini-lunar-price { font-size: 1rem; font-weight: 700; color: var(--text-primary); }

.center-btn { text-align: center; }

/* ====== FULL DONATE GRID ====== */
.donate-hero { background: linear-gradient(180deg, rgba(124,58,237,0.15) 0%, transparent 100%); }
.donate-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 3rem;
}
.donate-card {
  position: relative; padding: 2rem; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.3s ease; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
}
.donate-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient-moon); opacity: 0; transition: 0.3s;
}
.donate-card:hover { transform: translateY(-8px); border-color: rgba(251,191,36,0.5); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.donate-card:hover::after { opacity: 1; }
.donate-card.popular-card {
  border-color: var(--primary); background: rgba(124,58,237,0.1);
  box-shadow: 0 0 30px rgba(124,58,237,0.2);
}
.donate-card.popular-card::after { opacity: 1; background: var(--gradient-main); }
.popular-label {
  position: absolute; top: 1rem; right: 1rem;
  padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
  background: var(--gradient-main); color: white; letter-spacing: 0.05em;
}
.dc-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.dc-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.dc-lunars {
  font-size: 3rem; font-weight: 900; color: var(--moon); line-height: 1;
  text-shadow: 0 0 20px rgba(251,191,36,0.4);
}
.dc-lunar-text { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; font-weight: 500; }
.dc-moon-icon { font-size: 3rem; filter: drop-shadow(0 0 10px rgba(251,191,36,0.5)); }
.dc-bonus {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.75rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3);
  color: #10b981; margin-bottom: 1.5rem;
}
.dc-price { font-size: 2rem; font-weight: 800; margin-bottom: 0.25rem; }
.dc-per { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.dc-btn { margin-top: auto; }

.value-banner {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem; border-radius: var(--radius); margin-bottom: 2rem;
  background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.3);
  color: var(--moon); font-size: 0.95rem;
}

/* DONATE INFO CARDS */
.donate-info-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem;
  margin-top: 2rem;
}
.info-card {
  padding: 1.5rem; border-radius: var(--radius); text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
}
.info-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.info-card h4 { font-weight: 700; margin-bottom: 0.5rem; }
.info-card p { color: var(--text-secondary); font-size: 0.85rem; }

/* SHOP ITEMS */
.shop-items-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem;
}
.shop-item {
  padding: 1.5rem 1rem; border-radius: var(--radius); text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.25s; cursor: default;
}
.shop-item:hover { transform: translateY(-3px); border-color: rgba(251,191,36,0.4); }
.shop-item-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.shop-item-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.shop-item-price { font-size: 0.8rem; color: var(--moon); font-weight: 600; }

/* ====== PAGE HERO ====== */
.page-hero {
  padding: 140px 2rem 4rem; text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero-content { max-width: 700px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; margin-bottom: 1rem; }
.page-hero p { color: var(--text-secondary); font-size: 1.05rem; }
.donate-hero { background: linear-gradient(180deg, rgba(251,191,36,0.08) 0%, transparent 100%); }
.rules-hero { background: linear-gradient(180deg, rgba(239,68,68,0.08) 0%, transparent 100%); }
.support-hero { background: linear-gradient(180deg, rgba(6,182,212,0.08) 0%, transparent 100%); }

/* ====== RULES ====== */
.rules-container { max-width: 860px; margin: 0 auto; }
.rules-notice {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem; border-radius: var(--radius); margin-bottom: 2rem;
  background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.3);
  color: #fbbf24; font-size: 0.9rem;
}
.rule-category { margin-bottom: 2rem; }
.rule-cat-header {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.rule-cat-icon { font-size: 1.5rem; }
.rule-cat-header h3 { font-size: 1.2rem; font-weight: 700; }
.rule-list { display: flex; flex-direction: column; gap: 0.75rem; }
.rule-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: 0.2s;
}
.rule-item:hover { border-color: rgba(255,255,255,0.15); }
.rule-num {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: var(--primary-light); flex-shrink: 0;
}
.rule-text { flex: 1; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }
.rule-text strong { color: var(--text-primary); }
.rule-tag {
  padding: 0.2rem 0.6rem; border-radius: 20px; font-size: 0.7rem; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}
.rule-tag.ban { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.4); color: #ef4444; }
.rule-tag.punishment { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.4); color: #f59e0b; }
.rule-tag.warn { background: rgba(6,182,212,0.15); border: 1px solid rgba(6,182,212,0.4); color: #06b6d4; }

.rules-coming-soon {
  text-align: center; padding: 3rem; margin-top: 2rem;
  border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border);
}
.rcs-icon { font-size: 3rem; margin-bottom: 1rem; }
.rules-coming-soon h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.rules-coming-soon p { color: var(--text-secondary); margin-bottom: 1.5rem; }

/* ====== SUPPORT ====== */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-bottom: 1rem;
}
.contact-card {
  position: relative; display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  text-decoration: none; color: var(--text-primary);
  transition: all 0.3s; cursor: pointer;
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,0.5); box-shadow: var(--shadow-card); }
.contact-card.primary-contact { grid-column: span 2; border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.08); }
.contact-card.discord-card:hover { border-color: rgba(88,101,242,0.6); }
.contact-card.email-card:hover { border-color: rgba(6,182,212,0.5); }
.contact-icon { font-size: 2.5rem; flex-shrink: 0; }
.contact-info h3 { font-weight: 700; margin-bottom: 0.25rem; }
.contact-info p { color: var(--text-secondary); font-size: 0.85rem; }
.contact-link { font-size: 0.8rem; color: var(--primary-light); font-weight: 600; }
.contact-badge {
  margin-left: auto; padding: 0.25rem 0.6rem; border-radius: 20px;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3);
  font-size: 0.7rem; font-weight: 700; color: #10b981; flex-shrink: 0;
}

/* QUICK ACTIONS */
.quick-actions-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem;
}
.quick-action-btn {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.25rem 1.5rem; border-radius: var(--radius); width: 100%;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); font-family: var(--font); cursor: pointer;
  transition: all 0.25s; text-align: left;
}
.quick-action-btn:hover { transform: translateX(4px); border-color: rgba(124,58,237,0.5); background: rgba(124,58,237,0.08); }
.qa-icon { font-size: 2rem; flex-shrink: 0; }
.qa-text h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.qa-text p { color: var(--text-secondary); font-size: 0.8rem; }
.qa-arrow { margin-left: auto; font-size: 1.2rem; color: var(--primary-light); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  width: 100%; padding: 1.25rem 1.5rem; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--text-primary); font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  text-align: left; gap: 1rem; transition: 0.2s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-arrow { flex-shrink: 0; transition: transform 0.3s; font-size: 0.85rem; color: var(--text-muted); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 1.5rem; max-height: 0; overflow: hidden;
  transition: all 0.3s ease; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 1.25rem; }

/* ====== FOOTER ====== */
.footer {
  border-top: 1px solid var(--border); margin-top: 3rem;
}
.footer-content {
  max-width: 1280px; margin: 0 auto; padding: 3rem 2rem;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.3rem; font-weight: 800; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; cursor: pointer;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-light); }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* ====== TOAST ====== */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  padding: 1rem 1.5rem; border-radius: var(--radius);
  background: rgba(16,185,129,0.9); backdrop-filter: blur(10px);
  color: white; font-weight: 600; font-size: 0.95rem;
  border: 1px solid rgba(16,185,129,0.5);
  transform: translateY(200%); opacity: 0; transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ====== MODAL ====== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9998; display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative; padding: 2.5rem; border-radius: var(--radius-lg); max-width: 440px; width: 90%;
  background: #0e0a1f; border: 1px solid var(--border-light);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
  text-align: center;
}
@keyframes modalIn { from{transform:scale(0.8);opacity:0} to{transform:scale(1);opacity:1} }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-secondary); cursor: pointer; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center; transition: 0.2s;
}
.modal-close:hover { background: rgba(239,68,68,0.2); color: #ef4444; border-color: #ef4444; }
.modal-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.modal h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem; }
.modal p { color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.6; }
.modal-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

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

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; min-height: auto; padding-top: 120px; }
  .hero-visual { flex: none; }
  .join-card { flex-direction: column; }
  .join-right { flex: none; width: 100%; }
  .contact-card.primary-contact { grid-column: span 1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(6,4,15,0.95); backdrop-filter: blur(20px); padding: 1rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-actions .server-badge { display: none; }
  .burger { display: flex; }
  .moon-container { width: 260px; height: 260px; }
  .moon { width: 160px; height: 160px; }
}
/* CASE CARDS */
.cases-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}

/* PRIVILEGE MODAL */
.large-modal { max-width: 600px; padding: 2rem; }
.pm-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.pm-icon { font-size: 3rem; margin-bottom: 0.5rem; text-shadow: 0 0 20px rgba(255,255,255,0.2); }
.pm-header h3 { font-size: 2rem; font-weight: 800; margin-bottom: 0.25rem; }
.pm-price { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); background: rgba(255,255,255,0.1); padding: 0.2rem 1rem; border-radius: 20px; }

.pm-content { display: flex; gap: 2rem; text-align: left; }
@media (max-width: 600px) { .pm-content { flex-direction: column; gap: 1.5rem; } }
.pm-col { flex: 1; }
.pm-col-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.pm-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.pm-list li { font-size: 0.9rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.4; }
.pm-list li::before { content: '•'; color: var(--primary-light); font-weight: bold; }
/* AUTH SYSTEM */
.auth-block, .user-block { display: flex; align-items: center; gap: 0.5rem; }
.btn-primary.small, .btn-secondary.small { padding: 0.4rem 1rem; font-size: 0.85rem; border-radius: 8px; }
.username-display { font-weight: 700; color: var(--primary-light); background: rgba(124,58,237,0.15); padding: 0.3rem 0.8rem; border-radius: 8px; border: 1px solid rgba(124,58,237,0.3); }

.auth-modal { max-width: 400px; }
.auth-input { width: 100%; padding: 0.9rem 1.25rem; margin-bottom: 1rem; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid var(--border-light); color: white; font-family: var(--font); font-size: 1rem; transition: 0.2s; outline: none; }
.auth-input:focus { border-color: var(--primary-light); background: rgba(124,58,237,0.05); }
.auth-error { color: #ef4444; font-size: 0.85rem; margin-bottom: 1rem; text-align: left; display: none; }
.auth-switch { margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-secondary); }
.auth-switch a { color: var(--primary-light); cursor: pointer; font-weight: 600; text-decoration: underline; }

/* Clickable Feature Cards */
.feature-card.clickable {
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card.clickable:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  border-color: var(--primary-light);
}
/* BUY LUNARS BOX */
.buy-lunars-box {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}
.bl-content { display: flex; align-items: center; gap: 1.5rem; }
.bl-icon { font-size: 3.5rem; filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.5)); }
.bl-text h2 { margin-bottom: 0.5rem; color: #10b981; }
.bl-text p { color: var(--text-secondary); max-width: 400px; margin-bottom: 0.5rem; }
.bl-price { font-weight: 700; font-size: 1.2rem; color: white; background: rgba(0,0,0,0.2); display: inline-block; padding: 0.2rem 0.8rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
@media(max-width: 768px) {
  .buy-lunars-box { flex-direction: column; text-align: center; gap: 1.5rem; }
  .bl-content { flex-direction: column; text-align: center; }
}
/* PASSWORD EYE ICON */
.auth-input-wrapper { position: relative; width: 100%; margin-bottom: 1rem; }
.auth-input-wrapper .auth-input { margin-bottom: 0; padding-right: 2.5rem; }
.eye-icon { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--text-secondary); font-size: 1.2rem; user-select: none; }
.eye-icon:hover { color: var(--text-primary); }

/* PROFILE PAGE */
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; margin-top: 2rem; }
.profile-sidebar { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 12px; padding: 1.5rem; }
.profile-menu { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.profile-menu li { padding: 0.8rem 1rem; border-radius: 8px; cursor: pointer; transition: 0.2s; color: var(--text-secondary); font-weight: 500; }
.profile-menu li:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.profile-menu li.active { background: rgba(124,58,237,0.15); color: var(--primary-light); border: 1px solid rgba(124,58,237,0.3); }

.profile-content { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 12px; padding: 2rem; }
.profile-section { display: none; }
.profile-section.active { display: block; }
.profile-section h3 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--text-primary); border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }

.history-item { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 1rem; border-radius: 8px; margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: center; }
.history-status.pending { color: #facc15; background: rgba(250,204,21,0.1); padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.85rem; }
.history-status.completed { color: #10b981; background: rgba(16,185,129,0.1); padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.85rem; }

@media(max-width: 768px) {
  .profile-grid { grid-template-columns: 1fr; }
}

.username-display { cursor: pointer; }
.username-display:hover { background: rgba(124,58,237,0.25); }
/* PAGE TRANSITIONS */
.page {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.page.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* FAVORITE BUTTON */
.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  z-index: 5;
}
.favorite-btn:hover { background: rgba(0,0,0,0.5); transform: scale(1.1); }
.favorite-btn.active { color: #ef4444; border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.1); }

/* RELATIVE CARDS FOR FAVORITE BTN */
.donate-card, .mini-donate-card { position: relative; }
