:root {
  --gold: #d6aa62;
  --gold-bright: #f3d99b;
  --text: #f8ecd8;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: #000;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

body { overflow: hidden; }

.splash {
  position: fixed;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.banner {
  position: absolute;
  inset: 0;
  z-index: -10;
  background-image: url("assets/aucklorn-banner.png");
  background-size: cover;
  background-position: center center;
  transform: scale(1.035);
}

.shade {
  position: absolute;
  inset: 0;
  z-index: -9;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 190, 88, 0.18), transparent 27%),
    radial-gradient(circle at 50% 47%, rgba(0,0,0,0.04), rgba(0,0,0,0.55) 74%),
    linear-gradient(180deg, rgba(0,0,0,0.31), rgba(0,0,0,0.56) 56%, rgba(0,0,0,0.80)),
    linear-gradient(90deg, rgba(0,0,0,0.42), rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.31));
}

.fx {
  position: absolute;
  pointer-events: none;
}

.weather {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  z-index: -5;
  opacity: 0.10;
  filter: brightness(0.95) contrast(1.02);
}

.fx-b {
  transform: scaleX(-1) scale(1.04);
  animation: weatherDrift 26s ease-in-out infinite alternate;
  --weather-b-from: 0.08;
  --weather-b-to: 0.15;
}

.fog {
  z-index: -2;
  mix-blend-mode: screen;
  opacity: 0;
  height: auto;
  filter: blur(1.1px) contrast(1.03) brightness(0.86);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.82) 42%, rgba(0,0,0,0.20) 72%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.82) 42%, rgba(0,0,0,0.20) 72%, rgba(0,0,0,0) 100%);
}

.fog-one {
  left: 50%;
  bottom: -16vh;
  width: 104vw;
  transform: translateX(-50%);
  opacity: 0.18;
  animation: fogSlideOne 54s ease-in-out infinite alternate;
}

.fog-two {
  left: 50%;
  bottom: -18vh;
  width: 104vw;
  transform: translateX(-50%) scaleX(-1);
  opacity: 0.05;
  animation: fogSlideTwo 64s ease-in-out infinite alternate-reverse;
}

.veil {
  position: absolute;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background: transparent;
}

.content {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(1040px, 88vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.logo {
  display: block;
  width: min(88vw, 1120px);
  height: auto;
  filter:
    drop-shadow(0 22px 28px rgba(0,0,0,0.84))
    drop-shadow(0 0 22px rgba(214,170,98,0.18));
}

.tagline {
  margin: 0;
  max-width: 940px;
  color: rgba(250, 238, 216, 0.95);
  font-size: clamp(17px, 1.9vw, 27px);
  line-height: 1.45;
  letter-spacing: 0.015em;
  text-shadow: 0 4px 16px rgba(0,0,0,0.98), 0 0 34px rgba(0,0,0,0.92);
}

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 52px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid rgba(244, 212, 147, 0.74);
  background: linear-gradient(180deg, rgba(41,31,18,0.94), rgba(8,7,6,0.95));
  color: var(--gold-bright);
  text-decoration: none;
  text-transform: uppercase;
  font: 800 13px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.18em;
  box-shadow: 0 16px 34px rgba(0,0,0,0.58), inset 0 1px 0 rgba(255,255,255,0.14), 0 0 36px rgba(214,170,98,0.13);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.discord-button:hover,
.discord-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 227, 166, 0.95);
  background: linear-gradient(180deg, rgba(74,54,29,0.97), rgba(14,12,10,0.97));
  outline: none;
}

.license-mark {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 10;
  width: 78px;
  opacity: 0.34;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.9));
  transition: opacity 180ms ease, transform 180ms ease;
}

.license-mark:hover,
.license-mark:focus-visible {
  opacity: 0.72;
  transform: translateY(-1px);
  outline: none;
}

.license-mark img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes weatherDrift {
  from { translate: -1% -1%; opacity: var(--weather-b-from, 0.08); }
  to { translate: 1% 1%; opacity: var(--weather-b-to, 0.15); }
}

@keyframes fogSlideOne {
  from { transform: translateX(-51.5%) translateY(0) scale(1); }
  to { transform: translateX(-48.5%) translateY(-1.2%) scale(1.015); }
}

@keyframes fogSlideTwo {
  from { transform: translateX(-48%) translateY(0) scaleX(-1) scale(1); }
  to { transform: translateX(-52%) translateY(-0.8%) scaleX(-1) scale(1.02); }
}

@media (max-width: 820px) {
  .banner { transform: scale(1.08); }
  .content { top: 51%; width: 92vw; gap: 20px; }
  .logo { width: 94vw; }
  .tagline { font-size: 16.5px; line-height: 1.42; }
  .fog-one { width: 148vw; bottom: -10vh; }
  .fog-two { width: 138vw; bottom: -15vh; }
  .license-mark { width: 66px; right: 12px; bottom: 12px; opacity: 0.30; }
}


.nwn-subtitle {
  margin: clamp(0.4rem, 1.2vw, 0.85rem) auto 0;
  max-width: min(92vw, 920px);
  color: #d9b36a;
  font-family: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  font-size: clamp(0.78rem, 1.25vw, 1.18rem);
  font-weight: 600;
  letter-spacing: clamp(0.12rem, 0.42vw, 0.32rem);
  text-transform: uppercase;
  text-align: center;
  text-shadow:
    0 0 3px rgba(255, 255, 255, 0.62),
    0 0 9px rgba(217, 179, 106, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.95);
  opacity: 0.92;
}

