.rag-page {
  --rag-gold: #ffd78b;
  color: #fff7f0;
  background: #0c0909 url('../img/arena_bottom_bg.png') center bottom / max(100%, 1050px) auto no-repeat;
}

.rag-hero {
  background:
    linear-gradient(0deg, #100a09 0%, transparent 26%),
    linear-gradient(90deg, #0a080bc4, #100b1347 51%, transparent 77%),
    url('../img/arena_top_bg.png') center / cover no-repeat;
}

.rag-hero-inner {
  width: min(1320px, calc(100% - 48px));
  min-height: clamp(355px, 24vw, 425px);
  margin: auto;
  /* The shared desktop header overlays the hero and is 82px tall. */
  padding: clamp(222px, 14vw, 266px) 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  align-items: center;
  gap: 20px;
}

.rag-hero-copy {
  text-align: center;
  text-shadow: 0 2px 9px #000, 0 3px 24px #000;
  position: relative;
  z-index: 1;
}

.rag-hero h1 {
  margin: 0;
  color: #f5f1ef;
  font: italic 900 clamp(38px, 5.4vw, 86px)/1 Arial, sans-serif;
  letter-spacing: -.055em;
  text-shadow: 0 2px #959195, 0 4px #891915, 0 7px 18px #140505;
}

@supports (background-clip: text) {
  .rag-hero h1 {
    background: linear-gradient(#fff 15%, #aaa4a2 55%, #fff 61%, #c9c6c4 83%, #ff7b62 98%);
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 3px 0 #a31b19) drop-shadow(0 5px 7px #000);
  }
}

.rag-status {
  margin: 10px 0 0;
  color: var(--rag-gold);
  font-size: clamp(20px, 2.35vw, 37px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: .07em;
  text-shadow: 0 0 17px #f53018, 0 2px 6px #280a03;
}

.rag-intro {
  max-width: 390px;
  margin: 10px auto 17px;
  font-size: 16px;
  line-height: 1.45;
}

.rag-exterior {
  width: min(100%, 710px);
  height: clamp(310px, 26vw, 405px);
  object-fit: contain;
  object-position: center bottom;
  justify-self: center;
  filter: drop-shadow(0 12px 10px #09040388);
}

.rag-feature-bar,
.rag-frame {
  --rag-cut: 17px;
  --rag-shape: polygon(var(--rag-cut) 0, calc(100% - var(--rag-cut)) 0, 100% var(--rag-cut), 100% calc(100% - var(--rag-cut)), calc(100% - var(--rag-cut)) 100%, var(--rag-cut) 100%, 0 calc(100% - var(--rag-cut)), 0 var(--rag-cut));
  position: relative;
  isolation: isolate;
  filter: drop-shadow(0 0 6px #ec372864);
}

.rag-feature-bar::before,
.rag-feature-bar::after,
.rag-frame::before,
.rag-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: var(--rag-shape);
  background: linear-gradient(145deg, #ff7959, #8f1914 48%, #ff492e);
}

.rag-feature-bar::after,
.rag-frame::after {
  inset: 2px;
  z-index: -1;
  background: linear-gradient(110deg, #281313, #100c0c 56%, #351513);
}

.rag-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 30px;
  border: 1px solid #ff7959;
  border-radius: 999px;
  background: linear-gradient(#a52b1d, #650c10);
  box-shadow: 0 0 12px #ec372864, inset 0 0 10px #ffc1a333;
  color: #fff2cc;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 900;
  text-shadow: 0 1px 4px #3b0500;
}

.rag-action span { font-size: 24px; line-height: 1; }
.rag-action:hover { filter: brightness(1.18); }
.rag-action:focus-visible { outline: 2px solid #fff2cc; outline-offset: 3px; }

.rag-content {
  width: min(1290px, calc(100% - 48px));
  margin: -10px auto 0;
  position: relative;
  padding-bottom: clamp(62px, 6vw, 105px);
}

.rag-feature-bar {
  --rag-cut: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 22px;
  padding: 0 12px;
  list-style: none;
  filter: drop-shadow(0 0 6px #ff372b77);
}

.rag-feature-bar::before {
  background:
    radial-gradient(ellipse 30px 16px at var(--rag-cut) 1px, #fff8df 10%, #ffbc6d 34%, #ff532c 67%, transparent),
    radial-gradient(ellipse 30px 16px at calc(100% - var(--rag-cut)) 1px, #fff8df 10%, #ffbc6d 34%, #ff532c 67%, transparent),
    radial-gradient(ellipse 26px 14px at var(--rag-cut) calc(100% - 1px), #ffe3b4 10%, #ff904d 34%, #ef432b 67%, transparent),
    radial-gradient(ellipse 26px 14px at calc(100% - var(--rag-cut)) calc(100% - 1px), #ffe3b4 10%, #ff904d 34%, #ef432b 67%, transparent),
    linear-gradient(#ba2f26, #79201c 50%, #b43126);
}

.rag-feature-bar::after {
  inset: 2px;
  background: linear-gradient(#1c1414, #110e0f);
}

.rag-feature {
  position: relative;
  min-height: 77px;
  padding: 9px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
}

.rag-feature + .rag-feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: linear-gradient(transparent, #b44435, transparent);
}

.rag-feature img { width: 58px; height: 58px; object-fit: contain; }
.rag-feature strong,
.rag-info dt {
  display: block;
  color: var(--rag-gold);
  font-size: clamp(14px, 1.25vw, 19px);
  font-weight: 800;
  text-transform: uppercase;
}

.rag-feature span,
.rag-info dd {
  display: block;
  margin: 3px 0 0;
  font-size: 15px;
}

.rag-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(250px, 1fr);
  gap: clamp(12px, 1.7vw, 25px);
}

.rag-image-frame { min-height: 222px; }
.rag-image-frame img {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: cover;
  object-view-box: inset(0 7% 0 0);
  object-position: center 57%;
  clip-path: var(--rag-shape);
}

.rag-details {
  display: grid;
  gap: 8px;
  margin: 0;
}

.rag-info {
  --rag-card-cut: 22px;
  --rag-card-shape: polygon(var(--rag-card-cut) 0, calc(100% - var(--rag-card-cut)) 0, 100% 50%, calc(100% - var(--rag-card-cut)) 100%, var(--rag-card-cut) 100%, 0 50%);
  position: relative;
  isolation: isolate;
  align-content: center;
  min-height: 69px;
  padding: 8px 25px 8px 76px;
  filter: drop-shadow(0 0 6px #e83b2a42);
}

.rag-info::before,
.rag-info::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: var(--rag-card-shape);
  z-index: -2;
  background: linear-gradient(153deg, #ffe0be, #f74632 24%, #7c1c17 59%, #f34f36 87%, #ffb08e);
}

.rag-info::after {
  inset: 2px;
  z-index: -1;
  background:
    repeating-linear-gradient(135deg, transparent 0 7px, #e8442f70 7px 12px) right 19px bottom / 48px 13px no-repeat,
    linear-gradient(110deg, #561915, #281315 22%, #141011 23%, #110e0f 73%, #421716);
}

.rag-info img,
.rag-pin {
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.rag-pin {
  left: 33px;
  width: 23px;
  height: 23px;
  border: 6px solid var(--rag-gold);
  border-radius: 50% 50% 50% 0;
  transform: translateY(-65%) rotate(-45deg);
  filter: drop-shadow(0 0 6px #ea5726);
}

@media (max-width: 900px) {
  .rag-hero-inner { padding-top: 108px; }
}

@media (max-width: 700px) {
  .rag-hero {
    background:
      linear-gradient(0deg, #100a09, #0e090b82 45%, #100b1347),
      url('../img/arena_top_bg.png') center / cover no-repeat;
  }

  .rag-hero-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    padding: 64px 0 31px;
    gap: 0;
  }

  .rag-exterior { grid-row: 1; height: clamp(165px, 50vw, 285px); }
  .rag-hero h1 { font-size: clamp(40px, 10vw, 65px); }
  .rag-action { padding-inline: 18px; font-size: 15px; }
  .rag-content { width: calc(100% - 32px); }
  .rag-feature-bar { grid-template-columns: 1fr; }
  .rag-feature { justify-content: flex-start; min-height: 61px; }
  .rag-feature img { width: 43px; height: 43px; }
  .rag-feature + .rag-feature::before {
    top: 0;
    bottom: auto;
    left: 10px;
    right: 10px;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, #b44435, transparent);
  }
  .rag-main-grid { grid-template-columns: 1fr; }
  .rag-image-frame { min-height: clamp(164px, 42vw, 275px); }
}
