@font-face {
    font-family: 'MinecraftFont'; /* Название, которое мы придумываем сами */
    src: url('../fonts/Minecraft.ttf') format('truetype'); /* Путь к твоему файлу */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
:root {
    /* Угольная основа с каменно-оливковым подтоном */
    --bg-main: #111411;
    
    /* Золото и свет портальных искр */
    --accent: #d6ad62;
    --accent-hover: #f1d99f;
    --accent-glow: rgba(214, 173, 98, 0.32);
    
    /* Текст */
    --text-main: #F8F9FA;
    --text-muted: #a7a493;
    
    /* Кам'яні панелі замість надмірного скла */
    --glass-bg: rgba(23, 25, 20, 0.76);
    --glass-border: 1px solid rgba(214, 173, 98, 0.16);
    --glass-blur: blur(10px);
    --radius: 8px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    margin: 0;
    /* Легкий фоновый градиент для глубины */
    background-image: radial-gradient(circle at 50% 0%, rgba(214, 173, 98, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }

/* --- УНИВЕРСАЛЬНЫЙ КЛАСС СТЕКЛА --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* --- НАВИГАЦИЯ --- */
.navbar-glass {
    position: sticky;
    top: 20px;
    z-index: 1020 !important; /* Исправлено: теперь поверх всего */
    margin: 0 auto;
    width: 95%;
    max-width: 1300px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); text-shadow: 0 0 10px var(--accent-glow); }

/* --- ЛОГОТИП В НАВБАРЕ --- */
.server-logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    width: 170px;
    min-width: 170px;
    min-height: 54px;
}

.nav-logo-img {
    display: block;
    position: relative;
    top: -2px;
    width: 170px;
    height: auto;
    max-width: none;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--accent-glow));
    transition: all 0.3s ease;
}

.server-logo:hover .nav-logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 18px var(--accent));
}

/* На телефонах можно сделать логотип чуть меньше, чтобы оставить место для кнопки меню */
@media (max-width: 768px) {
    .server-logo {
        width: 145px;
        min-width: 145px;
        min-height: 46px;
    }

    .nav-logo-img {
        width: 145px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }
}

@media (min-width: 769px) {
    .navbar-glass {
        flex-wrap: nowrap !important;
    }
}

/* 1. Мини-аватар в навигации */
.nav-avatar {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(214, 173, 98, 0.4);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: all 0.3s ease;
}

/* Усиление при наведении на кнопку профиля */
.nav-profile-link:hover .nav-avatar {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(214, 173, 98, 0.8);
}

/* --- СТИЛИ ПРОФИЛЯ И УВЕДОМЛЕНИЙ --- */
.badge-notify {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 0 10px var(--accent-glow);
}

.dropdown-glass {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    border: var(--glass-border) !important;
    border-radius: 12px !important;
    padding: 8px 0 !important;
    z-index: 1025 !important; /* Еще выше навигации */
}

.dropdown-item {
    color: var(--text-muted) !important;
    font-weight: 500 !important;
    transition: 0.3s !important;
}

.dropdown-item:hover {
    background: rgba(214, 173, 98, 0.1) !important;
    color: #fff !important;
    padding-left: 25px !important;
}

.dropdown-glass .dropdown-item {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    white-space: normal !important; /* Чтобы длинный текст переносился */
}

.dropdown-glass .dropdown-item:hover {
    background: rgba(214, 173, 98, 0.1) !important;
    transform: translateX(5px);
}

/* ФИКС ЦВЕТА УВЕДОМЛЕНИЙ (ALERTS) */
.alert-success, .alert-info {
    background: rgba(214, 173, 98, 0.1) !important;
    border: 1px solid rgba(214, 173, 98, 0.3) !important;
    color: var(--accent-hover) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.alert-success i, .alert-info i {
    color: var(--accent) !important;
}

/* СВЕЧЕНИЕ КНОПКИ ПРОФИЛЯ */
.nav-profile-link {
    padding: 6px 18px !important;
    background: rgba(214, 173, 98, 0.1);
    border: 1px solid rgba(214, 173, 98, 0.4);
    border-radius: 50px;
    box-shadow: 0 0 15px var(--accent-glow), inset 0 0 10px rgba(214, 173, 98, 0.1);
    transition: all 0.3s ease !important;
}

.nav-profile-link:hover {
    background: rgba(214, 173, 98, 0.2);
    border-color: var(--accent);
    color: #fff !important;
    box-shadow: 0 0 25px rgba(214, 173, 98, 0.6), inset 0 0 15px rgba(214, 173, 98, 0.2);
    transform: translateY(-2px);
}

.nav-profile-link .fa-chevron-down {
    margin-left: 5px;
}

/* СВЕЧЕНИЕ АВАТАРА В ПРОФИЛЕ И МАГАЗИНЕ */
.card-body canvas,
.card-body img,
.card img.rounded, 
.list-group-item img,
.list-group-item canvas {
    border-radius: 10px !important;
    border: 1px solid rgba(214, 173, 98, 0.4) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.card img.rounded, 
.list-group-item img.rounded {
    border-radius: 10px !important;
    border: 1px solid rgba(214, 173, 98, 0.4) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* СВЕЧЕНИЕ ГЛАВНОЙ АВАТАРКИ ПРОФИЛЯ В МАГАЗИНЕ */
.d-grid .flex-shrink-0 img.rounded.me-3,
img.me-3.rounded[width="48"] {
    border-radius: 10px !important;
    border: 1px solid rgba(214, 173, 98, 0.4) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.d-grid .flex-shrink-0 img.rounded.me-3:hover,
img.me-3.rounded[width="48"]:hover {
    border-color: var(--accent) !important;
    box-shadow: 0 0 25px rgba(214, 173, 98, 0.7) !important;
    transform: scale(1.08) translateY(-3px);
    z-index: 10;
}

/* --- ГЛАВНАЯ СТРАНИЦА (HERO) --- */
.hero-section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 2rem 50px; /* Исправлено: отступ для навбара */
}

.hero-title { 
    font-family: 'MinecraftFont', sans-serif !important; /* И сюда тоже */
    font-size: 5rem; 
    letter-spacing: 2px; /* Майнкрафт-шрифты любят, когда буквы не сильно слипаются */
    margin-bottom: 1rem; 
    color: #ffffff;
    text-shadow: 0 4px 0px rgba(0, 0, 0, 0.5); /* Классическая квадратная тень для майнкрафт-стиля */
}

.hero-title span {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* --- ЛОГОТИП В HERO СЕКЦИИ --- */
.hero-logo-container {
    margin-bottom: 2rem; /* Отступ до подзаголовка */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 700px; /* Максимальная ширина логотипа на больших экранах */
    width: 90%;      /* Адаптивность для мобилок */
    height: auto;
    
    filter: drop-shadow(0 0 25px var(--accent-glow));
    
    /* Плавная анимация при наведении */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-logo:hover {
    /* Легкое увеличение и усиление свечения при наведении */
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px var(--accent));
}

/* Адаптация для маленьких экранов (телефонов) */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 320px;
    }
    .hero-section {
        padding-top: 100px; /* Чуть меньше отступ сверху на мобилках */
    }
}

/* Подзаголовок оставляем аккуратным */
.hero-subtitle { 
    font-family: 'Outfit', sans-serif !important;
    color: var(--text-muted); 
    font-size: 1.25rem; 
    font-weight: 400; 
    max-width: 600px; 
    margin: 0 auto 2.5rem; 
    line-height: 1.6;
}

/* Кнопка копирования IP */
.ip-copy-btn {
    background: rgba(214, 173, 98, 0.1);
    border: 1px solid var(--accent);
    color: var(--text-main);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}
.ip-copy-btn:hover { background: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }

/* --- НОВОСТИ --- */
.news-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    margin-top: 40px; 
    justify-content: center; /* Исправлено: центровка новостей */
}
.news-card { padding: 25px; transition: transform 0.3s; }
.news-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.news-date { font-size: 0.8rem; color: var(--accent); margin-bottom: 10px; display: block; }

/* ИНТЕГРАЦИЯ ПЛАГИНОВ AZURIOM (МАГАЗИН, ВИКИ, ПРОФИЛЬ) */
.card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    border: var(--glass-border) !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    color: var(--text-main) !important;
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent) !important;
    box-shadow: 0 15px 35px rgba(214, 173, 98, 0.25) !important;
    z-index: 10;
}

