* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

:root {
  --bg: #0b1020;
  --panel: #121a2d;
  --panel-2: #162038;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --accent: #38bdf8;
  --accent-2: #22c55e;
  --danger: #ef4444;
  --border: rgba(255,255,255,0.08);
}

body {
  background: linear-gradient(180deg, #08111f 0%, #0b1020 100%);
  color: var(--text);
  min-height: 100vh;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  padding: 28px 0 24px;
  background:
    radial-gradient(circle at top right, rgba(56,189,248,0.18), transparent 28%),
    radial-gradient(circle at top left, rgba(34,197,94,0.12), transparent 25%),
    linear-gradient(180deg, #0b1020, #0f172a);
  border-bottom: 1px solid var(--border);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.tagline {
  color: var(--muted);
  font-size: 1.05rem;
}

.install-btn,
.primary-btn,
.secondary-btn,
.spotify-btn,
.danger-btn {
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.install-btn,
.primary-btn {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: white;
}

.secondary-btn {
  background: #1e293b;
  color: white;
  border: 1px solid var(--border);
}

.spotify-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}

.danger-btn {
  background: var(--danger);
  color: white;
  padding: 8px 12px;
}

.hidden {
  display: none;
}

.music-banner {
  margin-top: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
}

.powered {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.music-text h2 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.music-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.music-panel {
  margin-top: 16px;
  border-radius: 20px;
  overflow: hidden;
}

.main-content {
  padding: 28px 0 40px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.intro-card {
  margin-bottom: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.step {
  background: rgba(255,255,255,0.04);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.card h2 {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 600;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: white;
  outline: none;
}

input:focus {
  border-color: rgba(56,189,248,0.7);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
}

form .primary-btn {
  width: 100%;
  margin-top: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.small {
  padding: 10px 14px;
}

.hint {
  color: var(--muted);
  margin-bottom: 12px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.item h4 {
  margin-bottom: 8px;
}

.item p {
  margin: 4px 0;
  color: var(--muted);
  line-height: 1.4;
}

.empty {
  color: #94a3b8;
  font-style: italic;
  padding: 10px 0;
}

.match-card {
  border: 1px solid rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.06);
}

.verify-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.verify-btn {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: bold;
  cursor: pointer;
  background: #1e293b;
  color: white;
  border: 1px solid var(--border);
}

.verify-btn:hover {
  opacity: 0.92;
}

.status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: bold;
}

.status.pending {
  background: rgba(250, 204, 21, 0.12);
  color: #fde68a;
}

.status.ready {
  background: rgba(34,197,94,0.14);
  color: #86efac;
}

.footer {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer a {
  display: inline-block;
  margin-top: 8px;
  color: #86efac;
  text-decoration: none;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .music-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}