:root {
  color-scheme: light;
  font-family: 'Philosopher', sans-serif;
  color: #3b2a14;
  background: #f8f0dd;
  --bg: #f8f0dd;
  --surface: #fff7e3;
  --surface-strong: #fff0cc;
  --text: #3b2a14;
  --text-muted: #6f5436;
  --accent: #F2B705;
  --accent-deep: #D97D0D;
  --accent-rich: #A66E29;
  --border: rgba(242, 183, 5, 0.22);
  --shadow: rgba(102, 61, 19, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: linear-gradient(180deg, #fff9eb 0%, #fbe9c7 48%, #f5e0bc 100%);
  color: var(--text);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0 28px 48px;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 0;
}

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

.brand-logo {
  width: auto;
  max-height: 92px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-title {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1.4rem;
  color: #3b2a14;
}

.brand-subtitle {
  margin: 0;
  color: #6f5436;
  font-size: 0.96rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: inherit;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #D97D0D;
}

.nav-presskit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 32px;
  text-decoration: none;
  margin-right: 8px;
  z-index: 1;
  background: #fff8e6;
  border: 2px solid rgba(242, 176, 5, 0.4);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(102, 61, 19, 0.04);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-presskit:hover,
.nav-presskit:focus-visible {
  background: #fff3d2;
  border-color: rgba(242, 176, 5, 0.65);
  box-shadow: 0 6px 18px rgba(102, 61, 19, 0.08);
  transform: translateY(-1px);
}

.presskit-gradient-text {
  font-weight: 800;
  font-size: 0.95rem;
  background: linear-gradient(120deg, #b56200, #F2B705, #D97D0D, #b56200);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientLoop 3s linear infinite;
  display: inline-block;
}

@keyframes gradientLoop {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(102, 61, 19, 0.12);
  font-weight: 700;
  color: #2d1602;
  box-shadow: 0 12px 30px rgba(102, 61, 19, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(102, 61, 19, 0.16);
}

.nav-cta-primary {
  background: linear-gradient(135deg, #F2B705, #D97D0D);
  color: #ffffff;
  font-weight: 800;
}

.site-nav .nav-cta-primary {
  color: #ffffff;
}

.site-nav .nav-cta-primary:hover,
.site-nav .nav-cta-primary:focus-visible {
  color: #ffffff;
}

.nav-cta-steam {
  background: #fff;
  color: #3b2a14;
}

.site-nav .nav-cta-steam:hover,
.site-nav .nav-cta-steam:focus-visible {
  color: #D97D0D;
  background: #fffaf3;
}

.nav-cta-steam img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nav-cta-home {
  background: #fff;
  color: #6f5436;
}

.site-nav .nav-cta-home:hover,
.site-nav .nav-cta-home:focus-visible {
  color: #D97D0D;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.85fr);
  gap: 46px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
  padding-bottom: 20px;
}

.hero-copy {
  padding-top: 16px;
  margin-left: clamp(18px, 4vw, 56px);
  transform: scale(0.9);
  transform-origin: left center;
}

.eyebrow,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #D97D0D;
}

/* Hero video background */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
  background-color: #2D1602;
  background-image: url("Public/Poster.png");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(59, 42, 20, 0.95) 0%, rgba(59, 42, 20, 0.65) 45%, rgba(59, 42, 20, 0) 80%);
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.4s ease;
  opacity: 1;
}

.hero-video-wrapper.paused {
  opacity: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 177.78vh);
  height: max(100%, 56.25vw);
  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.06);
  filter: saturate(0.98) contrast(0.95) brightness(0.96);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 340px);
  max-width: 340px;
}

.hero .eyebrow,
.hero h1,
.hero p {
  text-shadow: 0 2px 22px rgba(52, 25, 8, 0.24);
  color: #fff;
}

.hero .eyebrow,
.hero h1 {
  color: #fff;
}

.hero p {
  color: #fff;
}

.ai-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  min-width: 34px;
  min-height: 34px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  filter: drop-shadow(0 2px 8px rgba(45, 22, 2, 0.85));
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, filter 0.18s ease, padding 0.18s ease;
}

.ai-badge svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: #F2B705;
}

