/* ============================================
   LIFECRAFTSMP — Design System & Styles
   Theme: Green/Emerald Dark Minecraft
   ============================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  --bg: #050e08;
  --surface: #0a1a10;
  --surface-2: #0f2818;
  --border: #1a4a2a;
  --accent: #34d399;
  --accent-rgb: 52, 211, 153;
  --neon: #00ff88;
  --neon-rgb: 0, 255, 136;
  --slate: #8db5a0;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 3rem;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Particle Canvas ── */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Background Effects ── */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(26, 74, 42, 0.3) 0.5px, transparent 0.5px),
    linear-gradient(to bottom, rgba(26, 74, 42, 0.3) 0.5px, transparent 0.5px);
  background-size: 60px 60px;
}

.bg-glow-tl {
  position: fixed;
  top: -10%; left: -10%;
  width: 50%; height: 50%;
  background: rgba(var(--neon-rgb), 0.08);
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-br {
  position: fixed;
  bottom: -10%; right: -10%;
  width: 50%; height: 50%;
  background: rgba(var(--accent-rgb), 0.06);
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  z-index: 0;
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glass Panel ── */
.glass-panel {
  background: rgba(10, 26, 16, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(26, 74, 42, 0.5);
}

.glass-card {
  background: rgba(10, 26, 16, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(26, 74, 42, 0.4);
}

/* ── Card Shine ── */
.card-shine { position: relative; overflow: hidden; }
.card-shine::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Neon Glow ── */
.neon-glow { box-shadow: 0 0 45px rgba(var(--neon-rgb), 0.35); }

/* ═══════════════════════
   TOP TICKER BAR
   ═══════════════════════ */
.ticker-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 60;
  background: rgba(5, 14, 8, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
  padding: 4px 0;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 2rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #d4d4d8;
}

.ticker-item--alert {
  color: #f87171;
  font-weight: 700;
}

.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ticker-dot--neon { background: var(--neon); box-shadow: 0 0 8px var(--neon); }
.ticker-dot--emerald { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.ticker-dot--blue { background: #60a5fa; box-shadow: 0 0 8px #60a5fa; }

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

/* ═══════════════════════
   NAVIGATION
   ═══════════════════════ */
.navbar {
  position: fixed;
  top: 36px;
  width: 100%;
  z-index: 50;
  background: rgba(5, 14, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 74, 42, 0.6);
  transition: all 0.35s ease;
}

.navbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.nav-logo:hover { transform: scale(1.05); }

.nav-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(var(--neon-rgb), 0.3));
}

.nav-logo-text {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4d4d8;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav-link:hover { color: #fff; }

.nav-link.active {
  color: var(--accent) !important;
  text-shadow: 0 0 12px var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px var(--accent);
}

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

.nav-social-btn {
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4d4d8;
  font-size: 14px;
  transition: all 0.3s ease;
}

.nav-social-btn:hover {
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.3);
}

/* Mobile hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 108px;
  left: 0; right: 0;
  background: rgba(5, 14, 8, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 49;
}

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

.mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4d4d8;
  transition: all 0.2s;
}

.mobile-menu a:hover {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}

/* ═══════════════════════
   HERO SECTION
   ═══════════════════════ */
.hero {
  padding-top: 140px;
  padding-bottom: 3rem;
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 800px;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

.hero-content { position: relative; padding: 3rem 0 1.5rem; }

.hero-logo {
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  animation: dropIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-logo img {
  height: 140px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(var(--neon-rgb), 0.45));
  transition: all 0.3s ease;
}

.hero-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 50px rgba(var(--neon-rgb), 0.7));
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--border), 0.6);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #d4d4d8;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

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

.hero-tagline {
  max-width: 42rem;
  margin: 0 auto;
  color: #94a3b8;
  font-size: 15px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.hero-tagline strong {
  display: block;
  color: #e2e8f0;
  font-weight: 400;
  margin-top: 4px;
}

/* ── Discord Portal ── */
.discord-portal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 2rem 0;
  text-decoration: none;
}

.portal-frame {
  position: relative;
  width: 200px;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(var(--neon-rgb), 0.05) 0%, rgba(88, 101, 242, 0.1) 100%);
  border: 2px solid rgba(var(--accent-rgb), 0.2);
  transition: all 0.4s ease;
  cursor: pointer;
}

.portal-frame:hover {
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 0 40px rgba(var(--neon-rgb), 0.2);
  transform: translateY(-4px);
}

.portal-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(88, 101, 242, 0.3) 0%,
    rgba(var(--neon-rgb), 0.15) 50%,
    rgba(88, 101, 242, 0.3) 100%
  );
  animation: portalPulse 3s ease-in-out infinite;
}

