/* ==========================================
   1. БАЗОВЫЕ НАСТРОЙКИ ТЕМНОЙ ТЕМЫ
   ========================================== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121214;
    color: #e1e1e6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Строгая фиксированная шапка (Стиль Ru-Center) */
.main-header {
    background-color: #1a1a1e;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #29292e;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
}

/* Кликабельный текстовый логотип-иконка */
.header-logo-block {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1.5px;
    transition: opacity 0.2s;
}

.header-logo-block:hover {
    opacity: 0.85;
}

.logo-accent {
    color: #00ff88;
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.2);
}

.logo-main {
    color: #ffffff;
}

.status-badge {
    background-color: rgba(0, 255, 136, 0.05);
    color: #00ff88;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #00ff88;
    letter-spacing: 0.5px;
}

/* Смещение под шапку */
.landing-container {
    flex: 1;
    margin-top: 70px;
    width: 100%;
}
/* ==========================================
   2. ШАБЛОНЫ ЭКРАНОВ И ЭЛЕМЕНТОВ
   ========================================== */

/* Первый экран: Заставка (Hero) */
.hero-section {
    height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a24 0%, #121214 100%);
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1a1a1e;
    border: 1px solid #29292e;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #737380;
    margin-bottom: 25px;
}

/* Прозрачная голубая неоновая галочка ZGE без заливок */
.zge-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1.5px solid #00e1ff;
    padding: 2px 8px;
    border-radius: 4px;
    background: transparent;
    box-shadow: 0 0 8px rgba(0, 225, 255, 0.2);
}

.badge-text {
    font-size: 10px;
    font-weight: 900;
    color: #00e1ff;
    letter-spacing: 0.5px;
}

.badge-check {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: #00e1ff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.main-title {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0 0 15px 0;
    color: #ffffff;
}

.main-subtitle {
    font-size: 20px;
    color: #a8a8b3;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator p {
    margin: 0;
    font-size: 13px;
    color: #737380;
    letter-spacing: 0.5px;
}

.arrow-down {
    width: 16px;
    height: 16px;
    border-right: 2px solid #29292e;
    border-bottom: 2px solid #29292e;
    transform: rotate(45deg);
}

/* Второй экран: Возможности */
.features-section {
    background-color: #16161a;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.section-block {
    max-width: 850px;
    width: 100%;
}

h2 {
    font-size: 28px;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    border-left: 4px solid #00ff88;
    padding-left: 15px;
}

/* Третий заголовок-блок: Жирный, но тоньше логотипа шапки */
h2.heavy-title {
    font-size: 32px;
    font-weight: 800;
    border-left-color: #00e1ff;
}

.features-section p {
    color: #a8a8b3;
    font-size: 16px;
    line-height: 1.8;
}

/* Третий экран: Слайдер топ-контента */
.top-content-section {
    background-color: #121214;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.slider-wrapper {
    max-width: 1000px;
    width: 100%;
}

.slider-desc {
    color: #737380;
    font-size: 14px;
    margin-bottom: 40px;
    padding-left: 19px;
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.content-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
}

.content-card {
    border: 1px solid #29292e;
    border-radius: 16px;
    width: 440px;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s;
}

.content-card:hover {
    border-color: #00ff88;
}

