@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins/Poppins-Regular.ttf");
    font-weight: 400;
    font-style: normal;
  }
  @font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins/Poppins-SemiBold.ttf");
    font-weight: 600;
    font-style: normal;
  }

  @font-face {
    font-family: "Bungee";
    src: url("fonts/Bungee/Bungee-Regular.ttf") ;
    font-weight: 700;
    font-style: normal;
  }

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

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f5f7fa, #81c784);
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}
img{
  display: block;
  max-width: 100%;
  object-fit: cover;
}
a{
  text-decoration: none;
  color: inherit;
}
button{
  cursor: pointer;
  border: none;
}
/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffeb3b;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 20px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  font-family: 'Bungee', cursive;
  font-size: 2rem;
  color: #b71c1c;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #b71c1c;
}

.burger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* Sections */
section {
  padding: 80px 0;
}

h2, h1 {
  font-family: 'Bungee', cursive;
  font-size: 2.5rem;
  color: #b71c1c;
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}

p, ul {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 15px 30px;
  background: #b71c1c;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn:hover {
  transform: translateY(-5px) rotate(3deg);
  box-shadow: 0 5px 15px rgba(183, 28, 28, 0.5);
  background: #d32f2f;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  padding: 40px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer-content a {
  color: #ffeb3b;
  text-decoration: none;
}

footer h3, .footer-logo{
  color: #fff !important;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-block;
}
.hero {
      height: 100vh;
      max-height: 1200px;
      display: flex;
      align-items: center;
      background: url('image/banner.jpg') center/cover no-repeat;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.4);
    }
    .hero-content h1 {
      font-family: 'Bungee', cursive;
      font-size: 4rem;
      margin-bottom: 20px;
      color: #fff;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .hero-content p {
       color: #fff;
      font-size: 1.2rem;
      margin-bottom: 30px;
    }
    .gallery img, .chicken-card img{
      height: 250px;
      width: 100%;
    }
    .features-grid ,.chicken-guide, .gallery{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
      gap: 30px;
    }

    .feature-card {
      background: #f5f7fa;
      padding: 20px;
      border-radius: 20px;
      text-align: center;
      transition: transform 0.3s;
    }

    .feature-card:hover {
      transform: scale(1.05);
    }

    .feature-card img {
      width: 100%;
      border-radius: 10px;
      margin-bottom: 20px;
    }
    .story {
      
      background: #81c784;
    }
    .story .container, .getting-started .container{
      display: flex;
      align-items: center;
      gap: 40px;
    }

    .story img,.getting-started img {
      width: 50%;
      border-radius: 20px;
    }

    .story-content {
      width: 50%;
    }
    .slider .container{
      max-width: 1200px;
      position: relative;
      overflow: hidden;
    }

    .slider-container {
      display: flex;
      transition: transform 0.5s ease;
    }
    .slide  h3{
      color: #fff;
    }
    .slide {
      min-width: 100%;
      height: 500px;
      text-align: center;
      padding: 40px;
      color: #fff;
      background: url('image/chick.jpg') center/cover no-repeat;
      position: relative;
      transform: scale(0.95);
      transition: transform 0.5s;
    }

    .slide2{
      background: url('image/rocket.jpg') center/cover no-repeat;
    }

     .slide3{
      background: url('image/lightning.jpg') center/cover no-repeat;
    }


    .slide.active {
      transform: scale(1);
    }

    .slide::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
    }

    .slide-content {
      position: relative;
      z-index: 1;
    }

    .slider-controls {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
    }

    .slider-controls button {
      background: #fff;
      border: none;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      cursor: pointer;
    }

    .slider-controls button.active {
      background: #b71c1c;
    }
    .accordion {
      max-width: 800px;
      margin: 0 auto;
    }

    .accordion-item {
      margin-bottom: 10px;
      border: 1px solid #ddd;
      border-radius: 10px;
      overflow: hidden;
    }

    .accordion-header {
      background: #ffeb3b;
      padding: 15px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      background: #fff;
      padding: 0 15px;
      transition: max-height 0.3s ease;
    }

    .accordion-content.active {
      max-height: 200px;
      padding: 15px;
    }
