/* IMPORTED FONTS */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&family=Open+Sans&display=swap');

/* RESET AND DEFAULTS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0f0f0f;
  color: #fff;
}



/* NAVBAR STYLES */
nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #0f172a;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.2);
  padding: 14px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #22d3ee;
  user-select: none;
  cursor: default;
  transition: color 0.3s ease;
}

.logo img {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
  filter: drop-shadow(0 0 3px #06b6d4);
  transition: filter 0.3s ease;
}

.logo:hover {
  color: #06b6d4;
}

.logo:hover img {
  filter: drop-shadow(0 0 8px #06b6d4);
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #22d3ee;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #06b6d4;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #06b6d4;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

/* Stagger Animation Delays */
.nav-links a:nth-child(1) {
  animation-delay: 0.2s;
}
.nav-links a:nth-child(2) {
  animation-delay: 0.4s;
}
.nav-links a:nth-child(3) {
  animation-delay: 0.6s;
}
.nav-links a:nth-child(4) {
  animation-delay: 0.8s;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 28px;
  height: 24px;
  justify-content: center;
}

.hamburger div {
  height: 3px;
  background-color: #22d3ee;
  border-radius: 2px;
  transition: all 0.4s ease;
  transform-origin: center;
}

.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  nav {
    padding: 10px 20px;
  }

  .logo {
    font-size: 20px;
  }

  .logo img {
    height: 28px;
    width: 28px;
    margin-right: 8px;
  }

  .nav-links {
    position: fixed;
    top: 55px;
    left: 0;
    background: #0f172a;
    width: 100%;
    height: calc(100vh - 55px);
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 30px;
    box-shadow: 0 8px 16px rgba(6, 182, 212, 0.3);
    border-radius: 0 0 12px 12px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 18px;
    padding: 10px 20px;
  }

  .hamburger {
    display: flex;
  }
}

/* ABOUT SECTION */
.about-section {
  background-color: #121212;
  color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideIn 1s forwards;
  animation-delay: 0.3s;
  font-family: 'Open Sans', sans-serif;
}

.about-content {
  max-width: 700px;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.about-content:hover {
  transform: scale(1.05);
}

.about-content h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 20px;
  color: #e63946;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  text-shadow:
    0 0 5px #e63946,
    0 0 10px #e63946,
    0 0 20px #e63946,
    0 0 40px #ff4c4c;
}

.about-content h1:hover {
  color: #f1faee;
  text-shadow:
    0 0 10px #f1faee,
    0 0 20px #f1faee,
    0 0 40px #f1faee,
    0 0 60px #aaffff;
}

.about-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.about-content ul {
  list-style: none;
  padding-left: 0;
  font-size: 16px;
  line-height: 1.5;
}

.about-content ul li {
  margin: 10px 0;
  position: relative;
  padding-left: 30px;
}

.about-content ul li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: #e63946;
  text-shadow:
    0 0 5px #e63946,
    0 0 10px #e63946,
    0 0 20px #e63946;
}

/* RESPONSIVE ABOUT SECTION */
@media (max-width: 600px) {
  .about-content {
    padding: 20px 15px;
  }

  .about-content h1 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 16px;
  }
}

/* ANIMATIONS */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* CSS */
body {
  background: #0a0a0a;
  color: #eee;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.about-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  border-radius: 12px;
  box-shadow: 0 0 20px #ff4500cc;
}

.about-section .content {
  max-width: 600px;
  text-align: center;
}

.about-section h2 {
  font-size: 2.4rem;
  color: #ff4500; /* red-orange gaming vibe */
  margin-bottom: 10px;
  text-shadow: 0 0 8px #ff4500aa;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #ccc;
}

.code-animation {
  font-family: 'Source Code Pro', monospace;
  font-size: 1rem;
  background: #111;
  padding: 20px;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  color: #ff6347;
  box-shadow: 0 0 10px #ff6347;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  white-space: pre-wrap;
}

