:root {
  --bg: #080808;
  --ink: #f4f4f4;
  --red: #ff4b1f;
  --blue: #00d4ff;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Space Mono", monospace;
  color: var(--ink);
}

a {
  color: inherit;
}

.landing-body {
  background: radial-gradient(circle at 20% 20%, #2a1107 0, #0b0b0b 44%),
    radial-gradient(circle at 80% 10%, #00313a 0, transparent 38%),
    #050505;
}

.landing-main {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 48px 0 56px;
}

.hero h1,
.admin-main h1 {
  margin: 8px 0 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(2.1rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0.04em;
}

.hero-copy,
.admin-note {
  max-width: 56ch;
  color: #ddd;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  color: #ffb86f;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

.battle-grid {
  margin-top: 34px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.battle-card {
  position: relative;
  display: block;
  text-decoration: none;
  border: 1px solid #282828;
  border-radius: 16px;
  padding: 26px 22px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.battle-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(130deg, rgba(255, 75, 31, 0.6), rgba(0, 212, 255, 0.5));
  opacity: 0;
  z-index: -1;
  transition: opacity 180ms ease;
}

.battle-card:hover {
  transform: translateY(-4px);
  border-color: #575757;
}

.battle-card:hover::after {
  opacity: 1;
}

.battle-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #ffb86f;
}

.battle-card h2 {
  margin: 14px 0 12px;
  font-family: "Anton", sans-serif;
  letter-spacing: 0.04em;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.03;
}

.battle-card p {
  margin: 0;
  color: #cccccc;
  font-size: 0.95rem;
}

.battle-button {
  cursor: pointer;
}

.brand-strip {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border: 1px solid #3b3b3b;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.4);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.brand-strip p {
  margin: 0;
  color: #f2f2f2;
}

.brand-strip strong {
  color: #ffb86f;
}

.brand-strip a {
  text-decoration: none;
  color: #8be9ff;
}

.brand-strip a:hover {
  color: #d8f7ff;
}

.brand-strip-battle {
  pointer-events: none;
}

.brand-strip-battle a {
  pointer-events: auto;
}

.landing-footer {
  margin-top: 28px;
}

.admin-link,
.back-link {
  display: inline-block;
  text-decoration: none;
  border: 1px solid #404040;
  border-radius: 999px;
  padding: 10px 18px;
  transition: border-color 180ms ease, color 180ms ease;
}

.admin-link:hover,
.back-link:hover {
  border-color: #fff;
  color: #fff;
}

.battle-body {
  overflow: hidden;
  background: #000;
}

.split-main {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  position: relative;
}

.split-side {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: flex 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease;
}

.split-red {
  background: linear-gradient(140deg, #120807 0%, #3e130f 55%, #6b1e10 100%);
}

.split-blue {
  background: linear-gradient(220deg, #05131d 0%, #11384a 55%, #03525e 100%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.content-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 16px;
}

.name {
  margin: 0;
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(2.4rem, 9vw, 6.2rem);
}

.genre {
  margin: 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #d8d8d8;
  font-size: clamp(0.72rem, 2vw, 0.95rem);
}

.neon-red {
  text-shadow: 0 0 12px rgba(255, 75, 31, 0.7), 0 0 25px rgba(255, 75, 31, 0.45);
}

.neon-blue {
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.72), 0 0 25px rgba(0, 212, 255, 0.45);
}

.cta {
  display: inline-block;
  padding: 9px 18px;
  border: 2px solid;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  animation: pulse 1.2s infinite;
}

.cta-red {
  color: var(--red);
  border-color: var(--red);
}

.cta-blue {
  color: var(--blue);
  border-color: var(--blue);
}

.vote-btn {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: none;
  cursor: pointer;
  background: transparent;
}

.vote-btn:disabled {
  cursor: not-allowed;
}

.vote-btn-red:hover:not(:disabled) {
  background: radial-gradient(circle at center, rgba(255, 75, 31, 0.22), transparent 65%);
}

.vote-btn-blue:hover:not(:disabled) {
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.22), transparent 65%);
}

.watermark-score {
  position: absolute;
  z-index: 1;
  opacity: 0.14;
  font-family: "Anton", sans-serif;
  font-size: clamp(5rem, 19vw, 17rem);
  line-height: 1;
}

.disabled-side {
  filter: grayscale(100%) brightness(0.35);
}

.vs-badge {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-content: center;
  gap: 10px;
  z-index: 4;
}

.vs-circle {
  margin: 0 auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b0b0b;
  border: 4px solid #fff;
  font-family: "Anton", sans-serif;
  letter-spacing: 0.06em;
  font-size: 2.1rem;
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.66);
}

.status-box {
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px 14px;
}

#status-text {
  margin: 0;
  font-size: 0.75rem;
  color: #d7d7d7;
}

.vs-badge .back-link {
  pointer-events: auto;
  margin: 0 auto;
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.6);
}

.admin-body {
  background: radial-gradient(circle at 16% 10%, #2e130d 0, transparent 34%),
    radial-gradient(circle at 84% 14%, #053344 0, transparent 33%),
    #050505;
}

.admin-main {
  width: min(1000px, 92vw);
  margin: 0 auto;
  padding: 44px 0 60px;
}

.admin-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid #2e2e2e;
  border-radius: 14px;
  backdrop-filter: blur(3px);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid #2a2a2a;
}

.admin-table th {
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #ffb86f;
}

.admin-status {
  margin: 10px 14px 14px;
  color: #bdbdbd;
  font-size: 0.85rem;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
  100% {
    opacity: 1;
  }
}

@media (min-width: 821px) {
  .split-main {
    flex-direction: row;
  }
}

@media (max-width: 820px) {
  .watermark-score {
    font-size: 32vh;
  }

  .vs-circle {
    width: 78px;
    height: 78px;
    font-size: 1.7rem;
  }

  .brand-strip {
    width: calc(100vw - 18px);
    justify-content: center;
    gap: 8px;
    bottom: 9px;
    padding: 7px 10px;
    font-size: 0.66rem;
    letter-spacing: 0.02em;
  }
}