.ai-badge .ai-text {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.18s ease, max-width 0.18s ease;
}

.ai-badge:hover,
.ai-badge:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(45, 22, 2, 0.55));
  border-color: rgba(255, 245, 216, 0.36);
  background: rgba(45, 22, 2, 0.94);
  padding: 8px 11px;
}

.ai-badge:hover .ai-text,
.ai-badge:focus-visible .ai-text {
  opacity: 1;
  max-width: 124px;
}

/* Background video controls */
.video-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 12px;
  z-index: 10;
  pointer-events: auto;
}

.video-control-btn {
  background: rgba(59, 42, 20, 0.75);
  backdrop-filter: blur(4px);
  color: #fff8e6;
  border: 1px solid rgba(242, 183, 5, 0.35);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  padding: 0;
}

.video-control-btn:hover {
  background: #3b2a14;
  border-color: #F2B705;
  color: #F2B705;
  transform: scale(1.05);
}

.video-control-btn svg {
  display: block;
}

/* Steam Nav icon */
.site-nav .steam-icon {
  flex-shrink: 0;
}

/* Social icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(102, 61, 19, 0.08);
  box-shadow: 0 2px 8px rgba(102, 61, 19, 0.04);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.2s ease;
  box-sizing: border-box;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-icon:hover,
.social-icon:focus {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(102, 61, 19, 0.16);
  background: #fffaf3;
}

.hero-badge {
  background: rgba(242, 183, 5, 0.14);
  border: 1px solid rgba(242, 183, 5, 0.25);
  border-radius: 999px;
  padding: 12px 18px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F2B705;
}

.hero h1 {
  margin: 18px 0 24px;
  font-family: 'Cinzel', serif;
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  line-height: 0.96;
  color: #fff;
}

.hero p {
  margin: 0;
  max-width: 320px;
  color: #fff;
  line-height: 1.9;
  font-size: 0.98rem;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0 18px;
  width: min(100%, 260px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 158px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid rgba(210, 141, 46, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  gap: 10px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.hero-actions .button:hover,
.hero-actions .button:focus-visible {
  transform: none;
}

.button-primary {
  background: linear-gradient(135deg, #F2B705, #D97D0D);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 16px 42px rgba(242, 176, 5, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: #ffffff;
}

.button-secondary {
  background: rgba(255, 246, 225, 0.95);
  color: #6f5436;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.hero-stats div {
  background: rgba(255, 249, 236, 0.95);
  border: 1px solid rgba(242, 183, 5, 0.2);
  padding: 18px 22px;
  border-radius: 24px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.5rem;
  color: #3b2a14;
}

.hero-stats span {
  color: #7d613f;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  border-radius: 32px;
  overflow: hidden;
  background-image: url("Public/Poster.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(242, 176, 5, 0.12);
  animation: heroFloat 10s ease-in-out infinite;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 248, 230, 0.3), rgba(255, 248, 230, 0.76));
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-cube,
.floral-petal {
  position: absolute;
  will-change: transform, opacity;
}

.floating-cube {
  width: 72px;
  height: 72px;
  transform-style: preserve-3d;
}

.floating-cube .face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: rgba(242, 176, 5, 0.16);
  border: 1px solid rgba(242, 183, 5, 0.24);
  box-shadow: inset 0 0 20px rgba(242, 215, 132, 0.2);
}

.floating-cube .face:nth-child(1) {
  transform: rotateY(0deg) translateZ(36px);
}

.floating-cube .face:nth-child(2) {
  transform: rotateY(90deg) translateZ(36px);
}

.floating-cube .face:nth-child(3) {
  transform: rotateY(180deg) translateZ(36px);
}

.floating-cube .face:nth-child(4) {
  transform: rotateY(-90deg) translateZ(36px);
}

.floating-cube .face:nth-child(5) {
  transform: rotateX(90deg) translateZ(36px);
}

.floating-cube .face:nth-child(6) {
  transform: rotateX(-90deg) translateZ(36px);
}

.floral-petal {
  width: 24px;
  height: 32px;
  opacity: 0.3;
  border-radius: 50% 50% 70% 70%;
}

.visual-card {
  position: relative;
  z-index: 2;
  background: #fff8e6;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 32px 70px rgba(102, 61, 19, 0.12);
}

.visual-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(242, 176, 5, 0.16);
  color: #3b2a14;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.visual-image {
  margin: 28px 0 20px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(242, 176, 5, 0.16);
}

.visual-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.visual-copy h2 {
  margin: 0 0 12px;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: #3b2a14;
}

.visual-copy p {
  margin: 0;
  line-height: 1.8;
  color: #6f5436;
}

.gameplay-cards,
.community-panel,
.demo-panel {
  max-width: 1280px;
  margin: 72px auto 0;
}

.panel-heading h2 {
  margin-top: 16px;
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  color: #3b2a14;
}

.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.gameplay-card {
  background: #fff8e6;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(102, 61, 19, 0.1);
  transform: translateY(0);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.gameplay-card:hover,
.gameplay-card:focus-within {
  transform: translateY(-10px);
  border-color: rgba(217, 125, 13, 0.38);
  box-shadow: 0 34px 72px rgba(102, 61, 19, 0.18);
}

.gameplay-art {
  overflow: hidden;
}

.gameplay-art img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.34s ease, filter 0.34s ease;
}

.gameplay-card:hover .gameplay-art img,
.gameplay-card:focus-within .gameplay-art img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.gameplay-card h3 {
  margin: 20px 24px 10px;
  font-family: 'Cinzel', serif;
  color: #3b2a14;
}

.gameplay-card p {
  margin: 0 24px 24px;
  line-height: 1.85;
  color: #6f5436;
}

.community-panel {
  padding: 34px 34px 40px;
  background: #fff5de;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 36px;
  box-shadow: 0 24px 70px rgba(102, 61, 19, 0.12);
}

.demo-panel {
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 60px 48px;
  background: #fff5de;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 36px;
  box-shadow: 0 24px 70px rgba(102, 61, 19, 0.12);
}

/* Demo Background GIF & Overlay */
.demo-bg-gif {
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: 0px;
  left: 35%;
  z-index: -2;
  pointer-events: none;
  background-size: auto 135%;
  background-position: right -180px top -120px;
  background-repeat: no-repeat;
}