.card-header {
    background: rgba(214, 173, 98, 0.1) !important;
    border-bottom: var(--glass-border) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--radius) var(--radius) 0 0 !important;
    padding: 15px 20px !important;
}

.card-footer {
    background: transparent !important;
    border-top: var(--glass-border) !important;
}

.list-group-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--text-muted) !important;
    padding: 12px 20px !important;
    transition: all 0.3s ease !important;
}

.list-group-item:last-child { border-bottom: none !important; }

.list-group-item:hover {
    background: rgba(214, 173, 98, 0.05) !important;
    color: #fff !important;
    padding-left: 25px !important;
}

.list-group-item.active {
    background: rgba(214, 173, 98, 0.15) !important;
    border-left: 3px solid var(--accent) !important;
    color: #fff !important;
    box-shadow: inset 0 0 20px rgba(214, 173, 98, 0.1) !important;
}

.btn-primary, .btn-success, .btn-info {
    background: var(--accent) !important;
    border: 1px solid rgba(214, 173, 98, 0.5) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px var(--accent-glow) !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.btn-primary:hover, .btn-success:hover, .btn-info:hover {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 173, 98, 0.6) !important;
}

.progress {
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 50px !important;
    height: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    overflow: hidden;
}

.progress-bar {
    background: var(--accent) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
}

.text-muted, .small { color: var(--text-muted) !important; }

/* ФИКС ТАБЛИЦЫ ПЛАТЕЖЕЙ */
.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: transparent !important;
    color: var(--text-main) !important;
    box-shadow: none !important;
}

.table tbody tr td, 
.table tbody tr th {
    background-color: transparent !important;
    color: var(--text-main) !important;
    border-bottom: 1px solid rgba(214, 173, 98, 0.15) !important;
    vertical-align: middle;
}

.table thead th {
    background: rgba(214, 173, 98, 0.1) !important;
    color: #fff !important;
    border-bottom: 2px solid rgba(214, 173, 98, 0.3) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.table tbody tr:hover {
    background: rgba(214, 173, 98, 0.05) !important;
    transition: background 0.3s ease;
}

/* ВИКИ (БАЗА ЗНАНИЙ) И ТИПОГРАФИКА */
.card-body h1, .card-body h2, .card-body h3, .card-body h4 {
    color: #ffffff;
    font-weight: 700;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
}

.card-body h2 { border-bottom: 1px solid rgba(214, 173, 98, 0.2); padding-bottom: 10px; }
.card-body p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }
.card-body blockquote {
    background: rgba(214, 173, 98, 0.05);
    border-left: 4px solid var(--accent);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
    color: #e2e2e2;
    font-style: italic;
    box-shadow: inset 0 0 15px rgba(214, 173, 98, 0.05);
}

.card-body ul, .card-body ol { color: var(--text-muted); padding-left: 1.5rem; margin-bottom: 1.5rem; }
.card-body li { margin-bottom: 8px; }

.card-body a:not(.btn):not(.list-group-item) {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed rgba(214, 173, 98, 0.5);
    transition: all 0.3s ease;
}

.card-body a:not(.btn):not(.list-group-item):hover {
    color: var(--accent-hover);
    border-bottom: 1px solid var(--accent-hover);
    text-shadow: 0 0 10px var(--accent-glow);
}

.card-body table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.card-body table th {
    background: rgba(214, 173, 98, 0.15);
    color: #fff;
    font-weight: 600;
    padding: 12px 15px;
    border-bottom: 2px solid rgba(214, 173, 98, 0.3);
    text-align: left;
}

