@font-face {
  font-family: 'Burbank';
  src: url('/assets/portal/burbank-black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Brutal';
  src: url('/assets/portal/brutal.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Brutal';
  src: url('/assets/portal/brutal-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --yellow: #F0ED63;
  --yellow-hover: #F8F68A;
  --magenta: #E16AE0;
  --magenta-hover: #EB86EA;
  --cyan: #1AC3FF;
  --purple-light: #802ABF;
  --purple-mid: #48186D;
  --purple-deep: #2B0945;
  --nav-cta-purple: #9338D4;
  --nav-cta-purple-hover: #9D44DC;
  --charcoal: #141414;
  --charcoal-mid: #1E1E24;
  --ink: #141414;
  --muted: #555A64;
  --border: #DFDFE5;
  --surface: #FFFFFF;
  --page-bg: #EDEDEF;
  --font-display: 'Burbank', Impact, sans-serif;
  --font-sans: 'Brutal', 'Segoe UI', Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 70px;
}

body {
  position: relative;
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Full-Bleed Edge-to-Edge 2018 Epic Games / Fortnite Top Bar
   ========================================================================== */
.epic-nav {
  width: 100%;
  height: 54px;
  background: var(--charcoal);
  border-bottom: 1px solid #25252B;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 0;
  margin: 0;
}

.epic-nav-left {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.epic-brand-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 18px 0 14px;
  text-decoration: none;
  color: #FFFFFF;
  flex-shrink: 0;
}

.epic-shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: transparent;
  border: 0;
  padding: 0;
  flex-shrink: 0;
}

.epic-shield img {
  width: 28px;
  height: 28px;
  display: block;
}

.epic-chevron {
  color: #6B6B76;
  margin: 0 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.epic-wordmark {
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  padding-top: 6px;
  display: inline-block;
  color: #FFFFFF;
}

.epic-nav-links {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0 0 0 8px;
  padding: 0;
  height: 100%;
}

.epic-nav-links li {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.epic-nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: #CCCCCC;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
  transition: color 0.14s ease, background 0.14s ease, border-bottom-color 0.14s ease;
  white-space: nowrap;
}

.epic-nav-links a:hover {
  color: #FFFFFF;
  background: #1F1F25;
  border-bottom-color: var(--cyan);
}

.epic-nav-links a.active {
  color: #FFFFFF;
  background: #1B1B20;
  border-bottom-color: var(--yellow);
}

.epic-nav-right {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  height: 100%;
  flex-shrink: 0;
}

.epic-account-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
}

.epic-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 20px;
  background: transparent;
  border: 0;
  border-left: 1px solid #25252B;
  color: #DCDCE2;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
}

.epic-account-btn:hover,
.epic-account-btn[aria-expanded="true"] {
  background: #202026;
  color: #FFFFFF;
}

.epic-account-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.epic-account-btn.signed-in {
  color: #FFFFFF;
}

.epic-account-dot {
  width: 7px;
  height: 7px;
  background: #4ADE80;
  display: inline-block;
  flex-shrink: 0;
}

.epic-caret {
  font-size: 10px;
  opacity: 0.75;
  margin-left: 2px;
}

/* Combined Portal + My Account dropdown directly under username */
.epic-account-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 256px;
  background: #1A1A20;
  border: 1px solid #2F2F38;
  border-top: 3px solid var(--yellow);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65);
  z-index: 80;
  display: none;
  flex-direction: column;
}

.epic-account-menu.open {
  display: flex;
}

.epic-menu-head {
  padding: 14px 16px;
  background: #141418;
  border-bottom: 1px solid #2A2A32;
}

.epic-menu-name {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.05;
  word-break: break-word;
}

.epic-menu-sub {
  font-size: 11px;
  color: #9A9AA6;
  margin-top: 3px;
}

.epic-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #24242C;
  color: #E2E2E8;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.epic-menu-item:hover {
  background: #26262F;
  color: var(--yellow);
}

