/* 
 * AMXX PACANOV SYSTEM - Единая система стилей
 * Создано специально для SERVER.PACANOV
 */

/* ===== CSS ПЕРЕМЕННЫЕ (настройки темы) ===== */
:root {
    /* Основные цвета */
    --ap-bg-primary: #1a1a1a;
    --ap-bg-secondary: rgba(30, 41, 59, 0.25); /* ← ИЗМЕНЕНО: Тёмно-синий с 25% прозрачностью */
    --ap-bg-tertiary: rgba(59, 130, 246, 0.08);
    
    /* Цвета текста */
    --ap-text-primary: #f0f2f5;
    --ap-text-secondary: #a0aec0;
    --ap-text-light: #ffffff;
    --ap-text-dark: #333333;
    
    /* Градиенты */
    --ap-gradient-blue: linear-gradient(45deg, #3b82f6, #8b5cf6);
    --ap-gradient-dark: linear-gradient(135deg, rgba(26, 31, 53, 0.8), rgba(45, 55, 72, 0.8));
    
    /* Акцентные цвета */
    --ap-accent-blue: #3b82f6;
    --ap-accent-purple: #8b5cf6;
    --ap-accent-green: #10b981;
    --ap-accent-orange: #f59e0b;
    --ap-accent-red: #e74c3c;
    --ap-accent-yellow: #fbbf24;
    
    /* Размеры */
    --ap-container-width: 100%;
    --ap-border-radius: 16px;
    --ap-border-radius-sm: 12px;
    --ap-border-radius-xs: 8px;
    --ap-spacing: 20px;
    --ap-spacing-lg: 30px;
    
    /* Тени */
    --ap-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --ap-shadow-lg: 0 10px 25px rgba(59, 130, 246, 0.3);
    
    /* Анимации */
    --ap-transition: all 0.3s ease;
    --ap-animation-duration: 0.4s;
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
.ap-body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--ap-bg-primary);
    color: var(--ap-text-primary);
    line-height: 1.6;
    margin: 0;
    padding: var(--ap-spacing);
    min-height: 100vh;
}

/* ===== КОНТЕЙНЕРЫ ===== */
.ap-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.ap-container-narrow {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

/* ===== ТИПОГРАФИЯ ===== */
.ap-h1 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--ap-text-light);
    text-align: center;
}

.ap-h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--ap-text-light);
    text-align: center;
}

.ap-h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--ap-text-light);
}

.ap-h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--ap-text-light);
}

.ap-text {
    font-size: 14px;
    color: var(--ap-text-secondary);
    line-height: 1.5;
    margin: 0 0 16px;
}

.ap-text-small {
    font-size: 13px;
    color: var(--ap-text-secondary);
    line-height: 1.4;
    margin: 0;
}

.ap-text-center {
    text-align: center;
}

