/* ===== RESET & GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rajdhani", sans-serif;
  background: #0a0a14;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== PARTICLE BACKGROUND ===== */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: radial-gradient(ellipse at bottom, #0a0a14 0%, #000000 100%);
}

/* ===== ENHANCED CTF TIMELINE SECTION ===== */
.ctf-timeline-section {
  padding: 100px 20px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ctf-timeline-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  animation: headerEntrance 1s ease-out forwards;
  opacity: 0;
  transform: translateY(-30px);
}

@keyframes headerEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ctf-timeline-header h2 {
  font-size: 3.5rem;
  font-family: "Orbitron", sans-serif;
  background: linear-gradient(90deg, #00ff9d, #00b8ff, #ff00d4, #ffaa00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(0, 255, 157, 0.3);
  margin-bottom: 20px;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
}

.ctf-timeline-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00ff9d, transparent);
}

.ctf-timeline-header p {
  color: #aaa;
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-family: "Share Tech Mono", monospace;
}

/* ===== ENHANCED LEVELS CONTAINER ===== */
.ctf-levels-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

/* Timeline Vertical Line with Animation */
.ctf-timeline-line {
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    #00ff9d 0%,
    #00b8ff 25%,
    #ff00d4 50%,
    #ffaa00 75%,
    #00ff9d 100%
  );
  z-index: -1;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
  animation: timelinePulse 4s infinite ease-in-out;
}

@keyframes timelinePulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 157, 0.6);
  }
}

/* ===== ENHANCED LEVEL CARDS ===== */
.ctf-level {
  background: linear-gradient(
    145deg,
    rgba(15, 20, 30, 0.95),
    rgba(5, 10, 20, 0.95)
  );
  border-radius: 20px;
  border-left: 8px solid;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  perspective: 1000px;
  opacity: 0;
  transform: translateX(-50px);
  animation: levelEntrance 0.8s ease-out forwards;
}

.ctf-level:nth-child(1) {
  animation-delay: 0.2s;
}
.ctf-level:nth-child(2) {
  animation-delay: 0.4s;
}
.ctf-level:nth-child(3) {
  animation-delay: 0.6s;
}
.ctf-level:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes levelEntrance {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.ctf-level:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ctf-level::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.5;
}

.level-1 {
  border-color: #00ff9d;
  --glow-color: rgba(0, 255, 157, 0.3);
}

.level-2 {
  border-color: #00b8ff;
  --glow-color: rgba(0, 184, 255, 0.3);
}

.level-3 {
  border-color: #ff00d4;
  --glow-color: rgba(255, 0, 212, 0.3);
}

.level-4 {
  border-color: #ffaa00;
  --glow-color: rgba(255, 170, 0, 0.3);
}

/* Floating particles behind each level */
.level-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--glow-color);
  opacity: 0;
}

/* ===== ENHANCED LEVEL HEADER ===== */
.level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  flex-wrap: wrap;
  gap: 20px;
}

.level-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.level-number-container {
  position: relative;
  width: 70px;
  height: 70px;
}

.level-number {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  font-family: "Orbitron", sans-serif;
  color: #000;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px currentColor, inset 0 5px 10px rgba(255, 255, 255, 0.3);
  animation: numberGlow 3s infinite alternate;
}

@keyframes numberGlow {
  from {
    box-shadow: 0 0 20px currentColor, inset 0 5px 10px rgba(255, 255, 255, 0.3);
  }
  to {
    box-shadow: 0 0 40px currentColor, inset 0 5px 10px rgba(255, 255, 255, 0.5);
  }
}

.level-number-ring {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  border-radius: 50%;
  border: 3px solid;
  opacity: 0.3;
  animation: rotateRing 20s linear infinite;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.level-1 .level-number {
  background: #00ff9d;
}
.level-2 .level-number {
  background: #00b8ff;
}
.level-3 .level-number {
  background: #ff00d4;
}
.level-4 .level-number {
  background: #ffaa00;
}

.level-name {
  font-size: 2.2rem;
  font-family: "Orbitron", sans-serif;
  color: #fff;
  text-shadow: 0 0 10px currentColor;
  position: relative;
  display: inline-block;
}

.level-name::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.6s ease;
}

