/* ===== HOME PAGE ===== */
.hero {
  --hero-image-scale: 1.1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(82% 92% at 88% 54%, rgba(255, 106, 43, 0.26) 0%, rgba(255, 106, 43, 0.11) 32%, rgba(255, 106, 43, 0.03) 60%, rgba(255, 106, 43, 0) 76%),
    radial-gradient(44% 40% at 54% 50%, rgba(255, 106, 43, 0.055) 0%, rgba(255, 106, 43, 0) 68%),
    radial-gradient(38% 32% at 8% 8%, rgba(255, 150, 82, 0.055) 0%, rgba(255, 150, 82, 0.012) 50%, rgba(255, 150, 82, 0) 76%),
    linear-gradient(180deg, #101114 0%, #090b0f 58%, #08090c 100%),
    #090b0f;
  padding: clamp(112px, 13vw, 152px) 0 clamp(82px, 10vw, 118px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.02) 0%, rgba(5, 7, 11, 0.12) 24%, rgba(5, 7, 11, 0.38) 100%),
    radial-gradient(80% 80% at 50% 120%, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0) 65%),
    radial-gradient(42% 72% at 2% 54%, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.08) 54%, rgba(0, 0, 0, 0) 76%);
  opacity: 0.96;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.042) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image:
    linear-gradient(90deg, black 0%, black 36%, rgba(0,0,0,0.12) 58%, transparent 74%),
    linear-gradient(180deg, transparent 0%, black 10%, black 82%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, black 0%, black 36%, rgba(0,0,0,0.12) 58%, transparent 74%),
    linear-gradient(180deg, transparent 0%, black 10%, black 82%, transparent 97%);
  mask-composite: intersect;
  pointer-events: none;
  z-index: 0;
}

.hero-skull {
  position: absolute;
  left: -22%;
  bottom: -44%;
  transform: rotate(-8deg) scaleX(-1);
  width: min(72vw, 860px);
  height: auto;
  opacity: 0.09;
  filter: blur(1px) brightness(0.38) grayscale(0.3);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hero-skull::after {
  content: none;
}

.hero-skull-glow {
  position: absolute;
  left: -14%;
  bottom: -26%;
  width: min(56vw, 660px);
  height: min(56vw, 660px);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 106, 43, 0.12) 0%, rgba(255, 106, 43, 0.05) 38%, rgba(255, 106, 43, 0) 68%);
  filter: blur(52px);
  pointer-events: none;
  z-index: 0;
}

.hero-scene {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 62vh, 720px);
  z-index: 5;
  padding-left: 0;
}

.hero > .container {
  max-width: none;
  margin-left: clamp(40px, 6vw, 140px);
  margin-right: 0;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(100%, 440px);
  padding-top: 0;
  padding-bottom: 0;
  margin-left: 0;
}

.hero-stage {
  position: absolute;
  right: -210px;
  top: 9%;
  bottom: -4%;
  width: clamp(480px, 56vw, 880px);
  z-index: 2;
  pointer-events: none;
}

.hero-stage-glow {
  position: absolute;
  inset: 8% 5% 5% -8%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 50%, rgba(255, 106, 43, 0.34) 0%, rgba(255, 106, 43, 0.16) 28%, rgba(255, 106, 43, 0.05) 55%, rgba(255, 106, 43, 0) 76%);
  filter: blur(72px);
  opacity: 1;
  pointer-events: none;
}

