:root {
  --bg: #0b0b0d;
  --panel: #0f1113;
  --muted: #9aa3ae;
  --accent: #7c5cff;
  --glass: rgba(255,255,255,0.03);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, Ui-sans-serif, system-ui, Segoe UI, Roboto, Helvetica, Arial;
  background: linear-gradient(180deg, #050507 0%, #0b0b0d 100%);
  color: #e6eef8;
  padding: 0;
}
.wrap {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.card {
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, var(--panel), #0b0f13);
  border-radius: 0;
  padding: 28px;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-y: auto;
}
header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #4bd3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #071027;
}
h1 {
  margin: 0;
  font-size: 20px;
}
p.lead {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.grid {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  justify-content: center;
  height: 520px;
}
.grid section {
  flex: 1;
  max-width: 400px;
}
.partition {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 20px;
}
.section-divider {
  margin: 32px 0;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.05);
  width: 100%;
}
.feedback-section {
  margin-top: 24px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
input[type=text], input[type=password], textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  background: transparent;
  color: inherit;
  font-size: 14px;
}
textarea {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: block;
}
a {
  cursor: pointer;
  border: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent), #4bd3ff);
  color: #061024;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.04);
  color: var(--muted);
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.keybox {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.key {
  font-family: monospace;
  background: rgba(255,255,255,0.02);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.02);
  flex: 1;
  min-width: 200px;
  cursor: pointer;
}
.key:hover {
  background: rgba(255,255,255,0.05);
}
.success {
  color: #8ef3b3;
}
.error {
  color: #ff9b9b;
}
.feedback {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.fb-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.03);
  background: transparent;
  color: var(--muted);
}
footer {
  margin-top: 32px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* Creator Link */
.creator-link {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 50;
}
.creator-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.creator-toggle:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.creator-toggle img {
  border-radius: 50%;
  height: 25px;
  width: auto;
  margin-left: 1px;
}

@media (max-width: 820px) {
  .logo {
    width: 130px;
    height: 55px;
  }
  .card {
    padding: 18px;
  }
  .grid {
    flex-direction: column;
    gap: 24px;
    height: auto;
  }
  .partition {
    display: none;
  }
  .keybox {
    flex-direction: column;
    align-items: stretch;
  }
  .key {
    min-width: auto;
  }
  .feedback {
    flex-direction: column;
    align-items: center;
  }
  .creator-link {
    transform: translateX(-50%);
  }
  .creator-toggle {
        margin-left: 135px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .creator-toggle img {
        height: 20px;
    }
}
