/* Reset and Base Styles */
@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins/Poppins-Regular.ttf");
    font-weight: 400;
    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: #FFF3E0;
  color: #333;
  overflow-x: hidden;
}
img{
    max-width: 100%;
    object-fit: cover;
    display: block;
}
a{
    color: inherit;
    text-decoration: none;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: linear-gradient(135deg, #FFCA28, #FF9800);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

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

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

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

.nav-links a {
  color: #FFF;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}

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

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

body.no-scroll {
  overflow: hidden;
}

/* Hero Section (index.html) */
.hero {
  height: 100vh;
  max-height: 1200px;
  background: url('image/banner2.jpg') center/cover;
  display: flex;
  align-items: center;
  text-align: center;
  color: #FFF;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
  z-index: 5;
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Bungee', cursive;
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.cta-button {
  background: #FF5722;
  color: #FFF;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-button:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cta-button i {
  font-size: 1.5rem;
}
h2, h1{
     font-family: 'Bungee', cursive;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
}
/* Features Section (index.html) */
.features {
  padding: 80px 0;
  background: #FFF;
}

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

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

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

.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Gameplay Section (index.html) */
.gameplay {
  padding: 80px 0;
  color: #FFF;
  background: rgba(0, 0, 0, 0.5);
  position: relative;
}

.gameplay-content {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 50px;
}

.gameplay-text {
  flex: 1;
}

.gameplay-image {
  flex: 1;
}

.gameplay-image img {
  width: 100%;
  border-radius: 15px;
}

/* Slider Section (index.html) */
.slider {
  padding: 80px 0;
  background: #FFCA28;
}

.slider-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
}

.slider-item {
  flex: 1 0 300px;
  text-align: center;
}

.slider-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

/* Tips Section (index.html) */
.tips {
  padding: 80px 0;
  background: #FFF;
}


.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

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

.tip-card i {
  font-size: 2rem;
  color: #FF5722;
  margin-bottom: 15px;
}

/* Community Section (index.html) */
.community {
  padding: 80px 0;
  background: #FFCA28;
  text-align: center;
}

.community img {
  width: 100%;
  border-radius: 15px;
  margin: 20px auto;
}

/* Accordion Section (index.html) */
.accordion {
  padding: 80px 0;
  background: #FFF;
}

.accordion-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #EEE;
}

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

.accordion-content {
  display: none;
  padding: 15px;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* Testimonials Section (index.html) */
.testimonials {
  padding: 80px 0;
  background: #FFECB3;
}

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

.testimonial {
  text-align: center;
}

.testimonial img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Download Section (index.html) */
.download {
  padding: 80px 0;
  background: linear-gradient(135deg, #FF5722, #FF9800);
  color: #FFF;
  text-align: center;
}

.download p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.download-button {
  background: #FFF;
  color: #FF5722;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.download-button i {
  font-size: 1.5rem;
}

.download-button:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.download img {
  width: 100%;
  max-width: 600px;
  border-radius: 15px;
  margin: 30px auto 0 auto;
}
.introduction{
    padding-top: 130px;
}
/* Contact Section (index.html) */
.contact {
  padding: 80px 0;
  background: #FFECB3;
}

.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-size: 1rem;
}

.contact button {
  background: #FF5722;
  color: #FFF;
  padding: 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: #E64A19;
}

/* Intro Section (gameplay.html) */
.intro {
  padding: 250px 0 80px;
  background: url('image/rare-eggs.jpg') center/cover;
  color: #FFF;
  text-align: center;
  position: relative;
}

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

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

.intro h1 {
  font-family: 'Bungee', cursive;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.intro p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Mechanics Section (gameplay.html) */
.mechanics {
  padding: 80px 0;
  background: #FFF;
}

.mechanics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

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

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

.mechanics-card i {
  font-size: 2rem;
  color: #FF5722;
  margin-bottom: 15px;
}
.img{
    width: 100%; 
    border-radius: 15px; 
    margin: 20px auto 0 auto;
    max-width: 800px;
}
/* Egg Types Section (gameplay.html) */
.egg-types {
  padding: 80px 0;
  background: #FFCA28;
}

.egg-types-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.egg-types-text {
  flex: 1;
}

.egg-types-image {
  flex: 1;
}

.egg-types-image img {
  width: 100%;
  border-radius: 15px;
}

/* Upgrade Path Section (gameplay.html) */
.upgrade-path {
  padding: 80px 0;
  background: rgba(0, 0, 0, 0.5);
  position: relative;
}
.upgrade-path h2 {
    color: #fff;
}
.upgrade-path-content {
  z-index: 1;
}

.upgrade-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.upgrade-item {
  background: #FFECB3;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
}

.upgrade-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Strategy Section (gameplay.html) */
.strategy {
  padding: 80px 0;
  background: #FFF;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

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

.strategy-card i {
  font-size: 2rem;
  color: #FF5722;
  margin-bottom: 15px;
}

/* Events Section (gameplay.html) */
.events {
  padding: 80px 0;
  background: #FFECB3;
}

.events-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
}

.event-item {
  flex: 1 0 300px;
  text-align: center;
}

.event-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Leaderboard Section (gameplay.html) */
.leaderboard {
  padding: 80px 0;
  background: linear-gradient(135deg, #FF5722, #FF9800);
  color: #FFF;
}

.leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.leaderboard-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
}

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

/* Fun Facts Section (gameplay.html) */
.fun-facts {
  padding: 80px 0;
  background: #FFF;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.fact-item i {
  font-size: 2.5rem;
  color: #FF5722;
  margin-bottom: 15px;
}
.article {
      padding: 120px 0 80px;
      background: #FFF;
    }

    .article-content {
      display: flex;
      align-items: flex-start;
      gap: 30px;
    }

    .article-text {
      flex: 0 0 50%;
    }

    .article-text h2 {
      font-family: 'Bungee', cursive;
      font-size: 2.5rem;
      margin-bottom: 20px;
      color: #FF5722;
    }

    .article-text p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .article-image {
      flex: 1;
    }

    .article-image img {
      width: 100%;
      border-radius: 15px;
    }
/* Welcome Section (community.html) */
.welcome {
  padding: 250px 0 80px;
  background: url('image/community2.jpeg') center/cover;
  color: #FFF;
  text-align: center;
  position: relative;
}

.welcome::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

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

.welcome h1 {
  font-family: 'Bungee', cursive;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.welcome p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Player Stories Section (community.html) */
.player-stories {
  padding: 80px 0;
  background: #FFF;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

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

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

.story-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Challenges Section (community.html) */
.challenges {
  padding: 80px 0;
  background: #FFCA28;
}

.challenges-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.challenges-text {
  flex: 1;
}

.challenges-image {
  flex: 1;
}

.challenges-image img {
  width: 100%;
  border-radius: 15px;
}

/* Achievements Section (community.html) */
.achievements {
  padding: 80px 0;
  background: rgba(0, 0, 0, 0.5);
  color: #FFF;
  position: relative;
}

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

.achievement-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.achievement-item i {
  font-size: 2.5rem;
  color: #FFCA28;
  margin-bottom: 15px;
}

/* Player Tips Section (community.html) */
.player-tips {
  padding: 80px 0;
  background: #FFF;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

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

.tip-card i {
  font-size: 2rem;
  color: #FF5722;
  margin-bottom: 15px;
}

/* Global Impact Section (community.html) */
.global-impact {
  padding: 80px 0;
  background: linear-gradient(135deg, #FF5722, #FF9800);
  color: #FFF;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.impact-item i {
  font-size: 2.5rem;
  color: #FFCA28;
  margin-bottom: 15px;
}

/* CTA Section (community.html) */
.cta {
  padding: 80px 0;
  background: #FFF;
  text-align: center;
}
.cta p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.cta img {
  width: 100%;
  max-width: 600px;
  border-radius: 15px;
  margin-top: 30px;
}

/* Static Page Section Styles (terms-conditions.html, privacy-policy.html) */
section {
  padding: 80px 0;
  background: #FFF;
}

section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

section ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

section ul li {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Thanks Page (thanks.html) */
.thanks-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

.thanks-container h1 {
  font-family: 'Bungee', cursive;
  font-size: 2.5rem;
  color: #FF5722;
  margin-bottom: 20px;
}

.thanks-container p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.home-button {
  background: #FFCA28;
  color: #333;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  display: inline-block;
}

/* Footer */
footer {
  background: #333;
  color: #FFF;
  padding: 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.footer-grid div{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-grid a {
  color: #FFCA28;
  text-decoration: none;
}

.footer-grid a:hover {
  text-decoration: underline;
}
.footer-grid h3, .footer-logo {
    font-size: 20px;
    color: #fff !important;
    display: inline-block;
  font-family: 'Bungee', cursive;
  margin-bottom: 20px;
}
.download-app-button {
      background: #FFCA28;
      color: #333;
      padding: 15px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-size: 1.2rem;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      transition: background 0.3s;
    }

    .download-app-button i {
      font-size: 1.5rem;
    }

    .download-app-button:hover {
      background: #FF5722;
    }
    .download-app{
      display: none;
    }
    .header-row{
      display: flex;
      align-items: center;
      gap: 20px;
      justify-content: flex-end;
      font-size: 14px;
    }
    .download-app-button-header{
      font-size: 14px;
      padding: 5px 10px;
    }
/* Responsive */
@media (max-width: 768px) {
  .header-row{
    display: none;
  }
    .logo {
        font-size: 1.5rem;
    }
    .download-app{
      display: flex;
      height: 100vh;
      align-items: center;
      text-align: center;
    }
  .nav-links {
     display: flex;
  flex-direction: column;
  position: fixed;
  top: 82px;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FF9800;
  justify-content: center;
  align-items: center;
  gap: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.active {
  transform: translateX(0);
}
.nav-links a{
    font-size: 24px;    
    font-weight: 700;
}

  .burger {
    display: block;
  }

  .hero h1,
  .intro h1,
  .welcome h1 {
    font-size: 2.5rem;
  }

  .hero p,
  .intro p,
  .welcome p {
    font-size: 1.2rem;
  }

  .gameplay-content,
  .egg-types-content,
  .challenges-content {
    flex-direction: column;
  }

  .download-buttons {
    flex-direction: column;
  }

  .leaderboard-grid,
  .achievements-grid,
  .stories-grid,
  .tips-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }
.article-content {
        flex-direction: column;
      }
      .article-text{
        flex: 1;
      }

      .article-text h2 {
        font-size: 2rem;
      }

      .article-text p {
        font-size: 1rem;
      }
  .art-gallery,
  .events-slider,
  .slider-container {
    flex-direction: column;
    align-items: center;
  }

  section h2, h1 {
    font-size: 1.7rem;
  }

  section p,
  section ul li {
    font-size: 1rem;
  }

  .thanks-container h1 {
    font-size: 2rem;
  }

  .thanks-container p {
    font-size: 1rem;
  }

  .home-button {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .container{
    padding: 0 10px;
  }
}