 :root {
      --bg: #121212;
      --text: #ffffff;
      --panel: rgba(30,30,30,0.8);
      --highlight: #ffd000;
    }
    [data-theme="light"] {
      --bg: #ffffff;
      --text: #000000;
      --panel: rgba(240,240,240,0.9);
    }

    * {margin: 0; padding: 0; box-sizing: border-box;}
    body {
      /*  font-family: 'MedievalSharp', cursive;*/
      font-family: 'Segoe UI', sans-serif; 
      background: var(--bg);
      color: var(--text);
      
    }
    .container { max-width: 1312px; margin: auto; padding: 20px; }

    nav {
      background: transparent;
      position: fixed; top: 0; left: 0; width: 100%;
      z-index: 999;
    }
    .nav-container {
      background: var(--panel);
      display: flex; justify-content: space-between; align-items: center;
      padding: 15px 20px; flex-wrap: wrap;
 
    }
    .logo {
       background:url('../images/Supreme.png')  15% 5% no-repeat; height:70px; width:400px;
    }
    .nav-links, .nav-actions {
      display: flex; gap: 10px; flex-wrap: wrap;
    }
    .nav-links li, .nav-actions li {
      list-style: none;
      color: white;
      padding: 18px 14px;
      cursor: pointer;
      transition: background 0.3s ease;
    }
    
      nav {
          justify-content: center;
          box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        nav a {
          position: relative;
          color: #ffd000;
          text-decoration: none;
          margin: 0 20px;
          font-weight: 500;
          font-size: 18px;
          transition: color 0.3s ease;
        }

        nav a::after {
          content: "";
          position: absolute;
          left: 0;
          bottom: -5px;
          width: 0%;
          height: 2px;
          background-color: #ff8800;
          transition: width 0.3s ease;
        }

        nav a:hover::after,
        nav a.active::after {
          width: 100%;
        }

        nav a.active {
          color: #ff8800;
        }
        /*ELECTRIC*/
        /* Keyframes for glow pulse */
          @keyframes glowPulse {
            0% {
              box-shadow: 0 0 10px 2px rgba(0, 255, 255, 0.6);
            }
            50% {
              box-shadow: 0 0 25px 10px rgba(0, 255, 255, 0.9);
            }
            100% {
              box-shadow: 0 0 10px 2px rgba(0, 255, 255, 0.6);
            }
          }

         .bg3{
          width: 100%;
          background-size: cover;
          display: block;
         }
          /* Random spark flicker */
          @keyframes sparkFlicker {
            0%, 100% { opacity: 0; transform: scale(1) rotate(0deg); }
            50% { opacity: 1; transform: scale(1.3) rotate(20deg); }
          }

          .electric-wrapper {
            position: relative;
            display: inline-block;
          }

          .electric-glow {
            width: 100%;
            display: block;
            animation: glowPulse 2s infinite ease-in-out, electricFlicker 0.2s infinite;
            filter: drop-shadow(0 0 20px rgb(57, 21, 66));
            z-index: 1;
            background-size: cover;
          }

          /* Electric sparks using ::before and ::after */
          .electric-wrapper::before,
          .electric-wrapper::after {
            content: "";
            position: absolute;
            width: 40px;
            height: 40px;
            background: radial-gradient(circle, rgba(0,255,255,0.8) 0%, transparent 70%);
            pointer-events: none;
            border-radius: 50%;
            opacity: 0;
            animation: sparkFlicker 1s infinite ease-in-out;
          }

          .electric-wrapper::before {
            top: -20px;
            left: 20%;
            animation-delay: 0s;
          }

          .electric-wrapper::after {
            bottom: -20px;
            right: 25%;
            animation-delay: 0.5s;
          }
    .nav-actions li { background: var(--highlight); color: black; }
    
      @media (max-width: 768px) {
        .nav-container {
          flex-wrap: wrap;
        }
      .logo {
            background:url('../images/Supreme.png')  15% 5% no-repeat; height:70px; width:400px;
            margin-left: auto;
          }
        .hamburger {
          display: flex;
          flex-direction: column;
          gap: 4px;
          cursor: pointer;

        }

        .hamburger span {
          width: 25px;
          height: 3px;
          background: var(--text);
          transition: 0.3s;
        }

        .nav-links,
        .nav-actions {
          display: none;
          flex-direction: column;
          width: 100%;
          margin-top: 10px;
        }

        .nav-links.show,
        .nav-actions.show {
          display: flex;
        }
      }
    .hero {
      position: relative;
      background: url('https://cdn.pixabay.com/photo/2023/07/24/08/28/ai-generated-8146559_1280.png') no-repeat center center;
      background-size: cover;
      height: 100vh;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      overflow: hidden;
    }
     /* Responsive Styles */
    @media (max-width: 900px) {
      .nav-container {
        flex-direction: column;
        align-items: flex-start;
      }
      .main-content {
        flex-direction: column;
      }
      .left-panel, .news {
        width: 100%;
      }
      .floating-character {
        display: none;
        cursor: pointer;
      }
      .landscape {
        position: absolute;
        left: 0;
        width: 100%;
        height: 849px;
        background: url('../images/footerimage.png') no-repeat center bottom;
        background-size: contain;
        z-index: 1;
      }
    }
    #tsparticles {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: 0;
    }
    .hero h2, .hero p {
      transition: transform 0.3s ease, color 0.3s ease;
      z-index: 1;
    }
    .hero:hover h2 {
      transform: scale(1.05);
      color: var(--highlight);
    }
    .hero:hover p {
      transform: translateY(-5px);
      color: #ccc;
    }
    .floating-character {
      position: absolute;
      bottom: 0; right: 5%;
      width: 200px;
      animation: floatUpDown 3s ease-in-out infinite;
      transition: transform 0.3s ease;
      z-index: 1;
    }
    .floating-character:hover {
      transform: scale(1.1);
    }
    @keyframes floatUpDown {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-20px); }
    }

    .separator {
      height: 4px;
      background: var(--highlight);
      margin: 40px auto;
      width: 80%;
      border-radius: 4px;
    }

    .carousel {
      display: flex; overflow-x: auto;
      gap: 10px; margin-top: 20px;
    }
    .carousel img {
      width: 100%; max-width: 300px; border-radius: 10px;
    }

    .main-content { display: flex; gap: 20px; flex-wrap: wrap; }
    .left-panel { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 20px; }
    .news {
      background: var(--panel);
      padding: 20px;
      border-radius: 10px;
    }
    .ranking, .download,.checkChan,.serverrate{
      background: var(--panel);
      padding: 10px;
      border-radius: 10px;
    }
    .news { 
      flex: 1; 
      min-width: 300px; 
    }
    .ranking h2, .download h2, .news h2 { margin-bottom: 10px; color: var(--highlight); }
    .ranking ul li {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 10px;
    }
    .ranking img {
      width: 40px; height: 40px;
      border-radius: 50%;
    }
    .ranking{
        position: relative;

        padding: 20px;
        border: 2px solid #444;
        color: #fff;


    }

    /*****LOGIN | REGISTER ****/
      .rpg-nav {
        margin: 20px;
        font-size: 18px;
      }

      .rpg-nav a {
        color: #ffd700;
        text-decoration: none;
        padding: 5px 10px;
        background: #333;
        border: 2px solid #ffd700;
        border-radius: 5px;
      }

      #popup-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 9999;
      }

      .popup-box {
        background: #2f2f2f;
        color: #fff;
        width: 400px;
        margin: 100px auto;
        padding: 25px;
        border: 3px solid #434f4f;
        border-radius: 12px;
        position: relative;
        text-align: center;
      }

      .popup-box .close-popup {
        position: absolute;
        right: 15px;
        top: 10px;
        font-size: 22px;
        cursor: pointer;
        color: #ffd700;
      }

      .popup-form {
        display: none;
      }

      .popup-form input {
        display: block;
        width: 90%;
        margin: 10px auto;
        padding: 10px;
        border: none;
        border-radius: 8px;
      }

      .popup-form button {
        width: 95%;
        padding: 12px;
        margin-top: 10px;
        background: #ffd700;
        color: #000;
        border: none;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
      }

      .popup-form a {
        color: #87ceeb;
        text-decoration: underline;
      }
      #switch-to-login {
        color: #87ceeb;
        text-decoration: underline;
      }

      /**FOR OTP**/
    .containerx {
      width: 350px;
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 15px;
      padding: 30px 25px;
      box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .step {
      display: none;
      transition: all 0.5s ease;
    }

    .step.active {
      display: block;
    }

    input {
      width: 100%;
      padding: 10px;
      margin: 12px 0;
      border: none;
      border-radius: 8px;
      background-color: rgba(255,255,255,0.1);
      color: #fff;
      font-size: 16px;
      transition: 0.3s;
    }

    input:focus {
      outline: none;
      background-color: rgba(255,255,255,0.15);
    }

    button {
      width: 100%;
      padding: 10px;
      background: #ffd700;
      border: none;
      border-radius: 8px;
      color: #000;
      font-weight: bold;
      cursor: pointer;
      margin-top: 10px;
      transition: 0.3s;
    }

    button:hover {
      background: #0076a3;
      color: #fff;
    }

    #responseMessage {
      margin-top: 15px;
      font-size: 14px;
      min-height: 20px;
    }

    .progress {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
    }

    .progress span {
      width: 30%;
      padding: 8px 0;
      background-color: rgba(255,255,255,0.1);
      border-radius: 50px;
      font-size: 12px;
      color: #aaa;
      transition: all 0.3s;
    }

    .progress span.active {
      background-color: #ffd700;
      color: #000;
      font-weight: bold;
    }
