/*
Theme Name: Архитектура Сознания
Author: Gemini Custom Theme
Description: Тема в темных тонах с неоновым свечением и стилистикой библиотеки будущего.
Version: 1.2
*/

/* --- ОСНОВНЫЕ СТИЛИ --- */
body {
    background-color: #050a0f;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    /* КРИТИЧНО ДЛЯ МОБИЛЬНЫХ: Запрещаем горизонтальный скролл */
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.05em; /* Уменьшили для мобильных */
    text-shadow: 0 0 20px rgba(79, 209, 197, 0.4);
    line-height: 1.1;
}

/* --- АДАПТИВНОЕ СВЕЧЕНИЕ (ГЛАВНАЯ) --- */
.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Делаем размер относительным экрану */
    width: 90vw; 
    height: 90vw;
    max-width: 800px;
    max-height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.4) 0%, rgba(13, 148, 136, 0.1) 40%, rgba(5, 10, 15, 0) 70%);
    filter: blur(40px);
    z-index: -1;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Стили для ссылок навигации */
.nav-link {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #14b8a6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.li-logo {
    border: 3px solid #14b8a6;
    padding: 2px 8px;
    font-weight: bold;
    display: inline-block;
}

/* Частицы на фоне */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(circle, #fff 1px, transparent 1px),
        radial-gradient(circle, #14b8a6 1px, transparent 1px);
    background-size: 60px 60px, 100px 100px;
    background-position: 0 0, 30px 30px;
    opacity: 0.1;
    z-index: 0;
}

.custom-button {
    border: 2px solid #14b8a6;
    background: rgba(20, 184, 166, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap; /* Чтобы текст кнопки не переносился некрасиво */
}

.custom-button:hover {
    background: #14b8a6;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.6);
}

/* Адаптация для мобильных меню */
@media (max-width: 768px) {
    .hero-title {
        letter-spacing: 0;
    }
}

/* --- СТИЛИ ДЛЯ ОБЫЧНЫХ СТРАНИЦ (page.php) --- */
/* Эти стили делают текст из редактора WordPress красивым и читаемым */

.content-area p {
    margin-bottom: 1.5em; /* Отступ между абзацами */
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Заголовки внутри текста (H2, H3) */
.content-area h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #14b8a6; /* teal-500 */
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-weight: bold;
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
    padding-bottom: 10px;
}

.content-area h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

/* Списки */
.content-area ul {
    list-style-type: disc;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
    color: #cbd5e1; /* gray-300 */
}

.content-area ol {
    list-style-type: decimal;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
    color: #cbd5e1;
}

.content-area li {
    margin-bottom: 0.5em;
}

/* Ссылки внутри текста */
.content-area a {
    color: #14b8a6;
    text-decoration: underline;
    transition: color 0.3s;
}

.content-area a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(20, 184, 166, 0.6);
}

/* Цитаты */
.content-area blockquote {
    border-left: 4px solid #14b8a6;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #9ca3af; /* gray-400 */
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 0 10px 10px 0;
}