/* =====================================================
   GIDOGIDO — 4X4 KAIJU CHAOS
   Design tokens from Figma (pBDSKOxP34YGeyKzXAicd1)
   ===================================================== */

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  background: #4840a5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ===== DESIGN TOKENS ===== */
:root {
  --purple-dark:     #4840a5;
  --purple-features: #5a4fcc;
  --purple-news:     #6a54d4;
  --blue-light:      #7ba9ff;
  --lime:            #dcff6f;
  --pink:            #f758aa;
  --white:           #ffffff;
  --text-light:      #edf3ff;
  --text-lavender:   #d9d2ff;
  --periwinkle:      #a6a8ff;
  --card-blue:       #7BBDFF;
  --card-lime:       #e2fda3;
  --card-pink:       #f758aa;
}


/* ===== SHARED UTILITIES ===== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  height: 42px;
  background: var(--lime);
  border: 4px solid var(--purple-dark);
  box-shadow: 4px 4px 0 var(--purple-dark);
  border-radius: 1px;
  color: var(--purple-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.64px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.08s, box-shadow 0.08s;
  flex-shrink: 0;
}

.btn-primary:hover {
  background: var(--white);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--purple-dark);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--purple-dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  height: 42px;
  background: #8CDFFE;
  border: 4px solid var(--purple-dark);
  box-shadow: 4px 4px 0 var(--purple-dark);
  border-radius: 1px;
  color: var(--purple-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.64px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.08s, box-shadow 0.08s;
  flex-shrink: 0;
}

.btn-secondary img {
  width: 20px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.btn-secondary:hover {
  background: var(--white);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--purple-dark);
}

.btn-secondary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--purple-dark);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 260px;
  align-items: stretch;
}

.hero-cta-group .btn-primary,
.hero-cta-group .btn-secondary {
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.section-header h2 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 40px);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  -webkit-text-stroke: 10px #4840A5;
  paint-order: stroke fill;
}

.section-header p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.5;
  letter-spacing: -0.14px;
}

.scroll-bar {
  flex: 1;
  background: var(--purple-dark);
  height: 12px;
  padding: 3px;
  overflow: hidden;
  cursor: pointer;
}

.scroll-thumb {
  background: var(--lime);
  height: 100%;
  width: 100px;
  min-width: 40px;
  max-width: 100%;
  transition: width 0.2s ease;
  cursor: grab;
  user-select: none;
}

.scroll-thumb:active {
  cursor: grabbing;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--purple-dark);
  border: 3px solid var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s;
  position: relative;
  z-index: 2;
}

.carousel-arrow:hover { transform: scale(1.08); }
.carousel-arrow:active { transform: scale(0.95); }

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--lime);
}


/* =====================================================
   NAVIGATION
   ===================================================== */

/* ===== ANNOUNCEMENT BANNER ===== */
.site-announcement {
  background: #6A54D4;
  text-align: center;
  padding: 10px 16px 4px;
  transition: background 0.2s ease;
}

@media (hover: hover) {
  .site-announcement:hover {
    background: #7B68DB;
  }
}

.site-announcement a {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.28px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: opacity 0.15s;
}

@media (max-width: 767px) {
  .site-announcement {
    padding: 10px 12px 4px 10px;
  }

  .site-announcement a {
    gap: 8px;
  }

  .site-announcement .announcement-icon {
    width: 32px;
  }
}

.site-announcement .announcement-icon {
  width: 40px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.site-announcement .announcement-arrow {
  width: 10px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

@media (hover: hover) {
  .site-announcement a:hover {
    opacity: 0.85;
  }

  .site-announcement .announcement-icon {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .site-announcement .announcement-arrow {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .site-announcement a:hover .announcement-icon {
    transform: rotate(-12deg);
  }

  .site-announcement a:hover .announcement-arrow {
    transform: translateX(4px);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--purple-dark);
  overflow: visible;
  border-bottom: 1px solid #6E65D3;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.nav-hidden {
  transform: translateY(calc(-100% - 80px));
}

.site-header.mobile-nav-open {
  border-bottom: 1px solid #6E65D3;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 0 24px;
  max-width: 1440px;
  margin: 0 auto;
  height: 60px;
  overflow: visible;
}

.nav-publisher-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-publisher-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-logo {
  flex-shrink: 0;
  position: relative;
  top: 6px;
  margin-left: -8px;
  margin-right: -8px;
}

.nav-logo img {
  height: 75px;
  width: auto;
  display: block;
  transform: rotate(-3deg);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (hover: hover) {
  .nav-logo:hover img {
    transform: rotate(-6deg) scale(1.08);
  }
}

/* Vertical hairline between logo and nav links */
.nav-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.125);
  flex-shrink: 0;
  display: none;
}

/* Desktop nav links — hidden on mobile */
.nav-links {
  display: none;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.15s;
}

.nav-links a:hover {
  background: #6A54D4;
}

.nav-arrow {
  font-size: 10px;
  opacity: 0.8;
}

/* ===== NAV DROPDOWN ===== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.94);
  transform-origin: top center;
  background: #6A54D4;
  border-left: 1px solid #4840a5;
  border-right: 1px solid #4840a5;
  border-bottom: 2px solid #4840a5;
  border-top: none;
  border-radius: 4px;
  padding: 8px;
  min-width: 154px;
  list-style: none;
  z-index: 200;
  transition:
    opacity 0.12s 0.18s,
    visibility 0.12s 0.18s,
    transform 0.12s 0.18s;
}

/* Upward caret — flush with top edge */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #4840a5;
  border-top: none;
}

.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: #6A54D4;
  border-top: none;
}

.nav-dropdown-menu li a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  padding: 2px 6px;
  line-height: 24px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.12s;
}

