/* Base Styles */
:root {
  --primary: #FF3CAC;
  --secondary: #784BA0;
  --tertiary: #2B86C5;
  --dark: #202040;
  --darker: #121230;
  --light: #F5F5F5;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--tertiary) 100%);
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-main: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--darker);
  color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 60, 172, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 90% 80%, rgba(43, 134, 197, 0.03) 0%, transparent 50%);
}

.section-container,
.hero-container,
.header-container,
.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.btn-primary {
  display: inline-block;
  background: var(--gradient);
  color: var(--light);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  color: var(--light);
}

.btn-primary.large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

.btn-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--light);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(32, 32, 64, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
}

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

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

.logo-svg {
  width: 40px;
  height: 40px;
  margin-right: 0.75rem;
}

.logo span {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-play {
  background: var(--gradient);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--light);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background-color: var(--darker);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 30% 50%, rgba(255, 60, 172, 0.15) 0%, transparent 40%),
                    radial-gradient(circle at 70% 70%, rgba(43, 134, 197, 0.1) 0%, transparent 50%);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic svg {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Features Section */
.features {
  background-color: var(--dark);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

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

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  color: var(--primary);
}

/* Gameplay Section */
.gameplay {
  background-color: var(--darker);
}

.gameplay-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.gameplay-text {
  flex: 1;
}

.gameplay-features {
  margin: 2rem 0;
}

.gameplay-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.check-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  flex-shrink: 0;
}

.gameplay-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gameplay-graphic svg {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* Experience Section */
.experience {
  background-color: var(--dark);
}

.experience-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.step {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  font-weight: 700;
}

.step h3 {
  color: var(--tertiary);
}

.step-connector {
  width: 50px;
  height: 3px;
  background: var(--gradient);
  position: relative;
  top: -30px;
}

/* About Section */
.about {
  background-color: var(--darker);
  text-align: center;
}

.about .section-container {
  max-width: 800px;
}

.cta-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.05;
  z-index: -1;
}

.cta-box h3 {
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--dark);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-logo .logo-svg {
  width: 35px;
  height: 35px;
  margin-right: 0.75rem;
}

.footer-logo span {
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--gradient);
  bottom: 0;
  left: 0;
}

.footer-column ul li {
  margin-bottom: 0.7rem;
}

.footer-column ul li a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  opacity: 1;
  color: var(--tertiary);
}

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

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-graphic {
    order: 1;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .gameplay-content {
    flex-direction: column;
  }
  
  .gameplay-text {
    order: 2;
  }
  
  .gameplay-graphic {
    order: 1;
  }
  
  .experience-steps {
    flex-direction: column;
  }
  
  .step {
    width: 100%;
  }
  
  .step-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--darker);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    margin: 1.5rem 0;
    text-align: center;
  }
  
  .btn-play {
    margin-top: 1rem;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons a {
    width: 100%;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
}
