:root {
  --dl-accent: #DC002C;
  --dl-accent-2: #FF4A4A;
  --dl-bg: #0D0D0D;
  --dl-text: #F7F7F7;
  --dl-text-muted: #A8A8A8;
}

#desktop-landing {
  position: fixed;
  inset: 0;
  z-index: 1500;
  overflow: auto;
  padding: 32px;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: Inter, system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
#desktop-landing[hidden] { display: none; }

.dl-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  filter: blur(12px) brightness(.28);
  transition: opacity .45s ease;
  z-index: 0;
}
.dl-bg.dl-bg--loaded { opacity: .35; }
.dl-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 30%, rgba(220,0,44,.14), transparent 38%);
  pointer-events: none;
}
.dl-content {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(18,18,18,.94);
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
  text-align: center;
}
.dl-logo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  background: var(--dl-accent);
}
.dl-title {
  margin: 24px 28px 8px;
  color: var(--dl-text);
  font-family: "Russo One", Inter, sans-serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}
.dl-subtitle {
  margin: 0 28px 24px;
  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 {
  padding: 14px;
  border-radius: 10px;
  background: #fff;
  line-height: 0;
}
.dl-qr img,
.dl-qr canvas {
  width: 200px;
  height: 200px;
  display: block;
  image-rendering: pixelated;
}
.dl-instruction {
  margin: 0 28px 12px;
  color: var(--dl-text-muted);
  font-size: 13px;
  line-height: 1.45;
}
.dl-url {
  display: inline-block;
  max-width: calc(100% - 56px);
  margin: 0 28px 28px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: var(--dl-text);
  font-family: "SF Mono", Menlo, monospace;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  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;
  padding: 24px;
  background: #0D0D0D;
  color: #F7F7F7;
  font-family: Inter, system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
#landscape-overlay[hidden] { display: none; }
.lo-content {
  max-width: 360px;
  text-align: center;
}
.lo-icon {
  width: 72px;
  height: 72px;
  color: var(--dl-accent);
  margin-bottom: 18px;
  animation: lo-rotate 2.4s ease-in-out infinite;
}
@keyframes lo-rotate {
  0%, 100% { transform: rotate(0deg); }
  45%, 55% { transform: rotate(-90deg); }
}
.lo-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}
.lo-subtitle {
  margin: 0;
  color: var(--dl-text-muted);
  font-size: 14px;
  line-height: 1.5;
}
