*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #e9f0ff;
  background: radial-gradient(circle at top, #0f1b2d 0%, #0a1322 45%, #070b14 100%);
  overflow: hidden;
}

.dashboard {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px 20px;
  position: relative;
  z-index: 1;
}

.panel {
  width: min(920px, 92vw);
  background: linear-gradient(140deg, rgba(20, 40, 70, 0.9), rgba(12, 24, 44, 0.92));
  border: 1px solid rgba(120, 170, 255, 0.25);
  border-radius: 24px;
  padding: 28px 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(3, 9, 20, 0.6);
  background-size: 200% 200%;
  animation: panelFlow 10s ease-in-out infinite;
}

.header-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: float 6s ease-in-out infinite;
}

.title {
  margin: 4px 0 0;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.label {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8fb0d8;
}

.link {
  color: #e8f2ff;
  text-decoration: none;
  font-size: 15px;
  padding: 10px 20px;
  border: 1px solid rgba(120, 170, 255, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  background: rgba(80, 120, 190, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  animation: glow 3.6s ease-in-out infinite;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-2px) scale(1.03);
  color: #ffffff;
  border-color: rgba(140, 190, 255, 0.7);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.link-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: rgba(12, 22, 40, 0.78);
  border: 1px solid rgba(120, 170, 255, 0.18);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: cardPulse 6s ease-in-out infinite;
}

.card:nth-child(2) {
  animation-delay: -1.5s;
}

.card:nth-child(3) {
  animation-delay: -3s;
}

.value {
  margin: 10px 0 0;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: #f3f7ff;
}

.status-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #61f0d4;
  top: 18px;
  right: 18px;
  box-shadow: 0 0 12px rgba(97, 240, 212, 0.8);
}

.logo-panel {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 28px 70px;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(120, 170, 255, 0.28);
  background: rgba(9, 17, 30, 0.78);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: float 7s ease-in-out infinite, logoPulse 4.5s ease-in-out infinite;
}

.logo-link:hover,
.logo-link:focus-visible {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4);
}

.logo-text {
  position: relative;
  z-index: 1;
  font-size: clamp(24px, 4.2vw, 52px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f1f6ff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.logo-glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, rgba(97, 240, 212, 0.18), rgba(110, 160, 255, 0.55), rgba(97, 240, 212, 0.1));
  animation: spin 7s linear infinite;
  opacity: 0.7;
}

.bg-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.3;
  animation: drift 18s ease-in-out infinite;
}

.orb-1 {
  background: #2a6adf;
  top: -80px;
  left: -40px;
}

.orb-2 {
  background: #1b4a7c;
  bottom: -120px;
  right: -60px;
  animation-delay: -5s;
}

.fab-group {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.fab {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 20, 36, 0.92);
  border: 1px solid rgba(120, 170, 255, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: tgPulse 4.2s ease-in-out infinite;
}

.fab:hover,
.fab:focus-visible {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
}

.fab-icon {
  width: 26px;
  height: 26px;
  fill: #f0f0f0;
}

.da-fab {
  background: rgba(26, 20, 40, 0.92);
  border: 1px solid rgba(205, 150, 255, 0.38);
  animation: tgPulse 4.2s ease-in-out infinite;
  animation-delay: -1.4s;
}

.da-fab .fab-icon {
  fill: #f7e6ff;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(120, 170, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(120, 170, 255, 0.4);
  }
}

@keyframes cardPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 32px rgba(3, 9, 20, 0.45);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 26px 46px rgba(3, 9, 20, 0.55);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes logoPulse {
  0%,
  100% {
    box-shadow: 0 16px 36px rgba(3, 9, 20, 0.45);
  }
  50% {
    box-shadow: 0 24px 48px rgba(90, 160, 255, 0.45);
  }
}

@keyframes tgPulse {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(3, 9, 20, 0.55);
  }
  50% {
    box-shadow: 0 20px 36px rgba(90, 160, 255, 0.5);
  }
}

@keyframes panelFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.05);
  }
}
