/* CSS Variables */
:root {
  --primary-color: #ff6b00;
  --primary-dark: #e55a00;
  --secondary-color: #333333;
  --dark-bg: #1a1a1a;
  --light-bg: #f5f5f5;
  --text-light: #ffffff;
  --text-dark: #333333;
  --accent-color: #ffcc00;
  --section-padding: 5rem 0;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

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

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

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

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

p {
  margin-bottom: 1rem;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
}

/* Navigation */
.navbar {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo img {
  width: 150px;
  height: auto;
  margin-right: 10px;
}

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

.nav-menu li {
  margin-left: 1.5rem;
}

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

.nav-link:hover {
  color: var(--primary-color);
}

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

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

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

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition);
  background-color: var(--text-light);
}

/* Hero Section */
.hero {
  background-image: url('./assets/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  flex: 1;
  padding-right: 4rem;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

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

.cta-button {
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  min-width: 150px;
}

.cta-button.primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.cta-button.primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary:hover {
  background-color: var(--text-light);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

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

.hero-mascot img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Brand Intro Section */
.brand-intro {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

.brand-intro h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.brand-intro p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-dark);
}

.core-features {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.feature-item {
  flex: 1;
  min-width: 250px;
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition);
}

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

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Games Section */
.games-section {
  padding: var(--section-padding);
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.games-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.game-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  align-items: start;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.game-main-image {
  grid-row: 1 / 3;
  grid-column: 1;
}

.game-main-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-details {
  grid-row: 1;
  grid-column: 2;
  padding: 1rem;
}

.game-details h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.game-type {
  display: inline-block;
  background-color: rgba(255, 107, 0, 0.2);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.game-details p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.feature-tag {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
}

.download-button {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
}

.download-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.game-screenshots {
  grid-row: 2;
  grid-column: 2;
  display: flex;
  gap: 1rem;
}

.game-screenshots img {
  flex: 1;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.game-screenshots img:hover {
  transform: scale(1.05);
}

/* Features Section */
.features-section {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

.features-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--secondary-color);
}

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

.feature-card {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 107, 0, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* About Section */
.about-section {
  padding: var(--section-padding);
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.about-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

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

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-image {
  flex: 1;
  max-width: 500px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact-section {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

.contact-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--secondary-color);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  min-height: 20px;
}

.submit-button {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  transition: var(--transition);
}

.submit-button:hover {
  background-color: var(--primary-dark);
}

.submit-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.success-message {
  color: #2ecc71;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  min-height: 20px;
}

/* FAQ Section */
.faq-section {
  padding: var(--section-padding);
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.faq-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.faq-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.faq-column {
  flex: 1;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 0;
}

.faq-question h3 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--text-light);
}

.faq-question i {
  font-size: 1rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

.testimonials-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--secondary-color);
}

.testimonials-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.testimonial-card {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.testimonial-rating {
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--secondary-color);
}

.author-location {
  font-size: 0.9rem;
  color: #777;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-logo img {
  width: 150px;
  height: auto;
  margin-right: 10px;
}

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

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

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Image Preview Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close-button {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.close-button:hover {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1199px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .game-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  
  .game-main-image {
    grid-row: 1;
    grid-column: 1;
  }
  
  .game-details {
    grid-row: 2;
    grid-column: 1;
  }
  
  .game-screenshots {
    grid-row: 3;
    grid-column: 1;
  }
}

@media (max-width: 991px) {
  .navbar {
    padding: 1rem 0;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--dark-bg);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 1.5rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-image {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .faq-container {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .brand-intro h2,
  .games-section h2,
  .features-section h2,
  .about-section h2,
  .contact-section h2,
  .faq-section h2,
  .testimonials-section h2 {
    font-size: 2rem;
  }
  
  .core-features {
    flex-direction: column;
  }
  
  .feature-item {
    margin-bottom: 1.5rem;
  }
  
  .testimonials-container {
    flex-direction: column;
  }
  
  .testimonial-card {
    margin-bottom: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .brand-intro h2,
  .games-section h2,
  .features-section h2,
  .about-section h2,
  .contact-section h2,
  .faq-section h2,
  .testimonials-section h2 {
    font-size: 1.8rem;
  }
  
  .game-screenshots {
    flex-direction: column;
  }
  
  .game-screenshots img {
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}