  *{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Orbit', sans-serif;
    }

  body{
    background:#000;
    font-family:Arial, sans-serif;
    color:#fff;
    overflow: scroll;
    font-size: 18px;
    font-weight: bold;
  }

  header{
    text-align: center;
    background: linear-gradient(to bottom right, #4b35dd, rgba(7, 53, 221, 0.8), #33f, rgba(5, 53, 221, 0.8));
    padding-top: 50px;
    padding-bottom: 0;
    position: fixed;
    top: 0;
    left:0;
    right: 0;
    overflow: hidden;
    margin-bottom: 20px;
    /*display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 20px;*/
    border-bottom: groove 6px gold;
    z-index: 10;
  }
  
  header mark {
    padding: 5px;
    border-radius: 10px;
    color: #fff;
    background: #f44;
    animation: tada 1s infinite alternate;
  }
  
  @keyframes tada {
   0% { transform: scale(1); }
   10%, 20% { transform: scale(0.9) rotate(-3deg); }
   30%, 50%, 70% { transform: scale(1.1) rotate(3deg); }
   40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
   100% { transform: scale(1); }
        }
  
  #brandLogo img {
    width: 200px;
  }
  
  footer{
    text-align:center;
    background:linear-gradient(to bottom right, #4b35dd, rgba(75, 53, 221, 0.8), #33f, rgba(75, 53, 221, 0.8));
    padding: 10px;
    position: fixed;
    bottom: 0;
    z-index: 10;
    left: 0;
    right: 0;
    border-top: groove 6px gold;
  }
  
  main {
    margin-top: 150px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    }
  
   #formBox {
  transition: 0.3s ease;
  }
    
  /*#ddm:hover fieldset {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 23px;
    background: linear-gradient(to bottom right, #4b35dd, rgba(75, 53, 221, 0.2), rgba(50, 50, 255, 0.2), rgba(75, 53, 221, 0.2), #4b35dd);
    border-radius: 20px;
    width: 90%;

    }*/
    
  .card {
    box-shadow: 10px 10px rgba(3, 3, 3, 0.1);
    position: relative;
    z-index: 1;
    /*display: flex;*/
    /*flex-direction: column;
    gap: 20px;*/
    padding: 23px;
    background: linear-gradient(to bottom right, #4b35dd, rgb(75, 53, 221), rgb(50, 50, 255), rgba(75, 53, 221), #4b35dd);
    border-radius: 20px;
    width: 90%;
    display: inline-block;
    transition: 0.3s ease;
    margin-right: 20px;
    margin-left: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    animation: slideIn 3s ease-out forwards;
    }
    
  #formBox {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 23px;
    background: linear-gradient(to bottom right, #4b35dd, rgba(75, 53, 221, 0.2), rgba(50, 50, 255, 0.2), rgba(75, 53, 221, 0.2), #4b35dd);
    border-radius: 20px;
    width: 90%;
    }
    
  #brandLogo {
    border-radius: 20px;
    width: 90%;
    margin-right: 20px;
    margin-left: 20px;
    margin-top: 40px;
    }
    
  input, button {
    background: aliceblue;
    padding: 5px;
    border-radius: 10px;
    border: 3px solid gold;
    color: #ff33cc;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    }
    
    
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

  h2 {
    color: #ff3333
    }
    
  #quickLink {
    background: #000;
    display: flex;
    flex-direction: row;
    gap: 5px;
    padding: 10px;
    margin-top: 30px;
    bottom: 0;
    justify-content: center;
    align-items: center;
    }
    
 a {
 	text-decoration: none;
     color: #fff;
     }

.card:hover {
  transform: scale(1.1);
}



/* Full screen background */
#bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(270deg, #4b35dd, #3ff, #ff33cc);
  background-size: 600% 600%;
  animation: gradientAnim 15s ease infinite;
}

/* gradient animation */
@keyframes gradientAnim {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* particles */
#bg div {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  pointer-events: none; /* so hover works */
  animation: float 4s linear infinite;
}

/* floating animation */
@keyframes float {
  0% { transform: translate(0,0); }
  50% { transform: translate(20px,-20px); }
  100% { transform: translate(0,0); }
}

/* optional moving light */
#bg::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 80%);
  animation: moveLight 6s linear infinite alternate;
}

@keyframes moveLight {
  0% { transform: translate(0,0); }
  100% { transform: translate(50px,50px); }
}



 i {
  color: #fff;
  margin-right: 10px;
  font-size: 24px;
}

  div#heroIntro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1000;
    /*display: flex;*/
    /*flex-direction: column;
    gap: 20px;*/
    padding: 23px;
    background: gold;
    border-radius: 20px;
    width: 50%;
    display: inline-block;
    transition: 0.3s ease;
    margin-right: 20px;
    margin-left: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    animation: heroIn 6s ease-out forwards;
    }
    
 @keyframes heroIn {
 	0% {
 	   opacity: 0.4;
        transform: translateX(-100);
        display: block;
        }
 	50% {
 	   opacity: 1.0;
        transform: translateX(-100);
        display: block;
        }
 	100% {
 	   opacity: 0;
        transform: translateX(100);
        display: none;
        }
    

    /* XP UI */
#xp-box {
    width: 280px;
    background: #0d0d0d;
    padding: 18px;
    border-radius: 12px;
    color: #fff;
    font-family: Arial, sans-serif;
    position: fixed;
    top: 20px;
    right: 20px;
    box-shadow: 0 0 12px rgba(0,255,120,0.2);
    border: 1px solid #1f1f1f;
    z-index: 9999;
}

#xp-bar {
    width: 100%;
    height: 14px;
    background: #222;
    border-radius: 20px;
    overflow: hidden;
    margin: 10px 0;
}

#xp-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ff7f, #00cc66);
    transition: 0.25s;
}

/* Achievements */
#achievements-box {
    position: fixed;
    left: 20px;
    top: 20px;
    background: #111;
    padding: 15px;
    border-radius: 10px;
    color: white;
    width: 180px;
    border: 1px solid #222;
    font-family: Arial;
}

#achievements-list li {
    background: #0c0;
    padding: 4px;
    margin: 4px 0;
    border-radius: 4px;
    font-size: 13px;
}

/* Quest box */
#quest-box {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #0d0d0d;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #222;
    color: #fff;
}

/* XP popup (floating +10 XP) */
#xp-popup-container {
    position: fixed;
    pointer-events: none;
    z-index: 999999;
}

.xp-popup {
    position: absolute;
    color: #00ff7f;
    font-size: 20px;
    font-weight: bold;
    animation: xpFly 1s ease-out forwards;
}

@keyframes xpFly {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-40px); }
}