/* ==========================================================================
   DAEMI HIGH-TECH CRYSTAL INTERFACE (ХРУСТАЛЬНОЕ СТЕКЛО И РИСКИ)
   ========================================================================== */

/* Глубокий космический фон с орбитальным свечением */
body {
    background: radial-gradient(circle at 50% 0%, #0c4a6e 0%, #020617 65%, #010409 100%) !important;
    background-color: #020617 !important;
    background-attachment: fixed !important;
    color: #f1f5f9 !important;
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    margin: 0;
    padding: 20px;
    line-height: 1.7;
}

/* Монолитная хрустальная панель управления */
.container, main, #wrapper, body > div:first-of-type, body > header {
    max-width: 1000px;
    margin: 40px auto;
    padding: 45px;
    background: rgba(10, 25, 47, 0.25) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 24px !important;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), inset 0 1px 3px rgba(255, 255, 255, 0.2) !important;
    box-sizing: border-box;
}

/* Заголовки */
h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 20%, #38bdf8 60%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 35px;
    filter: drop-shadow(0 2px 15px rgba(56, 189, 248, 0.25));
}

h2, h3 {
    color: #38bdf8 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
    padding-bottom: 10px;
    margin-top: 45px;
}

/* ==========================================================================
   КРУТЫЕ ХРУСТАЛЬНЫЕ КНОПКИ-КАПСУЛЫ (КАК НА БАННЕРЕ)
   ========================================================================== */
.crystal-nav {
    text-align: center;
    margin: 20px 0 30px 0;
}

.crystal-btn {
            /* СТРОГИЕ ПРЯМОУГОЛЬНЫЕ КНОПКИ */
        .crystal-button {
            display: inline-block !important;
            padding: 12px 30px !important;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.12em !important;
            color: #ffffff !important;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
            backdrop-filter: blur(15px) saturate(130%) !important;
            -webkit-backdrop-filter: blur(15px) saturate(130%) !important;
            border: 1px solid rgba(255, 255, 255, 0.15) !important;
            border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
            border-radius: 2px !important; /* Жесткий угол */
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 1px 0px rgba(255, 255, 255, 0.15) !important;
            text-decoration: none;
            transition: all 0.2s ease;
            margin: 6px;
            cursor: pointer;
        }
        .crystal-button:hover {
            color: #38bdf8 !important;
            background: rgba(14, 165, 233, 0.12) !important;
            border-color: rgba(56, 189, 248, 0.4) !important;
            border-top-color: rgba(56, 189, 248, 0.7) !important;
            box-shadow: 0 0 20px rgba(56, 189, 248, 0.25), inset 0 1px 0px rgba(255, 255, 255, 0.3) !important;
            transform: none !important;
        }

        .crystal-nav {
            text-align: center;
            margin: 25px 0 35px 0;
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }
}

/* Активное состояние кнопки (наведение) */
.crystal-btn:hover {
    color: #38bdf8 !important;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.2) 0%, rgba(14, 165, 233, 0.05) 100%) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
    border-top-color: rgba(56, 189, 248, 0.8) !important;
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.4), 
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Позиционирование переключателя языков */
.lang-switch-container {
    text-align: right;
    margin-bottom: -20px;
}

/* Ссылки в тексте */
p a, li a {
    color: #34d399 !important;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(52, 211, 153, 0.4);
}
p a:hover, li a:hover {
    color: #38bdf8 !important;
    border-bottom-color: #38bdf8;
}

/* Опции и риски */
ul, pre, code, blockquote, table {
    background: rgba(10, 25, 47, 0.15) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-radius: 16px !important;
    color: #38bdf8 !important;
    padding: 20px 25px !important;
    margin: 25px 0 !important;
}
ul {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}
ul li {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.12) !important;
    padding: 22px 25px !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
ul li:last-child { border-bottom: none !important; }
ul li:hover { background: linear-gradient(90deg, rgba(56, 189, 248, 0.06) 0%, rgba(56, 189, 248, 0) 100%) !important; }
li strong { display: block; color: #ffffff !important; font-size: 1.1rem; }

/* Баннер */
.site-banner { text-align: center; margin: 40px 0; }
.site-banner img { width: 100%; max-width: 1000px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7); }
