* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, "Noto Sans KR", sans-serif;
  color: white;
  background: #050510;
  overflow-x: hidden;
}

.rgb-bg {
  position: fixed;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 0, 90, 0.50), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(0, 180, 255, 0.52), transparent 28%),
    radial-gradient(circle at 50% 85%, rgba(0, 255, 120, 0.38), transparent 34%),
    radial-gradient(circle at 75% 70%, rgba(180, 0, 255, 0.35), transparent 32%);
  filter: blur(55px);
  animation: rgbWave 9s ease-in-out infinite alternate;
}

.container {
  width: min(1120px, 92vw);
  margin: 40px auto;
}

.card {
  background: rgba(10, 12, 25, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 26px;
  box-shadow:
    0 0 28px rgba(0, 180, 255, 0.18),
    0 0 70px rgba(255, 0, 120, 0.10);
  backdrop-filter: blur(14px);
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
}

.label {
  margin: 0 0 8px;
  color: #94e9ff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  text-shadow:
    0 0 12px rgba(255, 0, 120, 0.7),
    0 0 24px rgba(0, 200, 255, 0.55);
}

h1 small {
  font-size: 0.38em;
  color: rgba(255, 255, 255, 0.68);
}

h2 {
  margin: 0 0 16px;
}

.status {
  padding: 16px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,0,106,0.55), rgba(0,200,255,0.55), rgba(0,255,136,0.55));
  box-shadow: 0 0 28px rgba(0, 200, 255, 0.35);
  font-weight: 800;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.metric p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.70);
}

.metric strong {
  display: block;
  font-size: 34px;
  margin-bottom: 8px;
}

.metric span {
  color: rgba(255, 255, 255, 0.72);
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

th, td {
  padding: 13px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-align: left;
}

th {
  color: #93e8ff;
  font-weight: 700;
}

td.up {
  color: #7dffba;
  font-weight: 800;
}

td.down {
  color: #ff82aa;
  font-weight: 800;
}

td.flat {
  color: #d8d8d8;
  font-weight: 800;
}

.updated,
.disclaimer {
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

.disclaimer {
  font-size: 14px;
}

@keyframes rgbWave {
  0% {
    transform: translate(-3%, -2%) rotate(0deg) scale(1);
    filter: blur(55px) hue-rotate(0deg);
  }
  50% {
    transform: translate(3%, 3%) rotate(8deg) scale(1.10);
    filter: blur(65px) hue-rotate(120deg);
  }
  100% {
    transform: translate(-2%, 4%) rotate(-7deg) scale(1.04);
    filter: blur(58px) hue-rotate(240deg);
  }
}

@media (max-width: 800px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 14px;
  }
}
