:root {
  --bg: #0a0a0a;
  --ink: #f5f5f5;
  --muted: #a0a0a0;
  --accent: #d4af37;
  --accent-2: #b8860b;
  --accent-3: #ffd700;
  --nav-accent: #00d9ff;
  --card: #1a1a1a;
  --line: #2a2a2a;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 60px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(
      circle at 10% 10%,
      rgba(212, 175, 55, 0.08),
      transparent 45%
    ),
    radial-gradient(circle at 90% 5%, rgba(184, 134, 11, 0.1), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(255, 215, 0, 0.06), transparent 45%),
    var(--bg);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      120deg,
      rgba(212, 175, 55, 0.05),
      rgba(0, 0, 0, 0)
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(212, 175, 55, 0.02) 0,
      rgba(212, 175, 55, 0.02) 1px,
      transparent 1px,
      transparent 8px
    );
  pointer-events: none;
  z-index: -1;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", "Georgia", serif;
  margin: 0;
  text-shadow: 
    1px 1px 0 #d4af37,
    2px 2px 0 #b8860b,
    3px 3px 5px rgba(0, 0, 0, 0.4);
}

p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nav-accent);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 60px;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.1em;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.navbar-brand.expanded {
  letter-spacing: 0.05em;
}

.navbar-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-menu a:hover {
  color: var(--nav-accent);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .navbar {
    justify-content: flex-start;
  }

  .navbar-time {
    display: none;
  }

  .navbar-toggle {
    display: flex;
    margin-left: auto;
  }
  
  .navbar-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--nav-accent);
  }
  
  .navbar-menu.active {
    max-height: 300px;
  }
  
  .navbar-menu li {
    border-top: 1px solid #222;
  }
  
  .navbar-menu a {
    display: block;
    padding: 16px 24px;
  }
}

.hero {
  text-align: center;
  margin-bottom: 60px;
  animation: float-in 0.7s ease-out;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  font-style: italic;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
}

.hero-word {
  opacity: 0;
  text-shadow: 
    1px 1px 0 #d4af37,
    2px 2px 0 #d4af37,
    3px 3px 0 #b8860b,
    4px 4px 0 #b8860b,
    5px 5px 0 #9a7209,
    6px 6px 10px rgba(0, 0, 0, 0.8);
}

.hero-word-1 {
  animation: slide-left 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  animation-delay: 0s;
}

.hero-word-2 {
  animation: slide-right 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  animation-delay: 0.2s;
}

.hero-word-3 {
  animation: whip-in 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  animation-delay: 0.4s;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.arena {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: reveal 0.8s ease-out 0.15s backwards;
}

.arena-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.arena-sub {
  color: var(--muted);
  margin-top: 6px;
}

.arena-badge {
  background: var(--accent);
  color: var(--bg);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.submit-confirmation {
  margin-top: 20px;
  padding: 32px;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  display: none;
  animation: reveal 0.5s ease-out;
}

.submit-confirmation.show {
  display: block;
}

.submit-confirmation-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.submit-confirmation-details {
  margin: 24px auto 0;
  max-width: 520px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.submit-confirmation-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.submit-confirmation-row span {
  color: var(--muted);
}

.submit-confirmation-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .submit-confirmation-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .submit-confirmation-actions {
    width: 100%;
  }

  .submit-confirmation-actions .btn {
    width: 100%;
  }
}

.matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.entry {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--line);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: reveal 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.entry > * {
  position: relative;
  z-index: 1;
}

.entry-preview {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.entry-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.45) 0%,
    rgba(26, 26, 26, 0.85) 55%,
    rgba(26, 26, 26, 1) 100%
  );
}

.entry-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  transform: scale(1.06);
  transform-origin: center;
  filter: blur(1.5px) saturate(0.85);
  opacity: 0.65;
}

.entry--has-preview .entry-preview {
  opacity: 1;
}

.entry-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.entry-top h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.entry-favicon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
}

.entry-sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.entry-address {
  font-size: 0.85rem;
  color: var(--ink);
  margin-top: 3px;
  font-weight: 500;
}