.demo-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #fff5de 0%, #fff5de 50%, rgba(255, 245, 222, 0.95) 60%, rgba(255, 245, 222, 0) 85%);
}

.demo-panel .panel-heading {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.community-panel p,
.demo-panel p {
  max-width: 760px;
  color: #6f5436;
  line-height: 1.8;
  margin: 18px 0 24px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.community-thumb {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 10px;
  background: #fff8e6;
  border: 1px solid rgba(242, 176, 5, 0.12);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  padding: 14px 8px;
  text-decoration: none;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.community-thumb:hover,
.community-thumb:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(217, 125, 13, 0.35);
  background-color: #fff3d2;
  box-shadow: 0 12px 24px rgba(102, 61, 19, 0.08);
}

.community-thumb-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(102, 61, 19, 0.05);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.community-thumb:hover .community-thumb-icon,
.community-thumb:focus-visible .community-thumb-icon {
  transform: scale(1.06);
  box-shadow: inset 0 0 0 1px rgba(217, 125, 13, 0.2), 0 4px 10px rgba(102, 61, 19, 0.04);
}

.community-thumb-icon img,
.community-thumb-icon svg {
  width: 28px;
  height: 28px;
}

.thumb-caption {
  display: block;
  margin-top: 6px;
  color: #6f5436;
  font-weight: 600;
  font-size: 0.88rem;
}

.demo-panel .panel-heading {
  max-width: 760px;
}

.demo-panel a {
  margin-top: 12px;
}

/* Mobile Video Section (Mobile Only) */
.mobile-video-section {
  display: none;
}

@media (max-width: 1080px) {

  .gameplay-grid,
  .levels-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.split-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1280px;
  margin: 72px auto 0;
  padding: 48px 0;
}

.panel-copy {
  padding-right: 8px;
}

.panel-copy h2 {
  margin-top: 16px;
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  color: #3b2a14;
}

.panel-copy p {
  margin: 24px 0;
  line-height: 1.9;
  color: #6f5436;
}

.panel-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.panel-copy li {
  padding-left: 18px;
  position: relative;
  line-height: 1.75;
  color: #6f5436;
}

.panel-copy li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #F2B705;
}

.panel-visual {
  position: relative;
  display: flex;
  justify-content: center;
  background: transparent;
}

.character-ai-badge {
  left: 28px;
  right: auto;
  top: 28px;
}

.panel-visual img {
  width: min(100%, 520px);
  min-height: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: characterFloat 6s ease-in-out infinite;
}

.founder-panel .panel-visual img {
  animation: none !important;
  max-width: 320px;
  width: 100%;
}

.floral-swash {
  position: absolute;
  inset: -18px 10px 10px -18px;
  pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(242, 176, 5, 0.16), transparent 26%),
    radial-gradient(circle at 80% 70%, rgba(242, 240, 206, 0.14), transparent 22%);
}

