/* CSS Variables */
:root {
  --sage-green: #87A96B;
  --sage-light: #A4C085;
  --beige: #F5E6D3;
  --beige-light: #FAF0E6;
  --coral: #E8B4B8;
  --cream: #FAF7F0;
  --text-dark: #2C3E50;
  --text-muted: #6C757D;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--cream);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  color: var(--sage-green);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--sage-green), var(--sage-light));
  padding: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.8;
}

/* Main Content */
main {
  min-height: 70vh;
  padding: 2rem 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--beige-light), var(--beige));
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  color: var(--sage-green);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--coral);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 180, 184, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--sage-green);
  color: var(--sage-green);
}

.btn-outline:hover {
  background: var(--sage-green);
  color: white;
}

/* Game Cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.game-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-card h3 {
  margin-bottom: 1rem;
}

.game-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Section Styling */
.section {
  padding: 3rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background: var(--sage-green);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
}