/* ==========================================================================
   INDEX.CSS — СТИЛИ ИСКЛЮЧИТЕЛЬНО ДЛЯ ГЛАВНОЙ СТРАНИЦЫ (INDEX.HTML)
   ========================================================================== */

/* ==========================================================================
   ИСПРАВЛЕННЫЙ БЛОК ПЕРВОГО ЭКРАНА С ПРИНУДИТЕЛЬНЫМ ЦЕНТРИРОВАНИЕМ
   ========================================================================== */

.hero {
    min-height: 85vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: linear-gradient(rgba(5,6,8,0.4), rgba(5,6,8,1)), url('https://unsplash.com') no-repeat center;
    background-size: cover;
    padding: 160px 20px 40px 20px !important; /* Отличный зазор под парящую шапку */
}
/* [ПОЧИНЕНО] Жесткое горизонтальное выравнивание 3-х кнопок на одном уровне */
.hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important; /* Центрирует всю группу кнопок */
    align-items: center !important;     /* Выравнивает их строго по одной высоте */
    gap: 20px !important;               /* Фиксированный аккуратный отступ в 20px */
    flex-wrap: wrap !important;         /* Красивый перенос только на смартфонах */
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1000px !important;
}


.hero-content {
    max-width: 850px;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100%;
}

/* Принудительный центр для логотипа, подзаголовка и описания */
.main-logo-wrapper {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
}

.glow-logo {
    font-size: 5.5rem;
    margin: 0 !important;
    font-weight: 900;
    letter-spacing: 4px;
    text-shadow: 0 0 45px rgba(51, 153, 255, 0.5);
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

.logo-subtitle {
    font-size: 14px;
    color: var(--blue);
    font-weight: 800;
    letter-spacing: 8px;
    margin-top: -10px !important;
    text-transform: uppercase;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

.subtitle {
    color: #a0aec0 !important;
    font-size: 1.25rem !important;
    max-width: 650px !important;
    margin: 20px auto 55px auto !important; /* Идеальное расстояние до кнопок */
    font-weight: 500 !important;
    line-height: 1.6 !important;
    text-align: center !important;
    display: block !important;
}


.main-logo-wrapper {
    margin-bottom: 25px;
}

.glow-logo {
    font-size: 5.5rem;
    margin: 0;
    font-weight: 900;
    letter-spacing: 4px;
    text-shadow: 0 0 45px rgba(51, 153, 255, 0.5);
}

.glow-logo span {
    color: var(--blue);
}

.logo-subtitle {
    font-size: 14px;
    color: var(--blue);
    font-weight: 800;
    letter-spacing: 8px;
    margin-top: -10px;
    text-transform: uppercase;
}

/* Кнопка онлайн-карты со встроенным SVG */
.btn-map {
    background: transparent;
    color: #2ecc71;
    border: 2px solid #2ecc71;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-map:hover {
    background: #2ecc71;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(46, 204, 113, 0.45);
}

.svg-map-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: inline-block;
    flex-shrink: 0;
}

.btn-map:hover .svg-map-icon {
    fill: #000;
}

.ip-widget {
    background: var(--bg-card);
    border: 2px solid var(--blue);
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(51,153,255,0.1);
    transition: 0.3s;
}

.ip-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(51,153,255,0.3);
}

#server-ip {
    font-size: 20px;
    font-weight: 800;
    color: var(--blue);
}

.ip-title, .ip-sub {
    font-size: 11px;
    color: var(--text-gray);
    font-weight: 600;
}

.online-indicator {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(51, 153, 255, 0.05);
    border: 1px solid rgba(51,153,255,0.1);
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 700;
    color: #4caf50;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 10px #4caf50;
    animation: pulse 2s infinite;
}

