/* Reset & Fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0,0,0,0.6);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

header .logo {
  font-size: 2rem;
  font-weight: 700;
  color: #ffb347;
}

header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

header nav a:hover,
header nav a.active {
  color: #ffb347;
}

/* Games Hero */
.games-hero {
  text-align: center;
  padding: 100px 20px;
}

.games-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
}

.games-hero p {
  font-size: 1.2rem;
  animation: fadeInUp 1.2s ease forwards;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 80px 50px;
}

.game-card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  overflow: hidden;
  transition: 0.5s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease forwards;
}

.game-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.4s;
}

.game-card:hover img {
  transform: scale(1.1) rotate(1deg);
}

.game-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #ffb347;
}

.game-card .quote {
  font-size: 0.95rem;
  font-style: italic;
  color: #eee;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.5s ease;
}

.game-card:hover .quote {
  opacity: 1;
  transform: translateY(0);
}

.game-card .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 8px;
  background: linear-gradient(45deg, #ff6b6b, #ffb347);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.4s;
}

.game-card:hover {
  background: rgba(255,107,107,0.2);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 20px rgba(255,107,107,0.4);
}

.game-card:hover .btn {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,107,107,0.6);
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 50px;
  background: rgba(0,0,0,0.7);
}

footer a {
  margin: 0 10px;
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #ffb347;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
