/* Reset and base styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  min-height: 100vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Container */
.container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

/* Titles */
h2, h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #00ffff;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

input {
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s;
}

input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

/* Button styling */
button {
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #00ffff;
  color: #003344;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #00cccc;
}

/* Links */
a {
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}








/* Top navbar */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.1);
  z-index: 1000;
}

.navbar a {
  color: #00ffff;
  font-weight: bold;
  text-decoration: none;
  margin-left: 1rem;
}

.navbar a:hover {
  text-decoration: underline;
}

/* Adjust body padding to account for navbar */
body {
  padding-top: 80px;
}

/* Game list */
.game-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.game-link {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.game-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

