:root {
  --bg: #181818;
  --card: #282828;
  --text: #e0e0e0;
  --accent: #14bae4;
  --border: #303030;
}

@font-face {
  font-family: "ffxiv-title";
  src: url("/static/fonts/ffxiv.otf") format("opentype");
}

body {
  font-family: 'Space Mono', monospace;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.header {
  font-family: "ffxiv-title", serif;
  font-size: 5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin: 0;
  text-align: center;

  background: linear-gradient(
    to bottom,
    #f8e08e 0%,
    #d4af37 40%,
    #b8860b 60%,
    #8b4513 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(0 0 0.125rem rgba(248, 224, 142, 0.4))
          drop-shadow(0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.8));

  -webkit-text-stroke: 0.03125rem rgba(255, 255, 255, 0.2);
}

.tz-note {
  font-size: 0.8rem;
  opacity: .6;
  background: var(--card);
  border: 0.0625rem solid var(--border);
  border-radius: 0.375rem;
  font-style: italic;
  padding: .25rem 1rem;
}

#timers {
  column-count: 2;
  column-gap: 1.25rem;
  margin-top: 1.25rem;
  max-width: 62.5rem;
  width: 95%;
}

.timer {
  background: var(--card);
  border: 0.0625rem solid var(--border);
  border-radius: 0.375rem;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  break-inside: avoid-column;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

.title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.countdown {
  font-size: 1.6rem;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
}

.sub-timer {
  margin-top: 0.9375rem;
  padding-top: 0.9375rem;
  border-top: 0.0625rem solid var(--border);
  opacity: 0.7;
}

.sub-title {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

details {
  margin-top: 0.9375rem;
  font-size: 0.85rem;
}

summary {
  cursor: pointer;
  color: var(--accent);
  user-select: none;
  font-size: 0.9rem;
}

.info {
  margin-top: 0.625rem;
  color: #b0b0b0;
  line-height: 1.4;
}

.target {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

footer {
  margin-top: auto;
  font-size: 0.8rem;
  opacity: 0.5;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 48rem) {
  #timers {
    column-count: 1;
  }
  .header {
    font-size: 3rem;
  }
}
