/* Заглушка romikbel.pro — subset темы site/ */
:root {
  --bg: #09090b;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text: #fafafa;
  --muted: rgba(250, 250, 250, 0.55);
  --accent: #3b82f6;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(
    ellipse 80% 50% at 50% -20%,
    rgba(37, 99, 235, 0.12),
    transparent
  );
  -webkit-font-smoothing: antialiased;
}

.stub {
  position: relative;
  box-sizing: border-box;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2vh, 14px);
  padding: max(10px, env(safe-area-inset-top, 0px))
    clamp(14px, 4vw, 24px)
    max(10px, env(safe-area-inset-bottom, 0px));
  text-align: center;
}

/* Силуэты как на site/ — фон, не ломают один экран */
.stub__cars {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.stub__car {
  position: absolute;
  width: clamp(140px, 38vw, 220px);
  height: auto;
  max-height: 22vh;
  object-fit: contain;
  opacity: 0.1;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
  transition: opacity 1.4s ease, filter 1.4s ease;
}

.stub__car.is-lit {
  opacity: 0.34;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 28px rgba(59, 130, 246, 0.18));
}

.stub__car--e5 {
  left: max(-4%, env(safe-area-inset-left, 0px));
  bottom: clamp(6%, 12vh, 18%);
  transform: rotate(-5deg);
}

.stub__car--monjaro {
  right: max(-6%, env(safe-area-inset-right, 0px));
  bottom: clamp(10%, 16vh, 22%);
  transform: rotate(4deg);
}

.stub__car--boyue {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) rotate(-1deg);
  width: clamp(160px, 44vw, 240px);
  max-height: 18vh;
}

.stub__logo,
.stub__card,
.stub__footer {
  position: relative;
  z-index: 1;
}

.stub__logo {
  flex-shrink: 0;
  display: block;
  margin: 0 0 -2px;
  width: min(430px, 92vw);
  line-height: 0;
  text-decoration: none;
}

.stub__logo-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.45));
}

.stub__card {
  flex: 0 1 auto;
  min-height: 0;
  max-width: 420px;
  width: 100%;
  padding: clamp(14px, 2.8vh, 24px) clamp(16px, 4vw, 26px)
    clamp(12px, 2.2vh, 20px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lang-stage {
  margin: 0 auto clamp(9px, 1.5vh, 15px);
  max-width: min(220px, 76vw);
  padding: clamp(9px, 1.4vh, 13px) 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.32);
}

.lang-stage__label {
  margin: 0 0 8px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(250, 250, 250, 0.82);
}

.lang-stage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 9px;
}

.lang-stage__grid span {
  height: clamp(17px, 3.4vh, 25px);
  border-radius: 6px;
  background: rgba(250, 250, 250, 0.9);
}

.lang-stage__transition {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  margin: 0 0 4px;
}

.lang-stage__glyph {
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1;
}

.lang-stage__smear {
  width: 54px;
  height: 1.5rem;
  margin-left: 3px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.25) 45%,
    transparent
  );
  filter: blur(6px);
  transform: scaleX(1.15);
}

.lang-stage__swap {
  position: relative;
  min-height: 1.25rem;
}

.lang-layer {
  position: absolute;
  inset: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(250, 250, 250, 0.72);
  opacity: 0;
  transition: opacity 0.65s ease;
}

.lang-layer.is-visible {
  opacity: 1;
}

.stub__title {
  margin: 0 0 clamp(6px, 1.2vh, 12px);
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.stub__lead {
  margin: 0 0 clamp(6px, 1vh, 10px);
  font-size: clamp(0.82rem, 2.4vw, 0.92rem);
  line-height: 1.4;
  color: var(--muted);
}

.stub__teaser {
  margin: 0 0 clamp(10px, 1.8vh, 16px);
  font-size: clamp(0.78rem, 2.2vw, 0.85rem);
  font-style: italic;
  letter-spacing: 0.02em;
  color: rgba(250, 250, 250, 0.45);
}

.stub__actions {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vh, 10px);
  align-items: stretch;
}

.stub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.6vh, 12px) 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.stub__btn--primary {
  color: var(--text);
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stub__btn--primary:hover {
  filter: brightness(1.08);
}

.stub__btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}

.stub__btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.stub__footer {
  flex-shrink: 0;
  margin: 0;
  font-size: clamp(0.65rem, 2vw, 0.72rem);
  color: rgba(250, 250, 250, 0.35);
  line-height: 1.35;
}

@media (max-height: 620px) {
  .stub__logo {
    width: min(350px, 88vw);
  }

  .stub__car {
    max-height: 16vh;
  }

  .stub__car:not(.is-lit) {
    opacity: 0.08;
  }

  .stub__car.is-lit {
    opacity: 0.26;
  }

  .stub__car--boyue {
    max-height: 14vh;
  }

  .stub__teaser {
    display: none;
  }

  .stub__lead {
    margin-bottom: clamp(8px, 1.5vh, 12px);
  }
}

@media (max-height: 520px) {
  .stub__logo {
    width: min(300px, 84vw);
  }

  .stub__title {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stub__car {
    transition: none;
  }

  .stub__car:not(.is-lit) {
    opacity: 0.08;
  }

  .stub__car.is-lit {
    opacity: 0.12;
  }
}

@media (min-width: 480px) {
  .stub__actions {
    flex-direction: row;
    justify-content: center;
  }

  .stub__btn {
    flex: 1;
    max-width: 200px;
  }
}
