/* terms.css — извлечено из s/terms.html (1 <style>-блоков) */
/* ===== Базовые стили и Безопасность ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            /* Тотальный запрет на выделение и перетаскивание контента */
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-user-drag: none;
        }

        html {
            scroll-behavior: smooth;
            background-color: #090a0f;
            color: #e2e8f0;
            overflow-x: hidden;
        }

        body {
            min-height: 100vh;
            /* Путь к фону по вашему запросу с резервным темным градиентом */
            background: url('../../static-assets/backgrounds/temples.jpg') no-repeat center center fixed,
                        linear-gradient(135deg, #090a0f 0%, #11131e 100%);
            background-size: cover;
            position: relative;
            overflow-x: hidden;
        }

        /* ===== Эффект космического свечения за курсором ===== */
        #glow-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            background: radial-gradient(circle 500px at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(99, 102, 241, 0.08), transparent 80%);
            transition: opacity 0.3s ease;
        }

        @media (max-width: 1024px) {
            #glow-bg { display: none; }
        }

        /* ===== Навигационная панель (Header) ===== */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 6%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 100;
            background: rgba(9, 10, 15, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        }

        .logo {
            font-size: 1.4rem;
            font-weight: 800;
            color: #6366f1; /* Индиго-акцент для отличия */
            text-decoration: none;
            letter-spacing: -0.01em;
            text-transform: uppercase;
        }

        .lang-btn {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #f1f5f9;
            padding: 8px 20px;
            border-radius: 8px; /* Более строгие углы */
            cursor: pointer;
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.25s ease;
        }

        .lang-btn:hover {
            background: rgba(99, 102, 241, 0.15);
            border-color: #6366f1;
            box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
        }

        /* ===== Основной контейнер контента ===== */
        main {
            position: relative;
            z-index: 2;
            max-width: 880px;
            margin: 0 auto;
            padding: 170px 24px 100px 24px;
        }

        /* Анимация плавного появления блоков */
        .reveal-block {
            opacity: 0;
            transform: translateY(25px);
            transition: opacity 0.75s cubic-bezier(0.215, 0.610, 0.355, 1), transform 0.75s cubic-bezier(0.215, 0.610, 0.355, 1);
            margin-bottom: 32px;
        }

        .reveal-block.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Заголовки и вводная часть */
        .page-title {
            color: #ffffff;
            font-size: 3.2rem;
            font-weight: 900;
            line-height: 1.1;
            letter-spacing: -0.03em;
            margin-bottom: 20px;
        }

        .intro-text {
            font-size: 1.25rem;
            line-height: 1.7;
            color: #94a3b8;
            margin-bottom: 48px;
        }

        /* Стиль карточек разделов (Отличие от Privacy) */
        .terms-card {
            background: rgba(13, 15, 24, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.03);
            border-left: 2px solid rgba(99, 102, 241, 0.3);
            padding: 35px 40px;
            border-radius: 12px;
            position: relative;
        }

        .card-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 18px;
        }

        .card-num {
            font-size: 0.9rem;
            font-weight: 700;
            color: #6366f1;
            font-family: monospace;
            background: rgba(99, 102, 241, 0.1);
            padding: 2px 8px;
            border-radius: 4px;
        }

        h2 {
            font-size: 1.5rem;
            color: #f8fafc;
            font-weight: 700;
            flex-grow: 1;
            padding-right: 20px;
        }

        p {
            font-size: 1.1rem;
            line-height: 1.75;
            color: #cbd5e1;
            margin-bottom: 16px;
        }

        p:last-child {
            margin-bottom: 0;
        }

        /* Специальный юридический блок (Дисклеймеры) */
        .legalese-box {
            background: rgba(244, 63, 94, 0.02);
            border: 1px solid rgba(244, 63, 94, 0.1);
            border-left: 2px solid #f43f5e;
        }
        .legalese-box h2 { color: #fda4af; }
        .legalese-box .card-num { color: #f43f5e; background: rgba(244, 63, 94, 0.1); }

        .yelling-text {
            font-family: monospace;
            font-size: 0.95rem;
            line-height: 1.6;
            color: #e2e8f0;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            background: rgba(0, 0, 0, 0.2);
            padding: 20px;
            border-radius: 6px;
            border: 1px solid rgba(255, 255, 255, 0.02);
        }

        .note-text {
            font-style: italic;
            color: #94a3b8;
            font-size: 1rem;
            margin-bottom: 16px;
        }

        /* Таймштамп подвала документа */
        .doc-meta {
            margin-top: 60px;
            padding: 24px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            justify-content: space-between;
            color: #475569;
            font-size: 0.95rem;
            font-weight: 500;
        }

        /* ===== Подвал Сервиса ===== */
        footer {
            background: #050609;
            border-top: 1px solid rgba(255, 255, 255, 0.02);
            padding: 40px 5%;
            position: relative;
            z-index: 3;
            text-align: center;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 35px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #64748b;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s;
        }

        .footer-links a:hover { color: #6366f1; }

        .copyright { color: #334155; font-size: 0.85rem; }

        @media (max-width: 768px) {
            .page-title { font-size: 2.4rem; }
            .terms-card { padding: 25px 20px; }
            h2 { font-size: 1.3rem; }
            .doc-meta { flex-direction: column; gap: 12px; }
        }

        /* Небольшие телефоны */
        @media (max-width: 480px) {
            header { padding: 14px 4%; }
            .logo iframe { width: 140px !important; height: 36px !important; }
            .lang-btn { padding: 6px 14px; font-size: 0.78rem; }
            main { padding: 130px 16px 60px; }
            .page-title { font-size: 1.9rem; }
            .intro-text { font-size: 0.95rem; }
            .terms-card { padding: 18px 14px; }
            h2 { font-size: 1.15rem; }
            .card-num { font-size: 1.1rem; }
            .footer-links { gap: 14px; font-size: 0.85rem; }
        }