.ctf-level:hover .level-name::after {
  width: 100%;
}

.level-time {
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.level-time::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.7s ease;
}

.ctf-level:hover .level-time::before {
  left: 100%;
}

.level-time i {
  color: #ffcc00;
  font-size: 1.3rem;
}

/* ===== ENHANCED LEVEL CONTENT ===== */
.level-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .level-content {
    grid-template-columns: 1fr;
  }

  .ctf-timeline-line {
    left: 30px;
  }
}

.level-challenges,
.level-connection {
  background: rgba(25, 30, 40, 0.6);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.level-challenges:hover,
.level-connection:hover {
  transform: translateY(-5px);
}

.level-challenges::before,
.level-connection::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: currentColor;
}

.level-challenges::before {
  background: #00ff9d;
}
.level-connection::before {
  background: #00b8ff;
}

.level-challenges h4,
.level-connection h4 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 1.5rem;
  font-family: "Orbitron", sans-serif;
  display: flex;
  align-items: center;
  gap: 15px;
  text-shadow: 0 0 10px currentColor;
}

.level-challenges h4 i {
  color: #00ff9d;
}
.level-connection h4 i {
  color: #00b8ff;
}

/* Enhanced Challenge Items */
.challenge-item {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.challenge-item::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 157, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.challenge-item:hover::before {
  left: 100%;
}

.challenge-item:hover {
  padding-left: 10px;
  padding-right: 10px;
}

.challenge-name {
  color: #ddd;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.challenge-name i {
  font-size: 0.9rem;
  color: #00ff9d;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.challenge-item:hover .challenge-name i {
  opacity: 1;
}

.challenge-points {
  color: #ffcc00;
  font-weight: 700;
  font-size: 1.1rem;
  background: rgba(255, 204, 0, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  border: 1px solid rgba(255, 204, 0, 0.2);
  transition: all 0.3s ease;
}

.challenge-item:hover .challenge-points {
  background: rgba(255, 204, 0, 0.2);
  transform: scale(1.05);
}

/* Enhanced Connection Details */
.connection-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.connection-ip {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(0, 184, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.connection-ip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 184, 255, 0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.connection-ip:hover::before {
  opacity: 1;
}

.ip-address {
  font-family: "Share Tech Mono", monospace;
  color: #00ff00;
  font-size: 1.2rem;
  word-break: break-all;
  padding-right: 20px;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
  animation: textGlitch 5s infinite;
}

@keyframes textGlitch {
  0%,
  100% {
    transform: translateX(0);
  }
  95% {
    transform: translateX(0);
  }
  96% {
    transform: translateX(-2px);
  }
  97% {
    transform: translateX(2px);
  }
  98% {
    transform: translateX(-1px);
  }
  99% {
    transform: translateX(1px);
  }
}

.copy-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.copy-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
}

.copy-btn:hover::before {
  left: 100%;
}

.copy-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.5);
}

.copy-btn.copied {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
  animation: copyPulse 0.5s ease;
}

@keyframes copyPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.connection-link {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.7;
}

.connection-link a {
  color: #00b8ff;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.connection-link a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #00ff9d;
  transition: width 0.4s ease;
}

.connection-link a:hover {
  color: #00ff9d;
}

.connection-link a:hover::after {
  width: 100%;
}

/* ===== ENHANCED LEVEL STATUS ===== */
.level-status {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.status-indicator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: currentColor;
  opacity: 0.1;
}

.status-indicator i {
  font-size: 1.2rem;
}

.status-active {
  color: #00ff00;
  border: 1px solid rgba(0, 255, 0, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.4);
  }
}

.status-upcoming {
  color: #ffcc00;
  border: 1px solid rgba(255, 204, 0, 0.3);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.1);
}

.status-completed {
  color: #ff5555;
  border: 1px solid rgba(255, 85, 85, 0.3);
  box-shadow: 0 0 20px rgba(255, 85, 85, 0.1);
}

