:root {
  --primary-pink: #FF61D8;
  --secondary-pink: #FFA9E7;
  --accent-yellow: #FFC800;
  --accent-purple: #9D00FF;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --candy-red: #FF3E96;
  --candy-blue: #44D7FF;
  --candy-green: #60E550;
  --background-light: #F0F4FF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
  background-image: linear-gradient(to bottom, #E8F4FD, #D4EDDA);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header styles */
header {
  background: linear-gradient(135deg, var(--primary-pink), var(--accent-purple));
  padding: 15px 0;
  color: var(--text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  width: 200px;
  height: auto;
  flex-shrink: 0;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 20px;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.cta-button {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.cta-button:hover {
  background-color: #FFD700;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Hero section */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: url('/img/main.webp') center/cover no-repeat;
  min-height: 400px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 97, 216, 0.3), rgba(157, 0, 255, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Section styles */
section {
  padding: 60px 20px;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-pink), var(--accent-yellow), var(--candy-blue), var(--candy-green));
}

h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  color: var(--primary-pink);
  position: relative;
  display: inline-block;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-yellow);
  border-radius: 10px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-pink);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-yellow);
  border-radius: 10px;
}

p {
  margin-bottom: 15px;
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 8px;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

thead {
  background-color: var(--primary-pink);
  color: var(--text-light);
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

tbody tr:hover {
  background-color: #f1f1f1;
}

/* FAQ styles */
.faq-container {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 20px;
}

details {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

details:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

summary {
  cursor: pointer;
  padding: 5px 0;
  position: relative;
  list-style: none;
  font-weight: bold;
  color: var(--accent-purple);
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "+";
  position: absolute;
  right: 5px;
  font-size: 1.5rem;
  color: var(--primary-pink);
  transform: translateY(-50%);
  top: 50%;
}

details[open] summary::before {
  content: "-";
}

details p {
  margin-top: 10px;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 5px;
}

/* Footer styles */
footer {
  background: linear-gradient(135deg, var(--accent-purple), var(--primary-pink));
  color: var(--text-light);
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.social-icons {
  margin: 20px 0;
}

.social-icons a {
  display: inline-block;
  margin: 0 10px;
  color: var(--text-light);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-5px);
}

.copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Candy decorations */
.candy-decoration {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  opacity: 0.7;
  z-index: -1;
}

.candy-1 {
  background: var(--candy-red);
  top: 10%;
  right: 5%;
  animation: float 8s infinite ease-in-out;
}

.candy-2 {
  background: var(--candy-blue);
  bottom: 15%;
  left: 7%;
  animation: float 10s infinite ease-in-out;
}

.candy-3 {
  background: var(--candy-green);
  bottom: 30%;
  right: 10%;
  animation: float 7s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Interactive elements */
.highlight-box {
  background: linear-gradient(135deg, rgba(255, 97, 216, 0.1), rgba(255, 200, 0, 0.1));
  border-left: 5px solid var(--primary-pink);
  padding: 15px;
  margin: 20px 0;
  border-radius: 0 10px 10px 0;
}

.feature-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-pink);
  margin-bottom: 15px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--accent-purple);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.feature-card:nth-child(4),
.feature-card:nth-child(5),
.feature-card:nth-child(6) {
  grid-column: span 1;
}

.feature-card:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 2;
}

.feature-card:nth-child(5) {
  grid-column: 2 / 3;
  grid-row: 2;
}

.feature-card:nth-child(6) {
  grid-column: 3 / 4;
  grid-row: 2;
}

/* Animation for buttons */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 200, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 200, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 200, 0, 0);
  }
}

.pulse-button {
  animation: pulse 2s infinite;
}

/* Statistics section */
.statistics {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 30px 0;
  text-align: center;
}

.stat-item {
  padding: 10px;
  margin: 10px;
  background: linear-gradient(135deg, var(--primary-pink), var(--accent-purple));
  border-radius: 15px;
  color: var(--text-light);
  min-width: 250px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
}

.counter {
  font-size: 2.5rem;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.percent, .times, .divider {
  font-size: 1.5rem;
  font-weight: bold;
  position: relative;
  z-index: 2;
}

.stat-item p {
  margin-top: 10px;
  font-size: 1rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* Demo container */
.demo-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin: 30px 0;
}

.demo-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-preview {
  width: 100%;
  display: block;
  border-radius: 15px;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo-image:hover .play-overlay {
  opacity: 1;
}

.play-demo-button {
  background: var(--accent-yellow);
  color: var(--text-dark);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.play-demo-button:hover {
  transform: scale(1);
  box-shadow: 0 0 20px rgba(255, 200, 0, 0.8);
}

.play-demo-button i {
  font-size: 1.5rem;
}

.demo-text {
  flex: 1;
  min-width: 300px;
}

/* Mobile features */
.mobile-features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin: 30px 0;
}

.mobile-device {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
}

.device-frame {
  background: #111;
  border-radius: 30px;
  padding: 15px 10px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.device-frame::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 5px;
  background: #444;
  border-radius: 3px;
}

.mobile-preview {
  width: 100%;
  border-radius: 15px;
  display: block;
}

.mobile-list {
  flex: 1;
  min-width: 300px;
}

.mobile-list h3 {
  color: var(--primary-pink);
  margin-bottom: 15px;
}

/* Access steps */
.access-steps {
  margin: 30px 0;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.step-number {
  background: linear-gradient(135deg, var(--primary-pink), var(--accent-purple));
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 5px;
  color: var(--accent-purple);
}

/* CTA section */
.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.secondary-button {
  background-color: transparent;
  color: var(--primary-pink);
  border: 2px solid var(--primary-pink);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.secondary-button:hover {
  background-color: var(--primary-pink);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Footer styles update */
.footer-logo {
  width: 170px;
  margin-bottom: 20px;
}

.footer-logo-link {
  display: inline-block;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.footer-logo-link:hover {
  transform: scale(1.05);
}

.footer-links {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-yellow);
  text-decoration: underline;
}

/* Menu toggle for mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Fade in animation for sections */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Media Queries - Tablet (768px - 1060px) */
@media (min-width: 768px) and (max-width: 1060px) {
  .header-content .cta-button {
    display: none;
  }
  
  .header-content {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .logo-link {
    order: -1;
  }
}

/* Media Queries - Mobile (max-width: 768px) */
@media (max-width: 768px) {
  header {
    position: sticky;
    top: 0;
  }

  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .header-content .cta-button {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-pink), var(--accent-purple));
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 40px 15px;
  }

  h2 {
    font-size: 1.7rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  .cta-buttons {
    flex-direction: column;
  }
  
  .demo-container, .mobile-features {
    flex-direction: column;
  }
  
  .statistics {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-item {
    width: 80%;
  }
  
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(4),
  .feature-card:nth-child(5),
  .feature-card:nth-child(6) {
    grid-column: 1;
    grid-row: auto;
  }
}