.card-body table td {
    padding: 12px 15px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-body table tr:hover td { background: rgba(255, 255, 255, 0.02); color: #fff; }

.card .text-primary, .card .text-success, .card-body i.fs-1 {
    color: var(--accent) !important;
    text-shadow: 0 0 15px var(--accent-glow) !important;
}

main, #app > .container {
    padding-top: 2.5rem !important;
    margin-top: 1.5rem !important;
}

.input-group input.form-control {
    background: rgba(23, 25, 20, 0.72) !important;
    border: 1px solid rgba(214, 173, 98, 0.3) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
}

.input-group input.form-control:focus {
    background: rgba(23, 25, 20, 0.94) !important;
    border-color: var(--accent) !important;
    box-shadow: inset 0 0 10px rgba(214, 173, 98, 0.1), 0 0 15px rgba(214, 173, 98, 0.4) !important;
    color: #ffffff !important;
}

.input-group input.form-control::placeholder { color: rgba(255, 255, 255, 0.4) !important; }

/* ФОРМЫ ВВОДА (ТИКЕТЫ, АВТОРИЗАЦИЯ, ПРОФИЛЬ) */
.form-control, .form-select {
    background: rgba(23, 25, 20, 0.72) !important;
    border: 1px solid rgba(214, 173, 98, 0.3) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease !important;
}

.form-control:focus, .form-select:focus {
    background: rgba(23, 25, 20, 0.94) !important;
    border-color: var(--accent) !important;
    box-shadow: inset 0 0 10px rgba(214, 173, 98, 0.1), 0 0 15px rgba(214, 173, 98, 0.4) !important;
    color: #ffffff !important;
    outline: none !important;
}

.form-control::placeholder { color: rgba(255, 255, 255, 0.4) !important; }
.form-select option { background: #171914 !important; color: #ffffff !important; }

.form-check-input {
    background-color: rgba(23, 25, 20, 0.72) !important;
    border: 1px solid rgba(214, 173, 98, 0.5) !important;
}

.form-check-input:checked {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 10px var(--accent-glow) !important;
}

/* СТРАНИЦА ЛАУНЧЕРА (ЗАГРУЗКИ) */
main > p.text-center {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.card-body a.text-reset { text-decoration: none !important; color: var(--text-main) !important; }

.card-body .display-1 {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease, text-shadow 0.3s ease;
}

.card-body .card-text { font-size: 1.3rem; font-weight: 600; margin-top: 15px; letter-spacing: 1px; }

.card:hover .card-body a.text-reset .display-1 {
    transform: scale(1.2) translateY(-10px);
    color: #fff;
    text-shadow: 0 0 30px var(--accent), 0 0 10px rgba(255, 255, 255, 0.8);
}

.card:hover .card-body a.text-reset .card-text {
    color: var(--accent-hover);
    text-shadow: 0 0 10px var(--accent-glow);
}




/* --- ГОРИЗОНТАЛЬНИЙ ТОП ГРАВЦІВ (LEADERBOARD) --- */
.leaderboard-horizontal-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

.leaderboard-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(214, 173, 98, 0.1);
    border-radius: 12px;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1; /* Карточки растягиваются равномерно */
    min-width: 80px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.leaderboard-card:hover {
    background: rgba(214, 173, 98, 0.1);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(214, 173, 98, 0.25);
}

.skin-wrapper {
    height: 120px; /* Высота под скин */
    width: 100%;
    display: flex;
    align-items: flex-end; /* Прижимаем скин к низу, чтобы они стояли на одном уровне */
    justify-content: center;
    overflow: visible;
}

.leaderboard-skin {
    max-height: 100%;
    width: auto;
    filter: drop-shadow(0 5px 8px rgba(0,0,0,0.6));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* При наведении скин немного "подпрыгивает" */
.leaderboard-card:hover .leaderboard-skin {
    transform: scale(1.15) translateY(-5px);
}

/* Медали топ-3 */
.leaderboard-rank {
    font-size: 1rem;
    font-family: 'Russo One', sans-serif;
    color: rgba(255, 255, 255, 0.2);
}
.rank-1 { color: #FFD700; text-shadow: 0 0 15px rgba(255, 215, 0, 0.6); font-size: 1.3rem; }
.rank-2 { color: #C0C0C0; text-shadow: 0 0 15px rgba(192, 192, 192, 0.6); font-size: 1.15rem; }
.rank-3 { color: #CD7F32; text-shadow: 0 0 15px rgba(205, 127, 50, 0.6); font-size: 1.1rem; }

/* Адаптация для мобильных телефонов (чтобы не сплющило) */
@media (max-width: 768px) {
    .leaderboard-horizontal-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .leaderboard-card {
        min-width: 30%; /* По 3 в ряд на планшетах/телефонах */
    }
}
/* Футер */
.footer-glass {
    background: rgba(17, 20, 17, 0.6);
    border-top: 1px solid rgba(214, 173, 98, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer-links a { color: var(--text-muted) !important; transition: all 0.3s ease; display: inline-block; }

.footer-links a:hover {
    color: var(--accent) !important;
    transform: translateX(8px);
    text-shadow: 0 0 8px var(--accent-glow);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.discord-icon:hover,
.telegram-icon:hover {
    background: rgba(214, 173, 98, 0.16);
    border-color: var(--accent);
    color: var(--accent-hover) !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(214, 173, 98, 0.2);
}

main, #app > .container { min-height: 75vh !important; }

.btn-mark-read {
    background: rgba(214, 173, 98, 0.05);
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
}

.btn-mark-read:hover { background: rgba(214, 173, 98, 0.15); color: var(--accent); }
.bg-accent-glow { background: rgba(214, 173, 98, 0.1); }

.notifications-scroll::-webkit-scrollbar { width: 4px; }
.notifications-scroll::-webkit-scrollbar-thumb { background: var(--accent-glow); border-radius: 10px; }

.bg-accent { background-color: var(--accent) !important; }

.notifications-list::-webkit-scrollbar { width: 4px; }
.notifications-list::-webkit-scrollbar-thumb { background: var(--accent-glow); border-radius: 10px; }

.btn-outline-accent {
    border: 1px solid var(--accent);
    color: var(--text-main);
    background: rgba(214, 173, 98, 0.05);
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
}
/* Гарантируем, что модальные окна всегда сверху */
.modal {
    z-index: 2000 !important;
}
.modal-backdrop {
    z-index: 1950 !important;
}

/* Server palette and compact, block-inspired UI details. */
:root {
    --bs-primary: #d6ad62 !important;
    --bs-primary-rgb: 214, 173, 98 !important;
}

body {
    background-image:
        radial-gradient(circle at 50% 0%, rgba(127, 132, 91, 0.1) 0%, transparent 48%),
        linear-gradient(rgba(17, 20, 17, 0.12), rgba(17, 20, 17, 0.12));
}

.glass-panel,
.card,
.dropdown-glass {
    border-radius: 8px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.025) !important;
}

.navbar-glass {
    border-radius: 8px;
    background: rgba(17, 20, 17, 0.82);
}

.btn-primary,
.btn-success,
.btn-info,
.bg-accent,
.progress-bar {
    color: #1a1811 !important;
}

.btn-primary,
.btn-success,
.btn-info,
.btn-outline-accent,
.ip-copy-btn,
.nav-profile-link {
    border-radius: 5px !important;
}

.btn-primary:hover,
.btn-success:hover,
.btn-info:hover {
    color: #1a1811 !important;
}

.btn-outline-accent:hover,
.ip-copy-btn:hover,
.slider-arrow:hover {
    color: #1a1811 !important;
}

.hero-title span,
.news-date,
.card-body a:not(.btn):not(.list-group-item) {
    color: var(--accent);
}

#shop .card > a {
    display: block;
    overflow: hidden;
}

#shop .card-img-top {
    transition: transform 350ms ease;
}

#shop .card:hover > a .card-img-top,
#shop .card > a:focus-visible .card-img-top {
    transform: scale(1.15);
}

#itemModal .modal-content {
    overflow: hidden;
    color: var(--text-main);
    background: linear-gradient(145deg, rgba(24, 27, 21, 0.98), rgba(15, 17, 15, 0.98));
    border: 1px solid rgba(214, 173, 98, 0.32);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 30px rgba(214, 173, 98, 0.08);
}

#itemModal .modal-header,
#itemModal .modal-footer {
    background: rgba(214, 173, 98, 0.045);
    border-color: rgba(214, 173, 98, 0.18);
}

#itemModal .modal-title {
    color: #f1d99f;
}

#itemModal .modal-body {
    color: var(--text-main);
}

#itemModal .btn-close {
    filter: invert(1) sepia(0.25) saturate(0.7);
}

#itemModal .modal-footer > span {
    color: #f1d99f;
}

::selection {
    background: rgba(214, 173, 98, 0.32);
    color: #fff8e8;
}

@media (prefers-reduced-motion: reduce) {
    #shop .card-img-top {
        transition: none;
    }

    #shop .card:hover > a .card-img-top,
    #shop .card > a:focus-visible .card-img-top {
        transform: none;
    }
}

/* Fantasy first-screen treatment; leaderboard markup and 3D skin layout stay unchanged. */
.home-hero-card {
    position: relative;
    isolation: isolate;
    width: 100% !important;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 440px;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.8rem) !important;
    background:
        linear-gradient(125deg, rgba(17, 20, 17, 0.97) 0%, rgba(23, 25, 20, 0.91) 68%, rgba(52, 39, 24, 0.74) 100%) !important;
    border: 1px solid rgba(214, 173, 98, 0.34) !important;
    border-radius: 12px !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.38), inset 0 1px rgba(241, 217, 159, 0.08) !important;
    text-align: left;
}

.home-hero-card::before,
.home-hero-card::after {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    content: "";
}

.home-hero-card::before {
    top: -92px;
    right: -68px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(214, 173, 98, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(214, 173, 98, 0.025), 0 0 0 50px rgba(214, 173, 98, 0.02);
    animation: home-rune-drift 24s linear infinite;
}

.home-hero-card::after {
    top: 31px;
    right: 52px;
    width: 77px;
    height: 77px;
    border: 1px solid rgba(214, 173, 98, 0.23);
    transform: rotate(45deg);
}

.home-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #c6b58d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-hero-rune {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: var(--accent);
    background: rgba(214, 173, 98, 0.1);
    border: 1px solid rgba(214, 173, 98, 0.32);
    border-radius: 8px 3px 8px 3px;
    font-size: 0.83rem;
    transform: rotate(-4deg);
}

