:root {
  --bg-dark: #0A0F13;
  --bg-surface: #121820;
  --bg-card: #18202A;
  --text-main: #F2F5F8;
  --text-muted: #8A98A8;
  --accent-lime: #C6F432;
  --accent-neon: #00FF9D;
  --accent-purple: #B25AFF;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(10, 15, 19, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-icon {
  font-size: 24px;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--accent-lime);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

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

.btn-primary-sm {
  background-color: var(--accent-lime);
  color: #000 !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198, 244, 50, 0.12) 0%, rgba(0, 255, 157, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(198, 244, 50, 0.1);
  border: 1px solid rgba(198, 244, 50, 0.3);
  color: var(--accent-lime);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-lime) 0%, var(--accent-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.store-buttons.center {
  justify-content: center;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-lime);
  box-shadow: 0 8px 24px rgba(198, 244, 50, 0.15);
}

.store-icon {
  width: 24px;
  height: 24px;
  color: var(--text-main);
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.subtext {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.maintext {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--accent-lime);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border-color);
}

/* Device Card & Interactive Demo */
.device-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

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

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

.card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.dice-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 32px 24px;
}

.total-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.total-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.total-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--accent-lime);
}

.dice-grid {
  display: flex;
  gap: 16px;
}

.die-item {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #2C323B 0%, #1B2026 100%);
  border: 2px solid var(--accent-lime);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-roll {
  width: 100%;
  padding: 14px;
  background: var(--accent-lime);
  color: #000;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.btn-roll:hover {
  background: #d4ff47;
  transform: scale(1.02);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-surface);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-lime);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-subtitle {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 36px;
}

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

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.copyright {
  color: var(--text-muted);
  font-size: 13px;
  margin-left: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .store-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }
}
