/* client-server/public/css/desktop/pages/static-pages.css */

body.has-sidebar .static-page-container {
    margin-left: 0;   /* ← было 260px, убрать */
    width: 100%;      /* или calc(100% - 0px) */
    max-width: none;
    padding: 32px 60px;
}

.static-page-container {
    max-width: 1000px;   /* для страниц без сайдбара */
    margin: 0 auto;
    padding: 32px 40px;
}

.static-page-title {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
    text-align: center;   /* по центру */
}

.static-page-lead {
    font-size: 17px;
    color: #6B82F8;
    margin: 0 0 36px;
    letter-spacing: 0.3px;
    text-align: center;   /* по центру */
}

.static-page-section {
    margin-bottom: 28px;
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.static-page-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
    text-align: center;   /* по центру */
}

.static-page-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #E2E8F0;
    margin: 0 0 10px;
    text-align: center;   /* по центру */   
}

.static-page-section p {
    font-size: 15px;
    line-height: 1.75;
    color: #94A3B8;
    margin: 0 0 12px;
    max-width: 800px;   /* читабельная ширина текста */
    margin-left: auto;
    margin-right: auto;
}

.static-page-section p:last-child {
    margin-bottom: 0;
}

.static-page-list {
    margin: 10px 0 12px;
    padding-left: 22px;
    color: #94A3B8;
    font-size: 15px;
    line-height: 1.75;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.static-page-list li {
    margin-bottom: 8px;
}

.static-page-list li:last-child {
    margin-bottom: 0;
}

.static-page-card {
    margin-bottom: 14px;
    padding: 16px 18px;
    background: rgba(79, 107, 246, 0.06);
    border: 1px solid rgba(79, 107, 246, 0.15);
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.static-page-card:last-child {
    margin-bottom: 0;
}

.static-page-highlight {
    padding: 12px 16px;
    background: rgba(79, 107, 246, 0.08);
    border-left: 3px solid #4F6BF6;
    border-radius: 6px;
    color: #CBD5E1;
    font-size: 15px;
    line-height: 1.65;
    margin: 14px auto 0;
    max-width: 800px;
}

.static-page-section strong {
    color: #E2E8F0;
    font-weight: 600;
}

/* Бета-секция */
.static-page-section-beta {
    background: rgba(79, 107, 246, 0.08);
    border-color: rgba(79, 107, 246, 0.25);
}

.static-page-section-beta h2 {
    color: #6B82F8;
}

/* Донат */
.static-page-donate {
    margin-top: 18px !important;
    text-align: center;
}

.static-page-donate-btn {
    display: inline-block;
    padding: 13px 32px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 10px;
    color: #22c55e;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.static-page-donate-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    transform: translateY(-1px);
}


.static-page-nav {
    display: flex;
    justify-content: center;   /* по центру */
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.static-page-nav a {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(79, 107, 246, 0.08);
    border: 1px solid rgba(79, 107, 246, 0.25);
    border-radius: 24px;   /* округлые концы */
    color: #6B82F8;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}

.static-page-nav a:hover {
    background: rgba(79, 107, 246, 0.15);
    transform: translateY(-1px);
}

.static-page-nav-prev {
    margin-right: auto;
}

.static-page-nav-next {
    margin-left: auto;
}

@media (max-width: 768px) {
    body.has-sidebar .static-page-container {
        margin-left: 0;
        width: auto;
        padding: 20px;
    }
    .static-page-container {
        padding: 20px;
    }
}