/* Base fonts & body */
:root {
  --glass-bg: rgba(0, 0, 0, 0.55);
  --card-radius: 14px;
  --card-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  background: #000;
  color: #eef6ff;
  transition: opacity 0.3s ease;
  opacity: 1;
}

/* Background video */
#bg-video {
  position: fixed;
  right: 0; bottom: 0;
  min-width: 100%; min-height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Navbar */
nav {
  position: fixed; top: 0; right: 0;
  padding: 1rem 2rem; z-index: 1000;
}
nav ul {
  list-style: none; display: flex; gap: 2rem;
  margin: 0; padding: 0;
}
nav a {
  text-decoration: none; color: #fff; font-weight: 700;
  transition: color 0.25s ease;
}
nav a:hover { color: #9dd1ff; }

/* Footer */
footer {
  position: fixed;
  bottom: 0; right: 0;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #eaf3ff;
}

/* Generic sections (glass card) */
section {
  position: relative;
  padding: 2rem;
  margin: 6rem auto 2rem;
  max-width: 900px;
  border-radius: var(--card-radius);
  background: var(--glass-bg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

/* Fade & transitions */
.fade-section { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-section.visible { opacity: 1; transform: translateY(0); }
body.fade-out { opacity: 0; }
header.hero { text-align: center; padding: 8rem 2rem 2rem; }

/* Hero title */
.gradient-title {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem; font-weight: 800;
  background: linear-gradient(90deg, #b57edc, #5ea3ff, #00cfff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: 0 0 24px rgba(0, 170, 255, 0.35);
}
.welcome-glow {
  color: #d7f0ff;
  text-shadow: 0 0 12px rgba(94,163,255,0.8),
               0 0 28px rgba(0,207,255,0.5),
               0 0 48px rgba(0,207,255,0.35);
  font-weight: 600;
}

/* Transparent CTA button */
.cyber-btn {
  display: inline-block;
  margin-top: 1rem; padding: 1rem 2rem;
  background: transparent; color: #fff; font-weight: 700;
  border: 2px solid rgba(94,163,255,0.7);
  border-radius: 12px; text-decoration: none;
  box-shadow: 0 0 20px rgba(94,163,255,0.55);
  transition: all 0.3s ease;
}
.cyber-btn:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(94,163,255,0.8); }

/* Game icons */
.game-icon { width: 84px; height: auto; display: block; margin-bottom: 1rem; }

/* Themed section backgrounds via overlays for readability */
.minecraft, .amongus, .roblox {
  background: var(--glass-bg);
}
.minecraft::before,
.amongus::before,
.roblox::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: -1; filter: saturate(1.05) brightness(0.8);
}
.minecraft::before { background-image: url('assets/Minecraft-bg.png'); }
.amongus::before  { background-image: url('assets/Amongus-bg.png'); }
.roblox::before   { background-image: url('assets/roblox-bg.png'); }

/* Themed titles with glow */
.mc-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 2rem; line-height: 1.2;
  color: #3c8527;
  text-shadow: 0 0 10px #4ca832, 0 0 24px #2a5d1a;
}
.au-title {
  font-size: 2rem; font-weight: 800;
  color: #a83279;
  text-shadow: 0 0 12px #ff4da6, 0 0 26px #d94da6;
}
.rb-title {
  font-size: 2rem; font-weight: 800;
  color: #e02020;
  text-shadow: 0 0 12px #ff2a2a, 0 0 26px #b51515;
}

/* Themed descriptions */
.mc-desc { color: #b8f7b8; font-weight: 600; }
.au-desc { color: #ffd1f0; font-weight: 600; }
.rb-desc { color: #ffe0e0; font-weight: 600; }

/* Themed buttons (visible, bold) */
.btn-minecraft,
.btn-amongus,
.btn-roblox {
  display: inline-block;
  margin-top: 1rem; padding: 1rem 2rem;
  color: #fff; text-decoration: none; font-weight: 800;
  box-shadow: 0 0 15px rgba(0,0,0,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-minecraft   { background: #3c8527; border: 3px solid #2a5d1a; border-radius: 6px; font-family: 'Press Start 2P', cursive; }
.btn-amongus     { background: #a83279; border: 3px solid #ff4da6; border-radius: 22px; }
.btn-roblox      { background: #e02020; border: 3px solid #b51515; border-radius: 10px; }

.btn-minecraft:hover { background: #4ca832; transform: translateY(-2px) scale(1.05); box-shadow: 0 0 18px rgba(76,168,50,0.7); }
.btn-amongus:hover   { background: #d94da6; transform: translateY(-2px) scale(1.07); box-shadow: 0 0 20px rgba(255,77,166,0.7); }
.btn-roblox:hover    { background: #ff2a2a; transform: translateY(-2px) scale(1.05); box-shadow: 0 0 20px rgba(255,42,42,0.7); }

/* Mobile responsiveness */
@media (max-width: 768px) {
  nav ul { flex-direction: column; gap: 1rem; }
  section { margin: 5rem 1rem 2rem; padding: 1.5rem; }
  .game-icon { width: 64px; }
  .btn-minecraft, .btn-amongus, .btn-roblox { width: 100%; text-align: center; }
}