.nav-dropdown-menu li + li {
  margin-top: 8px;
  border-top: 1px solid #5C46CC;
  padding-top: 8px;
}

.nav-dropdown-menu li a:hover {
  background: #806ce6;
}

@media (hover: hover) {
  .nav-item-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    transition:
      opacity 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) 0s,
      visibility 0s 0s,
      transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0s;
  }
}

/* Mobile dropdown — show sub-links inline below trigger */
.mobile-nav-subitems {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 0 0 16px;
  margin: 40px 0 0;
}

.mobile-nav-subitems li a {
  color: rgba(255,255,255,0.7);
}

.mobile-nav-subitems li a:hover {
  color: var(--white);
  opacity: 1;
}

/* Desktop social icons — hidden on mobile */
.nav-social {
  display: none;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: opacity 0.15s, transform 0.15s;
}

.social-icon:hover {
  opacity: 0.85;
  transform: scale(1.1);
}

.social-icon img {
  width: 32px;
  height: 32px;
  display: block;
}

/* Mobile hamburger */
.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
}

.mobile-menu-btn img {
  width: 42px;
  height: 42px;
}

/* Hamburger → X animation */
.mobile-menu-btn svg rect {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

/* Middle bar fades out */
.mobile-menu-btn[aria-expanded="true"] svg rect:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

/* Top bar slides to center and rotates +45° */
.mobile-menu-btn[aria-expanded="true"] svg rect:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

/* Bottom bar slides to center and rotates −45° */
.mobile-menu-btn[aria-expanded="true"] svg rect:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100dvh; /* dvh accounts for iOS Safari browser chrome */
  z-index: 150;
  background: var(--purple-dark);
  padding: 48px 32px 32px; /* padding-top overridden by JS to clear logo */
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
  pointer-events: none;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.36px;
  transition: opacity 0.15s;
}

.mobile-nav a:hover {
  opacity: 0.75;
}

.mobile-nav-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0;
}

.mobile-nav-social {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mobile-nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: opacity 0.15s, transform 0.15s;
}

.mobile-nav-social a:hover {
  opacity: 0.85;
  transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .hero::before {
    background-image: url('../assets/images/hero-bg-mobile.webp');
    background-size: 110%;
  }

  .section-header h2 {
    font-size: clamp(26px, 6.8vw, 40px);
  }

  .site-header {
    top: -10px;
  }

  .nav-inner {
    padding: 0 16px 0 12px;
    gap: 12px;
  }

  .nav-divider {
    display: block;
  }

  .nav-publisher-logo img {
    height: 29px;
  }

  .nav-logo {
    top: 6px;
    margin-left: -8px;
    margin-right: 0;
  }

  .nav-logo img {
    height: 75px;
  }

}

@media (min-width: 768px) {
  .nav-divider { display: block; }
  .nav-links { display: flex; }
  .nav-social { display: flex; }
  .mobile-menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}


/* =====================================================
   HERO
   ===================================================== */

.hero {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-bottom: 0;
}

@media (min-width: 900px) {
  .hero {
    min-height: 95svh;
  }
}

/* Hero background as its own layer so we can clip it diagonally */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--blue-light);
  background-image: url('../assets/images/hero-bg.webp');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 80px));
  z-index: 0;
  pointer-events: none;
}

/* Lightning bolt SVG decorations */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-bolt {
  position: absolute;
  top: 0;
  height: 60%;
  width: 24%;
  min-width: 140px;
  max-width: 340px;
  z-index: 2;
}

.hero-bolt-tl { left: 0; }
.hero-bolt-tr { right: 0; }

/* Hero text content */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 32px 12px 16px;
  width: 100%;
  max-width: 500px;
}

