/* Reset and base styles */
:root {
  --primary-color: #1E40AF;
  --secondary-color: #FBBF24;
  --text-color: #1F2937;
  --light-bg: #F9FAFB;
  --dark-bg: #111827;
  --accent-color: #7C3AED;
  --font-main: 'Poppins', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

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

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

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

/* Header styles */
header {
  background: linear-gradient(135deg, var(--primary-color), #0F2C86);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.logo img {
  width: 40px;
  height: 40px;
}

.logo h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

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

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.pexels.com/photos/1579739/pexels-photo-1579739.jpeg') center/cover no-repeat;
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.hero h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--dark-bg);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #E5A918;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* About section */
.about {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-heading);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

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

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  color: var(--primary-color);
}

/* Features section */
.features {
  background-color: #F3F4F6;
  padding: 5rem 0;
}

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

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-card h3 {
  font-size: 1.4rem;
  margin: 1rem 0;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

/* Gaming section */
.gaming {
  padding: 5rem 0;
  background: linear-gradient(to right, #111827, #1F2937);
  color: white;
}

.gaming-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gaming-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gaming-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.gaming-card a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

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

.gaming-card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* CTA section */
.cta {
  padding: 5rem 0;
  text-align: center;
  background-color: var(--primary-color);
  color: white;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
}

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

.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 img {
  width: 40px;
  height: 40px;
}

.footer-links h4 {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

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

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

.footer-links a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.3s;
}

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

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

/* Responsive styles */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .header-content nav {
    position: fixed;
    top: 0;
    right: -250px;
    background-color: var(--dark-bg);
    width: 250px;
    height: 100vh;
    padding: 2rem;
    z-index: 1000;
    transition: right 0.3s;
  }

  .header-content nav.active {
    right: 0;
  }

  .header-content nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: 2rem;
  }
}
