/* Global Styles */
:root {
  --primary-color: #3498db;
  --secondary-color: #e74c3c;
  --accent-color: #f1c40f;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --text-color: #333333;
  --background-color: #ffffff;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

section {
  padding: 5rem 0;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* Header Styles */
header {
  background-color: var(--dark-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--box-shadow);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 15px;
}

.logo img {
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--accent-color);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu span {
  width: 30px;
  height: 3px;
  background-color: var(--light-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  color: var(--light-color);
  text-align: center;
  padding: 7rem 0;
}

.hero h1, .hero h2 {
  color: white;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* About Section */
.about {
  background-color: var(--light-color);
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  flex: 1;
  min-width: 300px;
  text-align: center;
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-10px);
}

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

/* Games Section */
.games {
  text-align: center;
}

.game-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

.game-card {
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  transition: var(--transition);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.game-image {
  height: 150px;
  background-color: var(--dark-color);
  margin-bottom: 1rem;
}

.game-card h3 {
  padding: 0 1.5rem;
}

.game-card p {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
}

.game-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.game-card a:hover {
  text-decoration: underline;
}

.news-section {
  margin-top: 4rem;
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 10px;
  text-align: left;
}

.news-links {
  list-style: none;
  margin-top: 1rem;
}

.news-links li {
  margin-bottom: 0.5rem;
}

.news-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.news-links a:hover {
  text-decoration: underline;
}

/* Entertainment Section */
.entertainment {
  background-color: var(--light-color);
  text-align: center;
}

.entertainment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

.option {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  flex: 1;
  min-width: 300px;
  transition: var(--transition);
}

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

/* Contact Section */
.contact {
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-links, .footer-social {
  flex: 1;
  min-width: 200px;
}

.footer-links h3, .footer-social h3 {
  color: white;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin-bottom: 0;
  color: #aaa;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .feature,
  .option {
    min-width: 100%;
  }
  
  .footer-content > div {
    min-width: 100%;
    margin-bottom: 2rem;
  }
  
  .footer-content > div:last-child {
    margin-bottom: 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero {
    padding: 5rem 0;
  }
  
  section {
    padding: 3rem 0;
  }
}
