/* Status Page Styles */

.hero-small {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d35 100%);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--light-blue);
    text-align: center;
    opacity: 0.8;
}

.status-content {
    padding: 3rem 0;
    background: var(--dark-bg);
}

/* Main Status Card */
.status-main-card {
    background: linear-gradient(135deg, rgba(26, 29, 53, 0.9) 0%, rgba(10, 14, 39, 0.9) 100%);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #888;
    animation: pulse 2s infinite;
}

.status-dot.online {
    background: #00ff00;
    box-shadow: 0 0 15px #00ff00, 0 0 30px rgba(0, 255, 0, 0.5);
}

.status-dot.offline {
    background: #ff0000;
    box-shadow: 0 0 15px #ff0000;
    animation: none;
}

.status-dot.starting {
    background: #ffaa00;
    box-shadow: 0 0 15px #ffaa00;
}

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

.status-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.last-update {
    font-size: 0.9rem;
    color: var(--light-blue);
    opacity: 0.7;
}

.status-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.overview-item:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.overview-icon {
    font-size: 2rem;
}

.overview-content {
    flex: 1;
}

.overview-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 0.25rem;
}

.overview-label {
    font-size: 0.85rem;
    color: var(--light-blue);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-subtext {
    font-size: 0.7rem;
    color: var(--light-blue);
    opacity: 0.6;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: linear-gradient(135deg, rgba(26, 29, 53, 0.9) 0%, rgba(10, 14, 39, 0.9) 100%);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
    transform: translateY(-4px);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.metric-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.metric-graph {
    height: 150px;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
}

.metric-graph canvas {
    width: 100% !important;
    height: 100% !important;
}

.metric-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.metric-info {
    font-size: 0.85rem;
    color: var(--light-blue);
    opacity: 0.7;
}

/* TPS Details */
.tps-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tps-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 6px;
}

.tps-label {
    font-size: 0.9rem;
    color: var(--light-blue);
}

.tps-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neon-blue);
}

/* Disk Details */
.disk-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.disk-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.disk-label {
    font-size: 0.85rem;
    color: var(--light-blue);
    opacity: 0.7;
}

.disk-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neon-blue);
}

.disk-progress {
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.disk-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--electric-blue));
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Regions Section */
.regions-section {
    margin-top: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.region-card {
    background: linear-gradient(135deg, rgba(26, 29, 53, 0.9) 0%, rgba(10, 14, 39, 0.9) 100%);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.region-card:hover {
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-2px);
}

.region-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.region-name {
    font-size: 0.9rem;
    color: var(--light-blue);
}

.region-tps {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.region-mspt {
    font-size: 0.85rem;
    color: var(--light-blue);
    opacity: 0.7;
}

/* Loading State */
.loading {
    opacity: 0.5;
    animation: pulse-loading 1.5s infinite;
}

@keyframes pulse-loading {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .status-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .disk-details {
        grid-template-columns: 1fr;
    }
}