/* The h1: the page heading is the logo image, whose alt text carries the
   words. margin: 0 because the flex parent's gap does the spacing. */
.hero-title {
  display: block;
  margin: 0;
  line-height: 1;
  position: relative;
  z-index: 1;
  width: clamp(200px, 70vw, 580px);
  height: auto;
}

.hero-title img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-subhead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: 12px;
  max-width: 380px;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 900;
  color: var(--purple-dark);
  letter-spacing: -0.18px;
  line-height: 1.4;
}

.hero-desc {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-dark);
  letter-spacing: -0.14px;
  line-height: 1.5;
}

/* Hero media row: side chars + video */
.hero-media {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 1440px;
  padding: 24px 0 0;
  gap: 0;
}

.hero-video-wrap {
  flex-shrink: 0;
  width: min(100%, 1003px);
  border: 4px solid var(--white);
  box-shadow: 8px 8px 0 var(--purple-dark);
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .hero-video-wrap {
    width: calc(100% - 40px);
  }

  .hero-content {
    padding-top: 40px;
    padding-bottom: 36px;
  }
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Kaiju layer — clipped at the same diagonal as the hero background */
.hero-kaiju-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 80px));
}

/* Composite kaiju character groups — hidden on mobile */
.hero-kaiju {
  display: none;
  position: absolute;
  bottom: 0;
  z-index: 1;
  object-fit: contain;
  object-position: bottom;
}

/* Left kaiju is a landscape image — constrain by height so characters scale up correctly */
.hero-kaiju-left {
  left: 0px;
  height: clamp(158px, 23.2vw, 333px);
  width: auto;
}

/* Right kaiju is portrait — constrain by width */
.hero-kaiju-right {
  right: 55px;
  width: clamp(139px, 19vw, 273px);
  height: auto;
}


@media (min-width: 900px) {
  .hero-content {
    padding-top: 24px;
    max-width: 800px;
  }

  .hero-cta-group {
    padding-bottom: 8px;
    flex-direction: row;
    width: 100%;
    max-width: 520px;
    align-items: center;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    flex: 1;
    flex-shrink: 1;
    min-width: 0;
    height: 50px;
  }

  .hero-kaiju { display: block; }

  .hero-title {
    width: 500px;
  }

  .hero-tagline {
    font-size: 22px;
  }

  .hero-desc {
    font-size: 18px;
  }

  .hero-subhead {
    max-width: 500px;
  }
}


/* =====================================================
   FEATURES
   ===================================================== */

.features {
  background: var(--purple-features);
  padding: 140px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 0;
  margin-top: -80px;
}

.features-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1120px;
}

/* Individual feature card */
.feature-card {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 365 / 406;
  border: 5px solid var(--white);
  box-shadow: 6px 6px 0 0 var(--purple-dark);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.2s ease;
}

@media (hover: hover) {
  .feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 8px 12px 0 0 var(--purple-dark);
  }
}

.card-blue  { background: var(--card-blue); }
.card-lime  { background: var(--card-lime); }
.card-pink  { background: var(--card-pink); }

.card-text {
  padding: 20px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.card-text h3 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(18px, 2.5vw, 24px);
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  -webkit-text-stroke: 8px #6A54D4;
  paint-order: stroke fill;
}

.card-title-svg {
  align-self: flex-start;
  height: 28px;
  width: auto;
}

.card-pink .card-title-svg {
  height: 28px;
  max-width: none;
}

.card-text p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}

/* Card 2 (lime) has dark text */
.card-lime .card-text p {
  color: #616161;
}

.card-art {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  display: block;
  transform: scale(1.2);
  transform-origin: bottom center;
}

.card-pink .card-art img {
  transform: scale(1.38);
}

@media (min-width: 900px) {
  .features-grid {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
  }

  .feature-card {
    flex: 1;
    max-width: 340px;
  }
}


/* =====================================================
   CHARACTERS
   ===================================================== */