.level-progress {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #ddd;
  font-size: 1rem;
  font-weight: 600;
}

.progress-container {
  position: relative;
}

.progress-bar {
  width: 200px;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .progress-bar {
    width: 150px;
  }
}

.progress-fill {
  height: 100%;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: width 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.progress-fill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: progressShine 2s infinite linear;
}

@keyframes progressShine {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

.level-1 .progress-fill {
  background: linear-gradient(90deg, #00ff9d, #00e68a);
  width: 25%;
}

.level-2 .progress-fill {
  background: linear-gradient(90deg, #00b8ff, #0099d6);
  width: 50%;
}

.level-3 .progress-fill {
  background: linear-gradient(90deg, #ff00d4, #d400b3);
  width: 75%;
}

.level-4 .progress-fill {
  background: linear-gradient(90deg, #ffaa00, #e69500);
  width: 100%;
}

.progress-percentage {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  min-width: 50px;
  text-align: right;
}

/* ===== ENHANCED COPY NOTIFICATION ===== */
.copy-notification {
  position: fixed;
  top: 30px;
  right: 30px;
  background: linear-gradient(
    135deg,
    rgba(0, 20, 40, 0.95),
    rgba(0, 10, 30, 0.95)
  );
  color: #00ff00;
  padding: 20px 30px;
  border-radius: 12px;
  border-left: 5px solid #00ff00;
  display: none;
  align-items: center;
  gap: 15px;
  z-index: 10000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 0, 0.2);
  transform: translateX(100%);
}

.copy-notification.show {
  display: flex;
  animation: notificationSlide 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)
    forwards;
}

@keyframes notificationSlide {
  to {
    transform: translateX(0);
  }
}

.copy-notification i {
  font-size: 1.5rem;
  animation: notificationIcon 1s infinite;
}

@keyframes notificationIcon {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(10, 10, 20, 0.9);
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(0, 255, 157, 0.1);
  margin-top: 50px;
}

.footer-content p {
  color: #aaa;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .ctf-timeline-section {
    padding: 60px 15px;
  }

  .ctf-timeline-header h2 {
    font-size: 2.5rem;
  }

  .ctf-timeline-header p {
    font-size: 1.1rem;
  }

  .level-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .level-number-container {
    width: 60px;
    height: 60px;
  }

  .level-name {
    font-size: 1.8rem;
  }

  .level-content {
    padding: 0 10px;
  }

  .level-challenges,
  .level-connection {
    padding: 20px;
  }

  .level-status {
    flex-direction: column;
    align-items: flex-start;
  }

  .progress-bar {
    width: 100%;
  }

  .copy-notification {
    top: 20px;
    right: 20px;
    left: 20px;
    transform: translateY(-100%);
  }

  .copy-notification.show {
    animation: notificationSlideMobile 0.5s
      cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  }

  @keyframes notificationSlideMobile {
    to {
      transform: translateY(0);
    }
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.ctf-level {
  will-change: transform, opacity;
}

/* Level connectors for timeline */
.level-connector {
  position: absolute;
  left: 77px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid;
  z-index: 1;
}

.level-1 .level-connector {
  top: 80px;
  border-color: #00ff9d;
  box-shadow: 0 0 20px #00ff9d;
}

.level-2 .level-connector {
  top: 80px;
  border-color: #00b8ff;
  box-shadow: 0 0 20px #00b8ff;
}

.level-3 .level-connector {
  top: 80px;
  border-color: #ff00d4;
  box-shadow: 0 0 20px #ff00d4;
}

.level-4 .level-connector {
  top: 80px;
  border-color: #ffaa00;
  box-shadow: 0 0 20px #ffaa00;
}

/* Particle animation keyframes */
@keyframes floatParticle {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.1;
  }
  25% {
    transform: translate(var(--tx1), var(--ty1)) scale(1.2);
  }
  50% {
    transform: translate(var(--tx2), var(--ty2)) scale(0.8);
  }
  75% {
    transform: translate(var(--tx3), var(--ty3)) scale(1.1);
  }
}

/* ===== STATUS BUTTONS STYLES ===== */
.status-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  min-width: 150px;
}

.status-indicator-wrapper {
  display: flex;
  gap: 8px;
  position: relative;
}

.status-btn {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  min-width: 90px;
  justify-content: center;
  position: relative;
  overflow: hidden;
  opacity: 0.3;
}

.status-btn.active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: default;
}

.status-btn.stopped {
  background: linear-gradient(135deg, #ff4444, #cc0000);
  color: white;
  border: 1px solid rgba(255, 68, 68, 0.3);
}

.status-btn.waiting {
  background: linear-gradient(135deg, #ffcc00, #ff9900);
  color: #333;
  border: 1px solid rgba(255, 204, 0, 0.3);
}

.status-btn.running {
  background: linear-gradient(135deg, #44ff44, #00cc00);
  color: white;
  border: 1px solid rgba(68, 255, 68, 0.3);
}

/* Button states for active/inactive */
.status-btn:not(.active) {
  background: rgba(100, 100, 100, 0.2) !important;
  color: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Pulse animation for active button */
.pulse-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  animation: statusPulse 2s infinite;
  opacity: 0.5;
  pointer-events: none;
}

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
  }
}

.stopped.active .pulse-effect {
  animation: stoppedPulse 2s infinite;
}

.waiting.active .pulse-effect {
  animation: waitingPulse 2s infinite;
}

.running.active .pulse-effect {
  animation: runningPulse 2s infinite;
}

@keyframes stoppedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
  }
}

