 body {
      margin: 0;
      padding: 0;
      display: block;
      align-items: center;
      max-width: 100%;
      background-color: #000;
      color: #ff2d2d;
      font-family: 'Orbitron', sans-serif;
    }





    nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;                  /* ensure full width */
    max-width: 100%;              /* never exceed screen */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;                /* uniform padding */
    background: #111;
    z-index: 1000;
    border-bottom: 1px solid #ff2d2d;
    box-sizing: border-box;       /* include padding in width */
}

/* Mobile screens */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem; /* smaller padding for mobile */
    height: 15vh;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  nav {
    padding: 0.8rem 1rem; /* even smaller padding for tiny phones */
  }
}





    .title {
      font-size: 1.5rem;
      font-weight: bold;
    }
    .nav-right {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    button {
      background: #ff2d2d;
      color: #000;
      border: none;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      cursor: pointer;
      font-family: 'Orbitron', sans-serif;
      
    }
    button:hover {
      background: #ff5050;
    }




    .profile-menu {
      display: none;
      position: fixed;
      top: 97px;
      right: 2px;
      background: #111;
      border: 1px solid #ff2d2d;
      border-radius: 12px;
      padding: 1rem;
      width: 35vh;
      height: fit-content;
      z-index: 999; /* ensure it stays above background & other elements */
    }
    .profile-menu.active {
      display: block;
    }
    .profile-img {
      margin-bottom: 1vh;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      border: 2px solid #ff2d2d;
      object-fit: cover;
      margin-top: 1vh;
    }
    /* Default styling */
      #walletAddress {
      font-size: 11px;  /* smaller text */
      color: #ff2d2d;      /* optional: text color */
      margin: 0;        /* optional: remove default margin */
      padding: 2px 0;   /* optional: small padding */
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .profile-menu {
    width: 400px; /* smaller menu */
    padding: 0.8rem;
    margin-top: 4vh;
  }

  .profile-img {
    width: 60px;
    height: 60px;
  }

  #walletAddress {
    font-size: 7px;
  }
  
}

@media (max-width: 480px) {
  .profile-menu {
    width: 220px; /* even smaller on small phones */
    padding: 0.6rem;
  }

  .profile-img {
    width: 50px;
    height: 50px;
  }

  #walletAddress {
    font-size: 6px;
  }
}


/* Mobile responsieness */
@media screen and (max-width: 600px) {
    #walletAddress {
        font-size: 12px; /* even smaller on mobile */
    }
}
    .referral-badge {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 10px;
      background: transparent;
      border: 1px solid #ff2d2d;
      padding: 0.5rem;
      border-radius: 8px;
      color: #ff2d2d;
      font-size: 0.6rem;
      margin-top: 4vh;
    }
    .referral-badge button {
      background: transparent;
      border: 1px solid #ff2d2d;
      padding: 0.2rem 0.5rem;
      color: #ff2d2d;
      border-radius: 6px;
      cursor: pointer;
      font-size: 10px;
    }
    #referralLink {
      display: inline-block;
      word-break:break-all;
      max-width: 333px; 
      color: white;
      font-size: 12px;
    }
    .username-wrap {
  display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}


#username {
  flex: 1;
  background: #333;
  color: #fff;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 12px 6px;
  font-size: 14px;
  
}

#saveUsernameBtn {
  background: red;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  

}

#saveUsernameBtn:hover {
  color: none;
}

#displayUsername {
  color: #fff;
  font-size: 24px;
  display: none;       /* hidden until username is saved */
  text-align: center;
  width: 100%;
  margin: 10px 0;
}

.profile-hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, #000000, #555555);
  border-radius: 2px;
  margin: 1.5rem 0;
}