.epic-menu-signout {
  color: #FCA5A5;
  border-bottom: 0;
}

.epic-menu-signout:hover {
  background: #2C1A1E;
  color: #FECACA;
}

/* Far-right edge-flush purpleish Download CTA */
.epic-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 28px;
  background: var(--nav-cta-purple);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.14s ease;
}

.epic-nav-cta:hover {
  background: var(--nav-cta-purple-hover);
}

.epic-nav-cta:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: -4px;
}

@media (forced-colors: active) {
  .epic-nav-cta {
    border: 2px solid LinkText;
    background: Canvas;
    color: LinkText;
  }
}

.epic-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 100%;
  background: transparent;
  border: 0;
  border-left: 1px solid #25252B;
  color: #FFFFFF;
  cursor: pointer;
}

.epic-mobile-drawer {
  display: none;
  background: #1A1A20;
  border-bottom: 2px solid var(--yellow);
  flex-direction: column;
  position: relative;
  z-index: 59;
}

.epic-mobile-drawer.open {
  display: flex;
}

.epic-mobile-drawer a {
  padding: 13px 20px;
  color: #E2E2E8;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid #26262E;
}

.epic-mobile-drawer a:hover,
.epic-mobile-drawer a.active {
  background: #24242B;
  color: var(--yellow);
}

/* ==========================================================================
   Sign-In Modal (Session + Remembered Login Cookie)
   ========================================================================== */
.epic-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 16, 0.78);
  z-index: 120;
  display: none;
  opacity: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.2s ease, display 0.2s ease;
  transition-behavior: allow-discrete;
}

.epic-modal-backdrop.open {
  display: flex;
  opacity: 1;
}

@starting-style {
  .epic-modal-backdrop.open {
    opacity: 0;
  }
}

.epic-modal {
  width: min(420px, 100%);
  background: #1B1B21;
  border: 1px solid #32323D;
  border-top: 4px solid var(--yellow);
  padding: 28px;
  color: #FFFFFF;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.75);
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .epic-modal {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.97);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .epic-modal-backdrop.open .epic-modal {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  @starting-style {
    .epic-modal-backdrop.open .epic-modal {
      opacity: 0;
      transform: translate3d(0, 12px, 0) scale(0.97);
    }
  }
}

.epic-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #25252E;
  border: 1px solid #383844;
  color: #CCCCCC;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.epic-modal-close:hover {
  color: #FFFFFF;
  border-color: var(--yellow);
}

.epic-modal h2 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.epic-modal-sub {
  font-size: 13px;
  color: #A8A8B3;
  margin: 0 0 20px;
  line-height: 1.45;
}

.epic-modal-field {
  margin-bottom: 16px;
}

.epic-modal-field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #B8B8C4;
  margin-bottom: 6px;
}

.epic-modal-field input[type="text"],
.epic-modal-field input[type="password"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  background: #121216;
  border: 1px solid #363642;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
}

.epic-modal-field input:focus {
  border-color: var(--purple-light);
}

.epic-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  color: #C4C4CE;
}

.epic-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.epic-modal-error {
  display: none;
  padding: 10px 12px;
  margin-bottom: 16px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #FCA5A5;
  font-size: 13px;
}

.epic-modal-error.show {
  display: block;
}

.epic-modal-submit {
  width: 100%;
  height: 46px;
  background: var(--yellow);
  color: var(--charcoal);
  border: 0;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.epic-modal-submit:hover {
  background: var(--yellow-hover);
}

.epic-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.epic-modal-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 10px;
  background: #5865F2;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.epic-modal-discord:hover {
  background: #4752C4;
}

.epic-modal-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #2A2A34;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9A9AA6;
}

