* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #0a0e27 0%, #1a2f4a 100%);
  color: #e0e0e0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

.service-banner {
  background-color: #FFD700;
  color: #333;
  padding: 1rem 2rem;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-banner p {
  margin: 0;
  color: #333;
  font-weight: 600;
}

header.top-header{
  background: linear-gradient(0deg, #FFA500, 0%, FFA500 100%);
  }

header.header {
  background: linear-gradient(90deg, #00bcd4 0%, #0097a7 100%);
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-items {
  display: flex;
  gap: 2rem;
}

.nav-items a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-items a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

main {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #00bcd4, #b3e5fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0, 188, 212, 0.2);
}

h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #00bcd4;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #d0d0d0;
}

a {
  color: #00bcd4;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

a:hover {
  color: #b3e5fc;
  text-decoration: underline;
}

nav.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

nav.games a {
  display: block;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(0, 150, 167, 0.1));
  border: 2px solid #00bcd4;
  border-radius: 12px;
  color: #b3e5fc;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 188, 212, 0.15);
}

nav.games a:hover {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(0, 150, 167, 0.2));
  border-color: #b3e5fc;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
  color: #fff;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 1.5rem 0;
  padding-left: 0;
}

ul li {
  padding: 0.8rem 1.5rem;
  margin-bottom: 0.5rem;
  background: rgba(0, 188, 212, 0.1);
  border-left: 4px solid #00bcd4;
  border-radius: 4px;
  transition: all 0.3s ease;
}

ul li:hover {
  background: rgba(0, 188, 212, 0.2);
  padding-left: 2rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.25);
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}

strong {
  color: #b3e5fc;
  font-weight: 600;
}

em {
  color: #80deea;
  font-style: italic;
}

footer.footer {
  background: linear-gradient(90deg, #00bcd4 0%, #0097a7 100%);
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  box-shadow: 0 -4px 15px rgba(0, 188, 212, 0.3);
}

footer.footer p {
  margin: 0.5rem 0;
  color: #fff;
}

footer.footer a {
  color: #fff;
  text-decoration: underline;
}

footer.footer a:hover {
  color: #b3e5fc;
}

.search-container {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

.search-bar {
  width: 100%;
  max-width: 500px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #00bcd4;
  border-radius: 8px;
  background-color: rgba(0, 188, 212, 0.1);
  color: #e0e0e0;
  transition: all 0.3s ease;
}

.search-bar:focus {
  outline: none;
  border-color: #b3e5fc;
  background-color: rgba(0, 188, 212, 0.2);
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
}

.search-bar::placeholder {
  color: #888;
}

.game-card.hidden {
  display: none;
}

.glitter-btn {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #333;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.glitter-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.glitter-btn:active {
  transform: scale(0.95);
}

.glitter {
  position: fixed;
  pointer-events: none;
  font-size: 2rem;
  animation: fall linear forwards;
  z-index: 9999;
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}