/* Modern CSS with Variables */
:root {
  --primary-color: #034694;
  --secondary-color: #FFCC00;
  --accent-color: #FF5733;
  --text-color: #333333;
  --background-color: #f8f9fa;
  --footer-color: #212529;
  --card-bg: #ffffff;
  --card-border: #e0e0e0;
  --transition-speed: 0.3s;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo svg {
  margin-right: 10px;
  height: 32px;
  width: 32px;
}

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

nav ul li {
  margin-left: 20px;
}

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

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

.hero {
  background: linear-gradient(135deg, var(--primary-color), #0466C8);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-color);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #ffda44;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 60px;
  color: var(--primary-color);
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed);
  border: 1px solid var(--card-border);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 25px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.card p {
  color: #666;
  margin-bottom: 20px;
}

.games {
  background-color: #f0f4f8;
  padding: 80px 0;
}

.game-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.game-link {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed);
}

.game-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.game-link a:hover {
  color: var(--accent-color);
}

.testimonials {
  padding: 80px 0;
}

.testimonial {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  color: #555;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.cta {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

footer {
  background-color: var(--footer-color);
  color: white;
  padding: 60px 0 30px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}

.footer-logo svg {
  margin-right: 10px;
  height: 28px;
  width: 28px;
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color var(--transition-speed);
}

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

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 30px;
  text-align: center;
  color: #bbb;
  font-size: 14px;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .features, .games, .testimonials, .cta {
    padding: 60px 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  
  nav.active ul {
    display: flex;
  }
}