.characters {
  background: #7BB8FF;
  background-image: url('../assets/images/meetgido-halftone.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  padding: 100px 0 100px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.characters .section-header {
  padding: 0 24px;
  margin: 0 auto;
}

/* Carousel wrapper */
.char-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.char-track-outer {
  flex: 1;
  min-width: 0;
  overflow: visible;
  position: relative;
  z-index: 0;
}

.char-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.char-card {
  flex-shrink: 0;
  width: 179px;
  height: 192px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0.2;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.char-card.in-view {
  opacity: 1;
}

/* Dim all in-view cards when any character link is hovered */
.char-track:has(a.char-card:hover) .char-card.in-view {
  opacity: 0.2;
}

/* Keep the hovered card full opacity */
.char-track:has(a.char-card:hover) a.char-card:hover {
  opacity: 1;
}

/* Scale + rotate on hover */
a.char-card:hover img {
  transform: scale(1.1) rotate(10deg);
}

.char-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.char-mystery {
  position: relative;
}

.mystery-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(-5deg);
  font-family: 'Luckiest Guy', cursive;
  font-size: 44px;
  color: var(--periwinkle);
  pointer-events: none;
  z-index: 2;
  /* Darken the underlying image */
  text-shadow: 0 0 20px rgba(72,64,165,0.3);
}

.char-mystery img {
  opacity: 0.6;
  filter: brightness(0.5) saturate(0.3);
}

/* Scroll bar sits under the carousel */
.characters .scroll-bar {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  flex: none;
}

@media (min-width: 900px) {
  .characters {
    background-size: 600px auto;
  }

  .char-carousel-wrap {
    padding: 0 300px;
  }

  .char-track {
    gap: 44px;
  }
}


@media (max-width: 767px) {
  .characters {
    padding-top: 70px;
    padding-bottom: 70px;
    background-size: calc(100% + 80px) auto;
  }
}


/* =====================================================
   NEWS
   ===================================================== */

.news {
  background-color: var(--purple-news);
  background-image:
    url('../assets/images/news-halftone-left.png'),
    url('../assets/images/news-halftone-right.png');
  background-repeat: no-repeat, no-repeat;
  background-position: left center, right center;
  background-size: 516px 551px, 369px 551px;
  padding: 60px 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-intro h2 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 36px);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 10px #4840A5;
  paint-order: stroke fill;
}

.news-intro > p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.5;
  letter-spacing: -0.14px;
  margin-bottom: 24px;
  max-width: 400px;
}

.news-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* News card track */
.news-track-outer {
  overflow: hidden;
}

.news-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card {
  flex-shrink: 0;
  width: min(100vw - 32px, 368px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-divider {
  border: none;
  border-top: 1px solid #8276E5;
  margin: 0;
  align-self: stretch;
}

.news-img-wrap {
  background: var(--periwinkle);
  border: 6px solid var(--white);
  box-shadow: 6px 6px 0 0 var(--purple-dark);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-card:hover .news-img-wrap img {
  transform: scale(1.06) rotate(1.5deg);
}

.news-card:hover h3 {
  color: var(--lime);
}

.news-card h3 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: 22px;
  color: var(--white);
  text-transform: capitalize;
  line-height: 1.2;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.news-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-lavender);
  letter-spacing: -0.12px;
}

/* Bottom bar: scroll indicator + arrow buttons */
.news-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 12px;
}

.news-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.news-arrow-btn {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  transition: transform 0.1s;
}

.news-arrow-btn:hover { transform: scale(1.15); }

.news-arrow-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--lime);
}

/* Desktop: side-by-side layout */
@media (min-width: 900px) {
  .news {
    flex-direction: row;
    align-items: flex-start;
    padding: 100px 80px;
    gap: 0;
  }

  .news-intro {
    flex-shrink: 0;
    width: 280px;
    margin-right: 60px;
  }

  .news-divider {
    border-top: none;
    border-left: 1px solid #8276E5;
    width: 1px;
    height: auto;
    align-self: stretch;
    margin: 0;
  }

  .news-body {
    flex: 1;
    min-width: 0;
  }

  /* On desktop show exactly 3 cards side by side; 4th+ overflows hidden */
  .news-track {
    gap: 20px;
  }

  .news-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
  }

  .news-track-outer {
    overflow: hidden;
    padding-left: 28px;
  }

  .news-footer {
    padding-left: 28px;
  }
}


@media (max-width: 767px) {
  .news {
    background-image: none;
    overflow-x: hidden; /* clip at section edge so slight JS offset overshoot never clips cards */
  }
  .news-track-outer {
    overflow: visible; /* let track overflow into section padding; section clips it instead */
  }
}


@media (max-width: 767px) {
  .news-intro h2 {
    font-size: clamp(26px, 6.8vw, 40px);
  }
}


/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
  background: var(--purple-dark);
  border-top: 1px solid #6E65D3;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.36px;
  transition: opacity 0.15s;
}

.footer-links a:hover { opacity: 0.75; }

.footer-copy {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: -0.18px;
}

@media (min-width: 768px) {
  .footer-links {
    flex-direction: row;
    gap: 40px;
  }
}


/* =====================================================
   CHARACTER DETAIL MODAL
   ===================================================== */

.char-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 28, 88, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  padding: 20px;
}

.char-modal-overlay[hidden] {
  display: none;
}

/* Wrapper — allows close button to overflow outside modal bounds */
.char-modal-wrap {
  position: relative;
  width: 100%;
  max-width: 1000px;
}

