:root {
    --bg-page: #282828;      /* Светлый фон страницы */
    --bg-container: #ffffff;  /* Белый фон контейнера */
    --text-primary: #282828;  /* Темно-серый для основного текста (как в h1) */
    --text-secondary: #555555; /* Серый для второстепенного текста */
    --border-color: #e0e0e0;  /* Светло-серый для границ */
    --accent-color: #444444;  /* Серый для акцентов */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-page);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.terms-wrapper {
    max-width: 900px;
    margin: 40px auto;
    background: var(--bg-container);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

h1 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.subtitle {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    font-size: 0.95rem;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

h2 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

p {
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

ul, ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

li {
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Блок реквизитов - белый фон, текст #282828, серая обводка */
.requisites {
    background: #ffffff;  /* Белый фон */
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid #e0e0e0;  /* Серая обводка */
}

.requisites p {
    margin-bottom: 10px;
    color: #282828;  /* Текст цвета 282828 */
    font-size: 0.95rem;
}

.requisites strong {
    color: #282828;  /* Жирный текст тоже цвета 282828 */
    font-weight: 600;
    min-width: 120px;
    display: inline-block;
}

/* Убираем лишние фоны и меняем цвет текста в заголовке внутри реквизитов */
.requisites h2 {
    color: #282828;
    margin-top: 0;
    margin-bottom: 20px;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 30px 0;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .terms-wrapper {
        margin: 20px auto;
        padding: 25px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .requisites strong {
        min-width: 100px;
        display: block;
        margin-bottom: 5px;
    }
}
.terms-no-top { margin-top: 0; }



/* Unified donate gradient background */
body,
html,
main,
.donate-page,
.shop-page,
.shop-wrapper,
.content,
section {
    background: linear-gradient(180deg, #f4f6f9 0%, #e8edf5 100%) !important;
    background-image: none !important;
}

body::before,
body::after,
section::before,
section::after {
    background-image: none !important;
}

.cars-showcase,
.money-packs,
.packs-section,
.shop-section {
    background: transparent !important;
}


/* INDEX launcher section fixes */
.launcher-text,
.launcher-description,
.hero-description,
.download-description,
.main-description,
p {
    color: #6f7682 !important;
}

.launcher-btn,
.download-btn,
.hero-btn,
a.download-btn,
button.download-btn {
    background: linear-gradient(135deg, #2f6edb 0%, #1e56b5 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 18px 32px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    box-shadow: 0 10px 30px rgba(47,110,219,.18) !important;
    transition: all .25s ease !important;
}

.launcher-btn:hover,
.download-btn:hover,
.hero-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 35px rgba(47,110,219,.24) !important;
    background: linear-gradient(135deg, #3778eb 0%, #245fca 100%) !important;
}

.launcher-btn img,
.download-btn img {
    filter: brightness(100) !important;
}

.download-links a,
.small-downloads a {
    color: #4c5563 !important;
    font-weight: 600 !important;
}
