/* Base Styles */
:root {
  --primary-color: #4b0082;
  --secondary-color: #9932cc;
  --accent-color: #ffd700;
  --text-color: #333;
  --light-text: #fff;
  --background-color: #f9f9f9;
  --card-bg: #fff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: bold;
}

/* Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
}

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

nav a {
  color: var(--light-text);
  font-weight: 500;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              var(--primary-color);
  color: var(--light-text);
  text-align: center;
  padding: 4rem 0;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--accent-color);
  color: var(--text-color);
  border-radius: var(--border-radius);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

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

.feature-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Games Section */
.games {
  padding: 4rem 0;
  background-color: rgba(75, 0, 130, 0.05);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.game-content {
  padding: 1.5rem;
}

.game-title {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.game-description {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* News Section */
.news {
  padding: 4rem 0;
}

.news-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-content {
  padding: 2rem;
  flex: 1;
}

.news-title {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.news-source {
  color: var(--secondary-color);
  font-weight: bold;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

/* Testimonials */
.testimonials {
  padding: 4rem 0;
  background-color: rgba(75, 0, 130, 0.05);
  text-align: center;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

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

/* Call to Action */
.cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 4rem 0;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1.5rem;
}

.cta-btn {
  background-color: var(--accent-color);
  color: var(--text-color);
  border: none;
  margin-top: 1rem;
}

.cta-btn:hover {
  background-color: #e6c200;
}

/* Footer */
footer {
  background-color: #222;
  color: var(--light-text);
  padding: 3rem 0 1.5rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 30px;
  height: 30px;
}

.footer-links h4 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: -5px;
  left: 0;
}

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

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

.footer-links a {
  color: #ccc;
}

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

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    height: 0;
    overflow: hidden;
    transition: var(--transition);
  }
  
  nav.open {
    height: auto;
    padding: 1rem 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 0 20px;
  }
  
  nav li {
    margin-bottom: 1rem;
  }
  
  .news-item {
    flex-direction: column;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.5rem;
  }
  
  .feature-card, .game-card {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}
