:root {
  --dl-bg: #181818;
  --dl-card: #222222;
  --dl-text: #FFFFFF;
  --dl-text-muted: #A19E99;
  --dl-accent: #D49A3B;
  --dl-accent-2: #FFFFFF;
  --dl-brand-neutral: #686767;
}

#desktop-landing {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 32px;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
#desktop-landing[hidden] { display: none; }
.dl-bg {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 31px, rgba(212, 154, 59, 0.18) 31px 32px);
}
.dl-overlay { position: absolute; inset: 0; background: rgba(24, 24, 24, 0.34); }
.dl-content {
  position: relative;
  width: min(100%, 500px);
  padding: 42px 38px 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(34, 34, 34, 0.97);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
  text-align: center;
}
.dl-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 38px;
  width: 94px;
  height: 4px;
  background: var(--dl-accent);
}
.dl-title {
  position: relative;
  margin: 0 auto 11px;
  color: var(--dl-text);
  font-size: clamp(39px, 5vw, 56px);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.92;
  overflow-wrap: anywhere;
}
.dl-subtitle { position: relative; margin: 0 0 29px; color: var(--dl-text-muted); font-size: 15px; line-height: 1.45; }
.dl-qr-wrap { display: flex; justify-content: center; margin-bottom: 18px; }
.dl-qr {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  background: #FFFFFF;
  line-height: 0;
}
.dl-qr img,
.dl-qr canvas { display: block; width: 200px; height: 200px; image-rendering: pixelated; }
.dl-instruction { margin: 0 0 12px; color: var(--dl-text-muted); font-size: 13px; line-height: 1.45; }
.dl-url {
  display: inline-block;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #181818;
  color: var(--dl-text);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
  user-select: all;
}

@media (max-width: 899px), (hover: none) and (pointer: coarse) {
  #desktop-landing { display: none !important; }
}

#landscape-overlay {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
#landscape-overlay[hidden] { display: none; }
.lo-content { max-width: 360px; text-align: center; }
.lo-icon { width: 72px; height: 72px; margin-bottom: 18px; color: var(--dl-accent); }
.lo-title { margin: 0 0 6px; font-size: 22px; font-weight: 950; }
.lo-subtitle { margin: 0; color: var(--dl-text-muted); font-size: 14px; line-height: 1.5; }