.entry-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 4px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.entry-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.tag {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.vs {
  text-align: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
}

.entry-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.score {
  text-align: right;
}

.count {
  display: block;
  font-weight: 700;
  font-size: 1.2rem;
}

.pct {
  color: var(--muted);
  font-size: 0.9rem;
}

.arena-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
  animation: reveal 0.8s ease-out 0.3s backwards;
}

.history-section {
  margin-top: 40px;
}

.history-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.history-list {
  display: grid;
  gap: 12px;
}

.history-item {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-matchup {
  flex: 1;
}

.history-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.history-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.history-result {
  text-align: right;
  font-weight: 600;
}

.history-winner {
  color: var(--accent);
  font-size: 1.1rem;
}

.history-loser {
  color: var(--muted);
  font-size: 0.95rem;
}

.panel {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.btn::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

.btn:active {
  animation: btnExplode 0.6s ease-out;
}

.btn:active::after {
  animation: btnDuplicate 0.6s ease-out;
}

@keyframes btnExplode {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

@keyframes btnDuplicate {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(3);
  }
}

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

.btn.primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 10px 18px rgba(212, 175, 55, 0.3);
  font-weight: 700;
}

.btn.primary::after {
  background: var(--accent);
  color: var(--bg);
  border: 2px solid var(--accent);
}

.btn.primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn.primary:active {
  transform: translateY(-2px) scale(1.02);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn.ghost::after {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn.ghost:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn.ghost:active {
  transform: scale(0.98);
}

.btn.vote {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
}

.btn.vote:disabled {
  opacity: 0.6;
}

.btn.vote.vote-selected {
  opacity: 1;
}

.btn.link {
  background: transparent;
  color: var(--accent);
  padding: 6px 0;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.2);
}

.btn:disabled {
  cursor: not-allowed;
  transform: none;
}

.btn:disabled:hover {
  transform: none;
}

.entry.winner {
  animation: winner-pulse 0.6s ease-out;
  border: 2px solid var(--accent);
}

.entry.loser {
  animation: loser-fade 0.6s ease-out;
  opacity: 0.6;
}

.score.animate {
  animation: count-pop 0.4s ease-out;
}

.tiny {
  font-size: 0.85rem;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes winner-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes loser-fade {
  0% { opacity: 1; }
  100% { opacity: 0.6; }
}

@keyframes count-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); color: var(--accent); }
  100% { transform: scale(1); }
}