.epic-modal-foot a {
  color: var(--yellow);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Screenshot-Matched Full-Bleed Home Hero Stage
   ========================================================================== */
.hero-stage {
  position: relative;
  z-index: 6;
  min-height: calc(100vh - 54px);
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: transparent;
  color: #FFFFFF;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 6, 28, 0.72) 0%, rgba(16, 6, 28, 0.38) 44%, rgba(16, 6, 28, 0.12) 100%),
    url('/assets/portal/rAocF2.png') center center / cover no-repeat,
    #2B0945;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) calc(100% - 260px),
    rgba(0, 0, 0, 0.88) calc(100% - 200px),
    rgba(0, 0, 0, 0.62) calc(100% - 140px),
    rgba(0, 0, 0, 0.30) calc(100% - 80px),
    rgba(0, 0, 0, 0.08) calc(100% - 32px),
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) calc(100% - 260px),
    rgba(0, 0, 0, 0.88) calc(100% - 200px),
    rgba(0, 0, 0, 0.62) calc(100% - 140px),
    rgba(0, 0, 0, 0.30) calc(100% - 80px),
    rgba(0, 0, 0, 0.08) calc(100% - 32px),
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  margin-left: clamp(24px, 7.2vw, 120px);
  padding: 54px 24px 86px 0;
  max-width: 680px;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 4px 18px rgba(10, 2, 22, 0.55);
  margin: 0 0 4px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 8.6vw, 124px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 8px 28px rgba(10, 2, 22, 0.65);
  margin: 0 0 26px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-cta-skew {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 46px;
  background: var(--magenta);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: skewX(-4deg) rotate(-0.8deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  transition: background 0.14s ease, transform 0.14s ease;
}

.hero-cta-skew:hover {
  background: var(--magenta-hover);
  transform: skewX(-4deg) rotate(-0.8deg) translateY(-2px);
}

.hero-cta-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  background: var(--yellow);
  color: var(--charcoal);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  transition: background 0.14s ease, transform 0.14s ease;
}

.hero-cta-yellow:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
}

.hero-sub-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.hero-play-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.92;
  transition: opacity 0.14s ease, color 0.14s ease;
}

.hero-play-link:hover {
  color: var(--yellow);
  opacity: 1;
}

.hero-play-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.hero-play-circle svg {
  display: block;
  transform: translateX(1px);
}

.hero-play-link:hover .hero-play-circle {
  background: var(--yellow);
  transform: scale(1.08);
}

.hero-dots {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.hero-dot.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  transform: scale(1.2);
}

.hero-scroll-btn {
  position: absolute;
  right: 26px;
  bottom: 78px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--yellow);
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 12;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.hero-scroll-btn svg {
  display: block;
}

.hero-scroll-btn:hover {
  background: var(--yellow-hover);
  transform: translateY(2px);
}

/* ==========================================================================
   Shared Page Banner & Crisp White Sheets (Get Fortnite, Watch, News, FAQ, Help)
   ========================================================================== */
.subpage-hero {
  position: relative;
  z-index: 6;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
  padding: 46px 28px 88px;
}

.subpage-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  background: radial-gradient(
    ellipse 440px 125px at 250px 56%,
    rgba(237, 237, 239, 0.92) 0%,
    rgba(237, 237, 239, 0.68) 52%,
    rgba(237, 237, 239, 0) 100%
  );
}

.subpage-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.78;
  margin-bottom: 8px;
}

.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.subpage-hero p {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 640px;
  margin: 0;
}

.content-wrap {
  flex: 1;
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 24px 56px;
}

.content-wrap.overlap {
  margin-top: -54px;
  position: relative;
  z-index: 10;
  padding-top: 0;
}

.content-wrap.home-sheet-wrap {
  margin-top: 0;
  padding-top: 96px;
}

.content-wrap.home-sheet-wrap.home-scroll-gated {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .content-wrap.home-sheet-wrap.home-scroll-gated {
    transform: translate3d(0, 32px, 0);
    transition: opacity 0.46s cubic-bezier(0.22, 1, 0.36, 1), transform 0.46s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.46s ease;
  }
}

