* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background: #060608;
    color: #e4e4e7;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-blur {
    position: absolute;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.c1 { width: 450px; height: 450px; background: #a100ff; top: -5%; left: 15%; }
.c2 { width: 500px; height: 500px; background: #00bfff; bottom: -5%; right: 15%; }

.window {
    position: relative;
    z-index: 10;
    width: 92%;
    max-width: 650px;
    height: 420px;
    background: rgba(12, 12, 16, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nav-bar {
    height: 46px;
    background: rgba(8, 8, 10, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.logo {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    color: #71717a;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-link:hover { color: #e4e4e7; }
.search-placeholder { color: #4e4f5a; font-size: 12.5px; margin-left: 10px; }

input[type="radio"] { display: none; }

/* Фикс переключения вкладок */
#tab-download:checked ~ .nav-bar .lbl-download { color: #ffffff; font-weight: 700; }
#tab-features:checked ~ .nav-bar .lbl-features { color: #ffffff; font-weight: 700; }

.pages-container {
    position: relative;
    flex-grow: 1;
    height: calc(100% - 46px);
    width: 100%;
}

.page-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Красивая анимация раскрытия страниц, как в ClickGUI чита */
#tab-download:checked ~ .pages-container .page-download {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

#tab-features:checked ~ .pages-container .page-features {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Фикс первой страницы */
.page-download {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.hero-section h1 { font-size: 24px; font-weight: 700; color: #ffffff; margin-bottom: 4px; }
.release-tag { font-size: 11px; font-weight: 700; color: #a100ff; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.hero-desc { color: #a1a1aa; font-size: 13.5px; max-width: 440px; line-height: 1.6; margin-bottom: 30px; }

.btn-group { display: flex; justify-content: center; gap: 12px; z-index: 20; }

/* Фикс цвета текста на кнопке */
.btn-main {
    background: #ffffff !important; 
    color: #09090b !important; 
    text-decoration: none !important;
    padding: 10px 22px; font-size: 13px; font-weight: 600; border-radius: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
}
.btn-main:hover { transform: translateY(-1px); box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2); }

.btn-sub {
    background: rgba(255, 255, 255, 0.04); color: #e4e4e7; border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 22px; font-size: 13px; font-weight: 600; border-radius: 5px; cursor: pointer;
    transition: background 0.2s;
}
.btn-sub:hover { background: rgba(255, 255, 255, 0.09); }

/* Фикс и кастомизация скроллбара */
.page-features {
    padding: 20px;
    height: 100%;
}

.features-scroll-container {
    height: 100%;
    overflow-y: auto;
    padding-right: 6px;
}

.features-scroll-container::-webkit-scrollbar { width: 3px; }
.features-scroll-container::-webkit-scrollbar-track { background: transparent; }
.features-scroll-container::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 10px; }

.category-block { margin-bottom: 24px; }
.category-title { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255, 255, 255, 0.35); margin-bottom: 10px; padding-left: 2px; }

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.feature-card {
    background: rgba(20, 20, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 5px;
    padding: 12px 14px;
    transition: background 0.15s, border-color 0.15s;
}
.feature-card:hover { 
    background: rgba(255, 255, 255, 0.02); 
    border-color: rgba(255, 255, 255, 0.08);
}

/* Позиционирование элементов внутри шапки */
.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Стили для иконки Discord */
.discord-btn {
    color: #71717a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.discord-btn:hover {
    color: #5865F2; /* Фирменный цвет Discord */
    transform: scale(1.05);
}

.feature-card h3 { font-size: 13px; font-weight: 600; color: #ffffff; margin-bottom: 4px; }
.feature-card p { font-size: 11px; color: #71717a; line-height: 1.4; }
