:root {
  --bg-color: #000000;
  --surface-color: #111112;
  --surface-hover: #1c1c1e;
  --border-color: rgba(255, 255, 255, 0.08);
  --text-main: #f5f5f7;
  --text-muted: #86868b;
  --accent: #2997ff;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --glass-bg: rgba(20, 20, 20, 0.7);
  --glass-blur: blur(20px);
  --font-apple: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-apple);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Ambient Background */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at top right, rgba(41, 151, 255, 0.05) 0%, transparent 40%),
              radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}

/* Navbar */
.apple-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.apple-nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
}
.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--text-main);
}


/* Section Containers */
section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 2rem;
}
.hero-content {
  max-width: 800px;
  z-index: 2;
}
.headline {
  font-size: 5rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sub-headline {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-weight: 400;
}
.hero-image-container {
  width: 100%;
  max-width: 1000px;
  margin-top: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  border: 1px solid var(--border-color);
}
.hero-image {
  width: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.8s ease-out;
}
.hero-section:hover .hero-image {
  transform: scale(1);
}


/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background-color: var(--text-main);
  color: #000;
}
.btn-primary:hover {
  transform: scale(1.02);
  opacity: 0.9;
}
.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: var(--glass-blur);
}
.btn-secondary:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Bento Grid System */
.bento-container {
  display: grid;
  gap: 1.5rem;
  grid-auto-flow: dense;
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .span-2 { grid-column: span 2 !important; }
}

.bento-card {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), background 0.3s;
}
.bento-card:hover {
  transform: scale(1.02);
  background: var(--surface-hover);
}

.span-2 {
  grid-column: span 2;
}

/* Game Cards */
.game-card {
  height: 400px;
  justify-content: flex-end;
}
.game-card .card-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}
.game-card .card-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.7;
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.game-card:hover .card-bg img {
  transform: scale(1.05);
  opacity: 0.9;
}
.card-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}
.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}
.card-content h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.card-content p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Social Cards */
.social-card {
  padding: 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
  gap: 1rem;
}
.social-card.span-2 {
  flex-direction: row;
  text-align: left;
  justify-content: flex-start;
  padding: 2rem 3rem;
}

.icon-large { font-size: 3.5rem; }
.icon-med { font-size: 2.5rem; margin-bottom: 0.5rem; }

.social-card h4 { font-size: 1.25rem; }
.social-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Inactive */
.inactive {
  opacity: 0.4;
  filter: grayscale(1);
  pointer-events: none;
}

/* Highlight variations on hover */
.highlight-yt:hover i { color: #ff0000; }
.highlight-x i { color: #fff; }
.highlight-x:hover i { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
.highlight-discord:hover i { color: #5865F2; }
.highlight-twitch:hover i { color: #9146FF; }
.highlight-wa:hover i { color: #25D366; }
.highlight-tiktok:hover i { color: #00f2fe; }

/* Support Banner */
.support-banner {
  padding: 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--surface-color) 0%, #151518 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.support-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.support-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.support-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
}

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1), 
              transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .headline { font-size: 3.5rem; }
  .section-header h2 { font-size: 2.5rem; }
  .nav-links { display: none; } /* Hide on mobile for simplicity */
  .social-card.span-2 { flex-direction: column; text-align: center; }
  .support-banner { padding: 3rem 1.5rem; }
}