.content-wrap.home-sheet-wrap.home-scroll-gated.is-revealed {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

body.home-page .llama-sky,
body.home-page .llama-floor {
  transition: opacity 0.46s ease;
}

body.home-page:has(#home-sheet.home-scroll-gated:not(.is-revealed)) .llama-sky,
body.home-page:has(#home-sheet.home-scroll-gated:not(.is-revealed)) .llama-floor {
  opacity: 0;
}

.sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 16px 42px rgba(18, 12, 30, 0.12);
  padding: 36px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--charcoal);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0;
}

.section-head a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-mid);
  text-decoration: none;
}

.section-head a:hover {
  text-decoration: underline;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--charcoal);
  color: #FFFFFF;
  margin-bottom: 32px;
  border-left: 4px solid var(--cyan);
}

.status-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #4ADE80;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot.offline {
  background: #F87171;
}

.status-title {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: #CCCCCC;
}

.status-meta strong {
  color: var(--yellow);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--charcoal);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
}

.btn-magenta {
  background: var(--magenta);
  color: var(--charcoal);
}

.btn-magenta:hover {
  background: var(--magenta-hover);
}

.btn-dark {
  background: var(--charcoal);
  color: #FFFFFF;
}

.btn-dark:hover {
  background: #282830;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.quick-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: #F7F7F9;
  border: 1px solid var(--border);
  border-top: 4px solid var(--charcoal);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.14s ease, background 0.14s ease;
}

.quick-card:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
}

.quick-card.accent-yellow { border-top-color: var(--yellow); }
.quick-card.accent-magenta { border-top-color: var(--magenta); }
.quick-card.accent-cyan { border-top-color: var(--cyan); }
.quick-card.accent-purple { border-top-color: var(--purple-light); }

.quick-card h3 {
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.quick-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 16px;
}

.quick-card span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-mid);
}

.about-banner {
  padding: 32px 34px;
  background: linear-gradient(135deg, var(--purple-deep) 0%, #391158 58%, #20122E 100%);
  border: 1px solid rgba(128, 42, 191, 0.45);
  border-left: 5px solid var(--cyan);
  color: #FFFFFF;
  margin-bottom: 18px;
}

.about-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.about-banner-copy h3 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.about-banner-copy p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 880px;
  margin: 0 0 12px;
}

.about-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-grid + .section-head {
  margin-top: 38px;
}

.about-card {
  padding: 22px;
  background: #F7F7F9;
  border: 1px solid var(--border);
  border-top: 4px solid var(--charcoal);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.about-card:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 10px 24px rgba(18, 12, 30, 0.08);
}

.about-card.accent-yellow { border-top-color: var(--yellow); }
.about-card.accent-magenta { border-top-color: var(--magenta); }
.about-card.accent-cyan { border-top-color: var(--cyan); }

.about-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0 0 8px;
}

.about-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-grid + .section-head {
  margin-top: 38px;
}

.news-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(43, 9, 69, 0.12);
  border-color: #CFCFE0;
}

.news-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.news-thumb-fallback {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.news-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 8px;
  background: var(--charcoal);
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.news-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.1;
  margin: 0 0 8px;
}

.news-body p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 300;
  margin: 0;
}

.news-empty {
  grid-column: 1 / -1;
  padding: 28px;
  background: #F7F7F9;
  border: 1px dashed var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: #F4F4F7;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.filter-btn:hover {
  background: #EAEAEF;
}

.filter-btn.active {
  background: var(--charcoal);
  color: var(--yellow);
  border-color: var(--charcoal);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  background: #FAFAFC;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.faq-item.open {
  background: #FFFFFF;
  border-color: #CFCFE0;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-q span:last-child {
  display: inline-block;
  transition: transform 0.2s ease, color 0.16s ease;
}

