/* Заглушка anke.dev — поверх общего style.css сайта VPN: те же цвета, шрифт,
   шапка и карточки, чтобы переход с главной в VPN не ощущался сменой сайта. */
/* Шапка: логотип слева, глобус языков справа, посередине пусто. В RTL стороны
   меняются сами — порядок в разметке тот же. */
.portal-header { justify-content: space-between; }
.portal-brand { display: inline-flex; align-items: center; }
.portal-brand img { height: 30px; width: auto; display: block; }
.portal-header .lang-wrapper { position: relative; left: auto; top: auto; transform: none; }
.portal-header .lang-menu { left: auto; right: 0; }
[dir="rtl"] .portal-header .lang-menu { left: 0; right: auto; }

.portal-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 0 80px; }
.portal-hero { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.portal-kicker {
    display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
    background: rgba(250, 237, 93, 0.08); border: 1px solid rgba(250, 237, 93, 0.22);
    color: var(--accent); font-size: 0.82rem; font-weight: 600; letter-spacing: .02em;
}
.portal-hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.08; font-weight: 700;
    letter-spacing: -0.025em; color: var(--text-main); margin-bottom: 18px;
}
.portal-lead { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; }
.portal-404 .btn { margin-top: 28px; }

.projects-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
    width: 100%; max-width: 860px; margin: 0 auto;
}
.project-card {
    display: flex; align-items: center; gap: 18px; padding: 22px 24px;
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px;
    color: inherit; text-decoration: none;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
a.project-card:hover {
    border-color: rgba(250, 237, 93, 0.55); transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.project-card.is-soon { background: rgba(255, 255, 255, 0.02); border-style: dashed; }
.project-icon {
    width: 60px; height: 60px; border-radius: 18px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(250, 237, 93, 0.10);
}
.project-icon img { height: 34px; width: auto; }
.project-icon-app {
    background: #1F2025;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.project-icon-app img { height: 30px; }
.project-icon.is-soon { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); }
.project-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.project-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.project-head strong { color: var(--text-main); font-size: 1.15rem; font-weight: 700; }
.project-badge {
    padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 600;
    color: #1B1C21; background: var(--accent);
}
.project-desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }
.project-go {
    display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
    color: var(--accent); font-weight: 600; font-size: 0.95rem;
}
[dir="rtl"] .project-go .icon-pointer { transform: scaleX(-1); }

@media (max-width: 850px) {
    .portal-header { padding-left: 3%; padding-right: 3%; }
}
@media (max-width: 720px) {
    .projects-grid { grid-template-columns: 1fr; }
    .project-card { padding: 18px; gap: 14px; }
    .project-go { display: none; }
    .portal-main { justify-content: flex-start; padding-top: 24px; }
}
