
:root {
  color-scheme: dark;
  --bg: #090d18;
  --panel: #111827;
  --muted: #a6b0c2;
  --line: #293449;
  --blue: #7c8cff;
  --cyan: #51e0c2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 0, #1a2450 0, transparent 50%), var(--bg);
  color: #f5f7ff;
  font: 16px/1.5 system-ui, Segoe UI, sans-serif;
}

header {
  max-width: 1000px;
  margin: auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: white;
  text-decoration: none;
}

.logo span {
  color: var(--cyan);
}

main {
  max-width: 850px;
  margin: 30px auto;
  padding: 0 20px;
}

.hero {
  text-align: center;
  padding: 35px 0;
}

.hero small {
  color: var(--cyan);
  letter-spacing: 2px;
  font-weight: bold;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1.03;
  letter-spacing: -3px;
}

.hero h1 b {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
}

.chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chips i {
  font-style: normal;
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 20px;
  color: #cbd5e1;
  font-size: 12px;
}

.card {
  max-width: 550px;
  margin: 20px auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.card nav {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.tab,
.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 9px;
  cursor: pointer;
}

.tab.active {
  background: #29365a;
  color: white;
}

.card form {
  display: grid;
  gap: 13px;
}

.card label,
#dashboard > label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #dce4f4;
  margin-bottom: 12px;
}

input {
  background: #0b1220;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  color: white;
  font: inherit;
  min-width: 0;
  width: 100%;
}

.primary {
  background: linear-gradient(90deg, #6579f7, #39cdb4);
  border: 0;
  border-radius: 9px;
  padding: 12px 15px;
  color: #07111b;
  font-weight: 800;
  cursor: pointer;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

#message,
#uploadMessage {
  color: var(--cyan);
  font-size: 13px;
  min-height: 18px;
}

.dashhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site {
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 10px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.site a {
  color: var(--cyan);
}

.site button {
  margin-top: 8px;
}

.site-counter,
.site-limit {
  color: var(--muted);
  font-size: 13px;
}

#upload {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 15px;
}

#upload p {
  color: var(--muted);
}

#upload input {
  margin-bottom: 12px;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 30px;
  font-size: 12px;
}

footer a {
  color: var(--cyan);
}

@media (max-width: 520px) {
  .hero h1 {
    letter-spacing: -2px;
  }

  .card {
    padding: 18px;
  }
}