.faq-item.open .faq-q span:last-child {
  transform: rotate(45deg);
  color: var(--purple-mid);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid #EAEAF0;
}

.faq-item.open .faq-a {
  display: block;
  padding-top: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item.open .faq-a {
    animation: axisFadeUp 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

.builds-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.build-box {
  background: #F7F7F9;
  border: 1px solid var(--border);
  border-top: 3px solid var(--purple-light);
  padding: 16px;
}

.build-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 6px;
}

.build-box span {
  font-size: 12px;
  color: var(--muted);
}

.download-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  margin-bottom: 36px;
  background: var(--charcoal);
  color: #FFFFFF;
  border-left: 5px solid var(--yellow);
}

.download-meta h2 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.download-meta p {
  margin: 0;
  font-size: 14px;
  color: #C6C6D2;
  font-weight: 300;
}

.download-placeholder-btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.spec-card {
  background: #F7F7F9;
  border: 1px solid var(--border);
  border-top: 4px solid var(--charcoal);
  padding: 22px 24px;
}

.spec-card.recommended {
  border-top-color: var(--purple-light);
}

.spec-card h3 {
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--charcoal);
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.spec-list li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.45;
}

.spec-list strong {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.specs-note {
  margin: -22px 0 34px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 780px) {
  .specs-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Randomized Sideways Peeking Llama Decorations (White Margin Blanks)
   ========================================================================== */
.llama-print-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
}

body.home-page .llama-print-bg {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent calc(100vh - 260px),
    rgba(0, 0, 0, 0.45) calc(100vh - 130px),
    #000 calc(100vh + 20px),
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent calc(100vh - 260px),
    rgba(0, 0, 0, 0.45) calc(100vh - 130px),
    #000 calc(100vh + 20px),
    #000 100%
  );
}

.llama-print-rotator {
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  transform: rotate(-28deg);
  transform-origin: center center;
  opacity: 0.24;
}

.llama-sheet {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 150px;
  will-change: transform;
}

.llama-sheet--odd {
  animation: axisLlamaLaneUp 9s linear infinite;
}

.llama-sheet--even {
  transform: translate3d(114px, 0, 0);
  animation: axisLlamaLaneDown 9s linear infinite;
}

.llama-col {
  display: flex;
  flex-direction: column;
  width: 78px;
  flex-shrink: 0;
}

.llama-tile {
  width: 78px;
  height: 118px;
  flex-shrink: 0;
  background-image: url("/assets/portal/Grayscalellama.png?v=2");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 78px 78px;
}

@keyframes axisLlamaLaneUp {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -118px, 0);
  }
}

@keyframes axisLlamaLaneDown {
  0% {
    transform: translate3d(114px, -118px, 0);
  }
  100% {
    transform: translate3d(114px, 0, 0);
  }
}

.llama-sky,
.llama-floor {
  position: relative;
  width: 100%;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}

.llama-peek {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
  transform-origin: center center;
  filter: drop-shadow(0 12px 22px rgba(18, 12, 30, 0.22));
}

/* ==========================================================================
   Footer
   ========================================================================== */
.epic-footer {
  position: relative;
  z-index: 20;
  width: 100%;
  background: var(--charcoal);
  color: #9A9AA4;
  padding: 28px 24px;
  font-size: 12px;
  border-top: 3px solid var(--purple-mid);
  margin-top: auto;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #B4B4BE;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.footer-links a:hover {
  color: var(--yellow);
}

@media (max-width: 960px) {
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .epic-nav-links { display: none; }
  .epic-mobile-toggle { display: inline-flex; }
  .epic-nav-cta { padding: 0 18px; font-size: 15px; }
  .epic-account-btn { padding: 0 12px; }
}