.home-hero-separator {
    color: rgba(214, 173, 98, 0.6);
}

.home-hero-title {
    max-width: 640px;
    margin: 0 0 5px !important;
    color: #f4f0e5;
    font-family: 'Oxanium', sans-serif !important;
    font-size: clamp(2rem, 3.1vw, 3rem) !important;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.13;
    text-align: left;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.48);
}

.home-hero-title span {
    color: var(--accent);
    text-shadow: 0 0 28px rgba(214, 173, 98, 0.25);
}

.home-hero-divider {
    display: flex;
    width: min(100%, 235px);
    align-items: center;
    gap: 9px;
    margin: 17px 0 14px;
    color: var(--accent);
    font-size: 0.62rem;
}

.home-hero-divider span {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(214, 173, 98, 0.52), rgba(214, 173, 98, 0.08));
}

.home-hero-divider span:last-child {
    background: linear-gradient(90deg, rgba(214, 173, 98, 0.08), rgba(214, 173, 98, 0.32));
}

.home-hero-description {
    max-width: 560px;
    margin: 0 0 23px !important;
    color: #c2c0b5 !important;
    font-size: clamp(0.98rem, 1.25vw, 1.1rem) !important;
    line-height: 1.75;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
}

.home-hero-actions .home-hero-primary,
.home-hero-actions .home-hero-secondary {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0.65rem 1rem;
    font-size: 0.86rem;
    font-weight: 700;
}

.home-hero-actions .home-hero-primary {
    color: #1a1811 !important;
    background: linear-gradient(135deg, #e4c47a, #c89649) !important;
    border-color: rgba(241, 217, 159, 0.6) !important;
    box-shadow: 0 8px 22px rgba(180, 133, 59, 0.22) !important;
}

.home-hero-actions .home-hero-primary:hover {
    box-shadow: 0 11px 28px rgba(180, 133, 59, 0.35) !important;
    transform: translateY(-2px);
}

.home-hero-actions .home-hero-secondary {
    color: #e5d8b9 !important;
    background: rgba(17, 20, 17, 0.48) !important;
    border-color: rgba(214, 173, 98, 0.33) !important;
}

.home-hero-actions .home-hero-secondary:hover {
    color: var(--accent-hover) !important;
    background: rgba(214, 173, 98, 0.09) !important;
    border-color: rgba(214, 173, 98, 0.58) !important;
}

.home-hero-server {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 21px;
    padding-top: 15px;
    border-top: 1px solid rgba(214, 173, 98, 0.14);
}

.home-hero-server-status {
    display: flex;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    color: #e7e0cf;
    font-size: 0.79rem;
}

.home-hero-server-status strong {
    color: #ede7d9;
    font-weight: 600;
}

.home-hero-status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
}

.home-hero-status-dot.is-online {
    background: #9ab779;
    box-shadow: 0 0 10px rgba(154, 183, 121, 0.5);
    animation: home-status-pulse 1.8s ease-in-out infinite;
}

.home-hero-status-dot.is-offline {
    background: #c07b60;
    box-shadow: 0 0 8px rgba(192, 123, 96, 0.34);
}

.home-hero-server-count {
    color: #aaa99b;
}

.home-hero-ip {
    min-height: 36px;
    padding: 7px 11px;
    color: #e7d7b5;
    background: rgba(214, 173, 98, 0.08);
    border-color: rgba(214, 173, 98, 0.28);
    border-radius: 6px !important;
    font-size: 0.79rem;
}

.home-hero-ip:hover {
    color: #1a1811;
}

.home-hero-copy-icon {
    opacity: 0.62;
}

.home-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.home-hero-features span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    padding: 5px 9px;
    color: #b9b6a8;
    background: rgba(8, 10, 8, 0.27);
    border: 1px solid rgba(214, 173, 98, 0.12);
    border-radius: 5px;
    font-size: 0.7rem;
}

.home-hero-features i {
    color: var(--accent);
    font-size: 0.68rem;
}

.home-hero-requirements {
    margin: 12px 0 0;
    color: #b9b6a8;
    font-size: 0.78rem;
    line-height: 1.5;
}

.home-hero-requirements > i {
    margin-right: 5px;
    color: var(--accent);
}

.home-hero-requirements a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 4px;
    color: var(--accent-hover);
    font-weight: 600;
    text-decoration: none;
}

.home-hero-requirements a:hover {
    color: #f0d59a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@keyframes home-rune-drift {
    to { transform: rotate(360deg); }
}

@keyframes home-status-pulse {
    0%, 100% { box-shadow: 0 0 5px rgba(154, 183, 121, 0.3); }
    50% { box-shadow: 0 0 12px rgba(154, 183, 121, 0.8); }
}

@media (max-width: 991.98px) {
    .home-hero-card {
        min-height: 410px;
    }

    .home-hero-title {
        font-size: clamp(2.3rem, 6vw, 3.6rem) !important;
    }
}