.portal-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: #fff;
  filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.8));
  z-index: 2;
}

.portal-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.portal-particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--accent);
  border-radius: 50%;
  animation: portalFloat 4s linear infinite;
  opacity: 0.6;
}

.portal-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.discord-portal:hover .portal-label { opacity: 0.8; }

@keyframes portalPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

@keyframes portalFloat {
  0% { transform: translateY(100%) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100%) translateX(20px); opacity: 0; }
}

/* ═══════════════════════
   FLOATING FEATURE TILES
   ═══════════════════════ */
.tiles-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 0 20px;
  min-height: 50px;
}

.tile {
  padding: 8px 18px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(-10px) scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.tile.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tile:hover {
  animation-play-state: paused !important;
  transform: scale(1.08) translateY(-3px);
  transition: transform 0.2s ease;
}

.tile-icon { font-size: 10px; }

.tile--survival {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.3);
  color: #34d399;
  animation: floatTile 3s ease-in-out infinite;
}
.tile--survival .tile-icon { color: #34d399; }

.tile--economy {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  animation: floatTile 3.5s ease-in-out infinite 0.5s;
}
.tile--economy .tile-icon { color: #fbbf24; }

.tile--teams {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  animation: floatTile 4s ease-in-out infinite 1s;
}
.tile--teams .tile-icon { color: #60a5fa; }

.tile--crossplay {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #a78bfa;
  animation: floatTile 3.2s ease-in-out infinite 0.3s;
}
.tile--crossplay .tile-icon { color: #a78bfa; }

/* ═══════════════════════
   SERVER IP / VERSION TOGGLE
   ═══════════════════════ */
.version-toggle {
  position: relative;
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.3s;
}

.version-toggle:hover { border-color: rgba(var(--accent-rgb), 0.5); }

.toggle-slider {
  position: absolute;
  top: 4px; left: 4px; bottom: 4px;
  width: calc(50% - 4px);
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 15px rgba(var(--neon-rgb), 0.15);
}

.toggle-slider.bedrock { transform: translateX(100%); }

.toggle-label {
  position: relative;
  z-index: 10;
  width: 7rem;
  padding: 6px 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3em;
  transition: color 0.3s;
}

.toggle-label.active { color: #fff; }
.toggle-label.inactive { color: #71717a; }

/* IP Cards */
.ip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto 4rem;
}

.ip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s ease;
}

.ip-card:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.1);
}

.ip-card-info { display: flex; flex-direction: column; gap: 2px; }

.ip-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.ip-card-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.ip-copy-btn {
  padding: 8px 16px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  transition: all 0.3s ease;
  cursor: pointer;
}

.ip-copy-btn:hover {
  background: rgba(var(--accent-rgb), 0.2);
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2);
}

.ip-copy-btn.copied {
  background: rgba(var(--accent-rgb), 0.3);
  color: #fff;
}

/* ═══════════════════════
   SECTION DIVIDER
   ═══════════════════════ */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(26,74,42,0.1), rgba(26,74,42,0.6), rgba(26,74,42,0.1));
}

.section-divider-icon {
  color: var(--accent);
  font-size: 14px;
}

