@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ========================================
   IRONLAB SMP - INDUSTRIAL/SCI-FI OVERHAUL
   ======================================== */

:root {
  --bg-base: #030305;
  --bg-panel: rgba(10, 10, 15, 0.7);
  --bg-panel-hover: rgba(20, 20, 30, 0.9);
  
  --border-dim: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(234, 88, 12, 0.5);
  
  --text-main: #f8fafc;
  --text-muted: #64748b;
  --text-tech: #0ea5e9;
  
  --accent-primary: #ea580c; /* Industrial Orange */
  --accent-primary-glow: #f97316;
  --accent-secondary: #0ea5e9; /* Tech Cyan */
  --accent-danger: #ef4444;
  --accent-success: #10b981;

  --font-sans: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --header-height: 80px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); border-left: 1px solid var(--border-dim); }
::-webkit-scrollbar-thumb { background: var(--accent-primary); }

/* --- BACKGROUND: Blueprint Grid & Scanlines --- */
.page-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg-base);
  background-image: 
    linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.page-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.25) 51%);
  background-size: 100% 4px;
  opacity: 0.2;
}

/* Orbs replaced with ambient tech glows */
.gradient-mesh { display: none; }
.floating-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: block !important;
}
.orb {
  position: absolute;
  filter: blur(100px);
  opacity: 0.15;
  border-radius: 50%;
  animation: pulseTech 10s alternate infinite;
}
.orb-1 { width: 50vw; height: 50vw; background: var(--accent-primary); top: -20vw; right: -20vw; }
.orb-2 { width: 40vw; height: 40vw; background: var(--accent-secondary); bottom: -10vw; left: -10vw; animation-delay: -5s; }
.orb-3 { display: none; }

@keyframes pulseTech {
  0% { transform: scale(1); opacity: 0.1; }
  100% { transform: scale(1.2); opacity: 0.2; }
}

/* --- LAYOUT --- */
.shell { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 1.5rem; }

/* --- HEADER --- */
.main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-dim);
  background: rgba(3, 3, 5, 0.8);
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}
.main-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.main-header.scrolled::after { opacity: 0.5; }

.header-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo {
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.logo-cube {
  width: 32px; height: 32px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 15s infinite linear;
}
.cube-face {
  position: absolute; width: 100%; height: 100%;
  border: 2px solid var(--accent-primary);
  background: rgba(234, 88, 12, 0.1);
}
.cube-face.front  { transform: rotateY(0deg) translateZ(16px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(16px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(16px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(16px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(16px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(16px); }

.main-nav { display: none; }
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color 0.3s;
  letter-spacing: 0.05em;
}
.nav-link::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--text-main); }
.nav-link:hover::before, .nav-link.active::before { opacity: 1; transform: translateX(0); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: var(--accent-primary);
  color: #000 !important;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--accent-primary-glow);
  box-shadow: 0 0 20px rgba(234, 88, 12, 0.4);
}

/* Mobile Menu */
.mobile-menu-toggle {
  background: transparent;
  border: 1px solid var(--border-dim);
  width: 44px; height: 44px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  cursor: pointer;
  z-index: 1002;
}
.mobile-menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--accent-primary);
  transition: 0.3s;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(3, 3, 5, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu-content { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.mobile-nav-link {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  padding: 1rem;
  transition: 0.3s;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--accent-primary); }
.mobile-nav-cta {
  margin-top: 2rem;
  background: var(--accent-primary);
  color: #000;
  padding: 1rem 3rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-decoration: none;
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

/* --- UI PANELS (Replacing Glass Cards) --- */
.glass-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  backdrop-filter: blur(10px);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  transition: all 0.3s;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border-top: 2px solid var(--accent-primary);
  border-left: 2px solid var(--accent-primary);
  opacity: 0;
  transition: 0.3s;
}
.glass-card:hover {
  border-color: rgba(234, 88, 12, 0.3);
  background: var(--bg-panel-hover);
}
.glass-card:hover::before { opacity: 1; }

/* --- BUTTONS --- */
.btn {
  font-family: var(--font-mono) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  padding: 1rem 2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  text-decoration: none !important;
  cursor: pointer !important;
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  transition: all 0.3s !important;
  border: none !important;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent-primary) !important;
  color: #000 !important;
}
.btn-primary:hover {
  background: var(--accent-primary-glow) !important;
  box-shadow: 0 0 30px rgba(234, 88, 12, 0.5) !important;
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-dim) !important;
}
.btn-secondary::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--accent-primary);
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  opacity: 0; transition: 0.3s;
}
.btn-secondary:hover::after { opacity: 1; }

.btn-ghost {
  background: transparent !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border-dim) !important;
}
.btn-ghost:hover {
  color: var(--text-main) !important;
  border-color: var(--accent-primary) !important;
}

