/* Status page specific styles */

.status-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Back Button */
.back-button-container {
    margin-bottom: 2rem;
    text-align: left;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #4a90e2;
    border-radius: 25px;
    background: rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.back-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.2), transparent);
    transition: left 0.5s ease;
}

.back-button:hover::before {
    left: 100%;
}

.back-button:hover {
    background: #4a90e2;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    text-decoration: none;
}

.back-button svg {
    transition: transform 0.3s ease;
}

.back-button:hover svg {
    transform: translateX(-2px);
}

/* Ban Chance Styles */
.ban-chance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 0.8rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.ban-label {
    color: #e2e8f0;
    font-weight: 500;
}

.ban-value {
    color: #22c55e;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Softwares List Styles */
.softwares-list {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.softwares-list h4 {
    color: #22c55e;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.software-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.software-name {
    color: #ffffff;
    font-weight: 500;
}

.software-ban-chance {
    color: #22c55e;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Game Features Styles */
.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.status-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #22c55e, #16a34a, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.status-subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    position: relative;
    z-index: 2;
}

.status-overview {
    padding: 80px 0;
    background: #0f172a;
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.status-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.status-card:hover {
    transform: translateY(-5px);
    border-color: #22c55e;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.status-card.operational::before {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    opacity: 1;
}

.status-card.degraded::before {
    background: linear-gradient(45deg, #ffc107, #ff8c00);
    opacity: 1;
}

.status-card.outage::before {
    background: linear-gradient(45deg, #dc3545, #c82333);
    opacity: 1;
}

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

.status-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-operational {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid #00ff88;
}

.status-degraded {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.status-outage {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

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

.status-operational .status-dot {
    background: #00ff88;
}

.status-degraded .status-dot {
    background: #ffc107;
}

.status-outage .status-dot {
    background: #dc3545;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.status-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.status-uptime {
    color: #888888;
    font-size: 0.9rem;
}

.detailed-status {
    padding: 80px 0;
    background: #111111;
}

.status-timeline {
    margin-top: 3rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border-left: 4px solid #00ff88;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.timeline-item.maintenance {
    border-left-color: #ffc107;
}

.timeline-item.incident {
    border-left-color: #dc3545;
}

.timeline-time {
    color: #888888;
    font-size: 0.9rem;
    min-width: 120px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.timeline-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-status.resolved {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.timeline-status.investigating {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.timeline-status.monitoring {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #00ff88;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .status-title {
        font-size: 2.5rem;
    }
    
    .status-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline-time {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .status-card {
        padding: 1.5rem;
    }
    
    .status-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}