/* Вики-Табы переключения рас */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 4px 15px rgba(51,153,255,0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

/* Полупрозрачный матовый эффект для RPG-карточек */
.rpg-race-card {
    max-width: 750px;
    margin: 0 auto;
    background: rgba(12, 15, 22, 0.75); /* Делаем фон карточки прозрачнее */
    backdrop-filter: blur(8px);        /* Эффект матового стекла */
    -webkit-backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(51, 153, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    text-align: left;
}

.rpg-race-card h3 {
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 30px 0;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ИСПРАВЛЕННАЯ РОBHАЯ СЕТКА ХАРАКТЕРИСТИК (Текст никогда не уйдет под название) */
.rpg-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rpg-stat-item {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
}

.rpg-stat-item b {
    color: var(--blue);
    width: 210px;
    flex-shrink: 0;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-right: 15px;
}

.rpg-stat-item span {
    font-weight: 500;
    flex-grow: 1;
}

.race-badge {
    font-size: 55px;
    margin-bottom: 20px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.svg-icon {
    width: 65px;
    height: 65px;
    fill: currentColor;
}

.blue-glow { color: #3399FF; filter: drop-shadow(0 0 15px #3399FF); }
.red-glow { color: #ff3333; filter: drop-shadow(0 0 15px #ff3333); }
.green-glow { color: #2ecc71; filter: drop-shadow(0 0 15px #2ecc71); }
.orange-glow { color: #ff9f43; filter: drop-shadow(0 0 15px #ff9f43); }
.purple-glow { color: #9b5de5; filter: drop-shadow(0 0 15px #9b5de5); }
.gold-glow { color: #FFD700; filter: drop-shadow(0 0 15px #FFD700); }

/* Блок Глобальных механик (Нижний) */
.races-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.race-card-3d {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 40px 30px;
    width: 340px;
    transition: 0.3s;
}

.race-card-3d:hover {
    background: var(--bg-card-hover);
    border-color: var(--blue);
    transform: translateY(-5px);
}

.race-card-3d h3 {
    font-size: 22px;
    margin: 0 0 12px 0;
}

.race-desc {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Как начать игру */
.steps-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.step-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    width: 280px;
    position: relative;
    text-align: left;
}

.step-num {
    position: absolute;
    top: -16px;
    left: 30px;
    background: var(--blue);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 4px 10px var(--blue-glow);
}

.step-card h4 {
    font-size: 20px;
    margin: 0 0 12px 0;
    font-weight: 800;
}

.step-card p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* АДАПТИВНОСТЬ СТРАНИЦЫ ИНДЕКСА */
@media (max-width: 768px) {
    .burger-menu { display: block; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #050608; flex-direction: column; }
    .nav-links.mobile-open { display: flex; }
    .nav-links a { display: block; padding: 18px; text-align: center; }
    .glow-logo { font-size: 3.2rem; }
    .logo-subtitle { font-size: 10px; letter-spacing: 5px; }
    .subtitle { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn, .ip-widget { width: 100%; }
    .shop-layout { flex-direction: column; }
    .rpg-race-card { padding: 25px 20px; }
    .rpg-stat-item { flex-direction: column; gap: 4px; }
    .rpg-stat-item b { width: 100%; margin-right: 0; }
    .race-card-3d, .step-card, .mechanic-info-rpg { width: 100%; }
}
/* ==========================================================================
   ФИНАЛЬНЫЙ СТИЛЬ ЛИНЕЙКИ ОСОБЕННОСТЕЙ СЕРВЕРА (5 КАРТОЧЕК В РЯД)
   ========================================================================== */

/* Ограничиваем максимальную ширину секции особенностей для панорамного вида */
.unique-features-section {
    max-width: 100% !important;
    padding-left: 2% !important;
    padding-right: 2% !important;
}

/* Контейнер-обертка, контролирующий скролл на ноутбуках и телефонах */
.features-line-wrapper {
    width: 100%;
    overflow-x: auto; /* Позволяет крутить карточки влево-вправо, если экран узкий */
    padding: 20px 10px 40px 10px;
    scroll-behavior: smooth;
}

/* Красивый тонкий игровой скроллбар снизу линии карточек */
.features-line-wrapper::-webkit-scrollbar {
    height: 6px;
}
.features-line-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
}
.features-line-wrapper::-webkit-scrollbar-thumb {
    background: rgba(51, 153, 255, 0.2);
    border-radius: 10px;
}
.features-line-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--blue);
}

/* СТРОГАЯ ЛИНИЯ ИЗ 5 КАРТОЧЕК */
.features-line-grid {
    display: flex !important;          /* Переключаем гриды во Flex-линию */
    flex-direction: row !important;
    flex-wrap: nowrap !important;     /* СТРОЖАЙШИЙ ЗАПРЕТ на перенос карточек под низ */
    justify-content: center;          /* Центрирует все 5 штук на больших мониторах */
    gap: 25px !important;
    width: max-content;               /* Растягивает контейнер под реальную ширину 5 карт */
    margin: 0 auto;
}

/* Настройки оформления самих карточек в линии */
.features-line-grid .features-rpg-card {
    background: rgba(12, 15, 22, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    width: 265px !important;          /* Фиксированная ширина карточки в линии */
    flex-shrink: 0 !important;        /* Запрещает карточкам сужаться */
    min-height: 400px;
    border-radius: 16px;
    text-align: left !important;      /* Текст описания строго по левому краю */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-line-grid .features-rpg-card h3 {
    text-align: center !important;    /* Только заголовки остаются по центру */
    font-size: 22px;
    margin: 0 0 25px 0;
}

/* Индивидуальные неоновые свечения верхних цветных SVG-иконок */
.gold-glow { color: #FFD700; filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)); }
.blue-glow { color: #3399FF; filter: drop-shadow(0 0 15px rgba(51, 153, 255, 0.6)); }
.gun-glow { color: #cbd5e1; filter: drop-shadow(0 0 15px rgba(203, 213, 225, 0.4)); }
.green-glow { color: #2ecc71; filter: drop-shadow(0 0 15px rgba(46, 204, 113, 0.6)); }
.purple-glow { color: #9b5de5; filter: drop-shadow(0 0 15px rgba(155, 93, 229, 0.6)); }

/* Контейнеры списков и строк */
.card-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
    padding: 0 10px;
}

.list-item-rpg {
    font-size: 13.5px;
    line-height: 1.5;
    color: #cbd5e1;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.marker-rpg {
    font-size: 14px;
    flex-shrink: 0;
}

/* Синхронизация цветов для маркеров "✦" внутри списков каждой карточки */
.gold-list .marker-rpg { color: #FFD700; text-shadow: 0 0 8px rgba(255, 215, 0, 0.5); }
.blue-list .marker-rpg { color: #3399FF; text-shadow: 0 0 8px rgba(51, 153, 255, 0.5); }
.gun-list .marker-rpg { color: #cbd5e1; text-shadow: 0 0 8px rgba(203, 213, 225, 0.3); }
.green-list .marker-rpg { color: #2ecc71; text-shadow: 0 0 8px rgba(46, 204, 113, 0.5); }
.purple-list .marker-rpg { color: #9b5de5; text-shadow: 0 0 8px rgba(155, 93, 229, 0.5); }

/* Красивая индивидуальная подсветка рамок при наведении на каждую карточку */
.features-line-grid .features-rpg-card:hover {
    transform: translateY(-6px);
}
.features-line-grid .features-rpg-card:nth-child(1):hover { border-color: #FFD700 !important; box-shadow: 0 12px 30px rgba(255, 215, 0, 0.15); }
.features-line-grid .features-rpg-card:nth-child(2):hover { border-color: #3399FF !important; box-shadow: 0 12px 30px rgba(51, 153, 255, 0.15); }
.features-line-grid .features-rpg-card:nth-child(3):hover { border-color: #cbd5e1 !important; box-shadow: 0 12px 30px rgba(203, 213, 225, 0.1); }
.features-line-grid .features-rpg-card:nth-child(4):hover { border-color: #2ecc71 !important; box-shadow: 0 12px 30px rgba(46, 204, 113, 0.15); }
.features-line-grid .features-rpg-card:nth-child(5):hover { border-color: #9b5de5 !important; box-shadow: 0 12px 30px rgba(155, 93, 229, 0.15); }

/* Мобильная оптимизация (Вбок вместо столбца) */
@media (max-width: 1200px) {
    .features-line-grid {
        justify-content: flex-start;  /* Прижимаем влево для корректного скролла пальцем */
        padding-left: 15px;
    }
}
/* [ОБНОВЛЕНО] Стилизация нового индикатора онлайна */
.online-indicator-image-box {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(76, 175, 80, 0.05);
    border: 1px solid rgba(76, 175, 80, 0.15);
    padding: 6px 20px;
    border-radius: 30px;
}

/* Стили и обрезка лишних элементов баннера, оставляя только текст онлайна */
.minecraft-online-banner {
    height: 22px;          /* Задаем аккуратную высоту вровень с точкой */
    object-fit: cover;
    filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.3)); /* Зеленое неоновое свечение текста */
    mix-blend-mode: screen; /* Стирает черный/серый фон картинки, оставляя только яркий текст */
    user-select: none;
    pointer-events: none;
}