.hero-stage-frame {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.hero-stage-frame::before {
  content: none;
}

.hero-stage-frame::after {
  content: "";
  position: absolute;
  inset: 18% 18% 10% 15%;
  border-radius: 50%;
  background: rgba(255, 143, 86, 0.14);
  filter: blur(80px);
  pointer-events: none;
}

.hero-stage-header {
  display: none;
}

.hero-stage-chip {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(14, 16, 20, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(244, 247, 251, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-stage-chip-primary {
  right: 10%;
  top: 10%;
}

.hero-stage-chip-secondary {
  left: 4%;
  bottom: 18%;
}

.hero-stage-note {
  display: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  margin-bottom: 18px;
  background: rgba(255, 106, 43, 0.09);
  color: rgba(255, 137, 84, 0.96);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border: 1px solid rgba(255, 106, 43, 0.3);
  box-shadow:
    0 16px 44px rgba(255, 106, 43, 0.08),
    inset 0 0 0 1px rgba(255, 106, 43, 0.06);
  margin-left: -10px;
}



.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
  margin-bottom: 30px;
  color: #ffffff;
  text-wrap: pretty;
  position: relative;
  display: grid;
  gap: 0.06em;
}

.hero-title-line {
  position: relative;
  display: block;
  color: #ffffff;
  white-space: nowrap;
}

.hero-title-word {
  display: inline-block;
  color: #ffffff;
  transition:
    color 0.22s ease,
    text-shadow 0.22s ease;
  cursor: default;
}

.hero-title-word:hover {
  color: #ff8347;
  text-shadow:
    0 0 14px rgba(255, 106, 43, 0.32),
    0 0 32px rgba(255, 106, 43, 0.16);
}

.hero-description {
  font-size: 1.02rem;
  line-height: 1.82;
  margin-bottom: 36px;
  white-space: nowrap;
  color: rgba(244, 247, 251, 0.72);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 20px;
  opacity: 0.84;
}

.hero-highlight-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(244, 247, 251, 0.68);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  cursor: default;
  backdrop-filter: blur(8px);
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s cubic-bezier(0.22,1,0.36,1);
}

.hero-highlight-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(244, 247, 251, 0.96);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: clamp(58px, 7vw, 96px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(2px);
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
  z-index: 2;
  opacity: 0;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, opacity 0.42s ease, transform 0.22s ease;
}

.hero.is-ready .hero-scroll-indicator {
  opacity: 1;
  transition-delay: 0.68s;
}

.hero-scroll-icon {
  display: block;
  width: 1em;
  line-height: 1;
  text-align: center;
  margin-left: 1px;
  font-size: 11px;
  animation: hero-scroll-icon-bob 1.65s ease-in-out infinite;
}

.hero-scroll-indicator:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(-50%) translateY(-2px);
}

@keyframes hero-scroll-icon-bob {
  0% {
    transform: translateY(-1px);
    opacity: 0.9;
  }
  65% {
    transform: translateY(2px);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-1px);
    opacity: 0.9;
  }
}

.hero-eyebrow {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.16, 0.84, 0.24, 1), transform 0.55s cubic-bezier(0.16, 0.84, 0.24, 1);
}

.hero-title {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.24, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-description {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.62s cubic-bezier(0.16, 0.84, 0.24, 1), transform 0.62s cubic-bezier(0.16, 0.84, 0.24, 1);
}

.hero-buttons {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.58s cubic-bezier(0.16, 0.84, 0.24, 1), transform 0.58s cubic-bezier(0.16, 0.84, 0.24, 1);
}

.hero-highlights {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.52s cubic-bezier(0.16, 0.84, 0.24, 1), transform 0.52s cubic-bezier(0.16, 0.84, 0.24, 1);
}

.hero-image {
  opacity: 0;
  transform: translateX(72px) scale(0.95);
  transition:
    opacity 1.0s cubic-bezier(0.16, 0.84, 0.24, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-image::before {
  display: none;
}

.hero-panel-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 138, 84, 0.92);
}

.hero-panel-title {
  margin: 0;
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-image-stage {
  position: absolute;
  inset: -5% -8% -8% 12%;
  min-height: 0;
  padding: 0;
  background:
    radial-gradient(68% 64% at 50% 42%, rgba(255, 106, 43, 0.1) 0%, rgba(255, 106, 43, 0.03) 44%, rgba(255, 106, 43, 0) 76%);
  transform: scaleX(-1);
}

.hero-image-stage::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 7%;
  bottom: 3%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 106, 43, 0.18) 0%, rgba(255, 106, 43, 0.06) 42%, rgba(255, 106, 43, 0) 76%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-image img {
  width: auto;
  height: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  opacity: 0;
  object-fit: contain;
  object-position: 50% bottom;
  margin: 0;
  position: relative;
  z-index: 3;
  transform: translate3d(
      var(--hero-parallax-x, 0px),
      var(--hero-parallax-y, 0px),
      0
    )
    scale(var(--hero-image-scale, 1.1));
  transform-origin: center 68%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 84%,
    rgba(0, 0, 0, 0.86) 91%,
    rgba(0, 0, 0, 0.44) 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 84%,
    rgba(0, 0, 0, 0.86) 91%,
    rgba(0, 0, 0, 0.44) 96%,
    transparent 100%
  );
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.hero-image img.is-loaded {
  opacity: 1;
}

.hero-image img:hover {
  --hero-image-scale: 1.05;
}

.hero-stage-note-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 138, 84, 0.9);
}

