:root {
  --bg: #0a0c10;
  --gold: #f2b441;
  --silver: #c0c7d1;
  --panel: rgba(16, 20, 32, 0.9);
  --border: #1b2235;
  --text: #f7f7f9;
  --muted: #9aa3b5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  font-family: "IBM Plex Mono", "Space Mono", "SFMono-Regular", Consolas, monospace;
  color: var(--text);
  padding: 32px 14px 64px;
}

#bg-pillar {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.board {
  width: min(520px, 92vw);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 24px 80px rgba(0, 0, 0, 0.45);
  border-radius: 16px;
  padding: 28px 24px;
  display: grid;
  gap: 12px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--muted);
}

.value {
  text-align: right;
  font-size: clamp(38px, 8vw, 56px);
  color: var(--gold);
  text-shadow: 0 0 12px rgba(242, 180, 65, 0.25), 0 0 24px rgba(242, 180, 65, 0.15);
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 0 10px;
}

.footer .label {
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #d9e0eb;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.tg {
  display: inline-flex;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 30% 30%, rgba(242, 180, 65, 0.15), rgba(11, 15, 24, 0.95)),
    #0b0f18;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

.tg svg {
  width: 50px;
  height: 50px;
}

.tg path:first-child {
  fill: #0b0f18;
}

.tg path:last-child {
  fill: var(--silver);
}

@media (max-width: 520px) {
  .board {
    padding: 22px 16px;
  }

  .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .value {
    text-align: left;
  }
}
