body {
  margin: 0;
  padding: 0;
  font-family: 'Rubik', sans-serif;
  background-color: #0e0e0e;
  color: #f2f2f2;
  overflow-x: hidden;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #0e0e0e;
}

.site-header {
  font-size: 2.2rem;
  font-weight: 700;
  padding: 20px 0;
  text-align: center;
  background: rgba(255, 74, 74, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #ff4a4a;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px 0;
  backdrop-filter: blur(8px);
}

.top-nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.top-nav a.active,
.top-nav a:hover {
  color: #ff4a4a;
}

main {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.btn-link {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 600;
  color: #fff;
  background-color: #ff4a4a;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-link:hover {
  background-color: #e03b3b;
}
#games-list {
  display: flex;
  flex-wrap: wrap;        /* allows wrapping to next line */
  gap: 1rem;              /* space between buttons */
  padding: 0;
  margin: 0;
  list-style: none;
}


#games-list li {
  margin: 10px 0;
  font-size: 1.1rem;
}

#games-list li a {
  color: #ff4a4a;
  text-decoration: none;
  transition: color 0.3s ease;
}

#games-list li a:hover {
  color: #4affc5;
  text-decoration: underline;
}
#game-search {
  width: 100%;
  max-width: 400px;
  padding: 12px 16px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-family: 'Rubik', sans-serif;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  outline: none;
}

#game-search:focus {
  border-color: #ff4a4a;
  box-shadow: 0 0 10px rgba(255, 74, 74, 0.6);
}
/* Sidebar Layout */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  z-index: 10;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ff4a4a;
  text-align: center;
  margin-bottom: 30px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: center;
}

.side-nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.side-nav a.active,
.side-nav a:hover {
  color: #ff4a4a;
}

/* Push content to the right */
.content-wrapper {
  margin-left: 220px;
  padding: 40px 20px;
}

main {
  display: flex;
  justify-content: center;
}