/* Плавные transitions оттенков */
.shade-1 { background-color: #151518; }
.shade-2 { background-color: #17171b; }
.shade-3 { background-color: #141417; }
.shade-4 { background-color: #18181c; }
.shade-5 { background-color: #161619; }
.shade-6 { background-color: #19191e; }

.card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.shade-1 .card-tag, .shade-3 .card-tag, .shade-5 .card-tag {
    background-color: rgba(0, 225, 255, 0.05);
    color: #00e1ff;
    border: 1px solid rgba(0, 225, 255, 0.2);
}

.shade-2 .card-tag, .shade-4 .card-tag, .shade-6 .card-tag {
    background-color: rgba(255, 0, 136, 0.05);
    color: #ff0088;
    border: 1px solid rgba(255, 0, 136, 0.2);
}

.card-preview-placeholder {
    height: 180px;
    background-color: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.04);
}

.content-card h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    color: #ffffff;
}

.content-card p {
    margin: 0;
    color: #737380;
    font-size: 14px;
}

.nav-arrow {
    background-color: #1a1a1e;
    border: 1px solid #29292e;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.nav-arrow:hover {
    border-color: #00ff88;
    background-color: #222226;
}

.nav-arrow::after {
    content: '';
    width: 10px;
    height: 10px;
    border-left: 2px solid #a8a8b3;
    border-bottom: 2px solid #a8a8b3;
    display: block;
}

.prev-arrow::after { transform: rotate(45deg) translate(2px, -2px); }
.next-arrow::after { transform: rotate(-135deg) translate(2px, -2px); }
/* ==========================================
   3. ОПИСАНИЕ ИМПЕРИИ, НЕОНОВЫЕ СТИЛИ И ФУТЕР
   ========================================== */

/* Четвертый экран: Описание Империи ZGE */
.empire-info-section {
    background-color: #16161a;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.empire-text-block p {
    font-size: 18px;
    line-height: 1.9;
    color: #a8a8b3;
    margin-bottom: 25px;
}

/* Стилизация интерактивных ссылок экосистемы */
.zge-link {
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(0, 255, 136, 0.4);
    transition: all 0.2s;
    display: inline-block;
}

.zge-link:hover {
    color: #00e1ff;
    border-bottom-color: #00e1ff;
}

/* Текстовые метки для незавершенных модулей */
.process-tag {
    font-size: 13px;
    color: #ff0088;
    font-weight: normal;
    font-style: italic;
    margin-left: 2px;
}

.highlight-brand {
    color: #ffffff;
    font-weight: 700;
}

/* Кнопка регистрации в шапке сайта */
.register-btn {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid #29292e;
    background-color: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}

.register-btn:hover {
    border-color: #00ff88;
    background-color: rgba(0, 255, 136, 0.05);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

/* Новая четвертая секция (Фиолетовый неон) */
.action-section {
    background-color: #121214;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

h2.heavy-title.purple-neon {
    font-size: 32px;
    font-weight: 800;
    border-left-color: #bd00ff;
    text-shadow: 0 0 15px rgba(189, 0, 255, 0.15);
}

.action-card {
    background-color: #16161a;
    border: 1px solid #29292e;
    border-radius: 16px;
    padding: 35px;
    margin-top: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
}

.action-card p {
    color: #a8a8b3;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* Большая неоновая кнопка регистрации */
.action-main-btn {
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #bd00ff 0%, #7900cc 100%);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(189, 0, 255, 0.3);
    transition: all 0.2s ease;
}

.action-main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(189, 0, 255, 0.5);
    filter: brightness(1.1);
}

/* Подвал и стилизация дисклеймера */
.main-footer {
    background-color: #1a1a1e;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #29292e;
    color: #737380;
    font-size: 13px;
}

.footer-copyright {
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 11px;
    color: #52525b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ==========================================
   4. АДАПТИВНОСТЬ ПОД ЭКРАНЫ СМАРТФОНОВ
   ========================================== */
@media (max-width: 900px) {
    .content-card { width: 100%; }
    .carousel-container { gap: 10px; }
    .nav-arrow { width: 36px; height: 36px; }
    .main-title { font-size: 44px; }
    .main-header { padding: 15px 20px; }
    h2.heavy-title { font-size: 26px; }
    .empire-text-block p { font-size: 16px; }
    .register-btn { padding: 6px 12px; font-size: 13px; }
    .action-card { padding: 20px; }
    .action-main-btn { width: 100%; text-align: center; box-sizing: border-box; }
}
/* ========================================================
   1. МЕНЕДЖЕР МОДАЛЬНЫХ ОВЕРЛЕЕВ (ЭКРАНЫ А1 И B1)
   ======================================================== */

/* Затемняющий и размывающий фон для обоих окон */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 20, 0.88); /* Глубокий темный фон */
    backdrop-filter: blur(6px);                /* Эффект матового размытия сайта */
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;                              /* Железно перекрывает шапку и весь контент */
    padding: 20px;
    box-sizing: border-box;
    animation: fadeInModal 0.25s ease-out;     /* Плавное проявление при клике */
}

/* Стилизация внутренних карточек окон */
.modal-card {
    background-color: #16161a;
    border-radius: 16px;
    padding: 35px;
    max-width: 420px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 15px;                            /* Отступы для side-by-side рендеринга на ПК */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-card h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.modal-card p {
    margin: 0;
    color: #a8a8b3;
    font-size: 14.5px;
    line-height: 1.6;
}

/* ========================================================
   2. СВЕРХТОЧНЫЙ НЕОНОВЫЙ КОРПУС И ПОДСВЕТКА (ГРАНИЦЫ)
   ======================================================== */

/* Фиолетовый неон для окна A1 (Связывание со старожилами) */
.neon-border-purple {
    border: 1px solid #bd00ff !important;
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.25),
                inset 0 0 15px rgba(189, 0, 255, 0.05);
}

/* Зеленый неон для окна B1 (Создание ZGE ACCOUNT) */
.neon-border-green {
    border: 1px solid #00ff88 !important;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.25),
                inset 0 0 15px rgba(0, 255, 136, 0.05);
}

/* ========================================================
   3. ПОЛЯ ВВОДА И КНОПКА ЗАКРЫТИЯ (UX/UI)
   ======================================================== */

/* Поля авторизации и ID */
.modal-input {
    width: 100%;
    padding: 14px 18px;
    background-color: #121214;
    border: 1px solid #29292e;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Интерактивный фокус на инпутах */
.modal-input:focus {
    border-color: #00e1ff;
    box-shadow: 0 0 10px rgba(0, 225, 255, 0.3);
}

/* Текстовая кнопка закрытия */
.close-modal-btn {
    background: transparent;
    border: none;
    color: #737380;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    align-self: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    transition: color 0.15s ease;
}

.close-modal-btn:hover {
    color: #ff0088;                            /* Переключение на сигнальный розовый неон при наведении */
}

/* ========================================================
   4. КРУГЛАЯ АВАТАРКА ПОЛЬЗОВАТЕЛЯ В ШАПКЕ
   ======================================================== */

/* Появляется вместо кнопки "Войти" после успешного шага 3b и 4a */
.user-profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #29292e;
    background-color: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Наведение на аватарку — загорается зеленый неоновый ореол */
.user-profile-avatar:hover {
    border-color: #00ff88;
    background-color: rgba(0, 255, 136, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.35);
}

/* ========================================================
   5. АНИМАЦИИ И АДАПТИВНОСТЬ ПОД ТЕЛЕФОНЫ
   ======================================================== */

/* Анимация мягкого появления */
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Мобильная адаптация: на смартфонах окна выстраиваются вертикально */
@media (max-width: 900px) {
    .modal-overlay {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 90px;                     /* Смещение ниже фиксированной шапки */
        overflow-y: auto;                      /* Скролл, если оба окна не влезают в экран по высоте */
    }
    
    .modal-card {
        margin: 12px 0;
        padding: 25px;
    }
}
/* ========================================================
   1. МОДАЛЬНЫЕ ОКНА И ОВЕРЛЕИ АВТОРИЗАЦИИ (А1 И B1)
   ======================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 20, 0.88);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: 20px;
    box-sizing: border-box;
}

.modal-card {
    background-color: #16161a;
    border-radius: 16px;
    padding: 35px;
    max-width: 420px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 15px;
}

.modal-card h3 {
    margin: 0;
    font-size: 24px;
    color: #ffffff;
    font-weight: 800;
}

.modal-card p {
    margin: 0;
    color: #a8a8b3;
    font-size: 14px;
    line-height: 1.6;
}

.modal-input {
    width: 100%;
    padding: 14px 18px;
    background-color: #121214;
    border: 1px solid #29292e;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}

.modal-input:focus {
    border-color: #00e1ff;
    box-shadow: 0 0 10px rgba(0, 225, 255, 0.3);
}

.close-modal-btn {
    background: transparent;
    border: none;
    color: #737380;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    align-self: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.close-modal-btn:hover {
    color: #ff0088;
}

.neon-border-purple {
    border: 1px solid #bd00ff !important;
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.25);
}

.neon-border-green {
    border: 1px solid #00ff88 !important;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.25);
}

/* ========================================================
   2. КОМПОНЕНТЫ 6-КАРТОЧНОГО СЛАЙДЕРА ВЫДАЮЩИХСЯ РАБОТ
   ======================================================== */
.carousel-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.content-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
}

.content-card {
    border: 1px solid #29292e;
    border-radius: 16px;
    width: 320px;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.content-card:hover {
    border-color: #00ff88;
    transform: translateY(-4px);
}

.shade-1 { background-color: #151518; }
.shade-2 { background-color: #17171b; }
.shade-3 { background-color: #141417; }
.shade-4 { background-color: #18181c; }
.shade-5 { background-color: #161619; }
.shade-6 { background-color: #19191e; }

/* ========================================================
   3. ИКОНКА ПРОФИЛЯ ПОЛЬЗОВАТЕЛЯ (АВАТАРКА)
   ======================================================== */
.user-profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #29292e;
    background-color: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.user-profile-avatar:hover {
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.35);
}

@media (max-width: 900px) {
    .modal-overlay {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 90px;
        overflow-y: auto;
    }
    .modal-card { margin: 12px 0; }
}
