/* ═══════════════════════════════════════════════════════════
   MAGNOLION – Rust Server Website
   Dark Industrial + Organic Gold aesthetic
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:           #0d0d0d;
  --bg2:          #111111;
  --bg3:          #171717;
  --surface:      #1c1c1c;
  --surface2:     #222222;
  --border:       rgba(255,255,255,0.06);
  --border2:      rgba(255,255,255,0.1);

  --rust:         #d4612a;
  --rust-light:   #e8803d;
  --rust-dim:     rgba(212,97,42,0.15);
  --gold:         #e8a83d;
  --gold-light:   #f5c55a;
  --gold-dim:     rgba(232,168,61,0.12);
  --discord:      #5865F2;

  --text:         #f0ece4;
  --text-muted:   #8a8680;
  --text-faint:   #4a4642;

  --font-display: 'Bebas Neue', cursive;
  --font-body:    'Rajdhani', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;

  --radius:       4px;
  --radius-lg:    8px;
  --shadow:       0 4px 24px rgba(0,0,0,0.6);
  --shadow-rust:  0 0 40px rgba(212,97,42,0.25);
  --shadow-gold:  0 0 40px rgba(232,168,61,0.2);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── NOISE ── */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--rust); border-radius: 3px; }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  background: rgba(13,13,13,0);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
#header.scrolled {
  background: rgba(13,13,13,0.92);
  border-color: var(--border);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(232,168,61,0.5));
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(232,168,61,0.4);
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  border-radius: var(--radius);
}
.nav-link:hover { color: var(--text); }
.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
  margin-left: 0.25rem;
}
.store-btn {
  border: 1px solid var(--border2);
  color: var(--text-muted);
}
.store-btn:hover { border-color: var(--rust); color: var(--rust); }
.badge {
  font-size: 0.65rem;
  background: var(--rust);
  color: white;
  padding: 1px 5px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0;
}
.discord-btn {
  background: var(--discord);
  color: white;
}
.discord-btn:hover { background: #4752c4; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 1rem;
  gap: 0.25rem;
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.mobile-nav a:hover { background: var(--surface); color: var(--text); }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 2rem 6rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(212,97,42,0.12) 0%, rgba(232,168,61,0.06) 40%, transparent 70%);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: float-up var(--dur, 8s) var(--delay, 0s) infinite linear;
}
@keyframes float-up {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-100px) translateX(var(--drift, 40px)); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--border2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.03);
  animation: fade-in 0.8s ease forwards;
}
.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 1.5rem;
  animation: fade-in 0.8s 0.15s ease both;
}
.title-mag {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 10rem);
  letter-spacing: 0.02em;
  background: linear-gradient(160deg, var(--gold-light) 30%, var(--rust) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(232,168,61,0.3));
}
.title-sub {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 0.6em;
  color: var(--text-muted);
  margin-top: -0.5rem;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: fade-in 0.8s 0.3s ease both;
}

