@charset "UTF-8";
/*
Theme Name: Astraina Theme
Theme URI: https://astraina.com/
Author: AstraChron Engineering
Author URI: https://astraina.com/
Description: Премиальная тема звёздного фолианта ASTRAINA.COM на стыке эфемерид NASA JPL и сакральной геометрии.
Version: 9.4.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.3
License: Proprietary
Text Domain: astraina
*/

/* ==========================================================================
   1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ (SAMHAIN OBSIDIAN & COSMIC GOLD)
   ========================================================================== */
:root {
    --ast-bg: #020408;
    --ast-surface: #080E1A;
    --ast-card: rgba(8, 14, 26, 0.85);
    --ast-glass: rgba(8, 14, 26, 0.75);
    
    --ast-ruby: #E11D48;
    --ast-ruby-light: #FDA4AF;
    --ast-ruby-glow: rgba(225, 29, 72, 0.45);
    
    --ast-gold: #F59E0B;
    --ast-gold-bright: #FBBF24;
    --ast-gold-light: #FEF3C7;
    --ast-border: rgba(245, 158, 11, 0.22);
    
    --ast-cyan: #38BDF8;
    --ast-text: #E2E8F0;
    --ast-text-dim: #94A3B8;
    
    --font-title: 'Cinzel', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'Space Mono', ui-monospace, Menlo, Monaco, monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background-color: var(--ast-bg) !important;
    color: var(--ast-text);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ast-gold-light);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--ast-gold);
}

/* Изолированный контейнер без боковых теней */
.astraina-container, .ast-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* ПРИНУДИТЕЛЬНАЯ ЛИКВИДАЦИЯ ПАРАЗИТНЫХ БОКОВЫХ ТЕНЕЙ И БЛОКИРУЮЩИХ ПОДЛОЖЕК */
.astraina-backdrop,
body::before,
body::after {
    display: none !important;
    content: none !important;
}

/* ==========================================================================
   2. СТИЛИ КАРТОЧЕК И ВЕКТОРНЫХ БЛОКОВ (GLASSMORPHISM)
   ========================================================================== */
.ast-glass-card, .astraina-chart-wrapper {
    background: var(--ast-card);
    border: 1px solid var(--ast-border);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.chart-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.chart-input-group label {
    display: block;
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--ast-gold);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
}

.chart-input-group input, 
.chart-input-group select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(2, 4, 8, 0.9);
    border: 1px solid var(--ast-border);
    border-radius: 8px;
    color: var(--ast-gold-light);
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.chart-input-group input:focus,
.chart-input-group select:focus {
    border-color: var(--ast-ruby);
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.35);
}

/* Кнопки платформы */
.btn-astraina {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 38px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--ast-ruby), #9F1239);
    color: #FFFFFF;
    font-family: var(--font-title);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(254, 243, 199, 0.3);
    box-shadow: 0 4px 25px var(--ast-ruby-glow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-astraina:hover {
    background: linear-gradient(135deg, #F43F5E, var(--ast-ruby));
    box-shadow: 0 6px 35px rgba(225, 29, 72, 0.65);
    transform: translateY(-2px);
    color: #FFFFFF;
}

/* ==========================================================================
   3. МОБИЛЬНАЯ АДАПТИВНОСТЬ (MOBILE-FIRST)
   ========================================================================== */
@media (max-width: 960px) {
    .astraina-chart-wrapper, .ast-glass-card {
        padding: 24px 16px;
    }
}

@media (max-width: 640px) {
    .chart-form-grid {
        grid-template-columns: 1fr;
    }
    .btn-astraina {
        width: 100%;
    }
}

/* --- ASTRAINA GLOBAL SLOGAN ($50K LUXURY EPIGRAPHY) --- */
.ast-hero-slogan {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 10px 0 24px 0;
    padding: 7px 20px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 999px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), inset 0 0 12px rgba(245, 158, 11, 0.08);
    max-width: fit-content;
}
.ast-slogan-text {
    font-family: 'Cinzel Decorative', 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #FEF3C7 0%, #F59E0B 50%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 24px rgba(245, 158, 11, 0.35);
    white-space: nowrap;
}
.ast-slogan-star {
    font-size: 10px;
    color: #F59E0B;
    opacity: 0.85;
    animation: astStarPulse 3s ease-in-out infinite alternate;
}
@keyframes astStarPulse {
    0% { opacity: 0.35; transform: scale(0.85); text-shadow: 0 0 4px rgba(245,158,11,0.2); }
    100% { opacity: 1; transform: scale(1.15); text-shadow: 0 0 12px rgba(245,158,11,0.9); }
}
@media (max-width: 768px) {
    .ast-hero-slogan {
        margin: 8px 0 16px 0;
        padding: 6px 14px;
        border-radius: 14px;
        max-width: 100%;
        white-space: normal;
    }
    .ast-slogan-text {
        font-size: 11.5px;
        letter-spacing: 0.10em;
        white-space: normal;
        line-height: 1.45;
        text-align: left;
    }
}

/* ==========================================================================
   ASTRAINA TOP-LEFT LOGO 1.5X SCALE & AIR TIGHTENING ($50k LUXURY GRADE)
   ========================================================================== */
.ast-header-brand,
.ast-logo,
.ast-site-logo,
.site-branding,
.ast-brand,
.ast-nav-brand,
.header-brand {
    display: inline-flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
}

/* Принудительное увеличение изображения на 50% и сжатие пустых полей */
.ast-header-brand img,
.ast-logo img,
.ast-site-logo img,
.site-branding img,
.ast-brand img,
.ast-nav-brand img,
.header-brand img,
header img[src*="logo"],
.ast-header img[src*="logo"],
.ast-navbar img[src*="logo"],
.site-header img[src*="logo"] {
    height: 72px !important;
    max-height: 75px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.40)) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease !important;
    vertical-align: middle !important;
}

