:root {
  --deep-blue: #061a2e;
  --mid-blue: #0e4b7c;
  --reef-glow: #1fb6ff;
  --coral: #ffd166;
  --seafoam: #5eead4;
  --sand: #e6f1f5;
  --panel: rgba(8, 24, 40, 0.65);
  --text: #e9f5ff;
  --muted: rgba(233,245,255,0.65);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);

  background-image:
    linear-gradient(rgba(6,26,46,0.35), rgba(6,26,46,0.35)),
    url("/assets/reeflux_bg.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.brand {
  font-family: "VT323", monospace;
  font-size: 42px;
  letter-spacing: 2px;
  display: flex;
  gap: 12px;
}

.brand .beta {
  font-size: 18px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--white);
  color: var(--white);
}

#audioToggle {
  font-family: "VT323", monospace;
  font-size: 20px;
  background: var(--panel);
  color: var(--sand);
  border: 1px solid var(--reef-glow);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}
.section-card{
  background: rgba(8,24,40,0.62);
  border: 1px solid rgba(31,182,255,0.18);
  border-radius: 14px;
  padding: 18px;
  margin: 22px 0;
}

.onboard-list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(233,245,255,0.82);
  line-height: 1.45;
}

.onboard-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tiny{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(233,245,255,0.60);
}

code{
  background: rgba(0,0,0,0.25);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero {
  margin-bottom: 28px;
}

.hero h1 {
  font-family: "VT323", monospace;
  font-size: 44px;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tile {
  position: relative;
  min-height: 220px;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--panel);
  overflow: hidden;
  cursor: pointer;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tile-gradient);
  opacity: 0.9;
}

.tile__content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  height: 100%;
}

.tile__title {
  font-family: "VT323", monospace;
  font-size: 28px;
}

.tile__status {
  align-self: flex-end;
  font-family: "VT323", monospace;
}

.tile__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,26,46,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "VT323", monospace;
  font-size: 24px;
}

.tile--closed,
.tile--locked {
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.stat {
  background: var(--panel);
  padding: 16px;
  border-radius: 12px;
}

.stat h3 {
  font-family: "VT323", monospace;
  margin: 0 0 8px;
}

.stat .value {
  font-size: 28px;
}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  color: var(--muted);
}

.footer nav {
  display: flex;
  gap: 16px;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--panel);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: "VT323", monospace;
  opacity: 0;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
}
