/* ===== Global ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}.top-left-link {
  position: fixed;
  top: 70px;
  left: 20px;
  width: 280px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  background: rgba(0, 229, 255, 0.15);
  color: #0b0f1a;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3), 0 0 20px rgba(139, 92, 246, 0.3);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  z-index: 1001;
}

.top-left-link a {
  color: #0b0f1a;
  font-weight: bold;
  text-decoration: underline;
}
.top-left-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.7), 0 0 30px rgba(139, 92, 246, 0.7);
  background: rgba(0, 229, 255, 0.25);
}
/* Status Box Styling */
.status-box.primary {
  background: #00e5ff;
  color: #0b0f1a;
}

.status-box:hover {
  box-shadow: 0 0 20px #00e5ff;
  transform: translateY(-3px);
}

.status-box.secondary {
  background: #8b5cf6;
  color: #fff;
}

.status-box.secondary:hover {
  box-shadow: 0 0 20px #8b5cf6;
  transform: translateY(-3px);
}
body {
  background: #0b0f1a;
  color: #ffffff;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Background Effects ===== */
.bg-gradient {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #00e5ff, #8b5cf6);
  opacity: 0.08;
  z-index: -2;
  pointer-events: none;
}

#particles {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  z-index: -1;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 100;
}

.navbar .logo {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 2px;
  color: #00e5ff;
}

.navbar .logo span {
  color: #8b5cf6;
}

.navbar nav a {
  margin-left: 30px;
  font-weight: 500;
  transition: 0.3s;
}

.navbar nav a:hover {
  color: #00e5ff;
}

