:root {
  --background: #160100;
  --foreground: #fff;
  --gold: #ffd33d;
  --gold-deep: #f2a200;
  --red: #d91f16;
  --red-bright: #ff3d2e;
  --red-deep: #650600;
  --border: rgba(255, 211, 61, 0.74);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

button,
a { -webkit-tap-highlight-color: transparent; }

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 11%, rgba(255, 61, 46, 0.32), transparent 27rem),
    linear-gradient(180deg, #4b0502 0%, #210201 48%, #100000 100%);
}

.site-shell::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
}

.ambient {
  position: absolute;
  width: 25rem;
  height: 25rem;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
  opacity: .22;
}

.ambient-one { top: 10rem; left: -14rem; background: #ff2d20; }
.ambient-two { top: 37rem; right: -14rem; background: #ffb000; }

.page-wrap {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 18px));
  margin: 0 auto;
  padding: 12px 0 20px;
}

.brand-header {
  display: flex;
  justify-content: center;
  padding: 2px 12px 10px;
}

.brand-logo {
  display: block;
  width: min(300px, 78vw);
  height: auto;
  filter: drop-shadow(0 7px 15px rgba(0,0,0,.55));
}

.promo-section {
  position: relative;
  aspect-ratio: 1983 / 793;
  overflow: hidden;
  border: 2px solid rgba(255, 211, 61, .9);
  border-radius: 16px;
  background: #6d0802;
  box-shadow: 0 25px 70px rgba(0,0,0,.48), 0 0 0 6px rgba(255,61,46,.1);
}

.promo-background {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-content { position: absolute; inset: 0; }

.promo-logo {
  position: absolute;
  z-index: 2;
  top: 4%;
  left: 20%;
  width: 45%;
  height: auto;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.75));
}

.benefits-panel {
  position: absolute;
  z-index: 1;
  left: 2.2%;
  bottom: 4%;
  width: 72%;
  height: 73%;
  padding: 2.8% 2.4% 2.2%;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(18,7,4,.95), rgba(2,2,2,.93));
  box-shadow: 0 0 20px rgba(255,36,22,.35), inset 0 0 28px rgba(255,255,255,.035);
}

.benefits-panel h1 {
  margin: 0 0 2.5%;
  color: var(--gold);
  font-size: clamp(.62rem, 3.2vw, 1rem);
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 0 #7b1600, 0 3px 8px #000;
}

.benefits-grid {
  display: grid;
  height: calc(100% - 20px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3%;
}

.benefit-cell {
  display: flex;
  min-width: 0;
  padding: 2% 3%;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(92,8,4,.58), rgba(11,3,2,.75));
}

.benefit-cell span {
  color: #ffe454;
  font-size: clamp(.43rem, 2.1vw, .67rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.benefit-cell strong {
  display: flex;
  width: 96%;
  min-height: 43%;
  margin-top: 4%;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(180deg, #ff3527, #b20d08 53%, #640400);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.25), 0 3px 8px rgba(0,0,0,.55);
  font-size: clamp(.62rem, 3vw, .98rem);
  line-height: 1;
  text-shadow: 0 2px 3px rgba(0,0,0,.65);
  white-space: nowrap;
}

.entry-section,
.support-section,
.alliance-section {
  width: 92%;
  margin: 9px auto 0;
  padding: 9px 8px;
  border: 1px solid rgba(255,211,61,.24);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(92,8,4,.93), rgba(22,1,1,.95));
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
}

.entry-section h2,
.support-section h2,
.alliance-section h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(.88rem, 4vw, 1.05rem);
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 3px 14px rgba(0,0,0,.6);
}

.main-links,
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.site-button {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 46px;
  padding: 5px 7px;
  align-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  color: #fff06a;
  background: linear-gradient(180deg, #f13a2d 0%, #be140d 50%, #720700 100%);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.25), 0 12px 25px rgba(0,0,0,.38);
  font-size: clamp(.58rem, 2.7vw, .72rem);
  font-weight: 900;
  letter-spacing: .01em;
  text-shadow: 0 2px 3px rgba(0,0,0,.75);
}

.pointing-hand { font-size: 1.05rem; filter: drop-shadow(0 3px 4px rgba(0,0,0,.4)); }

.group-link {
  display: block;
  width: min(250px, 64vw);
  margin: 0 auto;
  padding: 5px 4px 2px;
  border: 0;
  background: transparent;
}

.group-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.45));
}

.support-card {
  display: flex;
  min-height: 106px;
  padding: 7px 6px 6px;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(180deg, rgba(178,18,12,.98), rgba(73,4,1,.99));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 24px rgba(0,0,0,.27);
  font-family: inherit;
  text-align: center;
}

.support-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.28));
}

.support-icon svg { display: block; width: 100%; height: 100%; }

.support-card strong {
  display: flex;
  min-height: 28px;
  align-items: center;
  color: #fff67b;
  font-size: .64rem;
  line-height: 1.25;
}

.visit-pill {
  display: inline-flex;
  min-width: 54px;
  min-height: 22px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #5b0903;
  background: linear-gradient(180deg, #ffe452, #ffc400);
  font-size: .66rem;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(0,0,0,.25);
}

button { cursor: pointer; }
button:disabled { cursor: default; }
[aria-disabled="true"] { cursor: default; }

.site-button:focus-visible,
.support-card:focus-visible,
.group-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.license-section { margin-top: 8px; }
.license-image { display: block; width: 100%; height: auto; }

@media (max-width: 560px) {
  .promo-section { border-width: 1px; border-radius: 14px; }
  .site-button { min-height: 44px; padding: 5px 6px; font-size: .59rem; }
  .support-card { min-height: 103px; padding: 6px 5px; border-radius: 11px; }
  .support-icon { width: 32px; height: 32px; margin-bottom: 3px; }
  .support-card strong { min-height: 27px; font-size: .61rem; }
  .visit-pill { min-width: 52px; min-height: 22px; font-size: .64rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
