#app{padding:20px;}
form input{display:block;margin:10px 0;padding:8px;width:200px;}
form button{padding:8px 12px;}
.notification {
  position: fixed;
  background-color: #f87171;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.notification.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}
.notification.show {
  opacity: 1;
  transform: translateY(0);
}
@font-face {
  font-family: 'Dish Arial Pixel';
  src: url('/static/fonts/dish-arial-pixel.otf.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Dish Arial Pixel', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html, body {
  height: 100%;
  background-color: #121212;
  color: #ccc;
  scroll-behavior: smooth;
}
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #4639B1;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  z-index: 1001;
  gap: 1rem;
}
.navbar .container {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem;
}
/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.brand img {
  height: 52px;
  width: 52px;
  user-select: none;
}
/* Nav Left */
.nav-left,
.nav-right {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-left {
  flex: 1;
}
.nav-left li a,
.nav-right li a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}
.nav-left li a:hover,
.nav-right li a:hover {
  color: #b3a7f9;
  text-decoration: underline;
}
/* Nav Center Search */
.nav-center {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.nav-center input[type="search"] {
  background: #1c1c1c;
  border: 1px solid #4639b1;
  color: #ddd;
  padding: 0.4rem 0.8rem;
  border-radius: 4px 0 0 4px;
  width: 250px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
input[type="text"] {
  background: #1c1c1c;
  border: 1px solid #4639b1;
  color: #ddd;
  padding: 0.4rem 0.8rem;
  border-radius: 4px 0 0 4px;
  width: 380px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
input[type="password"] {
  background: #1c1c1c;
  border: 1px solid #4639b1;
  color: #ddd;
  padding: 0.4rem 0.8rem;
  border-radius: 4px 0 0 4px;
  width: 380px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
input[type="email"] {
  background: #1c1c1c;
  border: 1px solid #4639b1;
  color: #ddd;
  padding: 0.4rem 0.8rem;
  border-radius: 4px 0 0 4px;
  width: 380px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.nav-center input[type="search"]::placeholder {
  color: #7a75a9;
}
.nav-center input[type="search"]:focus {
  outline: none;
  border-color: #a6a3ff;
  background: #29294d;
  color: #fff;
}
.nav-center button {
  background: #5c2f91;
  border: 1px solid #4639b1;
  color: #ddd;
  border-radius: 0 4px 4px 0;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s;
}
.nav-center button:hover {
  background: #6a3dba;
}
.nav-center button:active {
  background: #4e2873;
}
.purp {
  background: #5c2f91;
  border: 1px solid #4639b1;
  color: #ddd;
  border-radius: 0 4px 4px 0;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s;
}
.purp button:hover {
  background: #6a3dba;
}
.purp button:active {
  background: #4e2873;
}
/* Hamburger */
#hamburger {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: none;
  flex-shrink: 0;
}
@media (max-width: 1023px) {
  #hamburger {
    display: block;
  }
  .nav-left,
  .nav-right,
  .nav-center {
    display: none;
  }
}
.cent{
  margin: 0 auto; text-align: center;
}
/*Sidebar*/
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 220px;
  height: calc(100vh - 60px);
  background: #1e1e2f;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-right: 2px solid #4639b1;
  box-shadow: 2px 0 6px rgba(70, 57, 177, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
}
.sidebar nav a {
  color: #ccc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  background: transparent;
  transition: all 0.2s ease-in-out;
  font-size: 1rem;
}
.sidebar nav a i {
  font-size: 1.1rem;
}
.sidebar nav a:hover {
  background: #3a3368;
  color: #fff;
  transform: translateX(5px);
  box-shadow: 2px 4px 10px rgba(166, 163, 255, 0.2);
}
.sidebar nav a.active {
  background: linear-gradient(135deg, #5c2f91, #4639b1);
  color: #fff;
  box-shadow: 0 0 10px rgba(166, 163, 255, 0.4);
}
/* Mobile sidebar hidden by default */
@media (max-width: 1023px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.active {
    transform: translateX(0);
  }
}
/* Main */
main.container {
  margin-left: 220px;
  margin-top: 60px;
  padding: 2rem;
  background: #1c1c1c;
  min-height: calc(100vh - 60px);
  border-radius: 12px 0 0 0;
  transition: margin-left 0.3s ease;
}
main.shifted {
  margin-left: 220px; /* desktop always shifted */
}
@media (max-width: 1023px) {
  main.container {
    margin-left: 0;
  }
}
/* Footer */
#footer {
  position: fixed;
  bottom: 0;
  left: 220px;
  width: calc(100% - 220px);
  padding: 1rem;
  background: #111;
  color: #666;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #333;
  transition: left 0.3s ease, width 0.3s ease;
}
footer.shifted {
  left: 220px;
  width: calc(100% - 220px);
}
@media (max-width: 1023px) {
  #footer {
    left: 0 !important;
    width: 100% !important;
  }
}
/* Feature Cards */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.feature-card {
  background: #2b2b3f;
  border-radius: 10px;
  padding: 1.5rem;
  flex: 1 1 250px;
  box-shadow: 0 6px 12px rgba(70, 57, 177, 0.3);
  color: #ddd;
  border: 2px dashed #4639b1;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}
.feature-card:hover {
  box-shadow: 0 0 20px #a6a3ff;
  border-color: #a6a3ff;
}
.feature-card h3 {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #b3a7f9;
}
/* Dashboard cards */
.dashboard {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.dashboard .card {
  background: #29294d;
  border-radius: 12px;
  padding: 1.5rem;
  width: 420px;
  box-shadow: 0 0 12px rgba(70, 57, 177, 0.4);
  border: 2px dashed #4639b1;
  color: #ccc;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: default;
}
.dashboard .card:hover {
  box-shadow: 0 0 18px #a6a3ff;
  border-color: #a6a3ff;
}
.dashboard .card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #b3a7f9;
}
.dashboard .card p {
  font-size: 1rem;
  color: #ddd;
}
.dashboard .card img {
  margin-top: 1rem;
  border-radius: 50%;
  border: 3px solid #5c2f91;
  background: #4639b1;
  width: 180px;
  height: 180px;
  object-fit: cover;
}
/* Game Cards inside features */
.game-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
.game-card {
  background: #2b2b3f;
  border-radius: 10px;
  padding: 0.75rem;
  width: 100px;
  box-shadow: 0 4px 8px rgba(70, 57, 177, 0.3);
  border: 2px dashed #4639b1;
  text-align: center;
  color: #ddd;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.game-card:hover {
  box-shadow: 0 0 15px #a6a3ff;
  border-color: #a6a3ff;
}
.game-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}
/* Forum posts */
.forum-post {
  background: #29294d;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 2px dashed #4639b1;
  box-shadow: 0 0 12px rgba(70, 57, 177, 0.4);
  color: #ddd;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.forum-post strong {
  color: #b3a7f9;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}
.forum-post p {
  font-size: 1rem;
  line-height: 1.3;
}
.text-white{
  color: #fff !important;
  font-weight: bold;
}
.text-black{
  color: #000 !important;
  font-weight: bold;
}
.text-xl{
  font-size: 2rem !important;
}
.text-lg{
  font-size: 1.5rem !important;
}
.text-md{
  font-size: 1.25rem !important;
}
.text-sm{
  font-size: 0.6rem !important;
}