/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.container {
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  text-align: center;
}

/* Header styles */
.header {
  margin-bottom: 3rem;
}

.games-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.site-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Navigation styles */
.game-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.game-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 350px;
  padding: 1.25rem 2rem;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.25);
}

.game-button:active {
  transform: translateY(0);
}

.button-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.button-text {
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Individual button hover effects */
.blackjack-btn:hover {
  background: rgba(0, 0, 0, 0.3);
}

.color-btn:hover {
  background: rgba(255, 107, 107, 0.3);
}

.calculator-btn:hover {
  background: rgba(74, 144, 226, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }
  
  .games-title {
    font-size: 2.8rem;
  }
  
  .site-title {
    font-size: 1.1rem;
  }
  
  .game-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    max-width: 100%;
  }
  
  .button-icon {
    font-size: 1.3rem;
  }
  
  .button-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }
  
  .games-title {
    font-size: 2.4rem;
  }
  
  .site-title {
    font-size: 1rem;
  }
  
  .header {
    margin-bottom: 2rem;
  }
  
  .game-nav {
    gap: 1.25rem;
  }
  
  .game-button {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .button-icon {
    font-size: 1.2rem;
  }
  
  .button-text {
    font-size: 0.95rem;
  }
}