:root {
  --bg-primary: #060509;
  --bg-surface: #0e0c15;
  --bg-card: rgba(19, 16, 29, 0.75);
  --bg-card-hover: rgba(28, 24, 43, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(255, 193, 7, 0.35);
  --border-gold-glow: rgba(255, 193, 7, 0.6);
  --gold-primary: #ffc107;
  --gold-light: #ffe082;
  --saffron: #ff6f00;
  --crimson: #d32f2f;
  --crimson-glow: rgba(211, 47, 47, 0.4);
  --text-pure: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Subtle, elegant 3D canvas background - zero blur over text */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Vignette to ensure center content has 100% contrast & sharp legibility */
.contrast-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 15%, rgba(211, 47, 47, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 50% 50%, rgba(6, 5, 9, 0.85) 0%, rgba(6, 5, 9, 0.98) 100%);
  pointer-events: none;
  z-index: 1;
}

.site-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Premium Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6%;
  background: rgba(10, 8, 16, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--crimson), var(--saffron));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.35);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-pure);
}

.brand-name span {
  color: var(--gold-primary);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-item a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav-item a:hover {
  color: var(--gold-light);
}

.youtube-btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ff0000;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.2s, background 0.2s;
}

.youtube-btn-nav:hover {
  background: #cc0000;
  transform: translateY(-1px);
}

/* Ad Placement Placeholder Styling (Google AdSense Ready) */
.ad-slot-container {
  width: 100%;
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 0 5%;
}

.ad-slot-box {
  width: 100%;
  min-height: 95px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: border-color 0.2s;
}

.ad-slot-box:hover {
  border-color: var(--gold-primary);
}

/* Hero Section */
.hero {
  padding: 3.5rem 6% 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(211, 47, 47, 0.15);
  border: 1px solid rgba(211, 47, 47, 0.4);
  color: #ff5252;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background-color: #ff1744;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(255, 23, 68, 0.7);
  animation: pulsing 1.8s infinite;
}

@keyframes pulsing {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 23, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 23, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 23, 68, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-pure);
  max-width: 900px;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.hero-title .text-gold {
  color: var(--gold-primary);
  background: linear-gradient(135deg, #fff 20%, var(--gold-primary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-solid {
  background: linear-gradient(135deg, var(--crimson), #b71c1c);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.35);
  transition: all 0.2s;
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(211, 47, 47, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-primary);
  color: #fff;
}

/* YouTube & Live Section */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 6%;
  width: 100%;
}

.section-title-wrap {
  margin-bottom: 2rem;
  text-align: left;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-pure);
}

.video-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.primary-player-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-frame-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.video-frame-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-body {
  padding: 1.5rem;
}

.video-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.5rem;
}

.video-card-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.channel-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.channel-meta-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.8rem;
}

.channel-meta-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.6rem;
}

.channel-meta-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.sub-btn-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: #ff0000;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.sub-btn-full:hover {
  background: #d90000;
}

.quick-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-primary);
}

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

/* Naam Jaap App Dedicated Heroic Showcase */
.app-spotlight-card {
  background: linear-gradient(145deg, rgba(26, 20, 39, 0.85), rgba(14, 11, 23, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 193, 7, 0.1);
}

.app-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid rgba(255, 193, 7, 0.35);
  color: var(--gold-primary);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.app-spotlight-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.app-spotlight-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.feature-checklist {
  list-style: none;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 500;
}

.feature-checklist li svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

.app-actions-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-app-launch {
  background: linear-gradient(135deg, var(--gold-primary), var(--saffron));
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-app-launch:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 193, 7, 0.5);
}

.btn-app-privacy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.btn-app-privacy:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 3D Interactive Mockup Box for Naam Jaap */
.app-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-3d {
  width: 270px;
  height: 480px;
  background: #110d1c;
  border: 3px solid rgba(255, 193, 7, 0.5);
  border-radius: 36px;
  padding: 1.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 193, 7, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.phone-mockup-3d:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold-primary);
}

.mockup-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.mala-counter-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--gold-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255, 193, 7, 0.35);
  background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
}

.mala-count-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

.mala-count-label {
  font-size: 0.75rem;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.mockup-bottom-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  margin-top: auto;
  background: #040306;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 6% 1.5rem;
}

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

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  .app-spotlight-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .feature-checklist {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
}