/* 🔴 Unique Disconnect Button Styling (RedCyclix style) */
.red-disconnect-btn {
  display: block;
  margin: 20px auto 10px auto;  /* centers horizontally inside parent */
  padding: 10px 25px;
  background-color: #ff3b3b;
  color: black;
  border: 2px solid #ff3b3b;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Hover effect */
.red-disconnect-btn:hover {
  background-color: #1a1a1a;
  color: #ff3b3b;
  border-color: #ff3b3b;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .red-disconnect-btn {
    padding: 8px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .red-disconnect-btn {
    padding: 6px 16px;
    font-size: 11px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Username and Save button stack */
  .username-wrap {
  display: flex;
  flex-direction: column; /* stack vertically */
  align-items: center;    /* center horizontally */
  gap: 6px;               /* spacing between username and button */
}

#username {
  text-align: center;     /* center the text inside the input */
}

#saveUsernameBtn {
  /* optional: ensure button width matches input */
  text-align: center;
}


  #displayUsername {
    font-size: 0.85rem;
  }

  /* Referral badge stack */
  .referral-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.55rem;
    padding: 0.4rem;
  }

  #referralLink {
    max-width: 150px;
    font-size: 0.55rem;
  }

  .referral-badge button {
    width: 100%;
    font-size: 9px;
    padding: 0.25rem 0;
  }
}

@media (max-width: 480px) {
  /* Further shrink for small screens */
  #username,
  #saveUsernameBtn {
    max-width: 20vh;
    font-size: 0.75rem;
  }

  #saveUsernameBtn {
    padding: 0.3rem 0.4rem;
  }

  #displayUsername {
    font-size: 0.75rem;
  }

  .referral-badge {
    font-size: 0.5rem;
    padding: 0.3rem;
  }

  #referralLink {
    max-width: 120px;
    font-size: 0.5rem;
  }

  .referral-badge button {
    font-size: 8px;
    padding: 0.2rem 0;
  }
}







/* Background Stars + Atom */
.stars, .atom {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.stars {
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  opacity: 0.6;
  animation: twinkle 3s infinite ease-in-out, moveStar 20s linear infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

@keyframes moveStar {
  0% { transform: translateY(0); }
  100% { transform: translateY(100vh); }
}

.atom {
  top: 0;
  left: 0;
}

.nucleus {
  position: absolute;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, red 0%, #600 100%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px red;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 40px red; }
  50% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 60px red; }
}

.orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px dashed red;
  border-radius: 50%;
  animation: rotate 6s linear infinite;
}

.orbit2 { transform: rotate(60deg); animation-duration: 7s; }
.orbit3 { transform: rotate(120deg); animation-duration: 8s; }