/* The modal card */
.char-modal {
  position: relative;
  background: url('../assets/images/detail shot-bg.png?v=2') center center / cover no-repeat;
  border: 5px solid var(--white);
  box-shadow: 6px 6px 0 0 var(--purple-dark);
  border-radius: 4px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Close button — positioned outside the top-left corner of the modal */
.char-modal-close {
  position: absolute;
  top: -22px;
  left: -22px;
  z-index: 10;
  background: #6A54D4;
  border: 4px solid var(--white);
  box-shadow: 3px 3px 0 0 var(--purple-dark);
  cursor: pointer;
  padding: 6px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s;
}

.char-modal-close:hover { background: #806ce6; transform: scale(1.08) rotate(6deg); }
.char-modal-close img   { width: 32px; height: 32px; display: block; }

/* Left column: character art */
.char-modal-left {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding-top: 24px;
  min-height: 220px;
}

.modal-char-img {
  display: block;
  width: 89%;
  max-width: 334px;
  height: auto;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 3;
}

/* Right column: text content */
.char-modal-right {
  flex: 1;
  padding: 28px 24px 24px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.modal-headline {
  height: 34px;
  width: auto;
  align-self: flex-start;
  max-width: 100%;
}

.modal-subtitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.modal-desc {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--white);
  margin: 0;
}

.modal-divider {
  border: none;
  border-top: 1px solid var(--char-divider-color, #77A7FF);
  margin: 2px 0;
}

.modal-skill-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-skill-tag {
  display: inline-block;
  background: #7353DE;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
  align-self: flex-start;
}

.modal-skill-block p {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--white);
  margin: 0;
}

.modal-media-row {
  display: flex;
  gap: 16px;
  height: 180px;
}

.modal-media-img {
  min-width: 0;
  height: 100%;
  display: block;
  border-radius: 2px;
  outline: 2px solid var(--char-media-color, #5188ED);
  outline-offset: -2px;
  object-fit: cover;
}

/* Flex ratios match the images' actual pixel widths — both end up ~same height */
.modal-media-img:first-child { flex: 303 1 0; }
.modal-media-img:last-child  { flex: 100 1 0; }

/* Desktop: two-column layout */
@media (min-width: 640px) {
  .char-modal {
    flex-direction: row;
  }

  .char-modal-right {
    overflow-y: visible;
  }

  .char-modal-left {
    width: 42%;
    min-height: unset;
    align-items: center;
    padding-top: 0;
  }

  .modal-char-img {
    width: 94%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .char-modal-right {
    padding: 28px 32px 24px 24px;
  }
}

/* Mobile modal overrides */
@media (max-width: 639px) {
  .char-modal {
    max-height: 85svh;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .char-modal::-webkit-scrollbar {
    display: none;
  }

  .char-modal-right {
    overflow-y: visible;
  }

  .char-modal-close {
    left: -10px;
  }

  .modal-char-img {
    width: 71%;
    max-width: 267px;
  }

  .modal-media-row {
    flex-direction: column;
    gap: 12px;
  }

  .modal-media-row {
    height: auto;
  }

  .modal-media-img:first-child {
    flex: none;
    width: 100%;
    height: auto;
  }

  .modal-media-img:last-child {
    display: none;
  }
}

/* Modal open animation */
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

@keyframes modalOut {
  from { opacity: 1; transform: scale(1)    translateY(0); }
  to   { opacity: 0; transform: scale(0.94) translateY(12px); }
}

.char-modal-overlay:not([hidden]) .char-modal-wrap {
  animation: modalIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.char-modal-overlay .char-modal-wrap.is-closing {
  animation: modalOut 0.18s cubic-bezier(0.4, 0, 1, 1) both;
}


/* =====================================================
   ALL NEWS PAGE
   ===================================================== */

/* Page header banner */
.news-page-header {
  background: var(--purple-dark) url('../assets/images/news-header.jpg') center center / cover no-repeat;
  padding: 80px 24px;
  min-height: 420px;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .news-page-header {
    background-image: url('../assets/images/news-header-mobile.jpg');
    padding: 50px 24px;
    min-height: 0;
  }
}

.news-page-header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

@media (max-width: 767px) {
  .news-page-header-inner {
    max-width: 340px;
    margin: 0;
  }
}

.news-back-link {
  font-size: 13px;
  font-weight: 700;
  color: #DBF25C;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: color 0.15s;
  margin-bottom: 32px;
}

.news-back-link:hover {
  color: var(--white);
}

.news-page-header h1 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(40px, 8vw, 72px);
  color: #8775EB;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  -webkit-text-stroke: 10px var(--white);
  paint-order: stroke fill;
}

@media (max-width: 767px) {
  .news-page-header h1 {
    -webkit-text-stroke: 8px var(--white);
  }
}

.news-page-header p {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  max-width: 480px;
}

/* News grid body */
.news-page-body {
  background: #6A54D4;
  padding: 64px 24px 80px;
}

.news-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Override carousel-width sizing for grid cards */
.news-grid-card {
  width: 100%;
}

@media (min-width: 600px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .news-page-header {
    padding: 80px;
  }

  .news-page-body {
    padding: 80px 80px 100px;
  }

  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}


/* =====================================================
   ARTICLE PAGE
   ===================================================== */

/* ---- Header ---- */
.article-header {
  background: #6A54D4;
  padding: 80px 24px 0;
}

.article-header-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-back-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s;
  align-self: flex-start;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.article-category {
  display: inline-block;
  background: var(--lime);
  color: var(--purple-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.article-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-lavender);
  letter-spacing: -0.1px;
}

.article-title {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
}

.article-subtitle {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-lavender);
  max-width: 640px;
}

.article-hero-img-wrap {
  border: 6px solid var(--white);
  box-shadow: 8px 8px 0 0 #2d2470;
  overflow: hidden;
  width: 100%;
}

.article-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Body ---- */
.article-body-section {
  background: #6A54D4;
  padding: 60px 24px 80px;
}

.article-body-section--no-hero {
  padding-top: 40px;
}

.article-body-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-lead {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-light);
}

.article-content h2 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--lime);
  letter-spacing: 0.02em;
  margin-top: 16px;
}

.article-content p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text-lavender);
}

