/* World Map */
.world-map {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-color) 60%, var(--secondary-bg-color) 100%);
}

.world-map__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.world-map__title {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 3.5rem;
  color: var(--main-color);
  margin-bottom: 20px;
}

.world-map__title i {
  color: var(--highlight-color);
  margin-right: 15px;
}

.world-map__description {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 40px;
}

.map-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.map-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map-region {
  position: absolute;
  background: rgba(255, 171, 201, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.map-region:hover {
  transform: scale(1.2);
}

.map-region.meadow { top: 20%; left: 30%; width: 50px; height: 50px; }
.map-region.forest { top: 50%; left: 60%; width: 50px; height: 50px; }
.map-region.village { top: 70%; left: 40%; width: 50px; height: 50px; }

.tooltip {
  position: absolute;
  background: var(--main-color);
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

/* Main Levels */
.main-levels {
  padding: 80px 0;
  background: var(--secondary-bg-color);
}

.main-levels__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-levels__title {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 3rem;
  color: var(--main-color);
  text-align: center;
  margin-bottom: 40px;
}

.main-levels__title i {
  color: var(--highlight-color);
  margin-right: 15px;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.level-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.level-card:hover {
  transform: translateY(-8px);
}

.level-card__image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.level-card:hover .level-card__image img {
  transform: scale(1.1);
}

.level-card__info {
  padding: 20px;
}

.level-card__title {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 1.4rem;
  color: var(--main-color);
  margin-bottom: 10px;
}

.level-card__description {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 15px;
}

.level-card__details {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.level-card__details i {
  color: var(--accent-color);
  margin-right: 5px;
}

/* Level Tips */
.level-tips {
  padding: 80px 0;
  background: var(--bg-color);
}

.level-tips__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.level-tips__title {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 40px;
}

.level-tips__title i {
  color: var(--highlight-color);
  margin-right: 15px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.tip-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
}

.tip-card i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.tip-card h3 {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 1.3rem;
  color: var(--main-color);
  margin-bottom: 10px;
}

.tip-card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Secret Levels */
.secret-levels {
  padding: 80px 0;
  background: var(--secondary-bg-color);
}

.secret-levels__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.secret-levels__title {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 20px;
}

.secret-levels__title i {
  color: var(--highlight-color);
  margin-right: 15px;
}

.secret-levels__description {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 40px;
}

.secret-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.secret-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.secret-card img {
  width: 100%;
  height: auto;
}

.secret-card h3 {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 1.4rem;
  color: var(--main-color);
  padding: 20px 20px 10px;
}

.secret-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  padding: 0 20px 15px;
}

.secret-card span {
  display: block;
  background: var(--accent-color);
  color: white;
  padding: 10px;
  font-size: 0.9rem;
}

/* Game Events */
.game-events {
  padding: 80px 0;
  background: var(--bg-color);
}

.game-events__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.game-events__title {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 40px;
}

.game-events__title i {
  color: var(--highlight-color);
  margin-right: 15px;
}

.events-carousel {
  display: flex;
  overflow: hidden;
  position: relative;
}

.event-card {
  flex: 0 0 100%;
  padding: 20px;
  transition: transform 0.5s ease;
}

.event-card img {
  width: 80%;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

.event-card h3 {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 1.4rem;
  color: var(--main-color);
  margin-bottom: 10px;
}

.event-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 5px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.carousel-btn {
  background: var(--secondary-bg-color);
  color: var(--main-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--accent-color);
  color: white;
}

/* Registration Form */
.registration-form {
  padding: 80px 0;
  background: var(--secondary-bg-color);
}

.registration-form__wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.registration-form__title {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 30px;
}

.registration-form__title i {
  color: var(--highlight-color);
  margin-right: 15px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-size: 1rem;
  color: var(--main-color);
  margin-bottom: 5px;
}

.form-group input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.form-group.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.form-group.checkbox label {
  font-size: 0.9rem;
}

.form-group.checkbox a {
  color: var(--accent-color);
  text-decoration: none;
}

.form-group.checkbox a:hover {
  text-decoration: underline;
}

.form-submit {
  background: var(--accent-color);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: var(--highlight-color);
  transform: translateY(-3px);
}

/* Promo App */
.promo-app {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--main-color) 0%, var(--secondary-bg-color) 100%);
  color: white;
}

.promo-app__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.promo-app__title {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 3rem;
  margin-bottom: 20px;
}

.promo-app__title i {
  color: var(--highlight-color);
  margin-right: 15px;
}

.promo-app__description {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.app-links {
  display: flex;
  gap: 15px;
}

.app-link img {
  width: 150px;
  transition: transform 0.3s ease;
}

.app-link:hover img {
  transform: scale(1.1);
}

.promo-app__visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* FAQ */
.faq {
  padding: 80px 0;
  background: var(--bg-color);
}

.faq__wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq__title {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 3rem;
  color: var(--main-color);
  text-align: center;
  margin-bottom: 40px;
}

.faq__title i {
  color: var(--highlight-color);
  margin-right: 15px;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 1.2rem;
  color: var(--main-color);
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.level-card, .tip-card, .secret-card, .event-card {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.level-card:nth-child(2) { animation-delay: 0.1s; }
.level-card:nth-child(3) { animation-delay: 0.2s; }
.level-card:nth-child(4) { animation-delay: 0.3s; }
.level-card:nth-child(5) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 1024px) {
  .promo-app__wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-links {
    justify-content: center;
  }

  .levels-grid, .tips-grid, .secret-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .world-map, .main-levels, .level-tips, .secret-levels, .game-events, .registration-form, .promo-app, .faq {
    padding: 60px 0;
  }

  .world-map__title, .main-levels__title, .level-tips__title, .secret-levels__title, .game-events__title, .registration-form__title, .promo-app__title, .faq__title {
    font-size: 2.2rem;
  }

  .map-region {
    width: 40px;
    height: 40px;
  }

  .event-card {
    flex: 0 0 100%;
  }

  .form-submit {
    font-size: 0.9rem;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .world-map__title, .main-levels__title, .level-tips__title, .secret-levels__title, .game-events__title, .registration-form__title, .promo-app__title, .faq__title {
    font-size: 1.8rem;
  }

  .world-map__description, .secret-levels__description, .promo-app__description {
    font-size: 1rem;
  }

  .app-link img {
    width: 120px;
  }
}