/* ==========================================================================
   1. ОБНУЛЕНИЕ ОТСТУПОВ И БАЗОВЫЕ НАСТРОЙКИ
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==========================================================================
   2. ШАПКА САЙТА (HEADER)
   ========================================================================== */
.site-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 42px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-weight: 900;
    font-size: 18px;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-weight: 800;
    font-size: 14px;
    color: #ff6a00;
}

/* Навигация / Вкладки сверху */
.navigation {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.nav-link.active {
    background: #ff6a00;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.25);
}

.nav-link:not(.active) {
    background: #f4f6fa;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.nav-icon {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   3. ГЛАВНЫЙ КОНТЕЙНЕР (ОБЩИЙ ДЛЯ СТРАНИЦ)
   ========================================================================== */
.main-content {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
}

/* ==========================================================================
   4. КОМПОНЕНТЫ ГЛАВНОЙ СТРАНИЦЫ (БАННЕР И ВИДЖЕТ)
   ========================================================================== */
.banner-container {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: 24px;
    background: linear-gradient(90deg, rgba(239, 108, 0, 0.85) 0%, rgba(239, 108, 0, 0.6) 100%), 
                url('https://reallyworld.ru/images/background.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(239, 108, 0, 0.15);
    overflow: hidden;
}

.banner-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #f27022 0%, #ff512f 100%);
    opacity: 0.15;
    z-index: 1;
}

.banner-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #ffffff;
}

.banner-text h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.banner-text h1 .highlight {
    font-size: 42px;
    font-weight: 800;
    opacity: 0.95;
}

.banner-text p {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    opacity: 0.9;
}

/* Виджет онлайна в углу баннера (Чисто белый, без теней) */
.online-widget {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background: #ffffff;
    border-top-left-radius: 28px;
    padding: 25px 35px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 3;
    box-shadow: none;
}

.widget-icon {
    background: #ff6a00;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(255, 106, 0, 0.3);
}

.widget-icon svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.widget-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.widget-label {
    font-weight: 900;
    font-size: 13px;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.widget-ip {
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.progress-bar {
    width: 200px;
    height: 5px;
    background: #f0f2f5;
    border-radius: 10px;
    margin-top: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #ff6a00;
    border-radius: 10px;
}

/* ==========================================================================
   5. СТИЛИ ДЛЯ ИГРОВОЙ ПАНЕЛИ (СТРАНИЦА "БЕСПЛАТНЫЙ ДОНАТ")
   ========================================================================== */
.donate-panel {
    background: #ff6a00;
    max-width: 650px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(239, 108, 0, 0.2);
    color: #ffffff;
    text-align: center;
}

.panel-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 22px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.input-wrapper {
    display: flex;
    gap: 10px;
}

.input-wrapper input, 
.input-wrapper select {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 10px;
    background-color: #ffffff;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    font-weight: 700;
    outline: none;
}

.input-wrapper select {
    cursor: pointer;
    appearance: none; /* Убираем стандартную стрелочку браузера */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%231a1a1a'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Оранжевые кнопки подтверждения (галочки) */
.check-btn {
    background-color: #ff6a00;
    color: #ffffff;
    border: 2.5px solid #ffffff;
    border-radius: 10px;
    width: 50px;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.check-btn:hover {
    background-color: #ffffff;
    color: #ff6a00;
}

/* Двухколоночный ряд (Логин + Сервер) */
.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

/* Главная большая кнопка "Получить" */
.submit-donate-btn {
    width: 100%;
    background-color: #ffffff;
    color: #ff6a00;
    border: none;
    padding: 16px;
    font-size: 22px;
    font-weight: 900;
    border-radius: 14px;
    cursor: pointer;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.submit-donate-btn:hover {
    transform: scale(1.015);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Текст-дисклеймер в самом низу панели */
.panel-footer-text {
    margin-top: 25px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   6. АДАПТИВНОСТЬ ДЛЯ СМАРТФОНОВ И ПЛАНШЕТОВ
   ========================================================================== */
@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0 20px;
    }
    
    .main-content {
        padding: 0 20px;
        margin: 20px auto;
    }

    .banner-container {
        height: auto;
        flex-direction: column;
        padding: 40px 25px 140px 25px;
    }

    .banner-text h1 {
        font-size: 32px;
    }

    .online-widget {
        width: 100%;
        border-radius: 0;
        bottom: 0;
        right: 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .donate-panel {
        padding: 25px 20px;
    }
}