/* When visible, show the code block */
.code-animation.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 768px) {
  .about-section {
    flex-direction: row;
    justify-content: space-between;
    padding: 40px 60px;
  }
  .about-section .content {
    text-align: left;
  }
}

/* Remove or reduce margin-top on the first section */
section:first-of-type {
  margin-top: 50px; /* or 0 */
  padding-top: 10x; /* if you want some padding */
  margin-bottom: 20px;
}

/* Also check navbar bottom margin/padding */
nav {
  margin-bottom: 0;
  padding-bottom: 0;
}


.story-section {
  padding: 50px 20px;
  background: url('https://wallpapercave.com/wp/wp11529605.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-glass {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  max-width: 800px;
  box-shadow: 0 0 25px #ff4500aa;
  border: 1px solid #ff450055;
}

.story-title {
  font-size: 2.2rem;
  color: #ff4500;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px #ff4500aa;
}

.story-text {
  font-size: 1.05rem;
  color: #ddd;
  line-height: 1.7;
  text-align: justify;
}

@media (max-width: 768px) {
  .story-title {
    font-size: 1.6rem;
  }
  .story-text {
    font-size: 0.95rem;
  }
  .story-glass {
    padding: 20px;
  }
}

.story-glass {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.story-glass.visible {
  opacity: 1;
  transform: translateY(0);
}


.games-section {
  padding: 50px 20px;
  background: #0f0f0f;
  text-align: center;
}

.games-title {
  font-size: 2.5rem;
  color: #ff4500;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #ff4500aa;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 25px;
}

.game-card {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid #ff450066;
  box-shadow: 0 0 15px #ff450055;
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ddd;
}

.game-card h3 {
  color: #ff6347;
  margin-bottom: 10px;
}

.game-card .desc {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.game-card ul {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.game-card a {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  text-decoration: none;
  background: #ff4500;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 0 10px #ff4500aa;
  transition: background 0.3s;
}

.game-card a:hover {
  background: #ff3300;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px #ff4500aa;
}

.coming-soon {
  opacity: 0.6;
  font-style: italic;
}

/* Mobile Fixes */
@media (max-width: 600px) {
  .games-title {
    font-size: 1.7rem;
  }
}


.game-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}


 .others-section {
      background: linear-gradient(to bottom, #0e0e0e, #151515);
      padding: 60px 20px;
      text-align: center;
    }

    .others-title {
      font-size: 2.4rem;
      margin-bottom: 40px;
      color: #ff4500;
      text-shadow: 0 0 10px #ff4500aa;
    }

    .others-content {
      display: flex;
      flex-wrap: wrap;
      gap: 25px;
      justify-content: center;
    }

    .others-box {
      background: rgba(20, 20, 20, 0.9);
      border: 1px solid #ff450055;
      box-shadow: 0 0 20px #ff450044;
      border-radius: 16px;
      padding: 25px 20px;
      max-width: 400px;
      text-align: left;
    }

    .box-title {
      font-size: 1.4rem;
      color: #ffa500;
      margin-bottom: 15px;
      text-shadow: 0 0 6px #ffa500aa;
    }

    .mc-ip {
      font-family: monospace;
      background: #000;
      padding: 2px 6px;
      border-radius: 4px;
      color: #00ffff;
      text-shadow: 0 0 4px #00ffff;
    }

    .mc-season {
      color: #ffff00;
      font-weight: bold;
      text-shadow: 0 0 5px #ffff00;
    }

    .join-now {
      margin-top: 15px;
      font-weight: bold;
      color: #00ffcc;
      text-shadow: 0 0 6px #00ffccaa;
    }

    .note {
      font-size: 0.95rem;
      color: #bbb;
      margin-top: 15px;
      font-style: italic;
    }

    /* Scroll animation */
    .scroll-reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
      will-change: opacity, transform;
    }

    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 600px) {
      .others-title {
        font-size: 1.8rem;
      }

      .box-title {
        font-size: 1.2rem;
      }

      .others-box {
        padding: 20px 15px;
      }
    }