/* Red Panda Rumble – PoC Styling (Red Panda Design System) */

:root {
  --bg: #fff8f6;
  --text: #241916;
  --primary: #C85A36;
  --secondary: #0053a7;
  --tertiary: #56423c;
  --accent: #f8b595;
  --border: #dec0b8;
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.arena {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

#gameCanvas {
  background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  display: block;
  margin: 0 auto 1rem;
}

.hud {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.wrestler-info {
  flex: 1;
  max-width: 300px;
}

.name {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.bar-container {
  background: #e0e0e0;
  border-radius: 4px;
  height: 20px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.bar {
  height: 100%;
  width: 100%;
  transition: width 0.3s ease;
}

.bar.health {
  background: var(--secondary);
}

.bar.momentum {
  background: var(--primary);
}

.commentary {
  font-style: italic;
  color: var(--tertiary);
  margin: 1rem 0;
  min-height: 3rem;
  padding: 0.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.controls {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.controls p {
  margin-bottom: 0.5rem;
}
