:root {
  --monster-size: 256px;
  --arena-width: 1024px;
  
  /* Ring container positioning controls */
  --ring-container-scale: 1.125;
  --ring-container-translate-x: 0px;
  --ring-container-translate-y: -90px;
}

/* Arena Player Components */
.arena-ring {
  width: var(--arena-width); /* Fixed width to match arena calculations */
  height: 100%;
  position: relative; /* For absolute positioning of monsters */
  margin: 0 auto; /* Center the arena ring */
  overflow: hidden; /* Prevent monsters from going outside */
}

.monster-pose {
  width: var(--monster-size);
  height: var(--monster-size);
  position: absolute;
  top: 50%;
  left: 0; /* Position relative to arena left edge */
  transform: translate(-50%, -50%);
  z-index: 2;
}

.arena-monster {
  width: var(--monster-size);
  height: var(--monster-size);
  position: relative;
}

.arena-monster-image {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: scaleX(-1); /* Face right by default */
}

.monster-image-inner {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Match Content Container - Simple wrapper for ring and ticker */
.match-content {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  /* No transforms - this is just a wrapper */
  background-color: #654321; /* Background visible when ring moves */
}

/* Ring Container - Transformable Arena Battle Area */
.ring-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transform: 
    translateX(var(--ring-container-translate-x)) 
    translateY(var(--ring-container-translate-y)) 
    scale(var(--ring-container-scale));
  transform-origin: center center;
}

.ring-image {
  width: 1024px;
  height: 710px;
  position: absolute;
  left: 50%;
  bottom: 0%;
  transform: translateX(-50%);
  object-fit: fill;
  display: block;
  pointer-events: none;
}

/* Arena ring overlay */
.arena-ring-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}

/* Empty ring state */
.empty-ring {
  background: rgba(112, 139, 78, 0.95);
  color: #FFFBE9;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.empty-ring h3 {
  margin: 0 0 10px 0;
  color: #FFFBE9;
  font-size: 1.5rem;
}

.empty-ring p {
  margin: 0;
  font-size: 1rem;
  font-weight: normal;
  color: rgba(255, 251, 233, 0.9);
}