/* GameZone site styles */
:root {
  --bg: #0f172a;
  --fg: #f8fafc;
  --card-bg: #1e293b;
  --accent: #3b82f6;
  --accent-2: #8b5cf6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  padding: 4rem 2rem;
}

.site-header {
  text-align: center;
  margin-bottom: 4rem;
}

.site-header h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: #94a3b8;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.game-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.game-card {
  display: block;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.25);
}

.game-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.game-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.game-card p {
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.play-btn {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 700;
}

.game-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.back-btn {
  color: #94a3b8;
  text-decoration: none;
}

button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-secondary {
  background: #334155;
  color: white;
}
