/* 🌌 Vaeltharis Status Page - Aero Glass Tokens */
:root {
  --status-bg: #03060a;
  --glass-bg: rgba(14, 18, 28, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --accent-cyan: #00f2ff;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-yellow: #f59e0b;
  --accent-red: #ef4444;
  --text-main: #e2e8f0;
  --text-dim: #94a3b8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--status-bg);
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(0, 242, 255, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(139, 92, 246, 0.05) 0%,
      transparent 40%
    );
  color: var(--text-main);
  min-height: 100vh;
  padding: 40px 20px;
  overflow-x: hidden;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Header Section */
header {
  text-align: center;
  margin-bottom: 60px;
}

.brand-logo {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.status-subtitle {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Overall Status Banner */
.main-status-banner {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.status-pulse {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pulse-inner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.status-pulse::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

.operational { color: var(--accent-green); background: rgba(16, 185, 129, 0.1); }
.operational .pulse-inner { background: var(--accent-green); }

.partial { color: var(--accent-yellow); background: rgba(245, 158, 11, 0.1); }
.partial .pulse-inner { background: var(--accent-yellow); }

.major { color: var(--accent-red); background: rgba(239, 68, 68, 0.1); }
.major .pulse-inner { background: var(--accent-red); }

.status-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

/* Grid for Nodes */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.node-section-header {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-left: 5px;
  border-left: 3px solid var(--accent-cyan);
}

.node-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.node-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.node-title i {
  font-size: 1.4rem;
  color: var(--accent-cyan);
}

.node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.node-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.stat-val {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 2px;
}

/* Uptime Bar */
.uptime-bar {
  display: flex;
  gap: 3px;
  margin-top: 10px;
}

.uptime-tick {
  flex: 1;
  height: 24px;
  background: var(--accent-green);
  border-radius: 2px;
  opacity: 0.8;
  transition: transform 0.2s;
}

.uptime-tick:hover {
  transform: scaleY(1.3);
  opacity: 1;
}

.uptime-tick.down {
  background: var(--accent-red);
}

/* Footer */
footer {
  margin-top: 80px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

footer a {
  color: var(--accent-cyan);
  text-decoration: none;
}