@keyframes whip-in {
  0% {
    opacity: 0;
    transform: translateY(-150px) scale(2) rotate(15deg);
  }
  50% {
    transform: translateY(10px) scale(0.95);
  }
  70% {
    transform: translateY(-5px) scale(1.05);
  }
  85% {
    transform: translateY(3px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@keyframes slide-left {
  0% {
    opacity: 0;
    transform: translateX(-200px);
  }
  60% {
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-right {
  0% {
    opacity: 0;
    transform: translateX(200px);
  }
  60% {
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero {
    margin-bottom: 40px;
  }

  .matchup {
    grid-template-columns: 1fr;
  }

  .vs {
    margin: 10px 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* HOVER EFFECTS ON TITLE */
.hero-word {
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-word:hover {
  color: var(--accent);
  transform: scale(1.05) rotate(-2deg);
  text-shadow: 0 0 20px var(--accent);
}

/* Mobile: tap instead of hover */
@media (hover: none) and (pointer: coarse) {
  .hero-word:active {
    color: var(--accent);
    transform: scale(1.05);
  }
}

/* DIAGONAL FIGHT CARD LAYOUT */
.matchup-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.matchup-card {
  position: relative;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 255, 255, 0.04), rgba(212, 175, 55, 0.25)) border-box;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  overflow: hidden;
}

.matchup-card--mayor {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid #c9082a;
}

.matchup-card--mayor .matchup-title {
  background: linear-gradient(90deg, #c9082a 0%, #17408b 50%, #c9082a 100%);
  color: white;
  font-weight: 900;
}

.matchup-card--mayor .fighter {
  background: rgba(23, 64, 139, 0.1);
}

.matchup-card--mayor .fighter-left {
  background: linear-gradient(135deg, rgba(23, 64, 139, 0.2) 0%, rgba(23, 64, 139, 0.2) 85%, transparent 85%);
}

.matchup-card--mayor .fighter-right {
  background: linear-gradient(-135deg, rgba(201, 8, 42, 0.2) 0%, rgba(201, 8, 42, 0.2) 85%, transparent 85%);
}

.matchup-card--mayor .vs-diagonal {
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.matchup-title {
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.matchup-title-text {
  flex: 1;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.matchup-timer {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.75rem;
}

.cadence-badge {
  background: var(--bg);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.vote-badge {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
  max-width: 45%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vote-badge.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.matchup-actions {
  display: flex;
  justify-content: flex-end;
  padding: 10px 16px 14px;
}

.share-link {
  color: var(--nav-accent);
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-link.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.share-link:hover {
  text-decoration: underline;
}

.diagonal-matchup {
  position: relative;
  min-height: 200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fighter {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.fighter--selected {
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.7);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(26, 26, 26, 0.9));
}

.fighter--dim {
  opacity: 0.75;
}

.fighter--selected .btn.vote {
  background: var(--accent-3);
  color: var(--bg);
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.35);
}

.fighter-left {
  background: linear-gradient(135deg, var(--card) 0%, var(--card) 85%, transparent 85%);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  padding-right: 60px;
}

.fighter-right {
  background: linear-gradient(-135deg, var(--card) 0%, var(--card) 85%, transparent 85%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  padding-left: 60px;
  text-align: right;
}

.fighter-corner {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.fighter h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.fighter-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.fighter .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.fighter-score {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.fighter-right .fighter-score {
  justify-content: flex-end;
}

.vs-diagonal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
  z-index: 10;
  background: var(--bg);
  padding: 8px 16px;
  border: 2px solid var(--accent);
}

.matchup-card.vote-confirm {
  animation: vote-confirm 0.5s ease-out;
}

@keyframes vote-confirm {
  0% { transform: scale(1); }
  40% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.sticky-vote {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px 16px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.9) 40%, rgba(10, 10, 10, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: none;
  justify-content: center;
  z-index: 1200;
}

.sticky-vote-btn {
  width: min(420px, 100%);
}

.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1300;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


@media (max-width: 900px) {
  .diagonal-matchup {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  
  .fighter-left {
    clip-path: none;
    padding-right: 20px;
    border-bottom: 2px solid var(--accent);
  }
  
  .fighter-right {
    clip-path: none;
    padding-left: 20px;
    text-align: left;
  }
  
  .fighter-right .fighter-score {
    justify-content: flex-start;
  }
  
  .vs-diagonal {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    margin: -10px auto;
    width: fit-content;
  }
}

/* Fighter images */
.fighter-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  margin-bottom: 8px;
}

.fighter-right .fighter-img {
  margin-left: auto;
}

@media (max-width: 600px) {
  body {
    padding-top: 56px;
  }

  .navbar {
    height: 56px;
    padding: 0 16px;
  }

  .page {
    padding: 20px 16px 90px;
  }

  .hero {
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
    margin-bottom: 18px;
  }

  .hero-word-1 {
    display: none;
  }

  .hero-actions .btn.ghost:last-child {
    display: none;
  }

  .arena {
    padding: 16px;
  }

  .matchup-card {
    margin: 0 -16px;
    border-radius: 20px;
  }

  .matchup-title {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .vote-badge {
    max-width: 100%;
    white-space: normal;
  }

  .matchup-title-text {
    text-align: left;
  }

  .matchup-actions {
    justify-content: flex-start;
  }

  .fighter {
    padding: 24px;
  }

  .fighter .btn {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .btn {
    min-height: 48px;
    padding: 12px 18px;
  }

  .diagonal-matchup {
    row-gap: 16px;
  }

  .sticky-vote {
    display: flex;
  }
}
