* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.5),
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.main-site-link {
    display: inline-block;
    margin-top: 1rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.main-site-link:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Status Overview */
.status-overview {
    text-align: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.status-badge.operational {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.6),
            0 0 30px rgba(255, 255, 255, 0.4);
    }
    50% {
        opacity: 0.7;
        box-shadow: 
            0 0 15px rgba(255, 255, 255, 0.9),
            0 0 30px rgba(255, 255, 255, 0.7),
            0 0 45px rgba(255, 255, 255, 0.5);
    }
}

.status-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Countdown Section */
.countdown-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.countdown-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
}

.countdown-label {
    font-size: 1rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown-target {
    font-size: 1.2rem;
    color: #cccccc;
    margin-top: 1rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Site Status Section */
.site-status-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
}

.site-status-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.site-status-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.site-status-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.site-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-status-header h3 {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.site-status-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #666666;
    box-shadow: 0 0 10px rgba(102, 102, 102, 0.5);
    transition: all 0.3s ease;
}

.site-status-indicator.online {
    background: #ffffff;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.site-status-indicator.offline {
    background: #ffffff;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.4),
        0 0 20px rgba(255, 0, 0, 0.3);
    opacity: 0.5;
}

.site-status-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-status-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.site-status-text.online {
    color: #ffffff;
}

.site-status-text.offline {
    color: #ff6666;
    text-shadow: 0 0 10px rgba(255, 102, 102, 0.5);
}

.site-status-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #cccccc;
}

.site-status-details span {
    display: flex;
    gap: 0.5rem;
}

.site-status-uptime {
    font-size: 1rem;
    color: #cccccc;
    margin-top: 0.5rem;
}

#site-response-time,
#site-last-check {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

/* Services Section */
.countdown-section h2,
.site-status-section h2,
.services-section h2,
.incidents-section h2,
.metrics-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-header h3 {
    font-size: 1.3rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.operational-dot {
    background: #ffffff;
    box-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 15px rgba(255, 255, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.offline {
    background: #666666 !important;
    box-shadow: 0 0 5px rgba(102, 102, 102, 0.5) !important;
    animation: none !important;
    opacity: 0.6;
}

.service-status {
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-status-down {
    color: #ff6666 !important;
    text-shadow: 0 0 10px rgba(255, 102, 102, 0.5) !important;
}

.service-uptime {
    font-size: 0.9rem;
    color: #cccccc;
}

/* Incidents Section */
.incident-list {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
}

.incident-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.incident-item:last-child {
    border-bottom: none;
}

.incident-item.incident-active {
    background: rgba(255, 102, 102, 0.1);
    border-left: 3px solid rgba(255, 102, 102, 0.5);
    padding-left: 1rem;
    margin: 0.5rem 0;
}

.incident-date {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.incident-active .incident-date {
    color: #ff9999;
}

.incident-title {
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.incident-active .incident-title {
    color: #ff6666;
    text-shadow: 0 0 10px rgba(255, 102, 102, 0.5);
}

/* Metrics Section */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.metric-label {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
}

.metric-trend {
    font-size: 0.9rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#last-updated {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    display: block;
    margin: 1rem 0;
}

.footer-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #888888;
}

.holding-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.holding-text {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.holding-subtitle {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.holding-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.holding-button {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.holding-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .logo {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .status-badge {
        padding: 1rem 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .status-text {
        font-size: 1.2rem;
    }

    .countdown-container {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 90px;
        padding: 1rem 1.5rem;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-section,
    .site-status-section {
        padding: 2rem;
    }

    .site-status-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .services-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .holding-buttons {
        flex-direction: column;
        align-items: center;
    }

    .holding-button {
        width: 100%;
        max-width: 250px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