.article-content ul {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-content ul li {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-lavender);
  padding-left: 4px;
}

.article-pullquote {
  border-left: 4px solid var(--lime);
  padding: 16px 24px;
  background: rgba(255,255,255,0.05);
  border-radius: 0 4px 4px 0;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-pullquote cite {
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  color: var(--text-lavender);
  letter-spacing: 0.02em;
}

.article-footer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
}

.article-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 32px 0;
}

.article-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* ---- More articles ---- */
.article-more {
  background: #6A54D4;
  padding: 64px 24px 80px;
}

.article-more-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.article-more-heading {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

.article-more-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Desktop */
@media (min-width: 900px) {
  .article-header {
    padding: 80px 80px 0;
  }

  .article-body-section {
    padding: 64px 80px 100px;
  }

  .article-body-section--no-hero {
    padding-top: 44px;
  }

  .article-more {
    padding: 80px 80px 100px;
  }

  .article-more-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (min-width: 600px) {
  .article-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .article-more-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Make news cards in article-more fill their column */
.article-more-grid .news-card {
  width: 100%;
}


/* =====================================================
   STATIC PAGES (FAQ, Privacy, Terms)
   ===================================================== */

.static-page-header {
  background: var(--purple-dark);
  padding: 80px 24px 60px;
  text-align: center;
}

.static-page-header h1 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
}

.static-page-header p {
  font-size: 16px;
  color: var(--text-lavender);
  font-weight: 600;
  margin-top: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.static-page-body {
  background: #6A54D4;
  padding: 60px 24px 80px;
}

.static-page-inner {
  max-width: 800px;
  margin: 0 auto;
}

.static-last-updated {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  margin-bottom: 48px;
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 28px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.faq-question {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text-lavender);
}

/* ---- Contact ---- */
.contact-list {
  display: flex;
  flex-direction: column;
}

.contact-item {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.contact-label {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--white);
  letter-spacing: 0.02em;
  -webkit-text-stroke: 8px #4840A5;
  paint-order: stroke fill;
}

.contact-desc {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text-lavender);
}

.contact-desc a {
  color: var(--lime);
  text-decoration: none;
  transition: opacity 0.15s;
}

.contact-desc a:hover { opacity: 0.8; }

/* ---- Press Kit ---- */
.presskit-body {
  background: #6A54D4;
  padding: 60px 0 0;
}

.presskit-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.presskit-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #5648B8;
  border-radius: 18px;
  padding: 28px 24px;
  align-self: stretch;
  margin-bottom: 40px;
}

.presskit-boxart {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
}

.presskit-sidebar-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-bottom: 24px;
}

.presskit-fact {
  margin-bottom: 16px;
}

.presskit-fact-label {
  font-family: 'Luckiest Guy', cursive;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--periwinkle);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.presskit-fact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-lavender);
  line-height: 1.55;
}

.presskit-fact-value a {
  color: var(--lime);
  text-decoration: none;
  word-break: break-all;
  transition: opacity 0.15s;
}

.presskit-fact-value a:hover { opacity: 0.8; }

.presskit-sidebar-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 20px 0;
}

.presskit-sidebar-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.presskit-main {
  flex: 1;
  min-width: 0;
}

