/* Add a background gradient */
body {
    background: linear-gradient(to right, #f8f9fa, #e0eafc);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 30px;
}

/* Customize the navbar */
.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #ffffff !important;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Change link hover effects */
.nav-link:hover {
    color: #0d6efd !important;
    text-decoration: underline;
}

/* Stylish buttons */
.btn-custom {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.btn-custom:hover {
    background-color: #0b5ed7;
    transform: scale(1.05);
}

/* Footer styling */
footer {
    background-color: #212529;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    border-radius: 6px;
}


/*LOADING */
/* From Uiverse.io by andrew-demchenk0 */ 
.glitch {
  position: relative;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 5px;
  z-index: 1;
  animation: shift 1s ease-in-out infinite alternate;
}

.glitch:before,
.glitch:after {
  display: block;
  content: attr(data-glitch);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
}

.glitch:before {
  animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
  color: #8b00ff;
  z-index: -1;
}

.glitch:after {
  animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
  color: #00e571;
  z-index: -2;
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }

  20% {
    transform: translate(-3px, 3px);
  }

  40% {
    transform: translate(-3px, -3px);
  }

  60% {
    transform: translate(3px, 3px);
  }

  80% {
    transform: translate(3px, -3px);
  }

  to {
    transform: translate(0);
  }
}

@keyframes shift {
  0%, 40%, 44%, 58%, 61%, 65%, 69%, 73%, 100% {
    transform: skewX(0deg);
  }

  41% {
    transform: skewX(10deg);
  }

  42% {
    transform: skewX(-10deg);
  }

  59% {
    transform: skewX(40deg) skewY(10deg);
  }

  60% {
    transform: skewX(-40deg) skewY(-10deg);
  }

  63% {
    transform: skewX(10deg) skewY(-5deg);
  }

  70% {
    transform: skewX(-50deg) skewY(-20deg);
  }

  71% {
    transform: skewX(10deg) skewY(-10deg);
  }
}
.loader-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 2s ease; /* Adjust time here */
  pointer-events: all;
}

.loader-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}


