html {
    background-color: #1E2337;
    margin: 0;
    padding: 0;
    transition: all 1s;
    height: 100%;
}

body {
    transition: all 0.5s;
    filter: none;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}

#title {
    font-size: 80px;
    text-align: center;
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-top: 20px;
}

#subtitle {
    font-size: 22px;
    text-align: center;
    margin-top: 0px;
    padding-top: 0px;
    color: #6c7ec9;
    margin-bottom: 40px;
}

#main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    min-height: auto;
    padding: 20px 0;
}

#center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
    margin-bottom: 50px;
}

.stat-card {
    background: linear-gradient(135deg, #252a40 0%, #1e2337 100%);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #0098EA;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #00ea62;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 234, 98, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: #6c7ec9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    width: 100%;
    margin-bottom: 50px;
}

.chart-card {
    background: linear-gradient(135deg, #252a40 0%, #1e2337 100%);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.chart-card h3 {
    color: #fff;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.chart-placeholder {
    background-color: #151927;
    border-radius: 10px;
    padding: 20px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-stats {
    background: linear-gradient(135deg, #252a40 0%, #1e2337 100%);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.system-stats h3 {
    color: #fff;
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.perf-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #151927;
    border-radius: 10px;
    border: 1px solid #333;
}

.perf-label {
    color: #6c7ec9;
    font-size: 1rem;
}

.perf-value {
    color: #00ea62;
    font-weight: bold;
    font-size: 1.1rem;
}

.footer {
    background-color: #151927;
    padding: 20px 0;
    border-top: 1px solid #333;
    width: 100%;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: all 0.5s;
    font-size: 16px;
    padding: 5px 10px;
}

.footer-links a:hover {
    transform: scale(1.25, 1.25);
    color: #999;
    transition: all 0.15s;
}

.footer-links .donation {
    color: #553;
    text-decoration: none;
    animation: donation-change 15s infinite linear;
    transition: all 1.5s;
    font-size: 16px;
    padding: 5px 10px;
    font-weight: normal;
}

.footer-links .donation:hover {
    transform: scale(1.5, 1.5) rotate(3deg);
    animation: donation-change 1s infinite linear;
    color: gold;
    text-shadow: 0 0 10px gold;
    transition: all 0.3s;
}

@keyframes donation-change {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.footer-copyright {
    text-align: center;
    color: #444;
    font-size: 14px;
    margin: 0;
}

.footer-copyright p {
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    #title {
        font-size: 60px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .charts-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chart-card {
        padding: 15px;
    }
    
    .chart-placeholder {
        height: 250px;
        padding: 15px;
    }
    
    .performance-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #title {
        font-size: 50px;
    }
    
    #subtitle {
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .charts-container {
        grid-template-columns: 1fr;
    }
    
    .chart-card {
        min-width: 100%;
    }
}