.presskit-game-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(26px, 4vw, 44px);
  color: var(--white);
  -webkit-text-stroke: 10px #4840A5;
  paint-order: stroke fill;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 36px;
}

.presskit-section {
  margin-bottom: 48px;
}

.presskit-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.presskit-section-heading {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--white);
  -webkit-text-stroke: 8px #4840A5;
  paint-order: stroke fill;
  letter-spacing: 0.04em;
}

.presskit-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px 16px;
  height: 42px;
  background: var(--lime);
  border: 4px solid var(--purple-dark);
  box-shadow: 4px 4px 0 var(--purple-dark);
  border-radius: 1px;
  color: var(--purple-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.64px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.08s, box-shadow 0.08s;
}

.presskit-download-btn:hover {
  background: var(--white);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--purple-dark);
}

.presskit-download-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--purple-dark);
}

.presskit-media-section .presskit-section-heading {
  -webkit-text-stroke: 8px #32298F;
}

.presskit-media-section .presskit-download-btn {
  border-color: #32298F;
  box-shadow: 4px 4px 0 #32298F;
  color: #32298F;
}

.presskit-media-section .presskit-download-btn:hover {
  box-shadow: 5px 5px 0 #32298F;
}

.presskit-media-section .presskit-download-btn:active {
  box-shadow: 2px 2px 0 #32298F;
}

.presskit-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text-lavender);
}

.presskit-text + .presskit-text {
  margin-top: 16px;
}

.presskit-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.presskit-features li {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-lavender);
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
}

.presskit-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--white);
}

.presskit-video-wrapper {
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.presskit-video-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.presskit-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.presskit-placeholder-item {
  background: rgba(0,0,0,0.2);
  border: 2px dashed rgba(255,255,255,0.18);
  border-radius: 8px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.presskit-placeholder-item.square {
  aspect-ratio: 1/1;
}

.presskit-placeholder-item span {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.presskit-placeholder-note {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  font-style: italic;
  margin-top: 14px;
}

.presskit-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  align-items: start;
}

.presskit-logo-item {
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.presskit-logo-item-img {
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  box-sizing: border-box;
}

.presskit-logo-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.presskit-logo-item-label {
  padding: 9px 14px;
  background: rgba(0,0,0,0.25);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.presskit-media-section {
  background: var(--purple-dark);
}

.presskit-media-row {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 1px solid #8276E5;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.presskit-media-label {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  position: sticky;
  top: 130px;
  align-self: flex-start;
}

.presskit-media-content {
  flex: 1;
  min-width: 0;
}

.presskit-cta {
  position: relative;
  overflow: hidden;
  padding: 64px 24px 72px;
  border-top: 1px solid #8276E5;
  background: #6A54D4;
}

.presskit-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.presskit-cta-heading {
  font-family: 'Luckiest Guy', cursive;
  font-size: 36px;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.04em;
  paint-order: stroke fill;
  -webkit-text-stroke: 10px #32298F;
}

@media (max-width: 860px) {
  .presskit-layout {
    flex-direction: column;
  }

  .presskit-sidebar {
    width: 100%;
    position: static;
  }

  .presskit-boxart {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .presskit-sidebar-title {
    display: none;
  }

  .presskit-fact-label {
    font-size: 15px;
  }

  .presskit-media-row {
    flex-direction: column;
  }

  .presskit-media-label {
    width: 100%;
    position: static;
  }
}

/* ---- Legal ---- */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.legal-section h2 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.legal-section p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text-lavender);
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.legal-section li {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text-lavender);
}


/* =====================================================
   ABOUT PAGE
   ===================================================== */

.about-hero {
  background: var(--purple-dark);
  padding: 80px 24px 70px;
  text-align: center;
}

.about-hero h1 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(36px, 6vw, 72px);
  color: var(--white);
  line-height: 1;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--text-lavender);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-section {
  padding: 64px 24px 72px;
}

.about-section:nth-child(even) {
  background: var(--purple-dark);
}

.about-section:nth-child(odd) {
  background: #6A54D4;
}

.about-section-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-section h2 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 26px;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.04em;
  paint-order: stroke fill;
}

.about-section:nth-child(even) h2 {
  -webkit-text-stroke: 10px #32298F;
}

.about-section:nth-child(odd) h2 {
  -webkit-text-stroke: 10px #4840A5;
}

.about-section h2 .about-accent {
  color: var(--white);
}

.about-section p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text-lavender);
}

.about-section p a {
  color: var(--lime);
  text-decoration: none;
  transition: opacity 0.15s;
}

.about-section p a:hover { opacity: 0.8; }

.about-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.about-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
}

.about-feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* =====================================================
   ABOUT US PAGE
   ===================================================== */

