:root {
  --background: #03170e;
  --foreground: #fff;
  --gold: #ffd532;
  --border: rgba(255, 213, 50, 0.72);
}

* {
  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% 12%, rgba(38, 212, 106, 0.24), transparent 28rem),
    linear-gradient(180deg, #062f1b 0%, #03170e 48%, #020c08 100%);
}

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

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

.ambient-one {
  top: 12rem;
  left: -14rem;
  background: #13ff77;
}

.ambient-two {
  top: 38rem;
  right: -14rem;
  background: #ffd532;
}

.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: 0 12px 10px;
}

.brand-logo {
  display: block;
  width: min(300px, 76vw);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.44));
}

.promo-section {
  overflow: hidden;
  border: 2px solid rgba(255, 212, 44, 0.82);
  border-radius: 16px;
  background: #02170d;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.42), 0 0 0 6px rgba(24, 202, 101, 0.08);
}

.promo-image,
.license-image,
.group-logo {
  display: block;
  width: 100%;
  height: auto;
}

.entry-section,
.support-section,
.alliance-section {
  width: 92%;
  margin: 9px auto 0;
  padding: 9px 8px;
  border: 1px solid rgba(255, 213, 50, 0.2);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(5, 42, 25, 0.92), rgba(2, 16, 10, 0.94));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

h1,
h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(0.88rem, 4vw, 1.05rem);
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

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

.site-button {
  position: relative;
  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: #fff56a;
  background: linear-gradient(180deg, #0cad57 0%, #05763e 50%, #034926 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.28), 0 12px 25px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  font-size: clamp(0.62rem, 2.8vw, 0.75rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.7);
}

.site-button:active,
.group-link:active {
  transform: scale(0.985);
}

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

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

.group-logo {
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.4));
}

.support-card {
  display: flex;
  min-height: 108px;
  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(12, 123, 67, 0.96), rgba(3, 54, 29, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 24px rgba(0, 0, 0, 0.24);
  text-align: center;
  text-decoration: none;
}

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

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

.support-card strong {
  display: flex;
  min-height: 28px;
  align-items: center;
  color: #fff67b;
  font-size: 0.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: #04351e;
  background: linear-gradient(180deg, #ffe452, #ffc400);
  font-size: 0.66rem;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
}

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

@media (max-width: 560px) {
  .promo-section {
    border-width: 1px;
    border-radius: 14px;
  }

  .site-button {
    min-height: 44px;
    padding: 5px 6px;
    font-size: 0.63rem;
  }

  .pointing-hand {
    font-size: 1.05rem;
  }

  .support-card {
    min-height: 104px;
    padding: 6px 5px;
    border-radius: 11px;
  }

  .support-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 3px;
  }

  .support-card strong {
    min-height: 27px;
    font-size: 0.61rem;
  }

  .visit-pill {
    min-width: 52px;
    min-height: 22px;
    font-size: 0.64rem;
  }
}

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