.achievements {
      background: #fff;
      text-align: center;
    }

    .achievement-card {
      background: #f5f7fa;
      padding: 20px;
      border-radius: 20px;
      margin: 20px auto;
      max-width: 600px;
    }

    .achievement-card img {
      width: 100%;
      border-radius: 10px;
      margin-bottom: 20px;
    }

    .progress-bar {
      width: 100%;
      height: 20px;
      background: #ddd;
      border-radius: 10px;
      overflow: hidden;
      margin-top: 10px;
    }

    .progress {
      height: 100%;
      background: #b71c1c;
      width: 0;
      transition: width 2s ease;
    }
    .challenges {
      background: #81c784;
      text-align: center;
    }

    .challenge-card {
      display: inline-block;
      background: #fff;
      padding: 20px;
      border-radius: 20px;
      margin: 0 10px;
      max-width: 350px;
      transition: transform 0.3s;
    }

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

    .challenge-card img {
      width: 100%;
      border-radius: 10px;
      margin-bottom: 10px;
    }

    /* Contact Section */
    .contact {
      background: #fff;
      text-align: center;
    }

    .contact form {
      max-width: 600px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .contact input, .contact textarea {
      padding: 15px;
      border: 1px solid #ddd;
      border-radius: 10px;
      font-family: 'Poppins', sans-serif;
    }
    .contact label{
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .contact input[type="checkbox"] {
      width: 20px;
      height: 20px;
    }
    .progress1{
width: 60%;
    }
    .progress2{
width: 40%;
    }
/* Index Page Specific Styles */
 .lore, .get-started, .tips-tricks, .challenges, .faq, .farm-upgrades, .fun-facts {
  background: #fff;
}

.features, .testimonials, .download, .community, .breed-spotlight, .power-ups {
  background: #81c784;
}

.feature-grid, .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  padding: 20px;
}

.feature-card, .testimonial-card{
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover, .testimonial-card:hover, .nft-card:hover, .leader-card:hover, .event-tile:hover {
  transform: scale(1.05);
}

.feature-card img, .testimonial-card img, .nft-card img, .event-tile img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.leader-card img {
  width: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.hero-content, .lore-content, .tour-frame {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.lore-content  img{
  margin: 20px auto 0 auto;
}
.lore img, .tour-frame img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  margin: 20px kayakauto;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.download{
  text-align: center;
}

.strategy {
      background: #fff;
      text-align: center;
    }

    .strategy-list {
      max-width: 800px;
      margin: 0 auto;
      text-align: left;
    }

    .strategy-list li {
      list-style: none;
      margin: 15px 0;
      font-size: 1.1rem;
    }

    .strategy-list i {
      color: #b71c1c;
      margin-right: 10px;
    }
    .tips {
      background: #81c784;
      text-align: center;
    }

    .tip-card {
      display: inline-block;
      background: #fff;
      padding: 20px;
      border-radius: 20px;
      margin: 10px;
      max-width: 400px;
      transition: transform 0.3s;
    }

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

    .tip-card img {
      width: 100%;
      border-radius: 10px;
      margin-bottom: 10px;
    }
.faq {
      background: #fff;
      
    }
    .faq .container{
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      margin-bottom: 10px;
      border: 1px solid #ddd;
      border-radius: 10px;
      overflow: hidden;
    }

    .faq-header {
      background: #ffeb3b;
      padding: 15px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .faq-content {
      max-height: 0;
      overflow: hidden;
      background: #fff;
      padding: 0 15px;
      transition: max-height 0.3s ease;
    }

    .faq-content.active {
      max-height: 200px;
      padding: 15px;
    }
/* Game Guide Page Specific Styles */
.step-grid, .tip-grid, .challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  padding: 20px;
}

.step-card, .tip-card, .challenge-card {
  background: #f5f7fa;
  padding: 20px;
  border-radius: 15px;
  transition: transform 0.3s;
}

.step-card:hover, .tip-card:hover, .challenge-card:hover {
  transform: scale(1.05);
}

.step-card img, .tip-card img, .challenge-card img {
  height: 300px;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list details {
  background: #f5f7fa;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
}

/* Egg Tycoon World Page Specific Styles */
.event-calendar, .market-domination, .leaderboard {
  background: #ffeb3b;
}
.leaderboard{
  text-align: center;
}

.breed-spotlight, .event-calendar .calendar-grid, .fun-facts .fact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.breed-card, .calendar-event, .fact-card {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  flex: 1 0 280px;
  text-align: center;
  max-width: 350px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.breed-card:hover, .calendar-event:hover, .fact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.breed-card img, .calendar-event img {
  height: 250px;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.fact-card i {
  font-size: 2rem;
  color: #b71c1c;
  margin-bottom: 10px;
}

.power-up-slider{
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px;
  scroll-snap-type: x mandatory;
}
.power-up-slider::-webkit-scrollbar{
  width: 0;
}

.power-up-card {
  flex: 1 0 300px;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  scroll-snap-align: center;
}

.power-up-card img, .shop-item img {
  height: 250px;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.upgrade-timeline, .lab-experiments {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.upgrade-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 40px 0;
  position: relative;
}

.upgrade-item img {
  width: 200px;
  border-radius: 10px;
  margin-right: 20px;
}

.upgrade-item:nth-child(even) {
  flex-direction: row-reverse;
}

.upgrade-item:nth-child(even) img{
  margin-right: 0;
  margin-left: 20px;
}

.leaderboard-table {
  max-width: 600px;
  margin: 20px auto;
  border-collapse: collapse;
}

.leaderboard-table th, .leaderboard-table td {
  padding: 15px;
  border-bottom: 1px solid #ddd;
}

.leaderboard-table th {
  background: #b71c1c;
  color: #fff;
}

.leaderboard-table tr:hover {
  background: #f5f7fa;
}


/* Terms and Privacy Page Specific Styles */
.terms-conditions, .privacy-policy {
  background: linear-gradient(135deg, #f5f7fa, #81c784);
}

.terms-conditions h2, .privacy-policy h2 {
  font-size: 2rem;
}

/* Thank You Page Specific Styles */
.thank-you  {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

.thank-you .container {
  max-width: 800px;
  padding: 20px;
}

.thank-you h2 {
  font-size: 2.5rem;
}

.thank-you p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.thank-you .btn {
  font-family: 'Poppins', sans-serif;
}
.section-top{
  padding-top: 130px;
}
.review-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
      gap: 20px;
      padding: 20px;
    }

    .review-card {
      background: #f5f7fa;
      padding: 20px;
      border-radius: 15px;
      text-align: center;
      transition: transform 0.3s;
    }

    .review-card:hover {
      transform: scale(1.05);
    }

    .review-card img {
      margin: 0 auto;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      margin-bottom: 15px;
    }

    .review-card .rating {
      color: #ffeb3b;
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

    .review-card p {
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 15px;
    }

    .review-card .reviewer {
      font-weight: 600;
      color: #b71c1c;
    }
    .age-verification {
      display: none;
      text-align: center;
    }

    .age-verification h2 {
      font-family: 'Bungee', cursive;
      color: #b71c1c;
      margin-bottom: 20px;
    }

    .age-verification .age-number {
      display: inline-block;
      font-family: 'Bungee', cursive;
      font-size: 3rem;
      color: #ffeb3b;
      background: #b71c1c;
      padding: 10px 20px;
      border-radius: 10px;
      margin: 10px 0;
      animation: pulse 2s infinite ease-in-out;
    }

    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }
    .header-age{
      display: flex;
      justify-content: flex-end;
      gap: 20px;
      align-items: center;
    }
    .header-age p, .header-age a{
      margin: 0;
    }
    .header-age a{
      font-weight: 700;
    }
    .btn-red{
      color: #b71c1c;
      transition: transform 0.3s ease;
    }
    .btn-red:hover{
      transform: scale(1.2);
    }
/* Responsive Design */
@media (max-width: 768px) {
  .header-age{
    display: none;
  }
  .age-verification{
    display: flex;
    align-items: center;
    height: 100vh;
  }
  .age-verification .age-number {
        font-size: 2rem;
        padding: 8px ;
      }
   .age-verification h2 {
        font-size: 1.3rem;
      }
  h2, h1,.logo{
    font-size: 1.6rem;
  }
  .container{
    padding: 0 10px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: #ffeb3b;
    flex-direction: column;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  .upgrade-item, .upgrade-item:nth-child(even){
    flex-direction: column;
    text-align: center;
  }

  .upgrade-item img{
    margin: 0 0 20px 0;
  }

  .upgrade-line {
    display: none;
  }

  .thank-you h2 {
    font-size: 2rem;
  }

  .thank-you p {
    font-size: 1rem;
  }

  .thank-you .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  .review-grid {
        grid-template-columns: 1fr;
      }

      .review-card img {
        width: 80px;
        height: 80px;
      }
      .story .container, .getting-started .container{
        flex-direction: column;
      }
      .story img, .getting-started img {
        width: 100%;
      }
      .story-content{
        width: 100%;
      }
      .slide{
        height: 350px;
      }
}