.loader-screen.hidden {
  opacity: 0;
  pointer-events: none;
}
.btn-mission {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  background-color: #222;
  color: #0d6efd;
  border: 2px solid #0d6efd;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}
.btn-mission:hover {
  background-color: #0d6efd;
  color: white;
}

body {
  background: linear-gradient(135deg, #0f0f0f, #1f0033);
  font-family: 'Orbitron', sans-serif;
  color: #00ffea;
  text-align: center;
  padding: 50px;
}

.container {
  max-width: 700px;
  margin: auto;
}

.glitch {
  position: relative;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 4px;
  color: #fff;
  animation: shift 1s ease-in-out infinite alternate;
  font-size: 2rem;
  color: #00ffee;
  text-align: center;
  text-shadow: 0 0 5px #00ffee;
}

.glitch::before,
.glitch::after {
  content: attr(data-glitch);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.8;
}

.glitch::before {
  color: #ff00ff;
  z-index: -1;
  animation: glitch 0.4s infinite;
}

.glitch::after {
  color: #00ffff;
  z-index: -2;
  animation: glitch 0.4s infinite reverse;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

@keyframes shift {
  0%, 40%, 44%, 58%, 61%, 65%, 100% { transform: skewX(0deg); }
  41% { transform: skewX(10deg); }
  42% { transform: skewX(-10deg); }
  59% { transform: skewX(20deg); }
  60% { transform: skewX(-20deg); }
}

.btn-mission {
  display: block;
  width: 80%;
  margin: 20px auto;
  padding: 15px;
  border: 2px solid #0ff;
  background-color: transparent;
  color: #0ff;
  font-size: 20px;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-mission:hover {
  background-color: #0ff;
  color: #000;
  cursor: pointer;
}

.description {
  text-align: center;
  font-size: 16px;
  color: #a0fcd9;
  margin: 20px auto 0;
  max-width: 600px;
  min-height: 40px;
}

#back-button {
  margin-top: 40px;
  background-color: #ff004c;
  color: #fff;
  padding: 10px 20px;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  transition: 0.3s;
}

#back-button:hover {
  background-color: #ff6699;
  cursor: pointer;
}

html, body {
  height: 100%;
  margin: 0;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 25vh;
}

footer {
  margin-top: auto;
  background-color: #212529;
  color: white;
  padding: 20px;
  text-align: center;
  border-top: 2px solid #0ff; /* Cyberpunk glow optional */
}

.controls-panel {
  margin: 40px auto;
  padding: 20px;
  border: 2px solid #00ffff;
  background: rgba(0, 0, 0, 0.5);
  max-width: 500px;
  color: #00ffee;
  border-radius: 8px;
  font-family: 'Orbitron', monospace;
  box-shadow: 0 0 12px #00ffee;
}

.controls-panel h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.controls-list {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.controls-list li {
  padding: 6px 0;
  border-bottom: 1px dotted #00ffee3b;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.key {
  display: inline-block;
  background: #000;
  border: 2px solid #0ff;
  color: #0ff;
  padding: 2px 8px;
  margin-right: 12px;
  font-size: 14px;
  border-radius: 4px;
  box-shadow: 0 0 5px #0ff;
}

.btn-season {
  display: block;
  width: 85%;
  margin: 20px auto;
  padding: 15px;
  background-color: transparent;
  border: 2px solid #0ff;
  color: #0ff;
  font-size: 20px;
  font-family: 'Orbitron', monospace;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
  text-shadow: 0 0 4px #0ff;
}

.btn-season:hover {
  background-color: #0ff;
  color: #000;
  box-shadow: 0 0 10px #00fdfd;
  cursor: pointer;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

body {
  background: linear-gradient(135deg, #0f0f1a, #1a002f);
  font-family: 'Orbitron', sans-serif;
  color: #00ffee;
  margin: 0;
  overflow-x: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* or center */
  align-items: center;
  min-height: 100vh; /* makes the container take full screen height */
  padding: 20px;
  box-sizing: border-box;
}

.glitch {
  position: relative;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #fff;
  animation: shift 1s ease-in-out infinite alternate;
}

.glitch::before,
.glitch::after {
  content: attr(data-glitch);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
}

.glitch::before {
  color: #ff00ff;
  z-index: -1;
  animation: glitch 0.3s infinite;
}

.glitch::after {
  color: #00ffff;
  z-index: -2;
  animation: glitch 0.3s infinite reverse;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

@keyframes shift {
  0%, 40%, 100% { transform: skewX(0deg); }
  41% { transform: skewX(15deg); }
  42% { transform: skewX(-15deg); }
  60% { transform: skewX(5deg); }
}

.carousel {
  position: relative;
  max-width: 800px;
  margin: 50px auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.season {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transition: transform 0.6s ease, opacity 0.4s ease;
}


.season.active {
  display: flex;
  animation: slideIn 0.6s ease;
}

.season img {
  max-width: 100%;
  border: 4px solid #00ffee;
  box-shadow: 0 0 10px #0ff;
  border-radius: 8px;
}

.season h2 {
  margin-top: 20px;
  color: #0ff;
  text-shadow: 0 0 8px #0ff;
}

.description {
  margin-top: 10px;
  font-size: 16px;
  max-width: 600px;
  color: #a0fcd9;
}

.nav {
  background: none;
  border: none;
  font-size: 30px;
  color: #0ff;
  cursor: pointer;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.nav:hover {
  color: #fff;
  text-shadow: 0 0 8px #0ff;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .carousel {
    flex-direction: column;
  }
  .nav {
    margin: 20px;
  }
}

.season.blocked img {
  filter: grayscale(100%) brightness(0.4) contrast(1.5);
  opacity: 0.6;
}

.season.blocked h2 {
  color: #ff0055;
  text-shadow: 0 0 8px #ff0055;
}

.season.blocked .description {
  color: #ffb3c6;
  font-style: italic;
}

.season.blocked button {
  opacity: 0.5;
  pointer-events: none;
  background-color: #111;
  border: 2px solid #ff0055;
  color: #ff0055;
  box-shadow: none;
  cursor: not-allowed;
  font-weight: bold;
  text-transform: uppercase;
}

.missions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  padding: 0 20px;
}

.btn-mission {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  font-size: 1.2rem;
  background-color: #0f0f0f;
  color: #00ffee;
  border: 2px solid #00ffee;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ffee;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
}

.btn-mission:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px #00ffee;
}

.btn-mission.disabled {
  opacity: 0.5;
  pointer-events: none;       /* Prevent clicks */
  cursor: not-allowed;
  background-color: #222;     /* Darker background */
  border-color: #555;         /* Duller border */
  color: #777;                /* Duller text */
  box-shadow: none;           /* Remove glow */
  text-shadow: none;
  transition: none;           /* No hover effect */
}
.btn-mission.disabled:hover {
  background-color: #222;
  color: #777;
  box-shadow: none;
}