@media (max-width: 600px) {
  .hero-content { margin-left: 20px; }
  .hero-dots { display: none; }
  .sheet { padding: 22px 18px; }
  .quick-grid { grid-template-columns: 1fr; }
  .about-banner { padding: 22px 18px; }
  .about-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Cross-Page Entrance & Scroll-Triggered Animations
   ========================================================================== */
.btn,
.spec-card,
.build-box {
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.btn:not(:disabled):hover,
.spec-card:hover,
.build-box:hover {
  transform: translateY(-2px);
}

.btn:not(:disabled):active {
  transform: translateY(0) scale(0.98);
}

.news-card,
.faq-item {
  content-visibility: auto;
  contain-intrinsic-size: auto 260px;
}

.news-card,
.quick-card,
.about-card,
.overview-link-card {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-card:hover,
.quick-card:hover,
.about-card:hover,
.overview-link-card:hover {
  transform: translateY(-3px);
}

/* Smooth FAQ accordion reveal in supporting browsers */
@supports (interpolate-size: allow-keywords) {
  .faq-item {
    interpolate-size: allow-keywords;
  }
  .faq-item::details-content {
    opacity: 0;
    block-size: 0;
    overflow-y: clip;
    transition: content-visibility 0.24s allow-discrete, opacity 0.24s ease, block-size 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .faq-item[open]::details-content {
    opacity: 1;
    block-size: auto;
  }
}

/* Loading shimmer utility */
@keyframes axisShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.axis-skeleton {
  background: linear-gradient(90deg, #ececf1 25%, #f7f7fa 50%, #ececf1 75%);
  background-size: 200% 100%;
  animation: axisShimmer 1.4s ease-in-out infinite;
}

/* Dropdown and modal entry polish */
#epic-account-menu.open {
  animation: axisMenuIn 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

#epic-signin-modal.open {
  animation: axisFadeIn 0.18s ease;
}

#epic-signin-modal.open .epic-modal {
  animation: axisFadeUp 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes axisMenuIn {
  from {
    opacity: 0;
    transform: translate3d(0, -6px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes axisLlamaFloat {
  0%, 100% {
    margin-top: 0;
  }
  50% {
    margin-top: -7px;
  }
}

@keyframes axisViewOut {
  to {
    opacity: 0;
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes axisViewIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: axisViewOut 0.18s ease both;
  }

  ::view-transition-new(root) {
    animation: axisViewIn 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .llama-floor .llama-peek {
    animation: axisLlamaFloat 5.5s ease-in-out infinite;
  }
}

@keyframes axisFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes axisFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes axisScrollReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-kicker {
    animation: axisFadeUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.04s backwards;
  }
  .hero-title {
    animation: axisFadeUp 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.11s backwards;
  }
  .hero-cta-row {
    animation: axisFadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.18s backwards;
  }
  .hero-sub-links {
    animation: axisFadeUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.25s backwards;
  }
  .hero-dots,
  .hero-scroll-btn {
    animation: axisFadeIn 0.52s ease 0.3s backwards;
  }

  .subpage-eyebrow {
    animation: axisFadeUp 0.44s cubic-bezier(0.22, 1, 0.36, 1) 0.03s backwards;
  }
  .subpage-hero h1 {
    animation: axisFadeUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.09s backwards;
  }
  .subpage-hero p {
    animation: axisFadeUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards;
  }
  .content-wrap.overlap .sheet {
    animation: axisFadeUp 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.18s backwards;
  }

  .portal-hero .brand-header {
    animation: axisFadeUp 0.46s cubic-bezier(0.22, 1, 0.36, 1) 0.04s backwards;
  }
  .container .card {
    animation: axisFadeUp 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.14s backwards;
  }

  .axis-reveal-pending {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.985);
  }
  .axis-reveal-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1), transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .news-card,
    .quick-card,
    .about-banner,
    .about-card,
    .spec-card,
    .build-box,
    .faq-item,
    .download-box,
    .status-strip,
    .stat,
    .overview-link-card,
    .tile {
      animation: axisScrollReveal auto cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