.section-title {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ═══════════════════════
   HARDWARE CARDS
   ═══════════════════════ */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto 4rem;
  scroll-margin-top: 120px;
}

.hw-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px 4px 16px 4px;
  padding: 1.25rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.hw-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.15);
}

.hw-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94a3b8;
  margin-bottom: 4px;
}

.hw-card-header span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hw-card-header i {
  font-size: 14px;
  color: var(--accent);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.hw-card:hover .hw-card-header i { opacity: 1; }

.hw-card-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.hw-card-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(var(--accent-rgb), 0.6);
  font-weight: 600;
  margin-top: 2px;
}

.hw-card-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
  transition: opacity 0.3s;
}

.hw-card:hover .hw-card-accent { opacity: 1; }

/* Color variants */
.hw-card--emerald:hover { border-color: rgba(52, 211, 153, 0.5); }
.hw-card--emerald .hw-card-accent { background: linear-gradient(90deg, transparent, #34d399, transparent); }

.hw-card--blue:hover { border-color: rgba(59, 130, 246, 0.5); }
.hw-card--blue .hw-card-accent { background: linear-gradient(90deg, transparent, #3b82f6, transparent); }
.hw-card--blue .hw-card-header i { color: #3b82f6; }

.hw-card--purple:hover { border-color: rgba(168, 85, 247, 0.5); }
.hw-card--purple .hw-card-accent { background: linear-gradient(90deg, transparent, #a855f7, transparent); }
.hw-card--purple .hw-card-header i { color: #a855f7; }

.hw-card--amber:hover { border-color: rgba(251, 191, 36, 0.5); }
.hw-card--amber .hw-card-accent { background: linear-gradient(90deg, transparent, #fbbf24, transparent); }
.hw-card--amber .hw-card-header i { color: #fbbf24; }

/* ═══════════════════════
   STAFF MARQUEE
   ═══════════════════════ */
.marquee-section {
  max-width: 72rem;
  margin: 0 auto 3rem;
  text-align: left;
}

.marquee-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0 4px;
}

.marquee-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.marquee-title-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.marquee-rail {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scroll-behavior: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.marquee-rail::-webkit-scrollbar { display: none; }

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.5rem 0;
  cursor: grab;
}

.marquee-track.dragging { cursor: grabbing; user-select: none; }

/* Staff Card */
.staff-card {
  flex-shrink: 0;
  width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.staff-card:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.15);
}

.staff-avatar {
  width: 72px; height: 72px;
  border-radius: 14px;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  border: 2px solid var(--border);
  transition: border-color 0.3s;
}

.staff-card:hover .staff-avatar { border-color: var(--accent); }

.staff-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}

.staff-role {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ═══════════════════════
   GALLERY
   ═══════════════════════ */
.gallery-section {
  max-width: 72rem;
  margin: 3rem auto 4rem;
  padding: 0 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
  background: var(--surface);
  transition: all 0.4s ease;
}

.gallery-item:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════
   SERVER RULES (Accordion)
   ═══════════════════════ */
.rules-section {
  max-width: 48rem;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.rules-list { display: flex; flex-direction: column; gap: 12px; }

.rule-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.rule-item:hover { border-color: rgba(var(--accent-rgb), 0.3); }

.rule-header {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.rule-header:hover { background: rgba(var(--accent-rgb), 0.04); }

.rule-header-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rule-number {
  color: var(--accent);
  font-weight: 800;
}

.rule-chevron {
  color: #71717a;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.rule-chevron.open { transform: rotate(180deg); }

.rule-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  background: rgba(5, 14, 8, 0.4);
}

.rule-body-inner {
  padding: 1rem;
  font-size: 13px;
  color: var(--slate);
  font-weight: 500;
  line-height: 1.7;
  border-top: 1px solid rgba(26, 74, 42, 0.2);
}

/* ═══════════════════════
   ABOUT US
   ═══════════════════════ */
.about-section {
  max-width: 72rem;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.about-grid {
  column-count: 1;
  column-gap: 1.5rem;
}

.about-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 1.5rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(26, 74, 42, 0.4);
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-2px);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.about-card-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.about-card-icon--green { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); color: #34d399; }
.about-card-icon--blue { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3); color: #60a5fa; }
.about-card-icon--amber { background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3); color: #fbbf24; }
.about-card-icon--purple { background: rgba(168, 85, 247, 0.1); border: 1px solid rgba(168, 85, 247, 0.3); color: #a78bfa; }

.about-card-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.about-card-text {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.7;
}

/* ═══════════════════════
   FORUM
   ═══════════════════════ */
.forum-section {
  max-width: 72rem;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.forum-panel {
  border-radius: 16px;
  padding: 1.5rem;
}

.forum-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26, 74, 42, 0.3);
}

.forum-header-text h3 {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  font-family: var(--font-mono);
}

.forum-header-text p {
  font-size: 11px;
  color: #71717a;
  font-weight: 500;
  font-family: var(--font-mono);
  margin-top: 4px;
}

.forum-create-btn {
  align-self: flex-start;
  padding: 10px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.forum-create-btn:hover {
  background: rgba(var(--accent-rgb), 0.15);
  border-color: rgba(var(--accent-rgb), 0.5);
}

/* Forum Thread */
.forum-thread {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26, 74, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}

.forum-thread:last-child { border-bottom: none; }

.forum-thread:hover { background: rgba(var(--accent-rgb), 0.03); }

.forum-thread-avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.forum-thread-content { flex: 1; min-width: 0; }

.forum-thread-title {
  font-weight: 600;
  font-size: 13px;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forum-thread-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #71717a;
  margin-top: 4px;
  display: flex;
  gap: 1rem;
}

.forum-thread-tag {
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.forum-thread-tag--announcement { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.forum-thread-tag--discussion { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.forum-thread-tag--trade { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.forum-thread-tag--help { background: rgba(168, 85, 247, 0.15); color: #a78bfa; border: 1px solid rgba(168, 85, 247, 0.3); }

/* ═══════════════════════
   FOOTER
   ═══════════════════════ */
.site-footer {
  margin-top: 6rem;
  width: 100%;
  background: var(--bg);
  border-top: 1px solid rgba(26, 74, 42, 0.3);
  position: relative;
  z-index: 10;
}

.footer-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-dev {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: default;
}

.footer-dev-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 4px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.footer-dev:hover .footer-dev-avatar {
  transform: scale(1.1);
  border-color: rgba(var(--accent-rgb), 0.5);
}

.footer-dev-label {
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #71717a;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-dev-name {
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-dev:hover .footer-dev-name { color: var(--accent); }

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #71717a;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: #71717a;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: var(--accent);
  transform: scale(1.15);
}

/* ═══════════════════════
   ANIMATIONS
   ═══════════════════════ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes dropIn {
  0% { opacity: 0; transform: translateY(-20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

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

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

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.3); }
  50% { box-shadow: 0 0 35px rgba(var(--accent-rgb), 0.7); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ═══════════════════════
   RESPONSIVE
   ═══════════════════════ */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
  .ip-grid { grid-template-columns: repeat(3, 1fr); }
  .hardware-grid { grid-template-columns: repeat(5, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { column-count: 2; }
  .forum-header { flex-direction: row; align-items: center; }
  .footer-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero-logo img { height: 180px; }
}

@media (min-width: 1024px) {
  .hero-logo img { height: 220px; }
  .navbar-inner { padding: 0 2rem; }
}

@media (max-width: 480px) {
  .hero { padding-top: 120px; }
  .hero-logo img { height: 100px; }
  .tiles-wrapper { gap: 6px; padding: 0 8px; }
  .tile { padding: 4px 10px; font-size: 8px; border-radius: 8px; gap: 4px; }
  .tile-icon { font-size: 7px; }
  .hw-card-value { font-size: 0.85rem; }
  .section-title { font-size: 11px; letter-spacing: 0.2em; }
}

/* ── Utility ── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
