/* Base Styles & Variables */
:root {
  --primary-color: #5e42ff;
  --primary-dark: #4a35cc;
  --secondary-color: #ff4a9e;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --text-color: #333333;
  --text-light: #666666;
  --background: #ffffff;
  --background-alt: #f8f9fa;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--text-color);
}

h1 {
  font-size: 2.8em;
}

h2 {
  font-size: 2.3em;
}

h3 {
  font-size: 1.8em;
}

h4 {
  font-size: 1.4em;
}

p {
  margin-bottom: 15px;
  color: var(--text-light);
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  font-size: 0.95em;
  margin-right: 15px;
  margin-bottom: 15px;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: var(--box-shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: white;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(94, 66, 255, 0.1);
  transform: translateY(-3px);
  color: var(--primary-color);
}

.btn-download {
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-size: 0.9em;
  display: inline-block;
  margin-top: 10px;
  transition: var(--transition);
}

.btn-download:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

/* Header Styles */
.header {
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

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

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

.logo img {
  margin-right: 10px;
}

.logo span {
  font-size: 1.6em;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav .nav-links {
  display: flex;
  gap: 25px;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.main-nav a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 150px 0 80px;
  background-color: var(--background-alt);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(94, 66, 255, 0.1), rgba(255, 74, 158, 0.1));
  z-index: 0;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  max-width: 45%;
}

.cta-buttons {
  margin-top: 30px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--background);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient);
}

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

.feature-card {
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 25px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.feature-icon {
  margin-bottom: 20px;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background-color: var(--background-alt);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}

.step {
  flex: 0 0 calc(33.333% - 20px);
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Download Section */
.download {
  padding: 80px 0;
  background: var(--background);
  text-align: center;
}

.download-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.download-option {
  flex: 0 0 200px;
  background: var(--background-alt);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.download-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.download-option img {
  margin: 0 auto 15px;
}

/* Gaming Section */
.gaming {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(94, 66, 255, 0.05), rgba(255, 74, 158, 0.05));
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: -20px auto 40px;
}

.gaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.gaming-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
}

.gaming-news {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
  margin-top: 30px;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: var(--background);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 30px;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
}

/* Footer Styles */
.footer {
  background: #222;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 0 0 100%;
  max-width: 220px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  margin-bottom: 15px;
}

.footer-logo span {
  font-size: 1.8em;
  font-weight: 700;
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2em;
}

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

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9em;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    padding: 120px 0 60px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-image {
    position: relative;
    top: auto;
    transform: none;
    right: auto;
    margin: 30px auto 0;
    max-width: 80%;
  }
  
  .step {
    flex: 0 0 100%;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2em;
  }
  
  h2 {
    font-size: 1.8em;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .download-options {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 20px;
  }
}