/* --- HERO SECTION --- */
.hero-section {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.hero-main {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--accent-success);
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '[ SYS.STAT ]';
  color: var(--text-muted);
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--accent-success);
  box-shadow: 0 0 10px var(--accent-success);
  animation: blink 1s infinite step-end;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.gradient-text {
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(234, 88, 12, 0.4);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  border-left: 2px solid var(--border-dim);
  padding-left: 1rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--border-dim);
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 0.5rem; }
.stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
}
.stat-number::before { content: '>'; color: var(--accent-primary); margin-right: 0.5rem; font-size: 1.5rem;}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tech);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-actions { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* --- HERO STATUS PANEL (Bento Grid Style) --- */
.hero-status {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px), var(--bg-panel);
}

.status-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-dim);
}
.status-title { display: flex; gap: 1rem; align-items: center; }
.status-icon {
  width: 50px; height: 50px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid var(--accent-secondary);
  display: flex; justify-content: center; align-items: center;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.spinner {
  width: 24px; height: 24px;
  border: 2px solid transparent;
  border-top-color: var(--accent-secondary);
  border-right-color: var(--accent-secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.status-text-wrap { display: flex; flex-direction: column; gap: 0.25rem;}
.status-label { font-family: var(--font-mono); font-weight: 700; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.05em; }
.status-sub { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-tech); }
.status-live {
  font-family: var(--font-mono); font-size: 0.75rem;
  background: var(--accent-success); color: #000;
  padding: 0.25rem 0.75rem; font-weight: 700;
}

.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.status-item {
  padding: 1.5rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-dim);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.status-icon-small { display: none; }
.status-info { display: flex; flex-direction: column; }
.status-info-label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase;}
.status-info-value { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--accent-secondary); }

.player-list {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-dim);
  padding: 1rem;
  height: 150px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.player-list-empty { color: var(--text-muted); text-align: center; margin-top: 2rem; }

.ip-box {
  display: flex;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--accent-primary);
  padding: 0.5rem;
  align-items: center;
}
.ip-code {
  flex: 1;
  font-family: var(--font-mono);
  color: var(--accent-primary);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.ip-copy-btn {
  background: var(--accent-primary);
  color: #000;
  border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  display: flex; justify-content: center; align-items: center;
  transition: 0.2s;
}
.ip-copy-btn:hover { background: #fff; }

.status-footer { text-align: right; border-top: 1px solid var(--border-dim); padding-top: 1rem;}
.status-updated { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }

/* --- FEATURES GRID (Bento Box) --- */
.features-section { padding: 6rem 0; position: relative; }
.features-section::before {
  content: 'PROCESSES //';
  position: absolute;
  top: 2rem; left: 1.5rem;
  font-family: var(--font-mono);
  color: var(--border-dim);
  font-size: 4rem;
  font-weight: 800;
  z-index: -1;
  white-space: nowrap;
}

.section-header { margin-bottom: 4rem; display: flex; flex-direction: column; gap: 1rem; }
.section-eyebrow {
  font-family: var(--font-mono);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--accent-primary); }
.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: 800;
}

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

.feature-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 30px; height: 30px;
  background: linear-gradient(225deg, transparent 50%, var(--border-dim) 50%);
}
.feature-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dim);
  display: flex; justify-content: center; align-items: center;
  color: var(--text-tech);
}
.feature-icon-wrap svg { width: 30px; height: 30px; stroke-width: 1.5; }
.feature-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.feature-content p { color: var(--text-muted); font-size: 1rem; }

/* --- CTA SECTION --- */
.cta-section { padding: 4rem 0; }
.cta-card {
  padding: 4rem;
  background: linear-gradient(90deg, var(--bg-panel), rgba(234, 88, 12, 0.05));
  border-left: 4px solid var(--accent-primary);
  display: flex; flex-direction: column; gap: 2rem;
}
.cta-content h2 { font-family: var(--font-display); font-size: 2.5rem; text-transform: uppercase; margin-bottom: 1rem; }
.cta-content p { font-family: var(--font-mono); color: var(--text-muted); margin-bottom: 2rem; }
.cta-visual { display: none; } /* Hidden in this brutalist design */

/* --- FOOTER --- */
.main-footer {
  border-top: 1px dashed var(--border-dim);
  padding: 3rem 0;
  background: var(--bg-base);
}
.footer-content { display: flex; flex-direction: column; gap: 2rem; align-items: center; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 1rem;
}
.footer-nav { display: flex; gap: 2rem; font-family: var(--font-mono); font-size: 0.85rem; text-transform: uppercase; flex-wrap: wrap; justify-content: center;}
.footer-nav a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-nav a:hover { color: var(--accent-primary); }
.footer-social { display: flex; gap: 1rem; }
.social-link { width: 40px; height: 40px; border: 1px solid var(--border-dim); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: 0.3s; }
.social-link:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.footer-tagline { font-family: var(--font-mono); font-size: 0.75rem; color: var(--border-dim); }

/* --- ABOUT SECTION --- */
.page-hero { padding-top: calc(var(--header-height) + 4rem); padding-bottom: 4rem; text-align: center; }
.page-hero-content { max-width: 800px; margin: 0 auto; }
.page-eyebrow {
  font-family: var(--font-mono); color: var(--accent-primary);
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.85rem;
  margin-bottom: 1.5rem; display: inline-block;
  padding: 0.5rem 1rem; border: 1px solid var(--accent-primary);
  background: rgba(234, 88, 12, 0.1);
}
.page-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; text-transform: uppercase; margin-bottom: 1.5rem; }
.page-lead { font-family: var(--font-mono); font-size: 1.125rem; color: var(--text-muted); }