.hero-stage-note strong {
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 700;
}

.hero-panel-caption {
  display: none;
}

.hero .btn-primary {
  background: #ff6a2b;
  border-color: #ff6a2b;
  color: #090b0f;
  box-shadow: 0 10px 26px rgba(255, 106, 43, 0.26), 0 0 0 1px rgba(255, 106, 43, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.hero .btn-primary:hover {
  background: #ff7a3d;
  border-color: #ff7a3d;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 122, 61, 0.33), 0 0 0 1px rgba(255, 122, 61, 0.28);
}

.hero .btn-secondary {
  opacity: 0.72;
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.hero .btn-secondary:focus,
.hero .btn-secondary:hover {
  opacity: 1;
}

.hero .btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 43, 0.34);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.hero.is-ready .hero-eyebrow,
.hero.is-ready .hero-title,
.hero.is-ready .hero-description,
.hero.is-ready .hero-buttons,
.hero.is-ready .hero-highlights {
  opacity: 1;
  transform: translateY(0);
}

.hero.is-ready .hero-image {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.hero.is-ready .hero-eyebrow { transition-delay: 0.05s; }
.hero.is-ready .hero-title { transition-delay: 0.14s; }
.hero.is-ready .hero-description { transition-delay: 0.28s; }
.hero.is-ready .hero-buttons { transition-delay: 0.42s; }
.hero.is-ready .hero-highlights { transition-delay: 0.54s; }
.hero.is-ready .hero-image {
  transition-delay: 0.1s;
  animation: hero-float 8s ease-in-out 1.9s infinite;
}

@keyframes hero-float {
  0%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
  65% {
    transform: translateY(-6px);
  }
}

.featured-section .site-section-heading h2 {
  margin-top: 8px;
}

.featured-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-primary);
}



.featured-section .section-title {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  font-size: clamp(var(--font-size-4xl), 6vw, var(--font-size-5xl));
  font-weight: 900;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--text-primary);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: clamp(420px, 48vw, 580px);
}

/* Featured card: tall left column, spans both rows — poster style */
.featured-card.is-featured {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
}

.card-image-placeholder.is-featured {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: unset;
}

/* Full-bleed image fills the poster card */
.featured-card.is-featured .card-image {
  position: absolute;
  inset: 0;
  aspect-ratio: unset;
  height: 100%;
  overflow: hidden;
}

.featured-card.is-featured .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-card.is-featured:hover .card-image img {
  transform: scale(1.05);
}

/* Text overlay at the bottom */
.featured-card.is-featured .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: left;
  padding: 80px var(--spacing-lg) var(--spacing-lg);
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.88) 25%, rgba(0,0,0,0.5) 55%, transparent 100%);
}

.featured-card.is-featured .status-pill {
  background: rgba(0, 0, 0, 0.72);
  color: var(--accent-primary);
  border: 1px solid rgba(255, 106, 43, 0.45);
  backdrop-filter: blur(4px);
}

.featured-card.is-featured .card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9), 0 2px 20px rgba(0,0,0,0.7);
}

.featured-card.is-featured .recent-card-meta {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

/* "Latest" badge on the featured card */
.featured-card.is-featured::after {
  content: "Latest";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255, 96, 33, 0.45);
}

/* Hover overlay */
.card-image {
  position: relative;
}

.card-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.featured-card:hover .card-view-overlay {
  opacity: 1;
}

.card-view-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.08);
}

/* Bottom CTA */
.featured-bottom-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.featured-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  position: relative;
  cursor: pointer;
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.featured-card:hover::before {
  opacity: 1;
}

.featured-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-card:hover .card-image img {
  transform: scale(1.08);
}

.card-content {
  padding: var(--spacing-lg);
  text-align: center;
  position: relative;
  z-index: 2;
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  margin: 0;
  transition: color var(--transition-base);
}

.featured-card:hover .card-title {
  color: var(--accent-primary);
}

.card-image-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.card-content-placeholder {
  padding: var(--spacing-lg);
}

.placeholder-line {
  height: 16px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
}

.placeholder-line.short {
  width: 60%;
}

#about {
  background: var(--bg-secondary);
}

.about-grid {
  max-width: 1000px;
  margin: 0 auto;
}

.about-content .lead {
  font-size: var(--font-size-xl);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.features-grid.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.feature-card {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--glass-border);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: var(--font-size-2xl);
  color: var(--bg-primary);
}

.feature-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.join-section {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #090b0f 100%);
  text-align: center;
}

.join-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/Patreon Banner.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.22;
  filter: grayscale(1) saturate(0.32) contrast(1.08) brightness(0.72);
  transform: scale(1.05);
  transform-origin: center;
  animation: join-bg-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.join-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(9, 11, 15, 0.34) 0%, rgba(9, 11, 15, 0.66) 72%, rgba(9, 11, 15, 0.88) 100%),
    linear-gradient(180deg, rgba(9, 11, 15, 0.88) 0%, rgba(9, 11, 15, 0.78) 45%, rgba(9, 11, 15, 0.9) 100%);
  pointer-events: none;
}

@keyframes join-bg-drift {
  0% {
    transform: scale(1.05) translate3d(-1.5%, -1%, 0);
  }
  100% {
    transform: scale(1.08) translate3d(1.5%, 1%, 0);
  }
}

.join-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 36px) clamp(18px, 3.2vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.94) 0%, rgba(10, 10, 10, 0.92) 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.join-section h2 {
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-4xl));
  font-weight: 900;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xl);
}

.join-section p {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.join-section .discord-btn {
  min-width: 216px;
  border-width: 2px;
  border-color: rgba(114, 137, 218, 0.8);
  background: linear-gradient(180deg, #7289da 0%, #5865f2 100%) !important;
  color: #ffffff;
  box-shadow:
    0 10px 24px rgba(88, 101, 242, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.join-section .discord-btn:hover {
  border-color: rgba(131, 152, 227, 0.88);
  background: linear-gradient(180deg, #8096e0 0%, #6672f6 100%) !important;
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(88, 101, 242, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.join-section .discord-btn i {
  font-size: 0.98rem;
}

/* ===== EARLY ACCESS SECTION ===== */
.early-access-section {
  padding: clamp(100px, 14vw, 160px) 0;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.early-access-panel {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(56px, 6vw, 80px) clamp(48px, 6vw, 80px);
  background:
    radial-gradient(ellipse at 0% 40%, rgba(255, 106, 43, 0.13) 0%, transparent 52%),
    linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 106, 43, 0.08), 0 28px 56px rgba(0,0,0,0.35);
}

.early-access-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse at 100% 100%, rgba(255, 106, 43, 0.08) 0%, transparent 48%);
  pointer-events: none;
}

.early-access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.early-access-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.early-access-left .status-pill {
  margin-bottom: 20px;
}

.early-access-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.early-access-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 36px;
}

.early-access-discord-btn {
  border-color: rgba(114, 137, 218, 0.55);
  color: #a5b4fc;
  padding: var(--spacing-md) var(--spacing-xl);
}

.early-access-discord-btn:hover {
  border-color: rgba(114, 137, 218, 0.9);
  background: rgba(114, 137, 218, 0.12);
  color: #c7d2fe;
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(114, 137, 218, 0.12), 0 8px 20px rgba(88, 101, 242, 0.2);
}

.early-access-right {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  padding-left: clamp(28px, 4vw, 52px);
  padding-top: 0;
  align-self: start;
  margin-top: 2px;
}

.early-access-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.early-access-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.early-access-points li i {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-primary);
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
}

@media (max-width: 720px) {
  .early-access-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .early-access-panel {
    padding: 44px 28px;
  }

  .early-access-right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-left: 0;
    padding-top: 36px;
  }
}

/* ===== PATREON SECTION ===== */
.patreon-section {
  padding: var(--spacing-3xl) 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 106, 43, 0.08), transparent 34%),
    radial-gradient(circle at 84% 76%, rgba(255, 106, 43, 0.06), transparent 36%),
    #0a0a0a;
}

.patreon-section .site-section-heading {
  justify-content: center;
  text-align: center;
}

.patreon-section .site-section-heading .status-pill {
  margin-bottom: 10px;
}

.patreon-section .site-section-heading h2 {
  margin-bottom: 12px;
}

.patreon-section .site-section-heading p {
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.patreon-section .patreon-trust-line {
  margin-top: 8px;
  color: rgba(244, 247, 251, 0.66);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.patreon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.patreon-card {
  position: relative;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.patreon-card.is-featured {
  border-color: rgba(255, 122, 61, 0.54);
  box-shadow: 0 16px 30px rgba(255, 106, 43, 0.22);
}

.patreon-tier {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.88);
}

.patreon-price {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 0.98;
  color: #ffffff;
}

.patreon-price span {
  margin-left: 4px;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.56);
}

.patreon-value-line {
  margin: -2px 0 2px;
  color: rgba(244, 247, 251, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.patreon-perks {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(244, 247, 251, 0.68);
  font-size: 0.84rem;
  line-height: 1.38;
}

.patreon-perks li {
  position: relative;
  padding-left: 14px;
}

.patreon-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.patreon-btn {
  margin-top: auto;
  width: 100%;
  min-height: 36px;
  padding-left: 12px;
  padding-right: 12px;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.patreon-card-legend {
  border-color: rgba(191, 136, 90, 0.42);
  background: linear-gradient(180deg, rgba(191, 136, 90, 0.08) 0%, rgba(13, 13, 13, 0.93) 30%);
}

.patreon-card-kill-leader {
  border-color: rgba(255, 106, 43, 0.4);
  background: linear-gradient(180deg, rgba(255, 106, 43, 0.1) 0%, rgba(13, 13, 13, 0.93) 30%);
}

.patreon-card-champion {
  border-color: rgba(167, 133, 255, 0.46);
  background: linear-gradient(180deg, rgba(154, 120, 255, 0.1) 0%, rgba(13, 13, 13, 0.93) 30%);
}

.patreon-card-apex-predator {
  border-color: rgba(237, 89, 96, 0.44);
  background: linear-gradient(180deg, rgba(237, 89, 96, 0.09) 0%, rgba(13, 13, 13, 0.93) 30%);
}

.patreon-card-champion .patreon-btn {
  border-color: rgba(167, 133, 255, 0.36);
}

.patreon-card-champion .patreon-btn:hover {
  border-color: rgba(167, 133, 255, 0.72);
  background: rgba(167, 133, 255, 0.14);
  color: #f3ecff;
  box-shadow: 0 10px 24px rgba(76, 56, 143, 0.28);
}

.patreon-card-apex-predator .patreon-btn {
  border-color: rgba(237, 89, 96, 0.34);
}

.patreon-card-apex-predator .patreon-btn:hover {
  border-color: rgba(237, 89, 96, 0.7);
  background: rgba(237, 89, 96, 0.14);
  color: #ffe8ea;
  box-shadow: 0 10px 24px rgba(120, 42, 47, 0.28);
}

.patreon-card-legend .patreon-perks li::before { background: #bf885a; }
.patreon-card-kill-leader .patreon-perks li::before { background: #ff6a2b; }
.patreon-card-champion .patreon-perks li::before { background: #a785ff; }
.patreon-card-apex-predator .patreon-perks li::before { background: #ed5960; }

.patreon-recommended {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 43, 0.36);
  background: rgba(255, 106, 43, 0.12);
  color: rgba(255, 229, 217, 0.9);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.social-links a:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.featured-card:nth-child(1) { animation-delay: 0.1s; }
.featured-card:nth-child(2) { animation-delay: 0.2s; }
.featured-card:nth-child(3) { animation-delay: 0.3s; }
.featured-card:nth-child(4) { animation-delay: 0.4s; }
.featured-card:nth-child(5) { animation-delay: 0.5s; }
.featured-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

@media (max-width: 1100px) {
  .hero-stage {
    width: clamp(440px, 58vw, 820px);
    right: -60px;
  }

  .hero-content {
    width: min(100%, 420px);
  }

  .hero-title {
    font-size: clamp(2.6rem, 4.8vw, 3.8rem);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 80px 0 56px;
  }

  .hero-skull {
    display: none;
  }

  .hero-scene {
    min-height: 0;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 0;
  }

  .hero-stage {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: 52vw;
    min-height: 300px;
    max-height: 440px;
    margin-top: 24px;
    pointer-events: auto;
  }

  .hero-image-stage {
    inset: 0 0 0 10%;
  }

  .hero-title {
    font-size: clamp(2.45rem, 9vw, 3.4rem);
    letter-spacing: -0.034em;
  }

  .hero-description {
    font-size: var(--font-size-base);
    max-width: 88%;
    text-align: center;
  }

  .hero-highlights {
    justify-content: center;
    max-width: 420px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-scroll-indicator {
    bottom: 42px;
  }

  .featured-grid,
  .features-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .featured-card.is-featured,
  .card-image-placeholder.is-featured {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  #latest .featured-card:not(.is-featured) {
    height: 200px;
  }

  #latest .featured-card:not(.is-featured) .card-image {
    aspect-ratio: unset;
  }

  .patreon-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .patreon-card {
    padding: 14px;
    gap: 10px;
  }

  .patreon-price {
    font-size: 1.72rem;
  }

  .patreon-btn {
    min-height: 44px;
  }

  .feature-card {
    padding: var(--spacing-lg);
  }

  .join-content {
    padding: 24px 20px;
  }

  .join-section h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: var(--spacing-md);
  }

  .join-section p {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xl);
  }

  .join-section .discord-btn {
    width: 100%;
    max-width: 320px;
  }

  .join-benefits,
  .join-stats {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .stat {
    padding: var(--spacing-sm);
    min-width: auto;
    width: 100%;
    max-width: 200px;
  }
}

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

  .patreon-section .site-section-heading {
    text-align: left;
  }

  .patreon-section .site-section-heading p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.15rem, 10.8vw, 2.85rem);
  }

  .hero-description {
    font-size: var(--font-size-sm);
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    padding: 8px 14px;
  }

  .hero-stage {
    height: 400px;
  }

  .hero-stage-chip {
    min-height: 0;
    padding: 7px 10px;
    font-size: 0.68rem;
  }

  #latest .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero-title,
  .hero-description,
  .hero-buttons,
  .hero-highlights,
  .hero-image {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-title,
  .hero-title-line,
  .hero .btn-primary,
  .hero .btn-secondary,
  .hero-image img,
  .hero-highlight-pill {
    transition: none !important;
  }

  .hero-image img {
    transform: scale(1.1);
  }

  .hero-scroll-icon {
    animation: none;
  }

  .hero-scroll-indicator {
    transition: none;
  }

  .join-section::before {
    animation: none;
    transform: scale(1.05);
  }
}

.latest-renders .featured-card .card-content {
  text-align: left;
}

/* Non-featured cards in #latest use contain layout */
#latest .featured-card:not(.is-featured) {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #111;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  position: relative;
}

#latest .featured-card:not(.is-featured):hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 43, 0.3);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

#latest .featured-card:not(.is-featured) .card-image {
  position: absolute;
  inset: 0;
  aspect-ratio: unset;
  height: 100%;
  overflow: hidden;
}

#latest .featured-card:not(.is-featured) .card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 30%;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#latest .featured-card:not(.is-featured):hover .card-image img {
  transform: scale(1.06);
}

#latest .featured-card:not(.is-featured) .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: left;
  padding: 48px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

#latest .featured-card:not(.is-featured) .status-pill {
  min-height: 20px;
  font-size: 10px;
  margin-bottom: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--accent-primary);
  border: 1px solid rgba(255, 106, 43, 0.45);
  backdrop-filter: blur(4px);
}

#latest .featured-card:not(.is-featured) .card-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

#latest .featured-card:not(.is-featured) .recent-card-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

@media (max-width: 540px) {
  #latest .featured-grid {
    grid-template-columns: 1fr;
  }
}