@media (max-width: 767.98px) {
    .home-hero-card {
        min-height: 0;
        padding: 1.4rem !important;
        background: linear-gradient(145deg, rgba(17, 20, 17, 0.95), rgba(23, 25, 20, 0.91)) !important;
    }

    .home-hero-card::before {
        top: auto;
        right: -120px;
        bottom: -150px;
        width: 220px;
        height: 220px;
    }

    .home-hero-card::after {
        top: auto;
        right: 45px;
        bottom: 47px;
        width: 45px;
        height: 45px;
    }

    .home-hero-kicker {
        margin-bottom: 15px;
        font-size: 0.63rem;
    }

    .home-hero-title {
        font-size: clamp(1.45rem, 6.4vw, 1.85rem) !important;
        line-height: 1.2;
    }

    .home-hero-description {
        font-size: 0.94rem !important;
    }

    .home-hero-actions {
        align-items: stretch;
    }

    .home-hero-actions .home-hero-primary,
    .home-hero-actions .home-hero-secondary {
        flex: 1 1 100%;
    }

    .home-hero-server {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .home-hero-features {
        gap: 6px;
    }

    .home-hero-features span {
        font-size: 0.66rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-card::before,
    .home-hero-status-dot.is-online {
        animation: none;
    }
}

.home-world-slide {
    padding-top: 110px;
}

.home-world-content {
    width: 100%;
}

.home-world-heading {
    margin: 0 auto 24px;
}

.home-world-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #c6b58d;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-world-kicker i,
.home-world-divider {
    color: var(--accent);
}

.home-world-heading .section-title {
    margin-bottom: 10px;
    font-family: 'Oxanium', 'MinecraftFont', sans-serif;
    font-weight: 700;
}

.home-world-heading p {
    max-width: 650px;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.home-world-divider {
    display: flex;
    width: 145px;
    align-items: center;
    gap: 9px;
    margin: 16px auto 0;
    font-size: 0.58rem;
}

.home-world-divider span {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(214, 173, 98, 0.45));
}

.home-world-divider span:last-child {
    background: linear-gradient(90deg, rgba(214, 173, 98, 0.45), transparent);
}

.home-world-card {
    position: relative;
    min-height: 178px;
    overflow: hidden;
    padding: 18px 20px !important;
    background: linear-gradient(140deg, rgba(25, 27, 21, 0.94), rgba(16, 18, 15, 0.88)) !important;
    border: 1px solid rgba(214, 173, 98, 0.2) !important;
    border-radius: 9px !important;
    box-shadow: inset 0 1px rgba(241, 217, 159, 0.04);
    text-align: left;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home-world-card::after {
    position: absolute;
    right: -33px;
    bottom: -48px;
    width: 125px;
    height: 125px;
    border: 1px solid rgba(214, 173, 98, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 16px rgba(214, 173, 98, 0.018);
    content: "";
    pointer-events: none;
    transition: border-color 220ms ease, transform 220ms ease;
}

.home-world-card:hover {
    border-color: rgba(214, 173, 98, 0.48) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), inset 0 1px rgba(241, 217, 159, 0.08);
    transform: translateY(-4px);
}

.home-world-card:hover::after {
    border-color: rgba(214, 173, 98, 0.2);
    transform: scale(1.08);
}

.home-world-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.home-world-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--accent);
    background: rgba(214, 173, 98, 0.09);
    border: 1px solid rgba(214, 173, 98, 0.25);
    border-radius: 8px 3px 8px 3px;
    font-size: 0.95rem;
}

.home-world-index {
    color: rgba(214, 173, 98, 0.48);
    font-family: 'Oxanium', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

.home-world-card h3 {
    margin: 0 0 7px;
    color: #eee6d5;
    font-size: clamp(0.94rem, 1.25vw, 1.08rem);
    font-weight: 700;
}

.home-world-card p {
    max-width: 440px;
    margin: 0;
    color: #aaa99b;
    font-size: 0.83rem;
    line-height: 1.55;
}

@media (max-width: 767.98px) {
    .home-world-slide {
        padding-top: 100px;
        padding-bottom: 24px;
    }

    .home-world-heading {
        margin-bottom: 17px;
    }

    .home-world-heading .section-title {
        font-size: clamp(1.55rem, 6vw, 2rem);
    }

    .home-world-heading p {
        font-size: 0.86rem;
    }

    .home-world-kicker {
        font-size: 0.61rem;
    }

    .home-world-card {
        min-height: 170px;
        padding: 14px 13px !important;
    }

    .home-world-card-top {
        margin-bottom: 9px;
    }

    .home-world-icon {
        width: 34px;
        height: 34px;
        font-size: 0.82rem;
    }

    .home-world-card h3 {
        font-size: 0.88rem;
        line-height: 1.3;
    }

    .home-world-card p {
        font-size: 0.75rem;
        line-height: 1.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-world-card,
    .home-world-card::after {
        transition: none;
    }
}

.home-join-slide {
    padding-top: 112px;
}

.home-join-content {
    width: 100%;
}

.home-join-heading {
    margin: 0 auto 23px;
    text-align: center;
}

.home-join-heading .home-world-kicker {
    margin-bottom: 8px;
}

.home-join-heading .section-title {
    margin-bottom: 8px;
    font-family: 'Oxanium', 'MinecraftFont', sans-serif;
    font-weight: 700;
}

.home-join-heading > p {
    margin: 0;
    color: #aaa99b;
    font-size: 0.95rem;
}

.home-join-steps {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 12px;
}

.home-join-step {
    position: relative;
    display: flex;
    min-height: 94px;
    flex: 1 1 0;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    padding: 14px 18px !important;
    background: linear-gradient(115deg, rgba(25, 27, 21, 0.94), rgba(16, 18, 15, 0.88)) !important;
    border: 1px solid rgba(214, 173, 98, 0.18) !important;
    border-radius: 8px !important;
    transition: border-color 200ms ease, transform 200ms ease, background-color 200ms ease;
}

.home-join-step:hover {
    border-color: rgba(214, 173, 98, 0.42) !important;
    transform: translateX(3px);
}

.home-join-step-number {
    position: absolute;
    top: 9px;
    right: 13px;
    color: rgba(214, 173, 98, 0.45);
    font-family: 'Oxanium', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
}

.home-join-step-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--accent);
    background: rgba(214, 173, 98, 0.09);
    border: 1px solid rgba(214, 173, 98, 0.24);
    border-radius: 8px 3px 8px 3px;
    font-size: 0.95rem;
}

.home-join-step h3 {
    margin: 0 0 4px;
    color: #eee6d5;
    font-size: 0.98rem;
    font-weight: 700;
}

.home-join-step p {
    margin: 0;
    color: #aaa99b;
    font-size: 0.81rem;
    line-height: 1.45;
}

.home-join-cta {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding: 25px !important;
    background: linear-gradient(145deg, rgba(46, 37, 23, 0.93), rgba(20, 21, 16, 0.96)) !important;
    border: 1px solid rgba(214, 173, 98, 0.32) !important;
    border-radius: 9px !important;
    box-shadow: inset 0 1px rgba(241, 217, 159, 0.07), 0 16px 38px rgba(0, 0, 0, 0.2);
}

.home-join-cta::after {
    position: absolute;
    top: -63px;
    right: -66px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(214, 173, 98, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(214, 173, 98, 0.025), 0 0 0 38px rgba(214, 173, 98, 0.018);
    content: "";
    pointer-events: none;
}

.home-join-cta-emblem {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
    place-items: center;
    color: #211b10;
    background: linear-gradient(135deg, #e4c47a, #bd8940);
    border-radius: 10px 3px 10px 3px;
    box-shadow: 0 6px 20px rgba(180, 133, 59, 0.18);
}

.home-join-cta-label {
    margin-bottom: 6px;
    color: #c6b58d;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-join-cta h3 {
    margin: 0 0 8px;
    color: #f2ead8;
    font-family: 'Oxanium', 'MinecraftFont', sans-serif;
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    font-weight: 700;
}

.home-join-cta > p {
    max-width: 360px;
    margin: 0 0 17px;
    color: #b5b1a3;
    font-size: 0.84rem;
    line-height: 1.6;
}

.home-join-download {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0.65rem 1rem;
    color: #1a1811 !important;
    background: linear-gradient(135deg, #e4c47a, #c89649) !important;
    border: 1px solid rgba(241, 217, 159, 0.6) !important;
    font-size: 0.82rem;
    font-weight: 700;
}

.home-join-download:hover {
    box-shadow: 0 8px 22px rgba(180, 133, 59, 0.28);
    transform: translateY(-2px);
}

.home-join-community {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #d1c09b;
    font-size: 0.78rem;
    text-decoration: none;
    transition: color 180ms ease;
}

.home-join-community:hover {
    color: var(--accent-hover);
}

.home-join-community .fa-arrow-up-right-from-square {
    margin-left: 2px;
    color: rgba(214, 173, 98, 0.6);
    font-size: 0.62rem;
}

@media (max-width: 767.98px) {
    .home-join-slide {
        padding-top: 130px;
        padding-bottom: 22px;
    }

    .home-join-heading {
        margin-bottom: 18px;
    }

    .home-join-heading .section-title {
        font-size: clamp(1.45rem, 5.8vw, 1.9rem);
    }

    .home-join-heading > p {
        font-size: 0.84rem;
    }

    .home-join-steps {
        gap: 9px;
    }

    .home-join-step {
        min-height: 77px;
        gap: 12px;
        padding: 11px 13px !important;
    }

    .home-join-step-icon {
        width: 36px;
        height: 36px;
        font-size: 0.82rem;
    }

    .home-join-step h3 {
        font-size: 0.88rem;
    }

    .home-join-step p {
        font-size: 0.74rem;
    }

    .home-join-cta {
        min-height: 0;
        padding: 17px !important;
    }

    .home-join-cta-emblem {
        width: 35px;
        height: 35px;
        margin-bottom: 10px;
    }

    .home-join-cta h3 {
        font-size: 1.2rem;
    }

    .home-join-cta > p {
        margin-bottom: 12px;
        font-size: 0.78rem;
    }

    .home-join-community {
        margin-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-join-step,
    .home-join-download,
    .home-join-community {
        transition: none;
    }
}

.home-hero-news {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    margin-top: 12px;
    padding: 9px 11px;
    color: inherit;
    background: rgba(214, 173, 98, 0.055);
    border: 1px solid rgba(214, 173, 98, 0.16);
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.home-hero-news:hover {
    color: inherit;
    background: rgba(214, 173, 98, 0.1);
    border-color: rgba(214, 173, 98, 0.36);
}

.home-hero-news-icon {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--accent);
    background: rgba(214, 173, 98, 0.09);
    border-radius: 5px;
    font-size: 0.78rem;
}

.home-hero-news-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
}

.home-hero-news-label {
    color: #b7aa8a;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.035em;
}

.home-hero-news-title {
    overflow: hidden;
    color: #ede5d3;
    font-size: 0.78rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-hero-news-arrow {
    flex: 0 0 auto;
    color: rgba(214, 173, 98, 0.7);
    font-size: 0.72rem;
    transition: transform 180ms ease;
}

.home-hero-news:hover .home-hero-news-arrow {
    transform: translateX(3px);
}

.home-news-slide {
    padding-top: 110px;
}

.home-news-heading {
    margin: 0 auto;
    text-align: center;
}

.home-news-heading .home-world-kicker {
    margin-bottom: 8px;
}

.home-news-heading .section-title {
    margin-bottom: 7px;
    font-family: 'Oxanium', 'MinecraftFont', sans-serif;
    font-weight: 700;
}

.home-news-heading > p {
    margin: 0;
    color: #aaa99b;
    font-size: 0.9rem;
}

.home-news-slide .news-grid {
    margin-top: 22px;
}

.home-news-slide .news-card {
    display: block;
    min-width: 0;
    color: inherit;
    background: linear-gradient(140deg, rgba(25, 27, 21, 0.94), rgba(16, 18, 15, 0.88));
    border: 1px solid rgba(214, 173, 98, 0.17);
    border-radius: 8px;
    text-decoration: none;
}

.home-news-slide .news-card:hover {
    border-color: rgba(214, 173, 98, 0.45);
}

@media (max-width: 767.98px) {
    .home-hero-news {
        gap: 8px;
        margin-top: 10px;
        padding: 8px;
    }

    .home-hero-news-icon {
        width: 28px;
        height: 28px;
    }

    .home-hero-news-title {
        font-size: 0.72rem;
    }

    .home-news-slide {
        padding-top: 105px;
    }

    .home-news-heading .section-title {
        font-size: clamp(1.55rem, 6vw, 2rem);
    }

    .home-news-heading > p {
        font-size: 0.82rem;
    }

    .home-news-slide .news-grid {
        gap: 12px;
        margin-top: 17px;
    }

    .home-news-slide .news-card {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-news,
    .home-hero-news-arrow {
        transition: none;
    }
}

.home-gallery-slide {
    padding-top: 112px;
}

.home-gallery-heading {
    margin: 0 auto 20px;
    text-align: center;
}

.home-gallery-heading .home-world-kicker {
    margin-bottom: 7px;
}

.home-gallery-heading .section-title {
    margin-bottom: 6px;
    font-family: 'Oxanium', 'MinecraftFont', sans-serif;
    font-weight: 700;
}

.home-gallery-heading > p {
    margin: 0;
    color: #aaa99b;
    font-size: 0.88rem;
}

.home-gallery-slide .server-slider-container {
    min-height: 320px;
    border-color: rgba(214, 173, 98, 0.27);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45), 0 0 35px rgba(214, 173, 98, 0.045);
}

.home-gallery-slide .slide-caption {
    border-top: 1px solid rgba(214, 173, 98, 0.17);
}

.home-gallery-slide .slide-caption h3 {
    margin: 0 0 7px;
    color: #ecd39a;
    font-family: 'Oxanium', 'MinecraftFont', sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 700;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

.home-gallery-slide .slide-caption p {
    max-width: 620px;
    margin: 0;
    color: #e1ddcf;
    font-size: 0.9rem;
    line-height: 1.55;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.home-gallery-slide .slider-arrow {
    width: 44px;
    height: 44px;
    color: #e8d6ae;
    background: rgba(15, 17, 14, 0.76);
    border-color: rgba(214, 173, 98, 0.35);
    backdrop-filter: blur(8px);
}

.home-gallery-slide .slider-arrow:hover {
    color: #1a1811;
    background: var(--accent);
}

.home-gallery-slide .slider-dots .dot {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.home-gallery-slide .slider-dots .dot:focus-visible {
    outline: 2px solid #f1d99f;
    outline-offset: 3px;
}

.home-footer-slide {
    justify-content: center;
    padding-top: 112px;
    padding-bottom: 20px;
    background:
        radial-gradient(ellipse at 50% 25%, rgba(115, 84, 39, 0.18), transparent 52%),
        linear-gradient(to bottom, rgba(13, 16, 13, 0.86), #0d100d 78%);
}

.home-footer-content {
    display: flex;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.home-footer-main {
    position: relative;
    display: flex;
    max-width: 760px;
    flex-direction: column;
    align-items: center;
    align-self: center;
    margin: auto 0;
    padding: 25px 34px 28px;
    text-align: center;
}

.home-footer-emblem {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    place-items: center;
    color: #211b10;
    background: linear-gradient(135deg, #e4c47a, #bd8940);
    border: 1px solid rgba(241, 217, 159, 0.45);
    border-radius: 11px 4px 11px 4px;
    box-shadow: 0 0 28px rgba(214, 173, 98, 0.18);
}

.home-footer-main .home-world-kicker {
    margin-bottom: 7px;
}

.home-footer-main h2 {
    margin: 0 0 9px;
    color: #f0eadb;
    font-family: 'Oxanium', 'MinecraftFont', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 700;
}

.home-footer-main h2 span {
    color: var(--accent);
}

.home-footer-main > p {
    max-width: 550px;
    margin: 0 0 19px;
    color: #aaa99b;
    font-size: 0.9rem;
    line-height: 1.6;
}

.home-footer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
}

.home-footer-telegram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d1c09b;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 180ms ease;
}

.home-footer-telegram:hover {
    color: var(--accent-hover);
}

.home-footer-bottom {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px 25px;
    padding-top: 17px;
    border-top: 1px solid rgba(214, 173, 98, 0.16);
}

.home-footer-brand {
    color: #e5d6b7;
    font-family: 'Oxanium', 'MinecraftFont', sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.home-footer-brand:hover {
    color: var(--accent);
}

.home-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
}

.home-footer-links a {
    color: #aaa99b;
    font-size: 0.76rem;
    text-decoration: none;
    transition: color 180ms ease;
}

.home-footer-links a:hover {
    color: var(--accent);
}

.home-footer-legal {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px 14px;
    color: #77786e;
    font-size: 0.67rem;
}

@media (max-width: 767.98px) {
    .home-gallery-slide {
        padding-top: 104px;
    }

    .home-gallery-heading {
        margin-bottom: 14px;
    }

    .home-gallery-heading .section-title {
        font-size: clamp(1.55rem, 6vw, 2rem);
    }

    .home-gallery-heading > p {
        font-size: 0.8rem;
    }

    .home-gallery-slide .server-slider-container {
        width: calc(100% + 16px);
        height: min(52vh, 430px);
        min-height: 300px;
        margin-left: -8px;
    }

    .home-gallery-slide .slide-caption {
        padding: 60px 17px 24px;
    }

    .home-gallery-slide .slide-caption h3 {
        font-size: 1.25rem;
    }

    .home-gallery-slide .slide-caption p {
        max-width: calc(100% - 12px);
        font-size: 0.78rem;
    }

    .home-gallery-slide .slider-arrow {
        width: 38px;
        height: 38px;
    }

    .home-gallery-slide .prev-btn {
        left: 11px;
    }

    .home-gallery-slide .next-btn {
        right: 11px;
    }

    .home-gallery-slide .slider-dots {
        right: 16px;
        bottom: 15px;
    }

    .home-footer-slide {
        padding-top: 112px;
        padding-bottom: 16px;
    }

    .home-footer-main {
        padding: 15px 8px 20px;
    }

    .home-footer-main h2 {
        font-size: clamp(1.55rem, 6vw, 2rem);
    }

    .home-footer-main > p {
        max-width: 340px;
        font-size: 0.82rem;
    }

    .home-footer-actions {
        gap: 12px;
    }

    .home-footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
        padding-top: 13px;
    }

    .home-footer-links {
        justify-content: center;
        gap: 8px 15px;
    }

    .home-footer-links a {
        font-size: 0.72rem;
    }

    .home-footer-legal {
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 0.64rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-gallery-slide .slide-item img,
    .home-footer-telegram,
    .home-footer-links a {
        transition: none;
    }
}

/* Shared interior-page polish */
main > .container.content {
    max-width: 1240px;
}

main > .container.content h1 {
    display: inline-block;
    margin: 0 0 1.4rem;
    padding-bottom: 0.65rem;
    color: #f0eadb;
    border-bottom: 1px solid rgba(214, 173, 98, 0.26);
    font-family: 'Oxanium', 'MinecraftFont', sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 700;
    line-height: 1.2;
}

.nav-links {
    gap: clamp(14px, 1.6vw, 23px);
}

.nav-links a {
    position: relative;
    font-size: 0.94rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 180ms ease;
}

.nav-links:not(.flex-column) > a::after,
.nav-links:not(.flex-column) > .dropdown > a::after {
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    content: "";
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.nav-links:not(.flex-column) > a:hover::after,
.nav-links:not(.flex-column) > a.active::after,
.nav-links:not(.flex-column) > .dropdown > a:hover::after,
.nav-links:not(.flex-column) > .dropdown > a.active::after {
    transform: scaleX(1);
}

.navbar-glass {
    padding: 12px clamp(16px, 2.2vw, 28px);
}

.nav-profile-link {
    box-shadow: none;
}

.nav-profile-link:hover {
    box-shadow: 0 5px 18px rgba(214, 173, 98, 0.16);
}

.user-block > .d-flex > .btn:first-child {
    color: #1a1811 !important;
    font-weight: 600;
}

.card {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease !important;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 173, 98, 0.42) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34), 0 4px 18px rgba(214, 173, 98, 0.08) !important;
}

.post-preview.card .card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-preview.card .card-body .card-text {
    display: -webkit-box;
    overflow: hidden;
    color: #b9b6a8 !important;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.post-preview.card .card-body h3 {
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    line-height: 1.35;
}

.post-preview.card .card-body h3 a {
    color: #eee6d5;
    transition: color 180ms ease;
}

.post-preview.card .card-body h3 a:hover {
    color: var(--accent-hover);
}

.form-control,
.form-select {
    border-radius: 7px !important;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(214, 173, 98, 0.16) !important;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #f1d99f;
    outline-offset: 3px;
}

.footer-glass {
    border-top-color: rgba(214, 173, 98, 0.2);
}

@media (max-width: 767.98px) {
    main > .container.content {
        max-width: 100%;
    }

    main > .container.content h1 {
        margin-bottom: 1.1rem;
    }

    .navbar-glass {
        padding: 11px 14px;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .post-preview.card .card-body {
        padding: 1rem;
    }

    .post-preview.card .card-body .card-text {
        font-size: 0.91rem;
        -webkit-line-clamp: 5;
    }
}

@media (hover: none) {
    .card:hover {
        transform: none;
        border-color: rgba(214, 173, 98, 0.16) !important;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.025) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-links a,
    .nav-links a::after,
    .card,
    .post-preview.card .card-body h3 a {
        transition: none !important;
    }

    .card:hover {
        transform: none;
    }
}

.launcher-page {
    max-width: 1040px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.launcher-hero {
    position: relative;
    display: flex;
    min-height: 285px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    margin-bottom: 28px;
    padding: clamp(24px, 5vw, 48px);
    background:
        linear-gradient(105deg, rgba(17, 20, 17, 0.97) 8%, rgba(25, 25, 19, 0.91) 62%, rgba(58, 42, 23, 0.75)),
        url('../img/bg.jpg') center 45% / cover;
    border: 1px solid rgba(214, 173, 98, 0.3);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px rgba(241, 217, 159, 0.07);
}

.launcher-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.launcher-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c6b58d;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.launcher-kicker i {
    color: var(--accent);
}

.launcher-hero h1 {
    margin: 12px 0 10px;
    color: #f3eddf;
    font-family: 'Oxanium', 'MinecraftFont', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
}

.launcher-hero h1 span {
    color: var(--accent);
}

.launcher-hero-copy > p {
    max-width: 570px;
    margin: 0 0 20px;
    color: #c2c0b5;
    font-size: 0.98rem;
    line-height: 1.7;
}

.launcher-scroll-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 0.65rem 1rem;
    color: #1a1811 !important;
    background: linear-gradient(135deg, #e4c47a, #c89649) !important;
    border: 1px solid rgba(241, 217, 159, 0.55) !important;
    font-size: 0.84rem;
    font-weight: 700 !important;
}

.launcher-hero-mark {
    position: relative;
    display: grid;
    width: 180px;
    height: 180px;
    flex: 0 0 auto;
    place-items: center;
    color: rgba(226, 193, 122, 0.87);
}

.launcher-hero-mark::before,
.launcher-hero-mark::after {
    position: absolute;
    width: 138px;
    height: 138px;
    border: 1px solid rgba(214, 173, 98, 0.24);
    content: "";
    transform: rotate(45deg);
}

.launcher-hero-mark::after {
    width: 102px;
    height: 102px;
    border-color: rgba(214, 173, 98, 0.18);
    transform: rotate(22.5deg);
}

.launcher-hero-mark > span {
    z-index: 1;
    font-size: 3.5rem;
    filter: drop-shadow(0 0 24px rgba(214, 173, 98, 0.32));
}

.launcher-spark {
    position: absolute;
    color: #f0d59a;
    font-size: 0.8rem;
}

.launcher-spark-one {
    top: 19px;
    right: 29px;
}

.launcher-spark-two {
    bottom: 26px;
    left: 25px;
    font-size: 0.58rem;
}

.launcher-download-section,
.launcher-guide {
    margin-bottom: 32px;
}

.launcher-section-heading {
    margin-bottom: 16px;
}

.launcher-section-heading h2 {
    margin: 7px 0 4px;
    color: #f0eadb;
    font-family: 'Oxanium', 'MinecraftFont', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
}

.launcher-section-heading > p {
    margin: 0;
    color: #aaa99b;
    font-size: 0.88rem;
}

.launcher-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.launcher-requirements-section {
    margin-bottom: 32px;
    scroll-margin-top: 100px;
}

.launcher-requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.launcher-requirements-card {
    padding: 19px;
    background: linear-gradient(145deg, rgba(27, 29, 22, 0.94), rgba(16, 18, 15, 0.9));
    border: 1px solid rgba(214, 173, 98, 0.2);
    border-radius: 9px;
}

.launcher-requirements-card.is-recommended {
    border-color: rgba(214, 173, 98, 0.38);
    box-shadow: inset 0 1px rgba(241, 217, 159, 0.06);
}

.launcher-requirements-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(214, 173, 98, 0.14);
}

.launcher-requirements-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--accent);
    background: rgba(214, 173, 98, 0.09);
    border: 1px solid rgba(214, 173, 98, 0.25);
    border-radius: 9px 3px 9px 3px;
}

.launcher-requirements-heading > div > span {
    color: #c6b58d;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.launcher-requirements-heading h3 {
    margin: 3px 0 0;
    color: #eee6d5;
    font-size: 1rem;
    font-weight: 700;
}

.launcher-requirements-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.launcher-requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #b9b6a8;
    font-size: 0.81rem;
    line-height: 1.55;
}

.launcher-requirements-list li > i {
    width: 15px;
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--accent);
    text-align: center;
}

.launcher-requirements-list strong {
    color: #eee6d5;
    font-weight: 600;
}

.launcher-download-card {
    display: flex;
    min-height: 178px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 22px;
    color: inherit;
    background: linear-gradient(145deg, rgba(27, 29, 22, 0.94), rgba(16, 18, 15, 0.9));
    border: 1px solid rgba(214, 173, 98, 0.2);
    border-radius: 9px;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.launcher-download-card:hover {
    color: inherit;
    border-color: rgba(214, 173, 98, 0.52);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 20px rgba(214, 173, 98, 0.07);
    transform: translateY(-3px);
}

.launcher-platform-icon {
    display: grid;
    width: 43px;
    height: 43px;
    margin-bottom: 15px;
    place-items: center;
    color: var(--accent);
    background: rgba(214, 173, 98, 0.09);
    border: 1px solid rgba(214, 173, 98, 0.25);
    border-radius: 9px 3px 9px 3px;
    font-size: 1.18rem;
}

.launcher-platform-name {
    color: #eee6d5;
    font-size: 1.08rem;
    font-weight: 700;
}

.launcher-platform-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    color: #b8aa89;
    font-size: 0.76rem;
}

.launcher-platform-action i {
    color: var(--accent);
    font-size: 0.68rem;
}

.launcher-unavailable {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 13px 15px;
    color: #d2c6a8;
    background: rgba(214, 173, 98, 0.07);
    border: 1px solid rgba(214, 173, 98, 0.2);
    border-radius: 7px;
    font-size: 0.84rem;
}

.launcher-unavailable > i {
    margin-top: 3px;
    color: var(--accent);
}

.launcher-unavailable a {
    color: var(--accent-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.launcher-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.launcher-guide-step {
    position: relative;
    min-height: 190px;
    padding: 19px;
    background: rgba(18, 20, 16, 0.74);
    border: 1px solid rgba(214, 173, 98, 0.15);
    border-radius: 8px;
}

.launcher-guide-number {
    position: absolute;
    top: 15px;
    right: 16px;
    color: rgba(214, 173, 98, 0.48);
    font-family: 'Oxanium', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

.launcher-guide-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 13px;
    place-items: center;
    color: var(--accent);
    background: rgba(214, 173, 98, 0.09);
    border-radius: 8px 3px 8px 3px;
}

.launcher-guide-step h3 {
    margin: 0 0 6px;
    color: #eee6d5;
    font-size: 0.98rem;
    font-weight: 700;
}

.launcher-guide-step p {
    margin: 0;
    color: #aaa99b;
    font-size: 0.82rem;
    line-height: 1.55;
}

.launcher-help {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 19px;
    background: rgba(26, 26, 20, 0.78);
    border: 1px solid rgba(214, 173, 98, 0.21);
    border-radius: 8px;
}

.launcher-help-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--accent);
    background: rgba(214, 173, 98, 0.09);
    border-radius: 8px 3px 8px 3px;
}

.launcher-help > div:nth-child(2) {
    flex: 1 1 auto;
}

.launcher-help h2 {
    margin: 0 0 3px;
    color: #eee6d5;
    font-size: 0.96rem;
    font-weight: 700;
}

.launcher-help p {
    margin: 0;
    color: #aaa99b;
    font-size: 0.79rem;
}

.launcher-help-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.launcher-help-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.5rem 0.7rem;
    font-size: 0.76rem;
}

@media (max-width: 767.98px) {
    .launcher-page {
        padding-bottom: 1rem;
    }

    .launcher-hero {
        min-height: 0;
        margin-bottom: 23px;
        padding: 25px 21px;
    }

    .launcher-hero-mark {
        position: absolute;
        right: -38px;
        bottom: -56px;
        width: 155px;
        height: 155px;
        opacity: 0.45;
    }

    .launcher-hero-mark::before {
        width: 115px;
        height: 115px;
    }

    .launcher-hero-mark::after {
        width: 86px;
        height: 86px;
    }

    .launcher-hero-mark > span {
        font-size: 2.7rem;
    }

    .launcher-hero-copy > p {
        font-size: 0.9rem;
    }

    .launcher-download-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .launcher-requirements-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .launcher-requirements-card {
        padding: 16px;
    }

    .launcher-download-card {
        min-height: 112px;
        display: grid;
        grid-template-columns: 44px 1fr;
        align-content: center;
        column-gap: 13px;
        padding: 15px;
    }

    .launcher-platform-icon {
        grid-row: span 2;
        margin: 0;
    }

    .launcher-platform-name {
        align-self: end;
    }

    .launcher-platform-action {
        align-self: start;
        margin-top: 2px;
    }

    .launcher-guide-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .launcher-guide-step {
        display: grid;
        min-height: 0;
        grid-template-columns: 38px 1fr;
        column-gap: 12px;
        padding: 14px;
    }

    .launcher-guide-icon {
        grid-row: span 2;
        margin: 0;
    }

    .launcher-guide-step h3 {
        align-self: end;
        font-size: 0.91rem;
    }

    .launcher-guide-step p {
        align-self: start;
        font-size: 0.77rem;
    }

    .launcher-help {
        flex-wrap: wrap;
        gap: 11px;
        padding: 15px;
    }

    .launcher-help > div:nth-child(2) {
        flex-basis: calc(100% - 54px);
    }

    .launcher-help-actions {
        width: 100%;
        padding-left: 51px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .launcher-scroll-link,
    .launcher-download-card {
        transition: none;
    }
}
