/* ------------------------------------------------------------------
 * Beatful Official Website Stylesheet
 * Vibrant Obsidian & Gold Glassmorphism Theme
 * ------------------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #0B0E14;
  --bg-card: rgba(22, 27, 38, 0.7);
  --bg-card-hover: rgba(30, 37, 52, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(255, 184, 0, 0.4);
  
  --gold-primary: #FFB800;
  --gold-deep: #D98200;
  --gold-light: #FFE599;
  --gold-gradient: linear-gradient(135deg, #FFD54F 0%, #FFB800 50%, #E65100 100%);
  --gold-glow: 0 0 30px rgba(255, 184, 0, 0.35);
  
  --text-main: #F0F4F8;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --accent-red: #FF4757;
  --accent-emerald: #2ED573;
  --accent-blue: #1E90FF;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(255, 184, 0, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 100% 50%, rgba(217, 130, 0, 0.05) 0%, transparent 50%),
              var(--bg-dark);
  min-height: 100vh;
}

/* ---------------------------------------------------------------- Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 32px;
  backdrop-filter: blur(20px);
  background: rgba(11, 14, 20, 0.8);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.nav-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--gold-primary);
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0B0E14;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 184, 0, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------- Hero Section */
.hero {
  padding: 140px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.3);
  color: var(--gold-primary);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-preview {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.3), rgba(255, 255, 255, 0.05));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--gold-glow);
}

.hero-preview-frame {
  width: 100%;
  height: 480px;
  border: none;
  border-radius: var(--radius-md);
  background: #000;
}

/* ---------------------------------------------------------------- Features */
.features-section {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  color: var(--gold-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255, 184, 0, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------------------------------------------------------------- Interactive Game Section */
.game-play-section {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.game-container-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--gold-glow);
}

.game-frame {
  width: 100%;
  height: 640px;
  border: none;
  border-radius: var(--radius-md);
  background: #0B0E14;
}

/* ---------------------------------------------------------------- Content Page (Privacy / Terms / About) */
.page-container {
  max-width: 900px;
  margin: 140px auto 80px;
  padding: 0 32px;
}

.page-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.page-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
}

.page-title {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 8px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-meta {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
}

.prose {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.prose h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin: 32px 0 16px;
}

.prose h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  margin: 24px 0 12px;
}

.prose p {
  margin-bottom: 16px;
}

.prose ul {
  margin: 0 0 20px 24px;
}

.prose li {
  margin-bottom: 8px;
}

/* ---------------------------------------------------------------- Footer */
footer {
  border-top: 1px solid var(--border-glass);
  background: rgba(8, 10, 15, 0.95);
  padding: 60px 32px 40px;
}

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

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

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--gold-primary);
}

.copyright {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
