:root {
  --bg: #0b0b12;
  --surface: #141420;
  --surface-2: #1e1e2e;
  --outline: #2f2f46;
  --text: #f6f6fc;
  --muted: #a0a3bd;
  --coral: #ff415b;
  --coral-dark: #c91c36;
  --gold: #ffb800;
  --gold-bg: rgba(255, 184, 0, 0.14);
  --emerald: #00d68f;
  --jazz: #e01e26;
  --easy: #00a859;
  --danger: #ff6b6b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top right, #23112a 0%, var(--bg) 45%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.45;
}

h1, h2, h3, .brand-font {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

/* Top Sticky Download App Banner */
.download-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #1b1024 0%, #2a1220 50%, #141424 100%);
  border-bottom: 1px solid rgba(255, 65, 91, 0.45);
  backdrop-filter: blur(12px);
}

.download-topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--coral), #9e1946);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 18px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--coral), #e62945);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(255, 65, 91, 0.35);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.download-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.download-btn-desktop {
  background: linear-gradient(135deg, #00a870, #007f5f);
  box-shadow: 0 6px 20px rgba(0, 214, 143, 0.28);
}

.guide-box {
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.42);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.guide-box summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-box summary::after {
  content: "▼ Show Guide";
  font-size: 11px;
  opacity: 0.85;
}

.guide-box[open] summary::after {
  content: "▲ Hide Guide";
}

.guide-steps {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  color: var(--text);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px 88px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 18px;
  padding: 18px;
}

.hero-card {
  background: linear-gradient(135deg, #28112b 0%, #171629 55%, #1e111e 100%);
  border: 1px solid rgba(255, 65, 91, 0.35);
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pill-coral { background: rgba(255, 65, 91, 0.2); color: #fff; border: 1px solid rgba(255, 65, 91, 0.5); }
.pill-gold { background: var(--gold-bg); color: var(--gold); border: 1px solid rgba(255, 184, 0, 0.45); }
.pill-emerald { background: rgba(0, 214, 143, 0.16); color: var(--emerald); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }

.btn {
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  background: var(--coral);
  transition: opacity 0.15s ease;
}

.btn:hover { opacity: 0.92; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: #1f1600; }
.btn-emerald { background: var(--emerald); color: #002114; }
.btn-outline { background: transparent; border: 1px solid var(--outline); color: var(--text); }
.btn-jazz { background: var(--jazz); }
.btn-easy { background: var(--easy); }

.input, select, textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 11px 13px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  margin-top: 6px;
}

.input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--coral);
  border-color: transparent;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 10px;
}

.nav-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.nav-tab {
  background: var(--surface);
  border: 1px solid var(--outline);
  color: var(--muted);
  border-radius: 12px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-tab.active {
  background: rgba(255, 65, 91, 0.18);
  border-color: var(--coral);
  color: #fff;
}

.progress-bar {
  width: 100%;
  height: 7px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--emerald));
}

.stream-stage {
  background: linear-gradient(135deg, #28102c, #141428, #0e1f2a);
  border-radius: 16px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--outline);
}

.stream-stage iframe, .stream-stage video {
  width: 100%;
  height: 290px;
  border: none;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--surface-2);
  border: 1px solid var(--emerald);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 12px;
  z-index: 200;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  font-weight: 600;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.muted { color: var(--muted); font-size: 13px; }
.hidden { display: none !important; }

.pwd-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pwd-wrap .input {
  padding-right: 64px;
}

.pwd-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-38%);
  background: transparent;
  border: 1px solid var(--outline);
  color: var(--muted);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.pwd-eye:hover {
  color: var(--text);
  border-color: var(--coral);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 12, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 300;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 18px;
  padding: 20px;
}