.orbit.blue { border-color: #00f; animation: rotateReverse 6s linear infinite; }
.orbit2.blue { transform: rotate(-60deg); animation-duration: 7s; }
.orbit3.blue { transform: rotate(-120deg); animation-duration: 8s; }

@keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes rotateReverse { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }

.electron {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.orbit .electron { background-color: red; box-shadow: 0 0 20px red; }
.orbit.blue .electron { background-color: #00f; box-shadow: 0 0 20px #00f; }

/* nucleus Mobile Responsive Centering */
@media (max-width: 768px) {
  .nucleus {
    width: 140px;   /* shrink size on mobile */
    height: 140px;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .electron {
    width: 12px;
    height: 12px;
    top: -3px;
  }

  .orbit, .orbit2, .orbit3 {
    transform: scale(0.7); /* shrink orbits proportionally */
  }
}
/* end of neclues background */






  /* Unique wrapper */
.dashboard-widget {
  display: flex;
  align-items: center;
  gap: 5rem;
  justify-content: center;
  text-align: center;
  margin-top: 140px;
  height: 24vh;
  margin-bottom: -2rem;
  

  /* Force it to appear in front of background designs */
  position: relative;
  z-index: 0;
}

    .dashboard-widget .left {
      width: 35vh;
      height: 14vh;
      margin-top: 2rem;
      margin-left: 4rem;
    }

    .dashboard-widget .left h1 {
      font-size: 3rem;
      font-weight: 700;
    }

    .dashboard-widget .left p {
      font-size: 1rem;
      color: #aaa;
      margin-top: -2rem;
    }

    .dashboard-widget .right {
      display: flex;
      background: linear-gradient(145deg, #111, #222);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 0 20px rgba(255,255,255,0.05);
      height: 14vh;
      margin-right: 2rem;
    }

    .dashboard-widget .checkin {
      padding: 16px;
      border-right: 1px solid rgba(255,255,255,0.1);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .dashboard-widget .checkin h3 {
      margin: 0 0 10px;
      font-size: 1.2rem;
    }

    .dashboard-widget .points-badge {
      background: #ff2d2d;
      color: black;
      padding: 2px 8px;
      border-radius: 20px;
      
      font-size: 0.8rem;
      margin-left: 5px;
    }

    .dashboard-widget .checkin button {
      margin-top: 15px;
      background: #ff2d2d;
      color: black;
      border: none;
      padding: 10px 20px;
      font-size: 1rem;
      font-weight: bold;
      border-radius: 8px;
      cursor: pointer;
      transition: 0.2s;
    }

    .dashboard-widget .checkin button:disabled {
      background: #ff2d2d;
      color: white;
      cursor: not-allowed;
    }

    .dashboard-widget .points {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px 40px;
      font-size: 3rem;
      font-weight: bold;
      color: #fff;
    }

    .dashboard-widget .points small {
      display: block;
      font-size: 0.9rem;
      color: #aaa;
      text-align: center;
    }

   /* Mobile responsive adjustments */
@media (max-width: 768px) {
  .dashboard-widget {
    gap: 5rem;          /* smaller gap on tablet */
    margin-top: 20vh;   /* smaller top margin for mobile */
    height: 5vh;       /* reduced height */
    align-items: center; /* center items vertically */
    
  }
}

@media (max-width: 480px) {
  .dashboard-widget {
    gap: 2rem;          /* even smaller gap on small phones */
    margin-top: 20vh;   /* keep top margin */
    height: 16vh;       /* smaller height */
    align-items: center; /* vertical alignment */
  }
}


    

.task-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 100vh;
}







/* Card styling */
.task-card {
  background: linear-gradient(145deg, #111, #222);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(255,255,255,0.05);
  color: #fff;
  position: relative;
  min-height: 150px;
  width: 26rem;

  /* subtle fade-up animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}
.task-card:nth-child(1) { animation-delay: 0.1s; }
.task-card:nth-child(2) { animation-delay: 0.2s; }
.task-card:nth-child(3) { animation-delay: 0.3s; }
.task-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header with icon + text */
.task-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  margin-bottom: 10px;
}

.task-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.task-card h3 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
  line-height: 1;
}

.task-card .points {
  font-size: 1rem;
  font-weight: bold;
  color: #ff2d2d;
  margin-bottom: 8px;
}

.task-card p {
  font-size: 0.9rem;
  color: #aaa;
}




/* Buttons with pop animation */
.verify-btn,
.apply-btn {
  display: inline-block;   /* so <a> behaves like button */
  text-decoration: none;   /* remove underline */
  margin-top: 15px;
  background: #ff2d2d;
  color: black;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* Hover pop effect */
.verify-btn:hover,
.apply-btn:hover {
  background: #ff4444; /* lighter red on hover */
  transform: scale(1.08); /* pop up slightly */
  box-shadow: 0 0 15px rgba(255, 45, 45, 0.6);
}

/* Click (active) shrink */
.verify-btn:active,
.apply-btn:active {
  transform: scale(0.95); /* shrink slightly */
  box-shadow: 0 0 8px rgba(255, 45, 45, 0.4);
}

/* Unique styling per task */
.task-x { border-left: 3px solid #1da1f2; }       /* X accent */
.task-telegram { border-left: 3px solid #0088cc; }/* Telegram accent */
.task-blank { border: 2px dashed rgba(255,255,255,0.2); }
.task-social { border-left: 3px solid #0088cc; }  /* Social task accent */



/* Unique NFT Task Card */
.task-nft {
  background: #111;
  border: 2px solid #ff2d2d;
  border-radius: 12px;
  padding: 3.5rem;
  width: 21rem;          /* take full grid width */
  height: 5rem;         /* take full grid height */
  min-height: 450px;    /* make taller than others */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 45, 45, 0.5);
}

.task-nft-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ff2d2d;
  margin-bottom: 1rem;
}

.task-nft-image {
  width: 100%;
  height: auto;                 /* let height adjust naturally */
  max-height: 365px;            /* limit how tall the image gets */
  border: 1px dashed #ff2d2d;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;             /* background behind image */
  margin-top: 1rem;
  
}
.coming-soon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: bold;
  color: #ff2d2d;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
  z-index: 2;             /* ensure it's above the image */
  pointer-events: none;   /* text doesn’t block clicks */
}

.task-nft-image img {
  max-width: 100%;              /* no overflow */
  max-height: 100%;             /* keep aspect ratio */
  object-fit: contain;          /* fit inside without cropping */
  border-radius: 12px;
  
}

.mint-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #ff2d2d;
  color: black;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.2s;
  cursor: not-allowed;
  pointer-events: none; /* ensures it cannot be clicked */
}

.mint-btn:hover {
  background: #ff4747;
}

.mint-btn:active {
  transform: scale(0.95);
}





.task-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0.8rem 0 1rem;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  border: 1px solid rgba(255, 45, 45, 0.5);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  color: #eee;
}

.task-item span {
  flex: 1;
  text-align: left;
}

.red-btn {
  background: transparent; /* no solid fill, just icon */
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #ff2d2d;   /* red arrow */
  transition: transform 0.2s ease, color 0.2s ease;
}

.red-btn:hover {
  color: white;   /* brighter red */
  transform: translateX(3px); /* subtle move right */
}








.cyclix-leaderboard-container {
  grid-column: 1 / -1;   /* span full width of grid */
  max-width: 100%;       /* ignore .task-grid max-width */
}


.cyclix-leaderboard {
  width: 94%;            /* take almost full screen width */
  max-width: 100%;     /* cap it so it doesn’t stretch too wide */
  min-height: 77vh;      /* tall enough but not forcing full height */
  margin: 40px auto;     /* center horizontally */
  padding: 30px;
  background: #111;
  border-radius: 20px;
  color: white;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  position: relative;
}



.cyclix-leaderboard .curve-separator {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #ff004c, #ffcc00);
  border-bottom-left-radius: 50% 40px;
  border-bottom-right-radius: 50% 40px;
  z-index: 0;
}

.cyclix-leaderboard .leaderboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  margin-top: 1rem;
}

.cyclix-leaderboard .leaderboard-header h2 {
  font-size: 26px;
  color: #ffcc00;
  margin: 0;
}

.cyclix-leaderboard .leaderboard-header input {
  padding: 10px 14px;
  border-radius: 30px;
  border: 2px solid #ff004c;
  outline: none;
  font-size: 14px;
  width: 260px;
  transition: all 0.3s ease;
  background: #1a1a1a;
  color: #fff;
}

.cyclix-leaderboard .leaderboard-header input:focus {
  border-color: #ffcc00;
  background: #222;
  box-shadow: 0 0 8px rgba(255,204,0,0.6);
}

.cyclix-leaderboard .leaderboard-wrapper {
  max-height: 822px;
  overflow-y: auto;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

.cyclix-leaderboard table {
  width: 100%;
  border-collapse: collapse;
}

.cyclix-leaderboard th, 
.cyclix-leaderboard td {
  padding: 12px;
  text-align: center;
}

.cyclix-leaderboard thead {
  background: rgba(255, 204, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 2;
}

.cyclix-leaderboard tr:nth-child(even) {
  background: rgba(255,255,255,0.05);
}

.cyclix-leaderboard tr.highlight {
  background: rgba(255, 204, 0, 0.25);
  font-weight: bold;
}

.blurred {
  filter: blur(6px);
  color: rgba(255,255,255,0.4);
  user-select: none;
  pointer-events: none;
}

.cyclix-leaderboard .user-rank {
  
  font-size: 18px;
  text-align: right;
  color: #ffcc00;
}

.leaderboard-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid #333;
}

.leaderboard-item.highlight {
  background: rgba(0, 200, 255, 0.2);
  border: 2px solid #00c8ff;
  font-weight: bold;
}


/* ===== Background container ===== */
    .universe {
      position:fixed;
      top:0;left:0;width:100%;height:100%;
      z-index:-1;
      overflow:hidden;
      background:radial-gradient(circle at bottom, #000 0%, #0a0a0a 100%);
    }

    /* ===== Meteors ===== */
    .meteor {
      position:absolute;
      width:3px;
      height:80px;
      background:linear-gradient(45deg, rgba(255,255,255,1), rgba(255,255,255,0));
      border-radius:50%;
      opacity:0.8;
      animation:fall linear infinite;
    }

    @keyframes fall {
      0% { transform:translate3d(0,0,0) rotate(45deg); opacity:1; }
      100% { transform:translate3d(-500px,700px,0) rotate(45deg); opacity:0; }
    }

    /* Create many meteors with different delays */
    .meteor:nth-child(1){ top:10%; left:80%; animation-duration:2s; animation-delay:0s; }
    .meteor:nth-child(2){ top:20%; left:60%; animation-duration:3s; animation-delay:1s; }
    .meteor:nth-child(3){ top:5%;  left:40%; animation-duration:2.5s; animation-delay:0.5s; }
    .meteor:nth-child(4){ top:30%; left:70%; animation-duration:4s; animation-delay:2s; }
    .meteor:nth-child(5){ top:50%; left:90%; animation-duration:3s; animation-delay:1.5s; }
    .meteor:nth-child(6){ top:15%; left:20%; animation-duration:3.5s; animation-delay:1s; }
    .meteor:nth-child(7){ top:40%; left:10%; animation-duration:2.8s; animation-delay:0.8s; }
    .meteor:nth-child(8){ top:60%; left:30%; animation-duration:3.2s; animation-delay:2.5s; }
    .meteor:nth-child(9){ top:70%; left:50%; animation-duration:4s; animation-delay:3s; }
    .meteor:nth-child(10){ top:80%; left:75%; animation-duration:3s; animation-delay:1.2s; }

    /* ===== Planets ===== */
    .planet {
      position:absolute;
      border-radius:50%;
      animation:float 6s ease-in-out infinite alternate;
      box-shadow:0 0 40px rgba(255,255,255,0.3);
    }

    .planet.one {
      width:120px; height:120px;
      background:radial-gradient(circle, #ff3c3c, #660000);
      top:15%; left:8%;
      animation-duration:8s;
    }

    .planet.two {
      width:80px; height:80px;
      background:radial-gradient(circle, #0077ff, #001f4d);
      bottom:20%; right:12%;
      animation-duration:10s;
    }

    .planet.three {
      width:100px; height:100px;
      background:radial-gradient(circle, #ffdd55, #aa6600);
      top:70%; left:20%;
      animation-duration:12s;
    }

    @keyframes float {
      0% { transform:translateY(0) scale(1); }
      100% { transform:translateY(-20px) scale(1.05); }
    }

    /* ===== Mobile & Tablet Responsiveness ===== */
@media (max-width: 1024px) {
  /* Reduce planet sizes and reposition for tablets */
  .planet.one { width:90px; height:90px; top:12%; left:5%; }
  .planet.two { width:60px; height:60px; bottom:15%; right:8%; }
  .planet.three { width:80px; height:80px; top:65%; left:15%; }

  /* Adjust meteor animation end positions for smaller screens */
  @keyframes fall {
    0% { transform:translate3d(0,0,0) rotate(45deg); opacity:1; }
    100% { transform:translate3d(-300px,500px,0) rotate(45deg); opacity:0; }
  }

  .meteor { width:2px; height:50px; }
}

@media (max-width: 768px) {
  /* Further reduce planet sizes and reposition for phones */
  .planet.one { width:70px; height:70px; top:10%; left:5%; }
  .planet.two { width:50px; height:50px; bottom:12%; right:5%; }
  .planet.three { width:60px; height:60px; top:60%; left:10%; }

  /* Meteors smaller and faster for mobile */
  .meteor { width:1.5px; height:40px; }

  .meteor:nth-child(1){ animation-duration:1.5s; }
  .meteor:nth-child(2){ animation-duration:2s; }
  .meteor:nth-child(3){ animation-duration:1.8s; }
  .meteor:nth-child(4){ animation-duration:2.5s; }
  .meteor:nth-child(5){ animation-duration:2s; }
  .meteor:nth-child(6){ animation-duration:2.2s; }
  .meteor:nth-child(7){ animation-duration:1.7s; }
  .meteor:nth-child(8){ animation-duration:2.1s; }
  .meteor:nth-child(9){ animation-duration:2.5s; }
  .meteor:nth-child(10){ animation-duration:2s; }
}

@media (max-width: 480px) {
  /* Tiny screens adjustments */
  .planet.one { width:50px; height:50px; top:8%; left:4%; }
  .planet.two { width:40px; height:40px; bottom:10%; right:4%; }
  .planet.three { width:50px; height:50px; top:55%; left:8%; }

  .meteor { width:1px; height:30px; }

  /* Optional: reduce z-index intensity or shadow for performance */
  .planet { box-shadow:0 0 20px rgba(255,255,255,0.2); }
}

/* ===== Responsive sizing ===== */
@media (max-width: 1024px) {
  .atom {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 768px) {
  .atom {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .atom {
    width: 50px;
    height: 50px;
  }
}

/* Floating animation around center */
@keyframes float {
  0% { transform: translate(-50%, -50%) translateY(0) scale(1); }
  100% { transform: translate(-50%, -50%) translateY(-20px) scale(1.05); }
}






    /* ===== Curved <hr> separator ===== */
    .styled-hr{
      position:relative;border:0;height:0;width:100%;max-width:1400px;margin:0 0 3rem 0;
    }
    .styled-hr::before{
      content:"";display:block;width:100%;height:110px;
      background:
        url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' x2='1' y1='0' y2='0'><stop offset='0' stop-color='%23ff3131'/><stop offset='0.6' stop-color='%230077ff'/><stop offset='1' stop-color='%230a0a0a'/></linearGradient></defs><path d='M0,80 C240,40 480,120 720,80 C960,40 1200,120 1440,80 L1440,120 L0,120 Z' fill='url(%23g)'/></svg>")
        no-repeat center/100% 100%;
      filter: drop-shadow(0 6px 14px rgba(0,0,0,.55));
    }

    /* ===== Cards ===== */
    .airdrop-rules{
      display:flex;flex-direction:column;align-items:center;gap:3rem;padding:2rem;text-align:center;z-index:5;
    }

    .rule-card{
      background:#111;color:#fff;border-radius:1.2rem;padding:2.5rem;
      box-shadow:0 10px 20px rgba(0,0,0,.5);
      transition:transform .3s ease, box-shadow .3s ease;
    }
    .rule-card:hover{ transform:translateY(-8px) scale(1.05); box-shadow:0 14px 28px rgba(0,0,0,.7) }

    .rule-card h3{ margin:0; font-size:1.6rem; color:#ff3131 }
    .rule-card p{ font-size:2rem; margin:.75rem 0; font-weight:700 }
    .rule-card small{ display:block; margin-top:.8rem; font-size:1rem; color:#ccc; line-height:1.5 }

    .rule-card.main{ background:linear-gradient(135deg,#d00000,#000); width:380px }
    .rule-card .arrow{ margin-top:1.2rem; font-size:1.4rem; color:#00b4ff; font-weight:700 }

    .rule-subcards{ display:flex; gap:10rem; flex-wrap:wrap; justify-content:center }
    .rule-card.sub{ width:260px; font-size:1rem }
    .rule-card.sub.red{ background:linear-gradient(135deg,#ff3131,#111) }
    .rule-card.sub.blue{ background:linear-gradient(135deg,#0077ff,#111) }

    /* Step 4: Earn */
    .rule-card.earn{
      width:380px;
      background:
        linear-gradient(135deg,#111,#111) padding-box,
        linear-gradient(135deg,#0077ff,#ff3131) border-box;
      border:2px solid transparent;
    }

    /* Responsive */
    @media (max-width:768px){
      .rule-card.main,.rule-card.sub,.rule-card.earn{ width:95% }
      .rule-subcards{ flex-direction:column; gap:1.5rem }
    }

    /* Tablet & Small Desktop */
@media (max-width: 768px) {
  body {
    padding: 1.5rem;
  }

  .rule-card.main,
  .rule-card.sub,
  .rule-card.earn {
    width: 95%;
    padding: 2rem;
  }

  .rule-subcards {
    flex-direction: column;
    gap: 1.5rem;
  }

  .rule-card h3 {
    font-size: 1.4rem;
  }

  .rule-card p {
    font-size: 1.6rem;
  }

  .rule-card small {
    font-size: 0.9rem;
  }
}

/* Large Mobile */
@media (max-width: 620px) {
  .planet.one {
    width: 90px;
    height: 90px;
    top: 10%;
    left: 5%;
  }

  .planet.two {
    width: 60px;
    height: 60px;
    bottom: 15%;
    right: 8%;
  }

  .planet.three {
    width: 70px;
    height: 70px;
    top: 65%;
    left: 15%;
  }

  .rule-card {
    padding: 1.8rem;
  }

  .rule-card h3 {
    font-size: 1.2rem;
  }

  .rule-card p {
    font-size: 1.4rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  body {
    padding: 1rem;
  }

  .airdrop-rules {
    gap: 2rem;
  }

  .rule-card.main,
  .rule-card.sub,
  .rule-card.earn {
    width: 100%;
    padding: 1.5rem;
  }

  .rule-card h3 {
    font-size: 1rem;
  }

  .rule-card p {
    font-size: 1.2rem;
  }

  .rule-card small {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .rule-card .arrow {
    font-size: 1rem;
  }
}

.site-footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 3rem 2rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  max-width: 100%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-left h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  text-align: center;
}

.footer-left h2 span {
  color: #ff3131; /* highlight red */
}

.footer-left p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #999;
}

.footer-right {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ff3131; /* blue accent */
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: gray; /* hover red */
}

.footer-bottom {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;       /* centers vertically */
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #777;
}

.footer-bottom .brand {
  color: #ff3131;
  font-weight: 600;
}



.disabled-link {
  pointer-events: none;  /* disables clicks */
  opacity: 0.6;          /* makes it look slightly faded */
  cursor: not-allowed;   /* show "disabled" cursor */
}


   /* Floating ? Button */
  #red-info-btn {
    position: fixed !important;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #e60012;
    color: white;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
    z-index: 99999 !important;
  }

  /* Responsive */
@media (max-width: 768px) {
  #red-info-btn {
    bottom: 20px;       /* slightly higher */
    right: 20px;
    width: 70px;        /* bigger button for visibility */
    height: 70px;
    font-size: 32px;    /* bigger "?" */
  }
}

@media (max-width: 480px) {
  #red-info-btn {
    bottom: 15px;
    right: 15px;
    width: 80px;        /* very visible on small phones */
    height: 80px;
    font-size: 36px;
  }
}

  #red-info-btn:hover {
    transform: scale(1.1);
    background: #ff1a1a;
  }

  /* Popup Overlay */
  #red-info-popup {
    position: fixed !important;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    animation: red-info-fadeIn 0.3s;
    z-index: 99998 !important;
  }

  /* Popup Content */
  .red-info-popup-content {
    background: #fff;
    width: 80%;
    max-width: 2000px;
    height: 830px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    animation: red-info-slideUp 0.3s ease;
  }

  .red-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e60012;
    color: white;
    padding: 10px 20px;
  }

  .red-info-header button {
    background: transparent;
    color: white;
    font-size: 20px;
    border: none;
    cursor: pointer;
  }

  .red-info-body {
    display: flex;
    height: 350px;
  }

  .red-info-sidebar {
    width: 25%;
    background: #f8f8f8;
    border-right: 1px solid #ddd;
    padding: 20px;
    height: 700px;
  }

  .red-info-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .red-info-sidebar li {
    padding: 10px 0;
    cursor: pointer;
    color: #333;
    font-weight: 500;
  }

  .red-info-sidebar li.red-info-active {
    color: #e60012;
  }

  .red-info-sidebar li.red-info-disabled {
    color: #aaa;
    cursor: not-allowed;
  }

  .red-info-content {
    width: 65%;
    padding: 20px;
    overflow-y: auto;
    height: 700px;
  }

  .red-info-content h3 {
    color: #e60012;
    margin-bottom: 10px;
  }

  @keyframes red-info-fadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
  }

  @keyframes red-info-slideUp {
    from { transform: translateY(40px); opacity: 0 }
    to { transform: translateY(0); opacity: 1 }
  }

 .project-info-p {
  color: #000 !important;
  font-weight: 500;
  opacity: 1 !important;
  text-shadow: none !important;
  line-height: 1.6;
  font-size: 15px;
  text-align: left !important;  /* ✅ force left alignment */
}