.ap-highlight {
    background: var(--ap-gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* ===== БЕЙДЖИ ===== */
.ap-badge {
    display: inline-block;
    background: var(--ap-gradient-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.ap-badge-green {
    background: var(--ap-accent-green);
}

.ap-badge-orange {
    background: var(--ap-accent-orange);
}

.ap-badge-red {
    background: var(--ap-accent-red);
}

/* ===== КАРТОЧКИ ===== */
.ap-card {
    background: var(--ap-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ap-border-radius);
    padding: var(--ap-spacing);
    margin-bottom: var(--ap-spacing);
    transition: var(--ap-transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ap-card:hover {
    border-color: var(--ap-accent-blue);
    background: rgba(59, 130, 246, 0.12);
}

.ap-card-center {
    text-align: center;
}

.ap-card-highlight {
    background: var(--ap-bg-tertiary);
    border: 1px solid rgba(59, 130, 246, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ap-card-blue {
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid rgba(59, 130, 246, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ap-card-green {
    background: rgba(16, 185, 129, 0.08);
    border-left: 3px solid rgba(16, 185, 129, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ap-card-orange {
    background: rgba(245, 158, 11, 0.08);
    border-left: 3px solid rgba(245, 158, 11, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ===== ИЗОБРАЖЕНИЯ ===== */
.ap-img-container {
    width: 100%;
    margin: var(--ap-spacing) 0;
    border-radius: var(--ap-border-radius-sm);
    overflow: hidden;
}

.ap-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--ap-border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--ap-shadow);
}

.ap-img-circle {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--ap-accent-blue);
    margin: 0 auto;
    display: block;
}

.ap-img-small {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--ap-border-radius-xs);
}

.ap-img-shadow {
    box-shadow: var(--ap-shadow-lg);
}

/* ===== СТАТИСТИКА ===== */
.ap-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.ap-stat {
    text-align: center;
    width: 120px;
    min-width: 120px;
    padding: 15px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--ap-border-radius);
    transition: var(--ap-transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ap-stat:hover {
    border-color: var(--ap-accent-blue);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.ap-stat-value {
    font-size: 20px;
    font-weight: 800;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-bottom: 8px;
    width: 100%;
}

.ap-stat-label {
    font-size: 14px;
    color: var(--ap-text-secondary);
    line-height: 1.3;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== СЕТКА ===== */
.ap-grid {
    display: grid;
    gap: 16px;
    margin: var(--ap-spacing-lg) 0;
}

.ap-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ap-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ap-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ap-flex {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ap-spacing);
    margin: var(--ap-spacing-lg) 0;
}

.ap-flex-center {
    justify-content: center;
    align-items: center;
}

.ap-flex-item {
    flex: 1;
    min-width: 200px;
}

/* ===== КНОПКИ ===== */
.ap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--ap-gradient-blue);
    color: white;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--ap-border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--ap-transition);
    text-align: center;
    min-width: 140px;
}

.ap-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ap-shadow-lg);
}

.ap-btn-green {
    background: var(--ap-accent-green);
}

.ap-btn-orange {
    background: var(--ap-accent-orange);
}

.ap-btn-red {
    background: var(--ap-accent-red);
}

.ap-btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 25px 0;
}

/* ===== ШАГИ / ТАЙМЛАЙН ===== */
.ap-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: var(--ap-spacing-lg) 0;
}

.ap-step {
    display: flex;
    gap: 16px;
    background: rgba(30, 41, 59, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ap-border-radius);
    padding: var(--ap-spacing);
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ap-step-number {
    width: 40px;
    height: 40px;
    background: var(--ap-gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.ap-step-content {
    flex: 1;
}

/* ===== ТАБЫ ===== */
.ap-tabs {
    margin-bottom: var(--ap-spacing);
}

.ap-tabs-header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.ap-tab-btn {
    background: rgba(30, 41, 59, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ap-text-secondary);
    padding: 12px 20px;
    border-radius: var(--ap-border-radius-xs);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ap-transition);
    white-space: nowrap;
    flex: 1;
    text-align: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ap-tab-btn.active {
    background: var(--ap-gradient-blue);
    color: white;
    border-color: transparent;
}

.ap-tab-pane {
    display: none;
    animation: fadeIn var(--ap-animation-duration) ease;
}

.ap-tab-pane.active {
    display: block;
}

/* ===== СПИСКИ ===== */
.ap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ap-list-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ap-text-secondary);
    font-size: 14px;
    position: relative;
    padding-left: 24px;
}

.ap-list-item:last-child {
    border-bottom: none;
}

.ap-list-item:before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--ap-accent-blue);
}

/* ===== ИКОНКИ ===== */
.ap-icon {
    font-size: 24px;
    display: inline-block;
}

.ap-icon-small {
    font-size: 20px;
}

/* ===== РАЗДЕЛИТЕЛИ ===== */
.ap-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    width: 100%;
    margin: var(--ap-spacing-lg) 0;
}

.ap-divider-short {
    width: 80%;
    margin: var(--ap-spacing-lg) auto;
}

/* ===== УТИЛИТЫ ===== */
.ap-mt-0 { margin-top: 0 !important; }
.ap-mb-0 { margin-bottom: 0 !important; }
.ap-mt-10 { margin-top: 10px !important; }
.ap-mb-10 { margin-bottom: 10px !important; }
.ap-mt-20 { margin-top: 20px !important; }
.ap-mb-20 { margin-bottom: 20px !important; }
.ap-mt-30 { margin-top: 30px !important; }
.ap-mb-30 { margin-bottom: 30px !important; }

.ap-pt-0 { padding-top: 0 !important; }
.ap-pb-0 { padding-bottom: 0 !important; }

.ap-full-width { width: 100% !important; }
.ap-auto-width { width: auto !important; }

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ap-animate {
    animation: fadeIn var(--ap-animation-duration) ease-out;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (min-width: 768px) {
    .ap-h1 {
        font-size: 28px;
    }
    
    .ap-h2 {
        font-size: 22px;
    }
    
    .ap-text {
        font-size: 15px;
    }
    
    .ap-grid-2,
    .ap-grid-3,
    .ap-grid-4 {
        gap: 20px;
    }
    
    .ap-step {
        align-items: flex-start;
    }
    
    .ap-step-number {
        margin-top: 4px;
    }
}

@media (min-width: 1024px) {
    .ap-container {
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .ap-container-narrow {
        max-width: 800px;
    }
}

@media (max-width: 767px) {
    .ap-body {
        padding: 15px;
    }
    
    .ap-stats {
        gap: 15px;
        max-width: 100%;
    }
    
    .ap-stat {
        width: calc(33.333% - 10px);
        min-width: auto;
        padding: 12px;
    }
    
    .ap-grid-2,
    .ap-grid-3,
    .ap-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .ap-flex {
        flex-direction: column;
        gap: 15px;
    }
    
    .ap-flex-item {
        min-width: 100%;
    }
    
    .ap-btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .ap-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .ap-img-circle {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .ap-h1 {
        font-size: 22px;
    }
    
    .ap-h2 {
        font-size: 18px;
    }
    
    .ap-card {
        padding: 15px;
        border-radius: 12px;
    }
    
    .ap-stat {
        width: calc(50% - 10px);
    }
    
    .ap-stat-value {
        font-size: 18px;
        height: 30px;
    }
    
    .ap-stat-label {
        font-size: 12px;
    }
}

/* ===== ТЕМНАЯ/СВЕТЛАЯ ТЕМА ===== */
@media (prefers-color-scheme: light) {
    :root {
        --ap-bg-primary: #f5f7fa;
        --ap-bg-secondary: rgba(30, 41, 59, 0.08);
        --ap-text-primary: #2d3748;
        --ap-text-secondary: #718096;
    }
    
    .ap-card {
        border-color: #e2e8f0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .ap-divider {
        background: #e2e8f0;
    }
    
    .ap-list-item {
        border-color: #e2e8f0;
    }
}


_____________