/*slider*/
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
 
}

.server-status {
  position: absolute;
  top: 90%;
  left: 18%;
  transform: translateY(-50%);
  color: white;
  max-width: 500px;
  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.5s;
  background-color: #b1b1b111;opacity: 0.6;
  padding: 20px;
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.3),
              inset -4px -4px 8px rgba(5, 5, 5, 0.041);
}
.server-status ul{
list-style: none;
display: flex;
margin: auto;
gap: 1rem; /* Adjust this value as needed */
}
.server-status ul li:nth-child(2) {
  color: rgb(21, 255, 0); /* or any color you want */
}
.playeronline {
  position: absolute;
  top : 90%;
  left: 30%;
  transform: translateY(-50%);
  color: white;
  max-width: 300px;
  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.5s;
  background-color: #b1b1b111;opacity: 0.6;
  padding: 20px;
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.3),
              inset -4px -4px 8px rgba(5, 5, 5, 0.041);
}
.playeronline ul{
list-style: none;
display: flex;
margin: auto;
gap: 3rem; /* Adjust this value as needed */
}
.playeronline ul li:nth-child(2) {
  color: rgb(21, 255, 0); /* or any color you want */
}
.server-content {
  position: absolute;
  top : 90%;
  left: 43%;
  transform: translateY(-50%);
  color: white;
  max-width: 300px;
  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.5s;
  background-color: #b1b1b111;opacity: 0.6;
  padding: 20px;
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.3),
              inset -4px -4px 8px rgba(5, 5, 5, 0.041);
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;

}

.slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  max-width: 500px;
  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.5s;
}

.slide.active .slide-content {
  opacity: 1;
  
}

.slide-content h1 {
  font-size: 3rem;
  margin: 0 0 1rem;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ff4747;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
  
}
.cta-btn:hover {
  background: #e63636;
}

.navs {
  position: absolute;
  top: 90%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 2;
}

.navs.prev { left: 15px; }
.navs.next { right: 15px; }

@keyframes fadeInUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(-50%);
    opacity: 1;
  }
}
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  top: 0;
  left: 0;
}

.hero-slider .slide {
  z-index: -1;
}
.footer {
  position: relative;
  color: #fff;
  overflow: hidden;
  width: 100%;
}
/* .landscape {
  top: -250px;
  left: 0;
  width: 100%;
  height: 849px;
  background: url('../images/footerimage.png') no-repeat center bottom;
  background-size: contain;
  z-index: 1;
}
.landscape::before {
  content: "";
  position: absolute;
  top: 190px;
  left: 0;
  width: 100%;
  height: 842px;
  background: url('../images/footerimage.png') no-repeat center bottom;
  background-size: contain;
  filter: drop-shadow(0 0 15px #f58b01) drop-shadow(0 0 25px #f54601);
  animation: glow 2s ease-in-out infinite alternate;
  z-index: -1;
} */