/* IP block */
.hero-ip-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  animation: fade-in 0.8s 0.45s ease both;
}
.ip-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-faint);
}
.ip-copy {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
  overflow: hidden;
}
.ip-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(212,97,42,0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.ip-copy:hover::before { transform: translateX(100%); }
.ip-copy:hover {
  border-color: var(--rust);
  box-shadow: 0 0 20px rgba(212,97,42,0.15);
}
.ip-addr {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.ip-icon { color: var(--text-muted); flex-shrink: 0; }
.ip-copied {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rust);
  color: white;
  font-weight: 700;
  letter-spacing: 0.1em;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  font-size: 0.9rem;
}
.ip-copy.copied .ip-copied { transform: translateY(0); }

/* Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: fade-in 0.8s 0.6s ease both;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--rust), var(--rust-light));
  color: white;
  box-shadow: 0 4px 20px rgba(212,97,42,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,97,42,0.5);
}
.btn-discord {
  background: var(--discord);
  color: white;
}
.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fade-in 0.8s 0.75s ease both;
}
.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.stat-dot.live {
  background: #3cff7f;
  box-shadow: 0 0 8px #3cff7f;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.stat-val { font-family: var(--font-mono); font-size: 1rem; color: var(--text); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.stat-sep { color: var(--text-faint); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  animation: fade-in 1s 1.5s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-faint), transparent);
  animation: scroll-anim 2s infinite;
}
@keyframes scroll-anim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section {
  padding: 6rem 2rem;
}
.section-dark {
  background: var(--bg2);
  position: relative;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
}
.section-dark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--rust);
  display: block;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.05em;
  color: var(--text);
}
.section-desc {
  margin-top: 0.75rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   INFO GRID
   ═══════════════════════════════════════ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.card-wipe::before { background: linear-gradient(90deg, var(--rust), var(--gold)); }
.card-specs::before { background: linear-gradient(90deg, var(--gold), var(--rust-light)); }
.card-rules::before { background: linear-gradient(90deg, var(--rust-light), var(--rust)); }
.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--border2);
  box-shadow: var(--shadow);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  min-width: 52px;
}
.cd-block span {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--rust-light);
}
.cd-block label { font-size: 0.65rem; letter-spacing: 0.1em; color: var(--text-faint); }
.cd-sep { font-family: var(--font-mono); font-size: 1.4rem; color: var(--text-faint); margin-bottom: 0.5rem; }
.card-note { font-size: 0.9rem; color: var(--text-muted); }
.card-note strong { color: var(--gold); }

/* Specs */
.specs-list { display: flex; flex-direction: column; gap: 0.6rem; }
.specs-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.spec-label { color: var(--text-muted); }
.spec-val { font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem; }
.uptime-green { color: #3cff7f; }

/* Rules */
.rules-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }
.rules-list li { font-size: 0.9rem; color: var(--text-muted); }
.card-link {
  font-size: 0.85rem;
  color: var(--rust-light);
  font-weight: 600;
  transition: color 0.2s;
}
.card-link:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   WHY GRID
   ═══════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  position: relative;
  transition: all 0.25s;
}
.why-card:hover {
  border-color: rgba(212,97,42,0.3);
  box-shadow: 0 4px 30px rgba(212,97,42,0.08);
  transform: translateY(-3px);
}
.why-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-faint);
  line-height: 1;
  letter-spacing: 0.05em;
}
.why-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.why-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ═══════════════════════════════════════
   MAP
   ═══════════════════════════════════════ */
.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 1.5rem;
  align-items: start;
}
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.map-overlay {
  position: absolute;
  inset: 0;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.map-overlay.hidden { opacity: 0; pointer-events: none; }
.map-placeholder {
  text-align: center;
  padding: 2rem;
}
.map-placeholder-icon { font-size: 3rem; margin-bottom: 1rem; }
.map-placeholder h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.map-placeholder p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.9rem; }
.map-placeholder small { display: block; margin-top: 0.75rem; color: var(--text-faint); font-size: 0.75rem; }

.map-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.map-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}
.map-stat span { display: block; font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.05em; }
.map-stat strong { font-family: var(--font-mono); font-size: 1rem; color: var(--gold); }

/* ═══════════════════════════════════════
   COMMUNITY
   ═══════════════════════════════════════ */
.community-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.5rem;
}

/* Discord card */
.discord-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.discord-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.discord-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--text);
}
.discord-online {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.green {
  background: #3cff7f;
  box-shadow: 0 0 6px #3cff7f;
}
.discord-channels {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.channel {
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
  cursor: default;
}
.channel:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.full-width { width: 100%; justify-content: center; }

/* News feed */
.news-feed h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.news-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.news-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.news-item:hover { border-color: var(--border2); }
.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.news-tag {
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.news-tag.wipe { background: rgba(212,97,42,0.2); color: var(--rust-light); }
.news-tag.update { background: rgba(232,168,61,0.15); color: var(--gold); }
.news-tag.event { background: rgba(88,101,242,0.2); color: #818cf8; }
time { font-size: 0.8rem; color: var(--text-faint); }
.news-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.news-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ═══════════════════════════════════════
   PARTNERS
   ═══════════════════════════════════════ */
.partners-section {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.partner-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}
.partner-badge img { width: 18px; height: 18px; }
.partner-badge:hover { border-color: var(--border2); color: var(--text); }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  background: var(--bg2);
  padding: 3rem 2rem 1.5rem;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo { width: 48px; height: 48px; object-fit: contain; }
.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  display: block;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--rust-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-faint); }
.server-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.status-ip {
  font-family: var(--font-mono);
  color: var(--text-faint);
  font-size: 0.75rem;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .map-wrapper { grid-template-columns: 1fr; }
  .map-info { flex-direction: row; flex-wrap: wrap; }
  .map-stat { flex: 1; min-width: 140px; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .info-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 1.5rem; }
  .footer-top { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 0.75rem; }
  .stat-sep { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .section { padding: 4rem 1rem; }
  .info-card { padding: 1.5rem; }
  .countdown { gap: 0.25rem; }
  .cd-block { min-width: 44px; padding: 0.4rem 0.5rem; }
  .cd-block span { font-size: 1.3rem; }
}