@keyframes waitingPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 204, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
  }
}

@keyframes runningPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(68, 255, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(68, 255, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(68, 255, 68, 0);
  }
}

/* Text animation for status change */
.status-change-animation {
  position: absolute;
  top: -20px;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  animation: slideDown 0.5s ease-out forwards;
  z-index: 10;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Timeline for status changes */
.status-timeline {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
}

.timeline-dot.active {
  background: currentColor;
  transform: scale(1.2);
}

.timeline-line {
  height: 2px;
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.timeline-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: currentColor;
  animation: timelineFill 10s linear forwards;
}

@keyframes timelineFill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Level-specific timing indicators */
.status-timer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
  font-family: "Share Tech Mono", monospace;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .status-buttons-container {
    width: 100%;
    align-items: stretch;
  }

  .status-indicator-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .status-btn {
    flex: 1;
    min-width: auto;
  }
}

.ip-address {
  pointer-events: none;
}

.copy-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.copy-btn:disabled:hover {
  background: inherit;
  box-shadow: none;
}

.copy-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}

















































* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: #000;
  position: relative;
  z-index: 0;
  padding-top: 10%;
  font-family: "Poppins", sans-serif;
  background: #000;
  overflow-x: hidden;
}

/* header-nav */
.header-nav {
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  
  /* Blurred, transparent background */
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  
  border: 1px solid rgba(255, 255, 255, 0.125);
  z-index: 9999;
  transition: 0.4s;
}

/* brandings */
.branding {
  display: flex;
  align-items: center;
  gap: 0 15px;
  margin-right: auto;
}

a {
  text-decoration: none;
  color: #e6dcdc;
}

.header-nav .branding img {
  display: inline-block;
  width: 80px;
  height: auto;
  transition: width 0.4s;
}

/* flag forge text - Smaller font size */
.brand-name {
  font-size: 18px; /* Reduced from 28px */
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #0fd850;
  text-align: center;
  position: relative;
  animation: glow 2s ease-in-out infinite alternate, flicker 3s infinite;
  text-shadow: 0 0 10px #0fd850, 0 0 20px #0fd850, 0 0 30px #0fd850;
  white-space: nowrap;
}

/* Neon glow animation */
@keyframes glow {
  from {
    text-shadow: 0 0 5px #0fd850, 0 0 10px #0fd850, 0 0 15px #0fd850;
  }
  to {
    text-shadow: 0 0 20px #0fd850, 0 0 40px #0fd850, 0 0 60px #0fd850;
  }
}

