/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Page background */
body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% 10%, #9146ff22, transparent 60%),
    radial-gradient(800px 500px at 90% 90%, #00e5ff22, transparent 60%),
    linear-gradient(135deg, #0e0e10, #18181b);
  color: #e5e5e5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

/* Container feel (applied implicitly) */
body > * {
  max-width: 720px;
  width: 100%;
  text-align: center;
}

#token-container {
  display: none;
}

/* Headings */
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #9146ff, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Paragraphs */
p {
  color: #cfcfd2;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Code-like scope block */
.code {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: #b6f0ff;
  margin: 10px 0 18px;
}

/* Login button */
.btn {
  margin-top: 18px;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #9146ff, #6a5cff);
  color: white;
  box-shadow:
    0 10px 30px rgba(145, 70, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(145, 70, 255, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.btn:active {
  transform: translateY(0);
}

/* Token container */
#token-container {
  margin-top: 32px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(20, 20, 24, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Warning text */
.warning {
  color: #ff5c5c;
  font-weight: 700;
}

/* Token box */
.token-box {
  margin-top: 14px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(145, 70, 255, 0.15),
    rgba(0, 229, 255, 0.15)
  );
  border: 1px dashed rgba(145, 70, 255, 0.5);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  word-break: break-all;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.token-box:hover {
  background: linear-gradient(
    135deg,
    rgba(145, 70, 255, 0.25),
    rgba(0, 229, 255, 0.25)
  );
  transform: scale(1.01);
}

/* Links */
a {
  color: #00e5ff;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* Subtle fade-in animation */
.fade {
  animation: fadeUp 0.7s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile tweaks */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }
}
