* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-1: #0d1f12;
  --bg-2: #1f4722;
  --accent: #53ff7d;
  --accent-2: #1de2c5;
  --text: #eaf5e7;
  --muted: #a6c4a3;
  --card: rgba(18, 43, 28, 0.7);
  --glass: rgba(255, 255, 255, 0.06);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body {
  font-family: 'Space Grotesk', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  background: #0d1f12;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

html {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--accent);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

@media (hover: none) and (pointer: coarse) {
  body { cursor: auto !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

@media (max-width: 768px) {
  body { cursor: auto !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(83, 255, 125, 0.12), transparent 35%),
              radial-gradient(circle at 80% 20%, rgba(29, 226, 197, 0.14), transparent 38%),
              linear-gradient(135deg, var(--bg-1), var(--bg-2));
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mix-blend-mode: soft-light;
  animation: drift 18s linear infinite;
}

.bg-vignette {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.6) 90%);
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(83, 255, 125, 0.5));
  mix-blend-mode: screen;
}

.page {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 20px 96px;
  box-sizing: border-box;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  width: 100%;
}

.logo-wrap {
  justify-self: center;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.logo-wrap::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(83,255,125,0.18), transparent 60%);
  filter: blur(12px);
  z-index: -1;
}

.logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35));
}

.hero-copy {
  width: 100%;
  max-width: 100%;
}

.hero-copy h1 {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(20px, 4vw, 40px);
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 0 18px rgba(83, 255, 125, 0.35);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.subtitle {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn.icon-only {
  width: 48px;
  height: 48px;
  justify-content: center;
  padding: 0;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0d1f12;
  box-shadow: 0 10px 30px rgba(29, 226, 197, 0.35);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
}

.chips span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
}

.icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
  max-width: 100%;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(83, 255, 125, 0.5);
  background: rgba(83, 255, 125, 0.08);
}

#sound-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

#sound-toggle .icon-sound-off {
  display: none;
}

#sound-toggle.muted .icon-sound-on {
  display: none;
}

#sound-toggle.muted .icon-sound-off {
  display: inline-flex;
}

@media (max-width: 640px) {
  #sound-toggle {
    top: 16px;
    left: 16px;
  }
}

@media (max-width: 480px) {
  #sound-toggle {
    top: 12px;
    left: 12px;
  }
}

.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.card h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 16px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 15px;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-60px, -60px, 0); }
}

@media (max-width: 900px) {
  .hero { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 28px;
  }
  
  .logo-wrap {
    max-width: 280px;
  }
  
  .hero-copy { 
    align-items: center; 
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .cta-row { 
    justify-content: center; 
  }
  
  .social-row { 
    justify-content: center; 
  }
  
  .info { 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  }
}

@media (max-width: 640px) {
  .page { 
    padding: 40px 16px 60px; 
  }
  
  .hero { 
    gap: 24px; 
  }
  
  .logo-wrap {
    max-width: 240px;
  }
  
  .subtitle { 
    font-size: 16px; 
  }
  
  .cta-row { 
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  
  .btn { 
    flex: 1 1 auto;
    min-width: 140px;
    justify-content: center; 
  }
  
  .btn.icon-only {
    flex: 0 0 48px;
    min-width: 48px;
  }
  
  .social-row { 
    flex-direction: row;
    justify-content: center;
  }
  
  .social-link { 
    flex: 1 1 calc(50% - 5px);
    min-width: 130px;
    justify-content: center; 
  }
  
  .info { 
    grid-template-columns: 1fr; 
  }
  
  .chips span {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .page { 
    padding: 32px 14px 48px; 
  }
  
  .hero { 
    gap: 20px; 
  }
  
  .logo-wrap {
    max-width: 200px;
  }
  
  .hero-copy h1 { 
    font-size: 20px;
    line-height: 1.4;
  }
  
  .subtitle { 
    font-size: 15px; 
  }
  
  .pill {
    font-size: 13px;
    padding: 7px 12px;
  }
  
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
  }
  
  .btn.icon-only {
    width: 48px;
    align-self: center;
    flex: 0 0 auto;
  }
  
  .chips { 
    gap: 6px; 
  }
  
  .chips span { 
    font-size: 12px; 
    padding: 6px 10px; 
  }
  
  .social-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .social-link { 
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px; 
  }
  
  .card { 
    padding: 14px; 
  }
  
  .card h3 {
    font-size: 14px;
  }
  
  .card p {
    font-size: 14px;
  }
}