/* ===== Hero Section ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 64px;
  line-height: 1.1;
  color: #00e5ff;
}

.hero-content h1 span {
  color: #8b5cf6;
}

.hero-content p {
  margin: 20px 0;
  font-size: 18px;
  color: #ccc;
}

.hero-buttons .btn {
  padding: 14px 28px;
  font-size: 16px;
  margin-right: 15px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 10px;
  font-weight: 600;
}

.btn.primary {
  background: #00e5ff;
  color: #0b0f1a;
}

.btn.primary:hover {
  box-shadow: 0 0 20px #00e5ff;
  transform: translateY(-3px);
}

.btn.secondary {
  background: #8b5cf6;
  color: #fff;
}

.btn.secondary:hover {
  box-shadow: 0 0 20px #8b5cf6;
  transform: translateY(-3px);
}

/* ===== Glow Card in Hero ===== */
.glow-card {
  background: rgba(0, 0, 0, 0.25);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 0 30px #00e5ff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #00e5ff;
  font-weight: 600;
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 30px #00e5ff; }
  100% { box-shadow: 0 0 60px #8b5cf6; }
}

/* ===== Sections ===== */
.section {
  padding: 120px 80px;
  text-align: center;
}

.section h2 {
  font-size: 42px;
  margin-bottom: 40px;
  color: #00e5ff;
}

/* ===== Game Grid ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.game-card {
  background: rgba(11, 15, 26, 0.85);
  border-radius: 20px;
  padding: 30px 20px;
  font-weight: 600;
  font-size: 18px;
  transition: 0.3s;
}

.game-card:hover {
  box-shadow: 0 0 20px #00e5ff;
  transform: translateY(-5px);
}

/* ===== Categories Grid ===== */
.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.category {
  background: #11141f;
  padding: 20px 40px;
  border-radius: 15px;
  font-weight: 600;
  transition: 0.3s;
}

.category:hover {
  background: #00e5ff;
  color: #0b0f1a;
  transform: scale(1.05);
}

/* ===== Footer ===== */
.footer {
  padding: 50px 80px;
  text-align: center;
  color: #666;
  font-size: 14px;
  background: #0b0f1a;
}
body {
  background: var(--bg-color, #0b0c10);
  color: var(--text-color, #fff);
}

.navbar .logo {
  color: var(--accent-color, #00e5ff);
}

.btn.primary {
  background: var(--accent-color, #00e5ff);
  color: var(--text-color, #111);
}
body {
  background: var(--bg-color, #0b0c10);
  color: var(--text-color, #fff);
}

.navbar .logo {
  color: var(--accent-color, #00e5ff);
}

.btn.primary {
  background: var(--accent-color, #00e5ff);
  color: var(--text-color, #111);
}
.theme-switcher {
  display: flex;
  gap: 0.5rem;
}

.theme-switcher {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end; /* push buttons to the right */
  margin: 1rem 3rem 2rem 3rem; /* space from top and sides */
}

.theme-switcher button {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent-color, #00e5ff);
  color: var(--text-color, #111);
  transition: all 0.3s;
}

.theme-switcher button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px var(--accent-color, #00e5ff), 0 0 16px var(--accent-color, #00e5ff);
}
/* Navbar styling */
.navbar {
  position: fixed;       /* stick to top */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, nav + theme right */
  padding: 0.5rem 2rem;
  background: rgba(0,0,0,0.8);
  z-index: 100;
}

/* Nav links */
.navbar nav {
  display: flex;
  gap: 1.5rem;
}

/* Theme Switcher inside navbar */
.theme-switcher {
  display: flex;
  gap: 0.5rem;
}

/* Theme Switcher buttons */
.theme-switcher button {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent-color, #00e5ff);
  color: var(--text-color, #fff);
  transition: all 0.3s;
}

.theme-switcher button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px var(--accent-color, #00e5ff), 0 0 16px var(--accent-color, #00e5ff);
}
/* Navbar styling */
.navbar {
  position: fixed;       /* stick to top */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  background: rgba(0,0,0,0.8);
  z-index: 100;
}

/* Add spacing below the fixed navbar */
body {
  padding-top: 3.5rem; /* adjust depending on navbar height + theme switcher */
}

/* Theme Switcher styling */
.theme-switcher {
  position: fixed;      /* stays in place when scrolling */
  top: 3.5rem;          /* just below the navbar */
  right: 2rem;          /* aligned right */
  display: flex;
  gap: 0.5rem;
  z-index: 99;
}

.theme-switcher button {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent-color, #00e5ff);
  color: var(--text-color, #fff);
  transition: all 0.3s;
}

.theme-switcher button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px var(--accent-color, #00e5ff), 0 0 16px var(--accent-color, #00e5ff);
}
/* General Button Styles */
.btn {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Primary Buttons (Play, Browse Games, Discord) */
.btn.primary {
  background: linear-gradient(145deg, var(--accent-color, #00e5ff), #00bcd4);
  color: var(--text-color, #fff);
  box-shadow: 0 0 10px var(--accent-color, #00e5ff), 0 0 20px rgba(0, 229, 255, 0.3);
}

/* Secondary Buttons */
.btn.secondary {
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  color: var(--accent-color, #00e5ff);
  box-shadow: inset 0 0 10px rgba(255,255,255,0.1);
  border: 1px solid var(--accent-color, #00e5ff);
}

/* Neon Glow Hover Effect */
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--accent-color, #00e5ff), 0 0 30px rgba(0, 229, 255, 0.5);
}

/* Optional: small glow effect behind button */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--accent-color, #00e5ff);
  opacity: 0.05;
  transform: rotate(45deg);
  pointer-events: none;
}
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  z-index: 1000;
}

/* Theme Switcher */
.theme-switcher {
  position: fixed;
  top: 70px; /* under navbar */
  right: 20px;
  display: flex;
  gap: 0.5rem;
  z-index: 1000;
}

.theme-switcher button {
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s;
}

.theme-switcher button:hover {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 120px 50px 50px; /* leave space for navbar */
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.game-card {
  background: rgba(0,0,0,0.5);
  color: #fff;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,255,255,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #00e5ff;
}

.game-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.play-btn {
  margin-top: 0.5rem;
  width: 80%;
  cursor: pointer;
  background: linear-gradient(135deg,#00e5ff,#0055ff);
  border: none;
  color: #fff;
  padding: 0.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.play-btn:hover {
  box-shadow: 0 0 10px #00e5ff;
  transform: scale(1.05);
}