.levels-panel {
  max-width: 1280px;
  margin: 72px auto 0;
}

.panel-heading h2 {
  margin: 12px 0 0;
  font-family: 'Cinzel', serif;
  color: #3b2a14;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.level-card {
  background: #fff8e6;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 24px 48px rgba(102, 61, 19, 0.1);
}

.level-card h3 {
  margin: 0 0 12px;
  font-family: 'Cinzel', serif;
  color: #3b2a14;
}

.level-card p {
  margin: 0;
  line-height: 1.85;
  color: #6f5436;
}

.callout-panel {
  max-width: 1280px;
  margin: 72px auto 0;
  padding: 36px 44px;
  border-radius: 36px;
  background: #fff5de;
  border: 1px solid rgba(242, 176, 5, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 24px 70px rgba(102, 61, 19, 0.12);
}

.callout-panel h2 {
  margin: 12px 0 14px;
  color: #3b2a14;
}

.legal-panel {
  max-width: 920px;
  margin: 72px auto 0;
  padding: 40px 44px;
  background: #fff5de;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(102, 61, 19, 0.12);
}

.legal-panel h1,
.legal-panel h2 {
  font-family: 'Cinzel', serif;
  color: #3b2a14;
}

.legal-panel h1 {
  margin: 14px 0 10px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.legal-panel h2 {
  margin: 30px 0 10px;
  font-size: 1.3rem;
}

.legal-panel p {
  margin: 0;
  color: #6f5436;
  line-height: 1.85;
}

.legal-updated {
  font-weight: 700;
}

.signup-form {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: nowrap;
}

.signup-form input {
  flex: 1 1 320px;
  min-width: 220px;
  padding: 18px 18px;
  border: 1px solid rgba(242, 176, 5, 0.24);
  border-radius: 18px;
  background: #fff8e0;
  color: #4f3d25;
  outline: none;
}

.signup-form input::placeholder {
  color: rgba(79, 61, 37, 0.6);
}

.signup-form button {
  padding: 18px 28px;
  border-radius: 18px;
  border: none;
  color: #2d1602;
  background: linear-gradient(135deg, #F2B705, #D97D0D);
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(242, 176, 5, 0.18);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  max-width: 1280px;
  margin: 72px auto 0;
  padding: 48px 24px 32px;
  border-top: 1px solid rgba(102, 61, 19, 0.12);
  color: #6f5436;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 48px;
  text-align: left;
}

.footer-copyright {
  flex: 1;
  max-width: 820px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #8c7255;
}

.footer-copyright p {
  margin: 0 0 10px;
}

.footer-copyright p:last-child {
  margin-bottom: 0;
}

.footer-links {
  flex-shrink: 0;
  display: flex;
  justify-content: end;
}

.footer-links a {
  color: #8f6c3d;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-links a:hover {
  color: #D97D0D;
}

/* Funding Section remade properly */
.funding-panel {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.funding-panel .panel-heading {
  max-width: 760px;
  margin: 0 auto;
}

.funding-panel p {
  color: #6f5436;
  line-height: 1.8;
  margin: 18px auto 28px;
  max-width: 640px;
  font-size: 1.05rem;
}

.funding-panel .button {
  margin-top: 8px;
}

/* Presskit Page remade styling */
.presskit-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.presskit-panel {
  max-width: 1280px;
  margin: 72px auto 0;
  text-align: center;
}

.logo-sample {
  background: #fff8e6;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 12px 30px rgba(102, 61, 19, 0.06);
}

.logo-sample-preview {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 16px;
}

.logo-sample-preview.light-bg {
  background: #fffaf0;
  border: 1px solid rgba(102, 61, 19, 0.05);
}

.logo-sample-preview.dark-bg {
  background: #3b2a14;
  border: 1px solid rgba(242, 183, 5, 0.15);
}

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

.logo-sample p {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #3b2a14;
}

.presskit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.presskit-card {
  background: #fff8e6;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 16px 36px rgba(102, 61, 19, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
}

/* Presskit Sections remade properly */
.presskit-section {
  margin-top: 80px;
  text-align: center;
}

.presskit-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  color: #3b2a14;
  margin-bottom: 8px;
}

.presskit-section p {
  color: #6f5436;
  font-size: 1.05rem;
  margin: 0 auto 36px;
  max-width: 680px;
}

/* Assets Grid */
.presskit-assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.asset-card {
  background: #fff8e6;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(102, 61, 19, 0.06);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.asset-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(102, 61, 19, 0.12);
}

.asset-preview {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(242, 176, 5, 0.12);
}

.asset-preview img,
.asset-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.asset-card:hover .asset-preview img,
.asset-card:hover .asset-preview video {
  transform: scale(1.05);
}

.asset-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: #3b2a14;
  margin: 0 0 8px;
}

.asset-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #6f5436;
  margin: 0 0 20px !important;
  flex-grow: 1;
  max-width: 100% !important;
}

.asset-card .button {
  width: 100%;
}

/* Color Palette Grid */
.color-palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.color-swatch-card {
  background: #fff8e6;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(102, 61, 19, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.color-swatch {
  width: 100%;
  height: 90px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(102, 61, 19, 0.08);
}

.color-info h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #3b2a14;
}