.about-us-team-img {
  width: 100%;
  height: auto;
  display: block;
  border: 4px solid var(--white);
  box-shadow: 6px 6px 0 var(--purple-dark);
}

.team-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-group-label {
  font-family: 'Luckiest Guy', cursive;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.team-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-list li {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-lavender);
  line-height: 1.5;
}

.team-list li strong {
  color: var(--white);
  font-weight: 700;
}

.team-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 8px;
}

@media (max-width: 767px) {
  .team-groups {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* CTA section */
.about-cta-section {
  position: relative;
  overflow: hidden;
}

.about-cta-heading {
  font-size: 36px !important;
}

.about-cta-kaiju {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.about-cta-kaiju-left {
  left: 0;
}

.about-cta-kaiju-right {
  right: 0;
}

@media (max-width: 767px) {
  .about-cta-kaiju {
    display: none;
  }
}


/* =====================================================
   VIDEOS PAGE
   ===================================================== */

.videos-page-body {
  background: #6A54D4;
  padding: 60px 24px 80px;
}

.videos-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Make video cards in grid fill their column */
.videos-grid .video-card {
  width: 100%;
}


/* =====================================================
   VIDEOS SECTION
   ===================================================== */

.videos {
  background-color: #4840A5;
  background-image:
    url('../assets/images/videos-halftone-left.png'),
    url('../assets/images/videos-halftone-right.png');
  background-repeat: no-repeat, no-repeat;
  background-position: left center, right center;
  background-size: auto 100%, auto 100%;
  padding: 60px 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.videos-intro h2 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 36px);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 10px #32298F;
  paint-order: stroke fill;
}

.videos-intro > p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.5;
  letter-spacing: -0.14px;
  margin-bottom: 24px;
  max-width: 400px;
}

.videos-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.videos-divider {
  border: none;
  border-top: 1px solid #6355C5;
  margin: 0;
  align-self: stretch;
}

.videos-track-outer {
  overflow: hidden;
}

.videos-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card {
  flex-shrink: 0;
  width: min(100vw - 32px, 368px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}

.video-img-wrap {
  position: relative;
  background: var(--periwinkle);
  border: 6px solid var(--white);
  box-shadow: 6px 6px 0 0 var(--purple-dark);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.video-card:hover .video-img-wrap img {
  transform: scale(1.06) rotate(1.5deg);
}

/* Play icon overlay */
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 28, 88, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-card:hover .video-play-btn {
  opacity: 1;
}

.video-play-btn svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

.video-card h3 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: 22px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.video-card:hover h3 {
  color: var(--lime);
}

/* Videos-only CTA overrides */
.videos .btn-primary {
  color: #32298F;
  border-color: #32298F;
  box-shadow: 4px 4px 0 #32298F;
}

.videos .btn-primary:hover {
  box-shadow: 5px 5px 0 #32298F;
}

/* Scrollbar override */
.videos .scroll-bar {
  background: #6A54D4;
}

.videos-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 12px;
}

.videos-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Desktop: side-by-side layout */
@media (min-width: 900px) {
  .videos {
    flex-direction: row;
    align-items: flex-start;
    padding: 100px 80px;
    gap: 0;
  }

  .videos-intro {
    flex-shrink: 0;
    width: 280px;
    margin-right: 60px;
  }

  .videos-divider {
    border-top: none;
    border-left: 1px solid #6355C5;
    width: 1px;
    height: auto;
    align-self: stretch;
    margin: 0;
  }

  .videos-body {
    flex: 1;
    min-width: 0;
  }

  .videos-track {
    gap: 20px;
  }

  .video-card {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .videos-track-outer {
    padding-left: 28px;
  }

  .videos-footer {
    padding-left: 28px;
  }
}

@media (max-width: 767px) {
  .videos {
    background-image: none;
    overflow-x: hidden; /* same clipping fix as news section */
  }
  .videos-track-outer {
    overflow: visible;
  }

  .videos-intro h2 {
    font-size: clamp(26px, 6.8vw, 40px);
  }
}


/* =====================================================
   VIDEO PLAYER MODAL
   ===================================================== */

.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 28, 88, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  padding: 20px;
}

.video-modal-overlay[hidden] {
  display: none;
}

.video-modal-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.video-modal {
  border: 5px solid var(--white);
  box-shadow: 6px 6px 0 0 var(--purple-dark);
  border-radius: 4px;
  width: 100%;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.video-modal-player {
  width: 100%;
  height: auto;
  display: block;
}

.video-modal-overlay:not([hidden]) .video-modal-wrap {
  animation: modalIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.video-modal-wrap.is-closing {
  animation: modalOut 0.18s cubic-bezier(0.4, 0, 1, 1) both !important;
}
