:root {
  --background: #020522;
  --foreground: #fff;
  --gold: #ffdc45;
  --gold-deep: #f4a900;
  --blue: #0759db;
  --blue-bright: #12baff;
  --blue-deep: #06145c;
  --border: rgba(255, 220, 69, 0.78);
}

* { 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(23, 148, 255, 0.34), transparent 26rem),
    linear-gradient(180deg, #081a6d 0%, #030b3e 48%, #010314 100%);
}

.site-shell::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 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: #0bbcff; }
.ambient-two { top: 37rem; right: -14rem; background: #ffcc16; }

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

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

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

.promo-section {
  position: relative;
  aspect-ratio: 1983 / 793;
  overflow: hidden;
  border: 2px solid rgba(255, 220, 69, .94);
  border-radius: 16px;
  background: #06165d;
  box-shadow: 0 25px 70px rgba(0,0,0,.48), 0 0 0 6px rgba(16,181,255,.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: 1%;
  left: 22.7%;
  width: 31%;
  height: auto;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.76));
}

.benefits-panel {
  position: absolute;
  z-index: 1;
  left: 2.2%;
  bottom: 4%;
  width: 72%;
  height: 70%;
  padding: 2.8% 2.4% 2.2%;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(4,12,52,.96), rgba(0,3,22,.93));
  box-shadow: 0 0 20px rgba(0,174,255,.36), inset 0 0 28px rgba(255,255,255,.045);
}

.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 #062087, 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,.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(10,61,159,.65), rgba(1,7,37,.77));
}

.benefit-cell span {
  color: #ffe871;
  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, #16c6ff, #0872df 53%, #05256f);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.34), 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,.66);
  white-space: nowrap;
}

.entry-section,
.support-section,
.alliance-section {
  width: 92%;
  margin: 9px auto 0;
  padding: 9px 8px;
  border: 1px solid rgba(255,220,69,.34);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(7,38,126,.94), rgba(2,7,39,.96));
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
}

.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: #fff171;
  background: linear-gradient(180deg, #1bbdff 0%, #0875e4 50%, #062a89 100%);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.31), 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,.78);
}

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

.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(10,91,207,.98), rgba(3,24,96,.99));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 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: #07195f;
  background: linear-gradient(180deg, #ffe65b, #ffc400);
  font-size: .66rem;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(0,0,0,.25);
}

.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));
}

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;
  background: transparent;
}

.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; }
}
