/* Base Styles */
:root {
  --primary-color: #7209B7; /* Purple */
  --secondary-color: #F72585; /* Pink */
  --accent-color: #4CC9F0; /* Blue */
  --dark-color: #121212;
  --light-color: #FFFFFF;
  --text-color: #333333;
  --bg-color: #F8F9FA;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --gradient: linear-gradient(135deg, var(--primary-color), #3A0CA3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.game-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h2 span {
  color: var(--secondary-color);
  position: relative;
}

h2 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--secondary-color);
  opacity: 0.15;
  z-index: -1;
}

p {
  margin-bottom: 1.5rem;
}

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

ul {
  list-style: none;
}

section {
  padding: 80px 0;
}

/* Header Styles */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

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

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

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  gap: 30px;
}

nav a {
  font-weight: 600;
  position: relative;
}

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

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin-bottom: 5px;
  border-radius: 2px;
  transition: var(--transition);
}

/* Button Styles */
.cta-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--gradient);
  color: var(--light-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(114, 9, 183, 0.4);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(114, 9, 183, 0.5);
}

.cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.hero {
  padding: 60px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.1) 0%, rgba(76, 201, 240, 0) 70%);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 37, 133, 0.1) 0%, rgba(247, 37, 133, 0) 70%);
  z-index: -1;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  text-align: left;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
}

/* Game Preview */
.game-preview {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-console {
  width: 100%;
  max-width: 380px;
  background-color: var(--dark-color);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.game-screen {
  background: linear-gradient(135deg, #180537, #2B0A57);
  border-radius: 10px;
  height: 250px;
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}

.character {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 120px;
  background: radial-gradient(circle at center, rgba(76, 201, 240, 0.3), rgba(76, 201, 240, 0));
  border-radius: 50%;
}

.game-ui {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
}

.dialog-box {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.dialog-box p {
  margin: 0;
  font-size: 0.9rem;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.option {
  background-color: rgba(114, 9, 183, 0.6);
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.option:hover {
  background-color: rgba(247, 37, 133, 0.8);
}

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

.joystick {
  width: 60px;
  height: 60px;
  background-color: #333;
  border-radius: 50%;
  position: relative;
}

.joystick::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background-color: #555;
  border-radius: 50%;
}

.buttons {
  display: flex;
  gap: 10px;
}

.button {
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.8;
}

/* Game Types Section */
.game-types {
  background-color: var(--light-color);
  position: relative;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.game-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.game-card:hover {
  transform: translateY(-10px);
  border-left: 4px solid var(--secondary-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

.game-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--primary-color);
}

/* Features Section */
.features {
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.features-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
}

.feature-list {
  flex: 1;
}

.feature {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(247, 37, 133, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.feature p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FAQ Section */
.faq {
  background-color: var(--light-color);
}

.faq-list {
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 20px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question h3 {
  font-size: 1.1rem;
  margin: 0;
}

.arrow {
  width: 20px;
  height: 20px;
  position: relative;
  transition: var(--transition);
}

.arrow::before,
.arrow::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  width: 10px;
  height: 2px;
  top: 9px;
}

.arrow::before {
  left: 0;
  transform: rotate(45deg);
}

.arrow::after {
  right: 0;
  transform: rotate(-45deg);
}

.faq-item.active .arrow::before {
  transform: rotate(-45deg);
}

.faq-item.active .arrow::after {
  transform: rotate(45deg);
}

.answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .answer {
  padding: 0 20px 20px;
  max-height: 300px;
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  color: var(--light-color);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-section .cta-button {
  background: white;
  color: var(--primary-color);
}

.cta-section .cta-button:hover {
  background: var(--accent-color);
  color: white;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 60px 0 30px;
}

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

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

.footer-logo span {
  font-weight: 600;
  font-size: 1.1rem;
}

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

.link-group h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group a {
  color: rgba(255, 255, 255, 0.7);
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .hero .container,
  .features-wrapper {
    flex-direction: column;
  }
  
  .game-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  nav ul.active {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h2 {
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}