.color-info p {
  margin: 0 !important;
  font-family: monospace;
  font-size: 0.95rem !important;
  color: #d97d0d;
  font-weight: 700;
}

.presskit-card {
  background: #fff8e6;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 16px 36px rgba(102, 61, 19, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
}

.presskit-card h2 {
  margin: 0 0 12px;
  font-family: 'Cinzel', serif;
  color: #3b2a14;
  font-size: 1.4rem;
}

.presskit-card p {
  margin: 0 0 24px;
  line-height: 1.75;
  color: #6f5436;
  font-size: 0.95rem;
}

.presskit-card .button {
  width: 100%;
}

/* Animations active by default with high-end cubic bezier */
.animate-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-section.exit {
  opacity: 0;
  transform: translateY(40px);
}

@media (prefers-reduced-motion: reduce) {
  .animate-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes characterFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel-visual img {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    flex-direction: column;
    align-items: center;
  }

  .brand {
    justify-content: center;
  }

  .site-nav {
    justify-content: center;
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
  }

  .hero-copy {
    margin-left: 22px;
    transform: scale(0.92);
  }

  .feature-grid,
  .split-panel,
  .levels-grid,
  .callout-panel,
  .presskit-grid,
  .presskit-logos {
    padding: 0;
  }

  .feature-grid,
  .levels-grid,
  .gameplay-grid,
  .presskit-grid,
  .presskit-logos {
    grid-template-columns: 1fr;
  }

  .split-panel {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column-reverse;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: center;
  }

  .brand {
    justify-content: center;
  }

  .site-nav {
    gap: 14px;
    justify-content: center;
  }

  .nav-cta {
    min-height: 44px;
    padding: 0 15px;
    border-radius: 16px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 640px;
    padding: 64px 24px;
    gap: 0;
  }

  .hero-video-wrapper {
    display: none;
  }

  .video-controls {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    margin: 14px 0 20px;
  }

  .hero-copy {
    text-align: center;
    margin: 0;
    transform: none;
    width: 100%;
  }

  .hero p {
    margin: 0 auto;
    max-width: 480px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 24px auto 0;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .hero::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(45, 22, 2, 0.94) 0%, rgba(45, 22, 2, 0.65) 60%, rgba(45, 22, 2, 0.15) 100%);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .demo-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 24px;
    gap: 28px;
  }

  .demo-gradient-overlay {
    display: none;
  }

  .demo-bg-gif {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: 240px;
    order: 1;
    z-index: 1;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .demo-panel .panel-heading {
    margin: 0 auto;
    text-align: center;
    order: 0;
  }

  .demo-panel .panel-heading p {
    margin-left: auto;
    margin-right: auto;
  }

  .callout-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-panel {
    padding: 28px 24px;
  }

  .signup-form {
    flex-direction: column;
    gap: 12px;
  }

  .footer-links {
    justify-content: start;
  }

  /* Mobile Video Section (Mobile Only) */
  .mobile-video-section {
    display: block;
    max-width: 1280px;
    margin: 48px auto 0;
    padding: 0 20px;
    text-align: center;
  }

  .mobile-video-section .panel-heading {
    margin-bottom: 24px;
    text-align: center;
  }

  .mobile-video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(242, 176, 5, 0.22);
    box-shadow: 0 16px 42px rgba(45, 22, 2, 0.16);
    background: #2d1602;
  }

  .mobile-video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }
}

