/* CS16-BOOST.TOP - Real-Time Stats CSS */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.main-counter {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.stat-icon {
    font-size: 3rem;
    line-height: 1;
}

.stat-content {
    flex: 1;
}

.stat-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.stat-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.stat-value {
    font-size: 4rem;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-value.medium {
    font-size: 3rem;
}

.stat-value.small {
    font-size: 2rem;
}

.stat-value .number {
    display: inline-block;
    animation: countUp 0.5s ease;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-value.pulse {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.loading {
    font-size: 2rem;
    opacity: 0.6;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.error {
    color: #ff6b6b;
    font-size: 1.5rem;
}

/* Servers Section */
.servers-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.servers-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.servers-info {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.servers-info strong {
    color: #ffd700;
}

.servers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.loading-box {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    opacity: 0.7;
}

.no-servers {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    opacity: 0.7;
}

/* Server Card */
.server-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.server-card.online {
    border-color: #51cf66;
    background: rgba(81, 207, 102, 0.1);
}

.server-card.offline {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    opacity: 0.6;
}

.server-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.server-header h3 {
    font-size: 1.2rem;
}

.server-status {
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
}

.server-info .info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row .label {
    opacity: 0.8;
}

.info-row .value {
    font-weight: bold;
}

.info-row.highlight {
    background: rgba(255, 215, 0, 0.2);
    margin: 10px -10px;
    padding: 12px 10px;
    border-radius: 8px;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.boost-count {
    color: #ffd700;
    font-size: 1.5rem;
}

.players-list {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.players-list strong {
    display: block;
    margin-bottom: 10px;
    color: #ffd700;
}

.players-list ul {
    list-style: none;
    padding-left: 0;
}

.players-list li {
    padding: 5px 10px;
    margin: 5px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* History Section */
.history-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.history-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.history-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.history-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

.history-date {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.history-value {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.history-label {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    opacity: 0.8;
}

footer p {
    margin: 10px 0;
}

footer .small {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 3rem;
    }

    .servers-list {
        grid-template-columns: 1fr;
    }

    .servers-info {
        flex-direction: column;
        gap: 10px;
    }

    .history-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
