:root {
    --bg-color: #0d0d12;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-color: #6c5ce7;
    /* Purple */
    --success-color: #00b894;
    /* Green */
    --danger-color: #d63031;
    /* Red */
    --warning-color: #fdcb6e;
    /* Yellow */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --font-family: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.main-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: radial-gradient(circle at center, rgba(108, 92, 231, 0.2) 0%, transparent 70%);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.highlight {
    color: var(--accent-color);
}

.pulse {
    width: 12px;
    height: 12px;
    background-color: var(--danger-color);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(214, 48, 49, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(214, 48, 49, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(214, 48, 49, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(214, 48, 49, 0);
    }
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Cards & Glassmorphism */
.user-status-card,
.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.service-name {
    font-weight: 600;
    font-size: 1.2rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-online {
    background-color: rgba(0, 184, 148, 0.2);
    color: var(--success-color);
}

.status-outage {
    background-color: rgba(214, 48, 49, 0.2);
    color: var(--danger-color);
}

.status-issues {
    background-color: rgba(253, 203, 110, 0.2);
    color: var(--warning-color);
}

.report-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Chart Section */
.chart-section {
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    margin: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.live-indicator {
    color: var(--danger-color);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blink {
    width: 8px;
    height: 8px;
    background-color: var(--danger-color);
    border-radius: 50%;
    animation: blink 1s infinite alternate;
}

@keyframes blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.2;
    }
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Ad Section */
.ad-container {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ad-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-placeholder {
    width: 100%;
    max-width: 728px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    border-radius: 8px;
}

/* Connection Check */
.status-summary {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.user-status-card {
    text-align: center;
    min-width: 300px;
}

.action-btn {
    margin-top: 15px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 600;
    transition: background 0.3s;
}

.action-btn:hover {
    background-color: #5649c0;
}

footer {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 250px;
    }
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.faq-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}