/* Slider & Info Badge Styles */
.info-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  min-width: 34px;
  min-height: 34px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  filter: drop-shadow(0 2px 8px rgba(45, 22, 2, 0.85));
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, filter 0.18s ease, padding 0.18s ease;
}

.info-badge svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: #F2B705;
}

.info-badge .info-text {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.18s ease, max-width 0.18s ease;
}

.info-badge:hover,
.info-badge:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(45, 22, 2, 0.55));
  border-color: rgba(255, 245, 216, 0.36);
  background: rgba(45, 22, 2, 0.94);
  padding: 8px 12px;
}

.info-badge:hover .info-text,
.info-badge:focus-visible .info-text {
  opacity: 1;
  max-width: 260px;
}

.concepts-slider-section {
  max-width: 1280px;
  margin: 72px auto 0;
}

.slider-outer-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 36px;
  width: 100%;
}

.slider-viewport {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.slider-viewport::-webkit-scrollbar {
  display: none;
}

.slider-track {
  display: flex;
  gap: 24px;
  padding: 10px 0;
}

.slider-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #fff8e6;
  border: 1px solid rgba(242, 176, 5, 0.12);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 16px 36px rgba(102, 61, 19, 0.04);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  display: flex;
  flex-direction: column;
}

.slider-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(102, 61, 19, 0.1);
}

.slide-art-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(102, 61, 19, 0.05);
}

.slide-art-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-slide h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: #3b2a14;
  margin: 0 0 6px;
}

.slider-slide p {
  color: #6f5436;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 250, 238, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(242, 183, 5, 0.3);
  box-shadow: 0 6px 20px rgba(102, 61, 19, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  color: #6f5436;
}

.slider-arrow:hover {
  background: #3b2a14;
  color: #fff;
  border-color: #3b2a14;
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(242, 183, 5, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-dot.active {
  background: #D97D0D;
  transform: scale(1.2);
}

@media (max-width: 760px) {
  .slider-arrow {
    display: none;
  }
}

/* Package Cards Styles */
.presskit-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.package-card {
  background: #fff8e6;
  border: 1px solid rgba(242, 176, 5, 0.18);
  border-radius: 28px;
  padding: 32px 24px;
  box-shadow: 0 16px 36px rgba(102, 61, 19, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(102, 61, 19, 0.12);
}

.package-card.main-package {
  background: linear-gradient(135deg, #fffaf0 0%, #fff4da 100%);
  border: 1.5px solid rgba(242, 176, 5, 0.32);
}

.package-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(242, 176, 5, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #D97D0D;
}

.package-card.main-package .package-icon-wrapper {
  background: rgba(242, 176, 5, 0.18);
  color: #b56200;
}

.package-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: #3b2a14;
  margin: 0 0 10px;
}

.package-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #6f5436;
  margin: 0 0 24px !important;
  flex-grow: 1;
}

.package-card .button {
  width: 100%;
}