/* Random flicker effect for hacker vibe */
@keyframes flicker {
  0%,
  18%,
  22%,
  25%,
  53%,
  57%,
  100% {
    opacity: 1;
  }
  20%,
  24%,
  55% {
    opacity: 0.3;
  }
}

/* Fixed line animation */
/* .brand-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -25px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0fd850, #f9f047);
  animation: moveLine 2s ease-in-out infinite;
  border-radius: 5px;
  opacity: 0;
} */

@keyframes moveLine {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* nav-buttons */
.header-nav .nav-buttons {
  display: flex;
  gap: 0 18px;
  margin-right: 0;
}

.nav-btn {
  font-size: 1.1rem;
  color: #f3efef;
  transition: background-color 0.3s;
  transition: all 0.3s;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 12px;
}

.nav-btn2 {
  width: 9em;
  height: 3em;
  border-radius: 30em;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid white;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 6px 6px 12px #c5c5c5, 2px 2px -5px #ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: all 1s ease;
}
.nav-btn2::before {
  content: "";
  width: 0;
  height: 3em;
  border-radius: 30em;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(to right, #0fd850 0%, #f9f047 100%);
  transition: width 0.5s ease;
  display: block;
  z-index: -1;
}
.nav-btn2:hover::before {
  width: 9em;
  color: black;
}

.nav-btn2:hover {
  color: black;
  box-shadow: 0 0 20px rgba(249, 240, 71, 0.8), 0 0 40px rgba(15, 216, 80, 0.5);
}

.nav-btn3 {
  width: 15em;
  height: 3.2em;
  border-radius: 30em;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid white;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 6px 6px 12px #c5c5c5, 2px 2px -5px #ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: all 0.8s ease;
}

.nav-btn3::before {
  content: "";
  width: 0;
  height: 100%;
  border-radius: 30em;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(to right, #0fd850 0%, #f9f047 100%);
  transition: width 0.8s ease;
  display: block;
  z-index: -1;
}

.nav-btn3:hover::before {
  width: 100%;
}

.nav-btn3:hover {
  color: black;
  box-shadow: 0 0 25px rgba(249, 240, 71, 0.8), 0 0 50px rgba(15, 216, 80, 0.5);
}

/* download brochure */
.nav-btn4 {
  width: 15em;
  height: 3em;
  border-radius: 30em;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid white;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 6px 6px 12px #c5c5c5, 2px 2px -5px #ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: all 1s ease;
  white-space: nowrap;
  text-align: center;
  padding: 0 1rem;
}
.nav-btn4::before {
  content: "";
  width: 0;
  height: 3em;
  border-radius: 30em;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(to right, #0fd850 0%, #f9f047 10%);
  transition: width 0.5s ease;
  display: block;
  z-index: -1;
}
.nav-btn4:hover::before {
  width: 15em;
  color: black;
}

.nav-btn4:hover {
  color: black;
  box-shadow: 0 0 20px rgba(249, 240, 71, 0.8), 0 0 40px rgba(15, 216, 80, 0.5);
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .brand-name {
    font-size: 16px;
    letter-spacing: 1px;
  }
  
  .header-nav .branding img {
    width: 70px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    padding: 0.8rem 1rem;
  }
  
  .brand-name {
    font-size: 14px;
    letter-spacing: 0.5px;
  }
  
  .header-nav .branding img {
    width: 60px;
  }
  
  /* Hide brochure and registration buttons in navbar on mobile */
  .header-nav .nav-buttons {
    display: none;
  }
  
  /* Show hamburger menu */
  .mobile-menu-toggle {
    display: block !important;
    background: none;
    border: none;
    color: #0fd850;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  
  .header-nav .branding img {
    width: 50px;
  }
  
  .header-nav {
    padding: 0.6rem 0.8rem;
  }
}

/* Hamburger menu styles */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 255, 136, 0.3);
  z-index: 9998;
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.mobile-nav-buttons .nav-btn2,
.mobile-nav-buttons .nav-btn3 {
  width: 200px;
  margin: 0 auto;
}






















