:root {
  --bg: #0a0806;
  --bg-card: #1a1612;
  --border: rgba(255, 255, 255, 0.08);
  --fg: #f0ece6;
  --fg-muted: rgba(240, 236, 230, 0.6);
  --accent: #f6c43a;
  --accent-2: #d34a2a;
  --bun: #c98a4a;
  --faceit: #ff5500;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

main {
  max-width: 880px;
  margin: 0;
  padding: 48px 32px;
  text-align: left;
}

.masthead {
  margin-bottom: 32px;
}

.brand {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.tagline {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0;
}

/* Hotdog — styles ported from wcygan.net app.css */
.hero { margin-bottom: 48px; }

.rotating-hotdog {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 1.25rem 1rem;
  background: #0d0a08;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  container-type: inline-size;
}

.rotating-hotdog pre {
  font-family: var(--font-mono);
  font-size: min(1.8cqi, 14px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: pre;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #5a3a1a;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.rotating-hotdog pre div,
.rotating-hotdog pre span {
  text-shadow:
    0 0 0.6px currentColor,
    0.4px 0 0 currentColor,
    -0.4px 0 0 currentColor,
    0 0.4px 0 currentColor,
    0 -0.4px 0 currentColor;
}

.rotating-hotdog pre div { white-space: pre; }
.rotating-hotdog .bun { color: var(--bun); }
.rotating-hotdog .dog { color: var(--accent-2); }
.rotating-hotdog .mustard { color: var(--accent); }

/* Teams */
.team { margin-bottom: 48px; }

.team-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.team-head h2 {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 900;
  margin: 0;
  color: var(--accent);
}

.team-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color 0.12s;
}

.player:hover {
  border-color: var(--faceit);
}

.player-handle {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 16px;
  color: var(--fg);
}

.faceit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #0d0a08;
  border: 1px solid var(--border);
  transition: background 0.12s, border-color 0.12s, transform 0.12s;
  cursor: pointer;
}

.faceit-btn:hover {
  background: var(--faceit);
  border-color: var(--faceit);
  transform: translateY(-1px);
}

.faceit-btn:focus-visible {
  outline: 2px solid var(--faceit);
  outline-offset: 2px;
}

.faceit-btn img {
  width: 22px;
  height: 22px;
  display: block;
}

/* Mobile */
@media (max-width: 640px) {
  main { padding: 24px 16px; }
  .roster { grid-template-columns: 1fr; }
  .team-head { flex-wrap: wrap; }
}