.about-section { padding: 2rem 0 4rem; }
.about-container { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.content-block { padding: 2rem; }
.block-header { border-bottom: 1px dashed var(--border-dim); padding-bottom: 1rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1.5rem;}
.block-number { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 800; color: var(--border-dim); }
.block-header h2 { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; }
.lead-text { font-family: var(--font-mono); font-size: 1.125rem; color: var(--accent-secondary); margin-bottom: 1.5rem; }
.highlight-box {
  background: rgba(14, 165, 233, 0.1);
  border-left: 4px solid var(--accent-secondary);
  padding: 1.5rem; margin-top: 1.5rem;
  font-family: var(--font-mono); color: var(--text-main);
}
.timeline-item { padding-left: 2rem; border-left: 1px solid var(--border-dim); position: relative; margin-bottom: 2rem; }
.timeline-number {
  position: absolute; left: -18px; top: 0;
  width: 36px; height: 36px; background: var(--bg-base); border: 2px solid var(--accent-primary);
  display: flex; justify-content: center; align-items: center;
  font-family: var(--font-mono); font-weight: 700; color: var(--accent-primary);
}
.timeline-content h3 { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.directions-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 2rem 0; }
.direction-card { padding: 1.5rem; background: rgba(0,0,0,0.4); border: 1px solid var(--border-dim); }
.direction-content h4 { font-family: var(--font-display); font-size: 1.125rem; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--text-tech);}
.note-box { background: rgba(234, 88, 12, 0.1); border-left: 4px solid var(--accent-primary); padding: 1.5rem; margin-top: 2rem; font-family: var(--font-mono); }
.rules-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
.rule-item { padding: 1.5rem; border: 1px solid var(--border-dim); background: rgba(0,0,0,0.4); display: flex; gap: 1.5rem; align-items: flex-start; }
.rule-icon { width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; border: 1px solid var(--border-dim); font-size: 1.25rem; }
.rule-text h4 { font-family: var(--font-mono); font-size: 1rem; text-transform: uppercase; color: var(--accent-secondary); margin-bottom: 0.5rem; }
.join-step { padding: 1.5rem; border: 1px solid var(--border-dim); display: flex; gap: 1.5rem; align-items: center; margin-bottom: 1rem; }
.step-number { width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; background: var(--accent-primary); color: #000; font-family: var(--font-mono); font-weight: 700; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.step-content h3 { font-family: var(--font-mono); font-size: 1.125rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.step-content a { color: var(--accent-primary); }
.cta-box { padding: 3rem; background: rgba(234, 88, 12, 0.1); border: 1px solid var(--accent-primary); text-align: center; margin-top: 3rem; }
.cta-box h3 { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; margin-bottom: 1rem; }
.support-card { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; border: 1px solid var(--border-dim); text-decoration: none; color: inherit; transition: 0.3s; margin: 1rem 0; }
.support-card:hover { border-color: var(--accent-secondary); background: rgba(14, 165, 233, 0.1); }
.support-icon { width: 50px; height: 50px; border: 1px solid var(--accent-secondary); display: flex; justify-content: center; align-items: center; font-size: 1.5rem; color: var(--accent-secondary); }
.support-info h4 { font-family: var(--font-mono); font-size: 1rem; text-transform: uppercase; margin-bottom: 0.25rem; }
.support-arrow { margin-left: auto; color: var(--accent-secondary); }
.gratitude-box { padding: 1.5rem; border: 1px solid var(--accent-success); background: rgba(16, 185, 129, 0.1); text-align: center; margin-top: 2rem; color: var(--accent-success); font-family: var(--font-mono); }

/* --- ANIMATIONS --- */
@keyframes rotateCube { 100% { transform: rotateX(360deg) rotateY(360deg); } }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }

.reveal { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (min-width: 768px) {
  .main-nav { display: flex; gap: 2rem; align-items: center; }
  .mobile-menu-toggle { display: none; }
  .hero-container { grid-template-columns: 1.3fr 0.7fr; }
  .cta-card { flex-direction: row; justify-content: space-between; align-items: center; }
  .cta-actions { width: auto !important; }
  
  /* BENTO GRID MAGIC FOR FEATURES */
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
  }
  .feature-card:nth-child(1) { grid-column: span 2; grid-row: span 2; } /* Large card */
  .feature-card:nth-child(2) { grid-column: span 2; }                   /* Wide card */
  .feature-card:nth-child(3) { grid-column: span 1; }                   /* Small card */
  .feature-card:nth-child(4) { grid-column: span 1; }                   /* Small card */

  .about-container { grid-template-columns: 1fr 300px; }
  .directions-grid { grid-template-columns: repeat(3, 1fr); }
  .rules-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-content { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 5rem; }
  .page-title { font-size: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }
