/* Base styling */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #1a004d, #004080, #00bfff);
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  color: #fff;
  text-align: center;
}

header {
  background: linear-gradient(90deg, #5A2DA8, #00E0FF);
  color: white;
  padding: 20px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

header img {
  max-height: 140px;
  width: auto;
  height: auto;
  margin-bottom: 10px;
}
@media (max-width: 768px){
  header img {
    max-height: 160px; /* bigger logo on mobile */
  }
}
@media (max-height: 480px) {
  header img {
    max-height: 120px;
  }
}

h1 {
  font-size: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.container {
  margin: 50px auto;
  max-width: 520px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.2);
}

/* Form elements */
select, button, input[type="text"], input[type="email"], input[type="password"] {
  padding: 14px;
  margin-top: 12px;
  width: 100%;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

select {
  background: rgba(255,255,255,0.9);
  color: #333;
}

button {
  background: linear-gradient(90deg, #5A2DA8, #00E0FF);
  color: white;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
button:hover {
  background: linear-gradient(90deg, #7F3FFF, #00FFFF);
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
button:active {
  background: linear-gradient(90deg, #3A1D70, #0090AA);
  box-shadow: 0 0 25px rgba(0,224,255,0.8);
  transform: scale(0.98);
}

  .ads {
      margin: 40px auto;
      max-width: 728px;
    }

    h2 {
      color: #fff;
      font-weight: 600;
      margin-bottom: 20px;
    }

    label {
      display: block;
      margin-top: 20px;
      font-weight: 500;
      color: #e0e0e0;
    }

    /* Buy Token Button */
    .buy-token {
      margin-top: 30px;
    }

    .buy-token-btn {
      display: inline-block;
      width: auto;
      padding: 15px 30px;
      font-size: 18px;
      font-weight: bold;
      color: #fff;
      background: linear-gradient(90deg, #5A2DA8, #00E0FF);
      border: none;
      border-radius: 50px;
      cursor: pointer;
      box-shadow: 0 0 20px rgba(90, 45, 168, 0.6);
     transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
     text-decoration: none;
    }

    .buy-token-btn small {
      display: block;
      font-size: 12px;
      font-weight: 400;
      color: #B0A8FF;
      margin-top: 4px;
    }

    .buy-token-btn:hover {
      background: linear-gradient(90deg, #7F3FFF, #00FFFF);
      box-shadow: 0 0 25px rgba(0, 224, 255, 0.8);
      transform: scale(1.05);
    }

    .buy-token-btn:active {
      background: linear-gradient(90deg, #3A1D70, #0090AA);
      box-shadow: 0 0 30px rgba(0, 224, 255, 1);
      transform: scale(0.97);
    }

    .buy-token-btn .icon {
      margin-right: 10px;
      font-size: 22px;
      vertical-align: middle;
    }




/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  text-align: left;
}
.alert.success { background: rgba(40,167,69,0.2); border: 1px solid #28a745; }
.alert.failed  { background: rgba(220,53,69,0.2); border: 1px solid #dc3545; }
.alert.pending { background: rgba(255,193,7,0.2); border: 1px solid #ffc107; }
.alert.unknown { background: rgba(108,117,125,0.2); border: 1px solid #6c757d; }

/* Circular spinner loader */
.spinner {
  margin: 20px auto;
  width: 50px;
  height: 50px;
  border: 6px solid rgba(255,255,255,0.3);
  border-top: 6px solid #00E0FF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Progress bar */
.progress {
  position: relative;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  overflow: hidden;
  margin: 1rem 0;
}
.progress-bar {
  position: absolute;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  animation: progress-indeterminate 1.5s infinite;
}
@keyframes progress-indeterminate {
  0%   { left: -30%; }
  50%  { left: 50%; }
  100% { left: 100%; }
}



/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: rgba(255,255,255,0.1);
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #e0e0e0;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  select, button, input[type="text"], input[type="email"], input[type="password"] {
    font-size: 20px;
    padding: 16px;
  }
}

