
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  
  body {
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    font-family:  'Times New Roman', Times, serif;
  }
  
    
  #snowfallCanvas {
    position: absolute;
    top: 0;
    left: 0;
  }
  
  
  .register-box {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.85);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 0 80px #ff6f00;
    width: 100%;
    max-width: 900px; 
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 111, 0, 0.8);
    transition: transform 0.3s ease-in-out;
    height: 90%;
  }
  .register-box:hover {
    transform: scale(1.03);
    box-shadow: 0 0 120px #ff6f00;
  }
  
  .register-title {
    font-size: 48px;
    font-weight: 900;
    color: #ff6f00;
    text-shadow: 0 0 20px #ffcc00;
    margin-bottom: 15px;
  }
  
  .register-subtitle {
    font-size: 20px;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 30px;
  }
  
  
  .register-form {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 800px;
  }
  
  
  .form-field {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 48%; 
  }
  
 
  input {
    padding: 15px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    font-size: 18px;
    color: #fff;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 111, 0, 0.5);
    transition: box-shadow 0.3s;
  }
  
  input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
  }
  
  input:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(255, 111, 0, 1);
  }
   
   input:hover {
    background-color: rgba(255, 111, 0, 0.1);
  }
  
 
  .gender-select {
    padding: 15px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    font-size: 18px;
    color: #fff;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 111, 0, 0.5);
    transition: box-shadow 0.3s;
  }
  
  
.gender-select option {
    background-color: #222; 
    color: #ffcc00; 
  }
  
  
  .gender-select:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(255, 111, 0, 1);
  }
  
  
  .gender-select:hover {
    background-color: rgba(255, 111, 0, 0.1);
  }
  

  .submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #ff6f00, #ffcc00);
    border: none;
    border-radius: 25px;
    box-shadow: 0 0 20px rgba(255, 111, 0, 0.8);
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
  }
  
  .submit-btn:hover {
    background: linear-gradient(135deg, #ffcc00, #ff6f00);
    box-shadow: 0 0 40px rgba(255, 111, 0, 1);
  }
  
  
  .extra-links {
    margin-top: 20px;
    font-size: 14px;
    display: flex;
    justify-content: center; 
    width: 100%;
  }
  
  .extra-links a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    margin-bottom:10px;
    
  }
  
  .extra-links a:hover {
    color: #ff6f00;
    text-decoration: underline;
  }
  
  
  
.error-message {
  color: red;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  
  .register-box {
    padding: 10px; 
    width: 100%;
    max-width: 82%; 
    margin: 0 auto;
    height: auto;
  }

  
  .register-title {
    font-size: 22px; 
    margin-bottom: 8px;
  }

  .register-subtitle {
    font-size: 10px; 
    margin-bottom: 15px;
  }

  
  .register-form {
    flex-direction: column; 
    gap: 6px; 
    width: 100%;
  }

  
  .form-field {
    width: 100%; 
  }

  
  input,
  .gender-select {
    font-size: 12px; 
    padding: 8px; 
    width: 100%; 
    margin: 4px 0;
  }

  
  .submit-btn {
    font-size: 13px; 
    padding: 8px; 
    width: 100%; 
  }

 
  .extra-links {
    font-size: 10px;
    text-align: center;
    margin-top: 10px;
  }

  .extra-links a {
    font-size: 11px; 
  }
}