@keyframes glow {
  0% {
    filter: drop-shadow(0 0 10px #f58b01);
  }
  100% {
    filter: drop-shadow(0 0 25px #f54601);
  }
}
.footer-content {
  position: relative;
  z-index: 2;
  max-width: 1312px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0 20px;
  padding: 20px;
}
.copy{
  color: #9f9f9f;
}


.footer-section {
  flex: 1 1 350px;
   color: #aaa;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffcc66;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: #aaa;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: #fff;
}
p.copy{
  text-align: center;
}
.ranking-table {
      width: 100%;
      margin: 0 auto;
      border-collapse: collapse;
      overflow: hidden;
    }

    .ranking-table th, .ranking-table td {
      padding: 15px;
      text-align: center;
      border-bottom: 1px solid #00ffff40;
    }

    .ranking-table th {
      background-color: #00ffff20;
      font-weight: bold;
      font-size: 1.1em;
    }

    .ranking-table tr:hover {
      background-color: rgba(0, 255, 255, 0.1);
      transition: 0.3s ease;
    }
    .chars{
      padding: 5px;
     /* margin-top: 40px; */
      font-weight: 500;
    }
    .chars th, td {
     /* border: 1px solid #ccc;*/
      padding: 5px 2px; /* top-bottom 12px, left-right 8px */
    }

    .chars th {
      background-color: #f2f2f2;
    }

    .rank-1 { color: gold; font-weight: bold; }
    .rank-2 { color: silver; }
    .rank-3 { color: #cd7f32; }

    .ranking-title {
      text-align: center;
      font-size: 2em;
      color: #00ffff;
      margin-bottom: 20px;
      text-shadow: 0 0 10px #00ffff;
    }
    .system {
      width: 70%;
      border-collapse: collapse;
      margin: 20px auto;
      font-family: Arial, sans-serif;
    }
    .system th, td {
      border: 1px solid #333;
     /*  padding: 10px;
      text-align: center; */
    }
    .system th {
      background-color: #fa8601;
    }
    .dload{
      width: 70%;
      border-collapse: collapse;
      margin: 20px auto;
      font-family: Arial, sans-serif;
    }
    .dload th, td {
      border: 1px solid #333;
      /* padding: 10px;
      text-align: center; */
    }
    .dload th {
      background-color: #fa8601;
    }
    .success-message{
      color: green;
    }
    /*Items*/
    .product-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      padding: 16px;
      list-style: none;
    }

    .product-container li {
      width: calc(25% - 15px);
      border: 1px solid #ccc;
      border-radius: 10px;
      padding: 15px;
      text-align: center;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .product-container li:hover {
      transform: scale(1.05);
    }

    .productimages {
      width: 100%;
      height: auto;
      border-radius: 8px;
    }
    .iconsbuy{
      width: 20px;
      height: 20px;
    }
    .product-name {
      font-size: 14px;
      margin: 10px 0;
      max-height: 40px; /* controls 2 lines */
      display: -webkit-box;
      -webkit-line-clamp: 2;     /* number of lines */
      -webkit-box-orient: vertical;
    }

    .product-price {
      color: green;
      font-weight: bold;
    }

    .buy-button {
      margin-top: 10px;
      padding: 8px 12px;
      background-color: #ff6600;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    .buy-button:hover {
      background-color: #e65c00;
    }
  /*For News and Updates*/
  
    .tab-header {
      display: flex;
    }

    .tab-header button {
      flex: 1;
      padding: 15px;
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      color: #646464;
      cursor: pointer;
      font-size: 1rem;
      transition: border-bottom 0.3s ease, color 0.3s ease;
    }

    .tab-header button:hover {
      border-bottom: 3px solid #ffd000;
    }

    .tab-header button.active {
      border-bottom: 3px solid #ffd000;
      font-weight: bold;
      color: #ffd000;
    }

    .tab-content {
      padding: 30px;
      display: none;
    }

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

    .notice-entry {
      margin-bottom: 20px;
      border-left: 4px solid #ccc;
      padding-left: 10px;
    }

    .notice-entry strong {
      color: #646464;
    }

    .notice-entry em {
      color: #777;
      font-size: 0.9rem;
    }

    @media (max-width: 600px) {
      .tab-header button {
        font-size: 0.9rem;
        padding: 10px;
      }

      .tab-content {
        padding: 20px;
      }
    }
  h1.timer {
      font-size: 40px;
      color: #f5b301;
      text-shadow: 0 0 5px #f5b301;
      font-family: 'Orbitron', sans-serif;
    }

    #countdown {
      font-size: 60px;
      margin-top: 30px;
      letter-spacing: 3px;
      color: #00ffd5;
      text-shadow: 0 0 10px #00ffd5, 0 0 20px #00ffd5;
      font-family: 'Orbitron', sans-serif;

    }