:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(17, 25, 40, 0.65);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent-blue: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.35);
    --status-green: #10b981;
    --status-red: #ef4444;
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 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);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Gradients & Grid */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.glow-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 2;
    opacity: 0.45;
    pointer-events: none;
}

#orb-1 {
    top: -10%;
    right: 10%;
    background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 70%);
    animation: float 12s infinite alternate;
}

#orb-2 {
    bottom: -10%;
    left: 10%;
    background: radial-gradient(circle, #8b5cf6 0%, #6d28d9 70%);
    animation: float 16s infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

/* Layout Container */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 650px;
    padding: 30px 20px;
}

.header {
    text-align: center;
    margin-bottom: 35px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.logo-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px var(--accent-blue));
}

.logo h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Glassmorphism Cards */
.card {
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.card-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Status Dot Indicator */
.status-indicator-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    display: inline-block;
    transition: background-color 0.3s ease;
}

.status-dot.pulsing {
    animation: pulse 1.5s infinite;
}

.status-dot.healthy {
    background-color: var(--status-green);
    box-shadow: 0 0 10px var(--status-green);
}

.status-dot.error {
    background-color: var(--status-red);
    box-shadow: 0 0 10px var(--status-red);
}

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

.status-text {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-val {
    font-size: 0.95rem;
    font-weight: 600;
}

.info-val.highlight {
    color: var(--accent-blue);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

/* Action Button */
.action-bar {
    text-align: right;
}

.btn {
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    box-shadow: 0 4px 14px 0 var(--accent-glow);
}

.btn-primary:hover {
    background-color: #2563eb;
    box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Documentation Card */
.docs-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.docs-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.docs-card p:last-child {
    margin-bottom: 0;
}

.docs-card strong {
    color: var(--text-primary);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
}

.footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
}
