:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --bg: #07070b;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-hover: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --accent: #ff5e3a;
  --accent-2: #ff2a6d;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Ambient Aurora */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #1d0c18 0%, #07070b 65%);
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.45;
  animation: drift 16s ease-in-out infinite alternate;
}

.blob-1 { width: 560px; height: 560px; background: #ff4d2e; top: -180px; left: -120px; }
.blob-2 { width: 500px; height: 500px; background: #ff2a6d; top: 30%; right: -140px; animation-delay: -5s; }
.blob-3 { width: 440px; height: 440px; background: #7c3aed; bottom: -140px; left: 25%; animation-delay: -10s; opacity: 0.3; }

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 35px) scale(1.12); }
}

/* Floating macOS Glass Navbar */
.navbar-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.navbar {
  width: 100%;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 16px;
  border-radius: 999px;
  background: rgba(18, 18, 24, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}

.nav-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 94, 58, 0.4);
  background: rgba(255, 94, 58, 0.14);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}
.nav-cta:hover { background: rgba(255, 94, 58, 0.25); transform: scale(1.03); }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  display: inline-block;
}

.status-dot.soon {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}

.hero-inner {
  max-width: 820px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 500;
  color: #e4e4e7;
  margin-bottom: 24px;
}

.hero-logo-wrap {
  margin-bottom: 18px;
}

.hero-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(255, 94, 58, 0.35));
  animation: floatLogo 5s ease-in-out infinite alternate;
}

@keyframes floatLogo {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #ff7b54, #ff2a6d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255, 42, 109, 0.3);
  transition: transform 0.25s var(--ease), filter 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.1); }

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.25s var(--ease);
}
.btn-glass:hover { background: var(--glass-hover); transform: translateY(-2px); }
.full { width: 100%; }

/* Sections */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 20px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ff7b54;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 1rem;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bento-card {
  padding: 28px;
  border-radius: 24px;
  background: var(--glass);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), background 0.25s ease;
}
.bento-card:hover { transform: translateY(-4px); background: var(--glass-hover); }
.bento-wide { grid-column: span 2; }
.bento-icon { font-size: 28px; margin-bottom: 14px; }
.bento-card h3 { font-size: 18px; margin-bottom: 8px; }
.bento-card p { font-size: 14px; color: var(--muted); }

/* 2-Column & 3-Column Cards */
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.glass-card, .pricing-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: var(--glass);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.25s ease;
}

.glass-card:hover, .pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.24);
}

.pricing-card.featured {
  border-color: rgba(255, 94, 58, 0.55);
  background: linear-gradient(180deg, rgba(255, 94, 58, 0.1), rgba(255, 255, 255, 0.04));
}

.card-badge {
  position: absolute;
  top: -11px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.card-emoji { font-size: 32px; margin-bottom: 14px; }
.glass-card h3 { font-size: 20px; margin-bottom: 10px; }
.glass-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

.card-list {
  list-style: none;
  margin-bottom: 22px;
  flex: 1;
}

.card-list li {
  font-size: 13.5px;
  color: #d4d4d8;
  margin-bottom: 8px;
}
.card-list li::before {
  content: "✓ ";
  color: #4ade80;
  font-weight: 700;
}

.rank-name { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 8px; }
.ember { color: #fb923c; }
.blaze { color: #f43f5e; }
.netheris { color: #c084fc; }

.rank-price { font-size: 34px; font-weight: 800; margin-bottom: 18px; }
.rank-price span { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; }

/* Staff */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.staff-card {
  padding: 24px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s var(--ease);
}
.staff-card:hover { transform: translateY(-4px); }
.staff-icon { font-size: 30px; margin-bottom: 10px; }
.staff-card h3 { font-size: 17px; margin-bottom: 6px; }
.staff-card p { font-size: 13px; color: var(--muted); margin-top: 10px; }

.role-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.owner { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.admin { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.mod { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.builder { background: rgba(34, 197, 94, 0.2); color: #4ade80; }

/* Rules */
.rules-box {
  padding: 36px;
  border-radius: 28px;
  background: var(--glass);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border);
}

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

.rule-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.rule-item span {
  font-weight: 800;
  color: var(--accent);
  font-size: 15px;
}
.rule-item p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.footer-brand img { width: 24px; height: 24px; object-fit: contain; }

.footer-ip {
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast */
.toast-wrap {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(20, 20, 26, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  color: white;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .bento-grid, .cards-2, .cards-3, .staff-grid, .rules-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide { grid-column: span 1; }
  .nav-links { display: none; }
}
