:root {
  /* Primary Colors */
  --primary: #34bf00;
  --primary-125: #236f00;
  --primary-50: #99df7f;
  --primary-25: #ccefbf;
  
  /* Secondary Colors */
  --secondary: #6633ff;
  --secondary-125: #3503c9;
  --secondary-50: #b299ff;
  --secondary-25: #e8e0ff;
  --secondary-black: #0a0519;
  
  /* Gray Scale */
  --gray-100: #f8f8f8;
  --gray-200: #ebebec;
  --gray-300: #d7d8da;
  --gray-400: #c9c9cc;
  --gray-500: #9c9da2;
  --gray-600: #6b6c76;
  --gray-700: #5e5f68;
  --gray-800: #2d2e3a;
  --gray-900: #141523;
  --gray-bg: #0a0619;
  
  /* Extra Colors */
  --neon: #99ff66;
  --white: #ffffff;
  --black: #000000;
}

body {
  font-family: 'Onest', sans-serif;
  background: #0a0619;
  min-height: 100vh;
  color: var(--white);
  line-height: 1.5;
}

.container {
  max-width: 800px;
  padding: 2rem 1rem;
}

.card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card h2 {
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.form-control {
  border-radius: 20px;
  border: 2px solid var(--gray-300);
  padding: 16px 32px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-800);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(52, 191, 0, 0.25);
  background: var(--white);
}

.form-control::placeholder {
  color: var(--gray-700);
}

.btn {
  transition: all 0.3s ease;
  border-radius: 50px;
  position: relative;
  display: inline-block;
  text-align: center;
  backdrop-filter: blur(0px);
  line-height: 1.2;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 15px 26px;
}

.btn::before {
  transition: all 0.3s ease;
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  opacity: 0.3;
  mask-composite: exclude;
  pointer-events: none;
}

.btn:hover {
  transform: scale(1.05);
}

.btn:focus {
  transform: scale(1.05);
}

.btn:active {
  transform: scale(1.05);
}

.btn-primary {
  background: linear-gradient(112deg, var(--primary) -0.41%, var(--primary-125) 97.74%);
  color: var(--white) !important;
  box-shadow: 0px 30px 40px 0px rgba(2, 4, 20, 0.1);
}

.btn-primary::before {
  display: none;
}

.btn-primary:hover {
  background: linear-gradient(112deg, var(--primary) -0.41%, var(--primary-125) 97.74%);
  box-shadow: 0px 30px 40px 0px rgba(35, 111, 0, 0.3);
}

.btn-success {
  background: var(--gray-900);
  color: var(--white) !important;
  box-shadow: 0px 30px 40px 0px rgba(35, 111, 0, 0.1);
}

.btn-success:hover {
  box-shadow: 0px 30px 40px 0px rgba(2, 4, 20, 0.3);
}

.btn-success:hover::before {
  opacity: 1;
}

h1 {
  color: var(--white);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-label {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

.btn:disabled,
.btn.disabled {
  box-shadow: none;
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  transform: none !important;
}

#loadingOverlay {
  background: rgba(10, 6, 25, 0.95);
  backdrop-filter: blur(10px);
  color: var(--white);
}

.progress-text {
  font-size: 1.1em;
  color: var(--white);
  margin-top: 1rem;
}

/* Alert Styling */
.alert {
  border-radius: 10px;
  border: none;
  font-weight: 500;
}

.alert-danger {
  background: rgba(243, 72, 48, 0.1);
  border: 1px solid rgba(243, 72, 48, 0.3);
  color: #f34830;
  backdrop-filter: blur(10px);
}

.btn-close {
  filter: invert(1);
}

/* Link Styling */
a {
  color: var(--neon);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}
