:root {
  --primary-color: #6366F1;
  --secondary-color: #3B82F6;
  --accent-color: #8B5CF6;
  --background-color: #F9FAFB;
  --text-color: #1F2937;
  --light-text: #6B7280;
  --border-color: #E5E7EB;
  --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

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

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

/* Header styles */
.header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo img {
  height: 4rem;
  margin-right: 1rem;
}

.logo-text {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 3rem;
}

.nav-links a {
  color: white;
  font-weight: 600;
  position: relative;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: white;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

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

/* Hero section */
.hero {
  padding: 8rem 0;
  background: url('hero-bg.svg') no-repeat center center;
  background-size: cover;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.hero p {
  font-size: 2rem;
  color: var(--light-text);
  margin-bottom: 4rem;
}

.cta-button {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.5);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.6);
  color: white;
}

/* Features section */
.features {
  padding: 10rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title h2 {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.section-title p {
  font-size: 1.8rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 3rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: white;
  font-size: 2.4rem;
}

.feature-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.feature-description {
  color: var(--light-text);
}

/* How it works section */
.how-it-works {
  padding: 10rem 0;
  background-color: #F3F4F6;
}

.steps {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 25%;
}

.step-number {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: white;
  font-weight: 700;
  font-size: 2.4rem;
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  width: 100%;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
}

.step:last-child .step-number::after {
  display: none;
}

.step-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.step-description {
  font-size: 1.4rem;
  color: var(--light-text);
}

/* Gaming section */
.gaming-section {
  padding: 10rem 0;
  background-color: white;
}

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

.gaming-card {
  background-color: white;
  border-radius: 10px;
  padding: 3rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.gaming-card h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.gaming-card p {
  color: var(--light-text);
  margin-bottom: 2rem;
}

.gaming-links-list {
  list-style: none;
}

.gaming-links-list li {
  margin-bottom: 1rem;
}

.gaming-links-list a {
  display: inline-block;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

/* Testimonials section */
.testimonials {
  padding: 10rem 0;
  background-color: #F3F4F6;
}

.testimonials-carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  padding: 4rem;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.testimonial-text {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-color);
}

.testimonial-role {
  color: var(--light-text);
  font-size: 1.4rem;
}

/* Footer */
.footer {
  background-color: #1F2937;
  color: white;
  padding: 6rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 4rem;
  margin-right: 1rem;
}

.footer-about p {
  color: #D1D5DB;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

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

.footer-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

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

.footer-links a {
  color: #D1D5DB;
  transition: all 0.3s ease;
}

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

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

.footer-bottom p {
  color: #9CA3AF;
  font-size: 1.4rem;
}

/* Media Queries */
@media (max-width: 1024px) {
  html {
    font-size: 60%;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    width: 100%;
    max-width: 300px;
    margin-bottom: 4rem;
  }
  
  .step-number::after {
    height: 3px;
    width: 3px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 55%;
  }
  
  .hero h1 {
    font-size: 3.6rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
}
