#home-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.page-home .main-wrap {
    position: relative;
}

.page-home .main-content {
    position: relative;
    z-index: 1;
}

.home-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem 2.5rem;
    max-width: 420px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.home-lang { display: flex; gap: .4rem; justify-content: flex-end; margin-bottom: .75rem; }
.home-lang-btn { font-size: .75rem; font-weight: 700; color: var(--muted); text-decoration: none; padding: .2rem .5rem; border-radius: 4px; }
.home-lang-btn:hover { color: var(--body-text); text-decoration: none; }
.home-lang-btn--active { background: var(--border); color: var(--body-text); }

.page-home .sidebar-nav {
    filter: blur(1.5px);
    pointer-events: none;
    user-select: none;
    opacity: .6;
}

.page-home .sidebar-collapse-btn {
    pointer-events: none;
    opacity: .4;
}

/* ── PC-Monitor Overlay ─────────────────────────────────────────────────────── */
.home-promo-wrap {
    position: relative;
    display: block;
    width: calc(100% + 5rem);
    margin: 1.5rem -2.5rem -2rem -2.5rem;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.home-card-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 0 8px 8px;
}

.home-promo-logo {
    position: absolute;
    top: 9%;
    left: 11%;
    width: 74%;
    height: auto;
    pointer-events: none;
    animation: monitor-glow 3s ease-in-out infinite;
}

@keyframes monitor-glow {
    0%, 100% { opacity: .85; filter: brightness(1); }
    50%       { opacity: 1;   filter: brightness(1.15); }
}

/* ── Auth Promo ─────────────────────────────────────────────────────────────── */
.auth-promo-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.auth-promo-logo {
  position: absolute;
  top: 29.5%;
  left: 40%;
  width: 15%;
  height: auto;
  pointer-events: none;
  opacity: 0;
  animation: promo-fade-in 0.6s ease forwards 0.3s;
}

.auth-promo-tag {
  background: var(--accent-yellow);
  padding: 3px 15px;
  border-radius: 12px;
  display: inline-block;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: .5rem;
  transition: opacity .4s ease;
}

.auth-promo-text {
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: promo-fade-in .8s ease forwards 3s;
}



@keyframes promo-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