/* Интерактивный микро-отклик при наведении на астролябию */
.ast-header-brand img:hover,
.ast-logo img:hover,
.ast-site-logo img:hover,
.ast-brand img:hover,
header img[src*="logo"]:hover {
    transform: scale(1.05) rotate(2deg) !important;
    filter: drop-shadow(0 0 24px rgba(245, 158, 11, 0.75)) !important;
}

/* Мобильная адаптация: гармоничный размер для экранов смартфонов */
@media (max-width: 768px) {
    .ast-header-brand img,
    .ast-logo img,
    .ast-site-logo img,
    .site-branding img,
    .ast-brand img,
    header img[src*="logo"] {
        height: 52px !important;
        max-height: 54px !important;
    }
}

/* ==========================================================================
   ASTRAINA HERO GUIDE BADGE ($50k LUXURY GRADE)
   «Твой проводник в мире звёздных нитей.»
   ========================================================================== */
.ast-hero-guide-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin: 10px 0 24px 0 !important;
    padding: 8px 22px !important;
    background: rgba(245, 158, 11, 0.05) !important;
    border: 1px solid rgba(245, 158, 11, 0.24) !important;
    border-radius: 999px !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), inset 0 0 14px rgba(245, 158, 11, 0.08) !important;
    max-width: fit-content !important;
}

