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

  @font-face {
    font-family: "Orbitron";
    src: url("fonts/Orbitron/Orbitron-Bold.ttf") ;
    font-weight: 700;
    font-style: normal;
  }
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* Common Body Styles */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0d021f, #3a1b66);
  color: #fff;
  overflow-x: hidden;
}
img{
    max-width: 100%;
    object-fit: cover;
    display: block;
}
a{
    color: inherit;
    text-decoration: none;
}
button{
    border: none;
}
/* Container */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  padding: 20px 0;
}

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

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  color: #ff2d55;
  text-transform: uppercase;
}

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

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s, transform 0.3s;
}

.nav-links a:hover {
  color: #ff2d55;
  transform: scale(1.1);
}

.burger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}
/* Section Headings */
h2 {
  font-size: 2.5rem;
  color: #ff2d55;
  margin-bottom: 30px;
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  color: #ff2d55;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(255, 45, 85, 0.5);
}

/* Button Styles */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 30px;
  background: linear-gradient(45deg, #ff2d55, #ff8e53);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.7);
  background: linear-gradient(45deg, #ff8e53, #ff2d55);
}

/* Footer */
footer {
  background: #0a031a;
  padding: 40px 0;
  color: #fff;
}

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

.footer-grid h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: #ff2d55;
  margin-bottom: 20px;
}

.footer-grid a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer-grid a:hover {
  color: #ff2d55;
}

/* Index.html Specific Styles */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('image/banner.jpg') center/cover no-repeat;
  position: relative;
}

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

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

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #ff2d55;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.story, .gameplay, .resources, .cards, .rankings, .gallery, .testimonials, .join, .faq, .contact {
  margin-bottom: 60px;
}
.join{
    text-align: center;
}

.story-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.story-content img {
  width: 50%;
  border-radius: 10px;
}

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

.gameplay-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}

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

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

.slider {
  position: relative;
  overflow: hidden;
}

.slider img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
}

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

.accordion-item {
  margin-bottom: 10px;
}

.accordion-header {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px;
}

.accordion-content {
  display: none;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

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

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

.gallery-grid img {
    height: 300px;
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
}

.form-container input, .form-container textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.form-container input::placeholder, .form-container textarea::placeholder {
    color: #fff;
}
.form-container label{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.form-container input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.world, .origin, .upgrades {
  display: flex;
  align-items: center;
  gap: 40px;
}

.world img, .origin img, .upgrades img {
  width: 50%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.3);
}

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

.zone-card, .battle-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.zone-card:hover, .battle-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.5);
}

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

.progression, .resource-flow {
  background: url('image/battle.jpg') center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.progression::before, .resource-flow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.progression-content, .resource-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

 .card-vault, .skins-showcase {
  display: flex;
  overflow-x: auto;
  gap: 20px;
}

.skins-showcase::-webkit-scrollbar, .card-vault::-webkit-scrollbar{
    width: 0;
}

 .card-item img, .skin-item img {
    height: 300px;
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

 .card-item:hover, .skin-item:hover img {
  transform: scale(1.05);
}

.card-item, .skin-item {
  flex: 1 0 250px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}
.flex{
    display: flex;
    align-items: center;
    gap: 40px;
}
.flex img{
    width: 50%;
}
.strategy, .weapon-arsenal, .achievements {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.strategy-item, .weapon-item, .achievement-item {
  display: flex;
  align-items: center;
  gap: 30px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
}

.strategy-item img, .weapon-item img, .achievement-item img {
  width: 40%;
  border-radius: 10px;
}

.community, .community-hub, .social-hub {
  text-align: center;
}
.img{
    width: 100%; border-radius: 10px;
}
 .leaderboard-grid, .challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.leader-card,  .challenge-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s;
}
  .challenge-card:hover {
  transform: translateY(-10px);
}

.leader-card {
  text-align: center;
}

.leader-card img {
    margin: 0 auto 10px auto;
  width: 150px;
  border-radius: 10px;
}

.events, .tactics {
  background: linear-gradient(45deg, #ff2d55, #ff8e53);
  padding: 80px 0px;
  text-align: center;
}

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

.event-card, .tactic-card {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

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

/* Adventure.html Specific Styles */
.saga {
  text-align: center;
  background: url('image/wasteland.jpg') center/cover no-repeat;
  padding: 80px 20px;
  position: relative;
}

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

.saga-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

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

.enemy-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.enemy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.5);
}

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

/* Terms and Privacy Specific Styles */
section {
  padding: 80px 0;
}

.section-top{
    padding-top: 130px;
}

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

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

/* Thanks.html Specific Styles */
.thank-you {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  min-height: 100vh;
  text-align: center;
}
.white{
    color: #fff;
}
.age-number {
      display: inline-block;
      font-size: 3rem;
      color: #ff8e53;
      text-shadow: 0 0 15px rgba(255, 142, 83, 0.7);
      animation: pulse 2s infinite ease-in-out;
    }
    @keyframes pulse {
      0% {
        transform: scale(1);
        text-shadow: 0 0 15px rgba(255, 142, 83, 0.7);
      }
      50% {
        transform: scale(1.1);
        text-shadow: 0 0 25px rgba(255, 142, 83, 1);
      }
      100% {
        transform: scale(1);
        text-shadow: 0 0 15px rgba(255, 142, 83, 0.7);
      }
    }
    .age-verification{
      display: none;
    }
    .age{
      display: flex;
      gap: 20px;
      align-items: center;
      justify-content: flex-end;
    }
    .age p, .age a{
      margin: 0;
    }
    .age a{
      color: #ff2d55;
      font-weight: 700;
    }
/* Media Queries */
@media (max-width: 768px) {
  .age{
    display: none;
  }
  .age-verification{
    display: flex;
    height: 100vh;
    text-align: center;
    align-items: center;
  }
  .age-verification h2{
    font-size: 1.8rem;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  h1, h2{
    font-size: 2rem;
  }
  .nav-links.active {
    display: flex;
  }
  .container{
    padding: 0 10px;
  }

  .burger {
    display: block;
    position: relative;
    z-index: 999;
  }
  .flex{
    flex-direction: column;
  }
  body.no-scroll {
    overflow: hidden;
  }

  .story-content, .world, .origin, .upgrades, .strategy-item, .weapon-item, .achievement-item {
    flex-direction: column;
  }

  .story-content img, .world img, .origin img, .upgrades img, .strategy-item img, .weapon-item img, .achievement-item img {
    width: 100%;
  }
  .logo{
    font-size: 1.6rem;
  }
  .form-container{
    padding: 20px 10px;
  }
  .flex img{
    width: 100%;
  }
  .slider-text{
    width: 100%;
  }
}