.ast-guide-text {
    font-family: 'Cinzel Decorative', 'Cormorant Garamond', 'Times New Roman', serif !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    background: linear-gradient(135deg, #FEF3C7 0%, #F59E0B 50%, #FBBF24 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 24px rgba(245, 158, 11, 0.35) !important;
    white-space: nowrap !important;
}

.ast-guide-star {
    font-size: 10px !important;
    color: #F59E0B !important;
    opacity: 0.85 !important;
    animation: astGuideStarPulse 3s ease-in-out infinite alternate !important;
}

@keyframes astGuideStarPulse {
    0% {
        opacity: 0.35;
        transform: scale(0.85);
        text-shadow: 0 0 4px rgba(245, 158, 11, 0.2);
    }
    100% {
        opacity: 1;
        transform: scale(1.2);
        text-shadow: 0 0 12px rgba(245, 158, 11, 0.95);
    }
}

@media (max-width: 768px) {
    .ast-hero-guide-badge {
        margin: 8px 0 18px 0 !important;
        padding: 6px 14px !important;
        border-radius: 14px !important;
        max-width: 100% !important;
        white-space: normal !important;
    }
    .ast-guide-text {
        font-size: 12px !important;
        letter-spacing: 0.08em !important;
        white-space: normal !important;
        line-height: 1.45 !important;
        text-align: left !important;
    }
}

/* ==========================================================================
   ASTRAINA HERO MANIFESTO — LUXURY 3-LINE INSCRIPTION ($50k AWWARDS GRADE)
   ========================================================================== */
.ast-hero-manifesto {
    display: block !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    max-width: 780px !important;
}

.ast-manifesto-title {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Cinzel Decorative', 'Cormorant Garamond', 'Cinzel', serif !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
    letter-spacing: 0.05em !important;
    background: none !important;
    border: none !important;
}

.ast-manifesto-row {
    display: block !important;
    background: linear-gradient(135deg, #FEF3C7 0%, #F59E0B 45%, #FBBF24 85%, #D97706 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 28px rgba(245, 158, 11, 0.40)) !important;
}

/* Строка 1: Имя (самый мощный акцент) */
.ast-row-name {
    font-size: 38px !important;
    letter-spacing: 0.06em !important;
}

/* Строка 2: Муза Звёздного Фолианта Атлантиды */
.ast-row-muse {
    font-size: 30px !important;
    font-weight: 600 !important;
    opacity: 0.96 !important;
    letter-spacing: 0.04em !important;
}

/* Строка 3: Твой проводник в мире звёздных нитей (в 2 раза крупнее прежнего) */
.ast-row-guide {
    font-size: 29px !important;
    font-weight: 500 !important;
    opacity: 0.92 !important;
    letter-spacing: 0.03em !important;
}

/* Стилизация нового универсального текста описания */
.ast-hero-desc {
    font-family: 'Plus Jakarta Sans', 'Syne', sans-serif !important;
    font-size: 16.5px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    color: #E2E8F0 !important;
    opacity: 0.88 !important;
    max-width: 620px !important;
    margin: 0 0 32px 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
}

/* Мобильная адаптация: идеальный перенос на смартфонах */
@media (max-width: 768px) {
    .ast-manifesto-title {
        gap: 6px !important;
    }
    .ast-row-name {
        font-size: 26px !important;
    }
    .ast-row-muse {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .ast-row-guide {
        font-size: 19px !important;
        line-height: 1.3 !important;
    }
    .ast-hero-desc {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }
}

/* ==========================================================================
   ASTRAINA HEADER BRAND & MANIFESTO ($50k LUXURY GRADE)
   ========================================================================== */

/* 1. БРЕНД В ШАПКЕ: СЛОВО ASTRAINA (+20%, БЕЗ ПЛАШЕК) */
.ast-header-brand,
.ast-logo,
.ast-site-logo,
.site-branding,
.ast-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ast-header-title,
.ast-brand-title,
.ast-logo-text,
.ast-header-brand span:not(.brand-sub),
.ast-brand span:not(.brand-sub),
header .site-title a {
    display: inline-block !important;
    font-family: 'Cinzel Decorative', 'Cormorant Garamond', serif !important;
    font-size: 27px !important; /* Увеличение на 20% */
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #FEF3C7 0%, #F59E0B 45%, #FBBF24 85%, #D97706 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.45)) !important;
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    vertical-align: middle !important;
}

/* Принудительное скрытие надписи AstraChron NASA JPL Core */
.brand-sub,
.logo-sub,
.ast-brand-sub,
[class*="astrachron"],
[class*="core-tag"],
small[class*="brand"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
}

/* 2. МОНУМЕНТАЛЬНЫЙ 3-СТРОЧНЫЙ МАНИФЕСТ (БЕЗ ПЛАШЕК, В 2 РАЗА КРУПНЕЕ) */
.ast-hero-manifesto {
    display: block !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 22px 0 !important;
    max-width: 820px !important;
}

.ast-manifesto-title {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Cinzel Decorative', 'Cormorant Garamond', 'Cinzel', serif !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.05em !important;
    background: transparent !important;
    border: none !important;
}

.ast-manifesto-row {
    display: block !important;
    background: linear-gradient(135deg, #FEF3C7 0%, #F59E0B 45%, #FBBF24 85%, #D97706 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 26px rgba(245, 158, 11, 0.38)) !important;
}

/* Строка 1: Я Астраина, */
.ast-row-name {
    font-size: 38px !important;
    letter-spacing: 0.06em !important;
}

/* Строка 2: Муза Звёздного Фолианта Атлантиды, */
.ast-row-muse {
    font-size: 30px !important;
    font-weight: 600 !important;
    opacity: 0.96 !important;
    letter-spacing: 0.04em !important;
}

/* Строка 3: Твой проводник в мире звёздных нитей. */
.ast-row-guide {
    font-size: 29px !important;
    font-weight: 500 !important;
    opacity: 0.94 !important;
    letter-spacing: 0.03em !important;
}

/* Универсальное сакральное описание под манифестом */
.ast-hero-desc {
    font-family: 'Plus Jakarta Sans', 'Syne', sans-serif !important;
    font-size: 16.5px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    color: #E2E8F0 !important;
    opacity: 0.88 !important;
    max-width: 640px !important;
    margin: 0 0 32px 0 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6) !important;
}

/* Адаптивность для смартфонов */
@media (max-width: 768px) {
    .ast-header-title {
        font-size: 20px !important;
        letter-spacing: 0.10em !important;
    }
    .ast-manifesto-title {
        gap: 6px !important;
    }
    .ast-row-name {
        font-size: 26px !important;
    }
    .ast-row-muse {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .ast-row-guide {
        font-size: 19px !important;
        line-height: 1.3 !important;
    }
    .ast-hero-desc {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }
}
