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

:root {
  --fire: #e85a00;
  --fire-bright: #ff8c00;
  --fire-glow: #ffb347;
  --dark-bg: #0d0703;
  --mid-dark: #1a0a03;
  --blue-dark: #0d1c2e;
  --blue-mid: #122540;
  --gold: #c8a84b;
  --text-fire: #e06020;
  --text-blue: #c8dff0;
  --font-title: 'MedievalSharp', serif;
  --font-body: 'IM Fell English', serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark-bg);
  color: var(--text-fire);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ════════════════════════════════════════════
   SECTION 1 — HERO
════════════════════════════════════════════ */
#hero {
  width: 100%;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

#hero .bg {
  position: absolute;
  inset: 0;
  background: url('pozadi.png') center center / cover no-repeat;
}

#hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,2,0,0.25) 0%, transparent 60%);
}

/* ── Hero title text ── */
.hero-text {
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  z-index: 3;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 8vw, 8rem);
  color: var(--fire-bright);
  text-shadow:
    0 0 30px rgba(232,90,0,0.9),
    0 0 80px rgba(232,90,0,0.5),
    0 4px 12px rgba(0,0,0,0.8);
  letter-spacing: 0.06em;
  line-height: 1;
  animation: heroEntrance 1.2s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}

/* ── Hero character image ── */
.hero-character {
  position: absolute;
  bottom: 0;
  right: 8%;
  height: 90%;
  width: auto;
  max-width: 45vw;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 40px rgba(255,100,0,0.35));
  z-index: 2;
  /* subtle entrance */
  animation: heroEntrance 1.2s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ember particles */
.ember {
  position: absolute;
  border-radius: 50%;
  background: var(--fire-glow);
  box-shadow: 0 0 6px 2px var(--fire-bright);
  pointer-events: none;
  animation: emberFloat linear infinite;
  opacity: 0;
  z-index: 3;
}

@keyframes emberFloat {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 0.9; }
  80%  { opacity: 0.4; }
  100% { transform: translateY(-180px) translateX(var(--drift)) scale(0.2); opacity: 0; }
}

/* ════════════════════════════════════════════
   SECTION 2 — LORE
════════════════════════════════════════════ */
#lore {
  width: 100%;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: #0e0502;
}

#lore .bg {
  position: absolute;
  inset: 0;
  background: url('pozadi.png') center center / cover no-repeat;
  opacity: 0.18;
}

#lore .content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 5rem 7vw;
  gap: 4vw;
}

#lore .text-block {
  flex: 0 0 44%;
  max-width: 520px;
}

#lore .text-block p {
  font-size: clamp(0.88rem, 1.15vw, 1.05rem);
  line-height: 1.9;
  color: var(--text-fire);
  margin-bottom: 1.4rem;
}

#lore .text-block p::first-letter {
  font-size: 1.5em;
  color: var(--fire-bright);
  font-family: var(--font-title);
}

#lore .character-side {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
  position: relative;
  min-height: 60vh;
}

/* ── Lore character (Čáryfuk žena) ── */
.lore-character {
  height: clamp(400px, 70vh, 700px);
  width: auto;
  max-width: 50%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 30px rgba(255,80,0,0.3));
  position: relative;
  z-index: 2;
}

.flambo-pet {
  width: clamp(100px, 15vw, 200px);
  filter: drop-shadow(0 0 20px rgba(255,120,0,0.6));
  animation: floatPet 3s ease-in-out infinite;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
}

@keyframes floatPet {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-14px) rotate(3deg); }
}

/* ════════════════════════════════════════════
   SECTION 3 — SCHOPNOSTI
════════════════════════════════════════════ */
#schopnosti {
  width: 100%;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

#schopnosti .bg {
  position: absolute;
  inset: 0;
  background: url('pozadi.png') center center / cover no-repeat;
  filter: hue-rotate(330deg) saturate(0.6) brightness(0.25);
}

#schopnosti .content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding: 5rem 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#schopnosti h2 {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: 0.12em;
  color: var(--fire-bright);
  text-shadow: 0 0 30px rgba(232,90,0,0.8), 0 0 60px rgba(232,90,0,0.4);
  margin-bottom: 4rem;
  text-align: center;
}

.abilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  width: 100%;
  margin-top: 2rem;
}

.ability-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.ability-card:hover { transform: translateY(-8px); }

.ability-card:hover .ability-icon {
  box-shadow: 0 0 0 2px var(--fire-bright), 0 0 30px rgba(232,90,0,0.7);
}

.ability-icon {
  width: clamp(80px, 9vw, 110px);
  height: clamp(80px, 9vw, 110px);
  border: 2px solid rgba(232,90,0,0.5);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.ability-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.3);
}

.ability-name {
  font-family: var(--font-title);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  color: var(--fire-bright);
  letter-spacing: 0.04em;
}

.ability-desc {
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  line-height: 1.6;
  color: rgba(232,150,80,0.8);
  max-width: 200px;
}

.scroll-deco {
  width: clamp(200px, 30vw, 340px);
  opacity: 0.1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: sepia(1) hue-rotate(-10deg);
  z-index: 1;
}

/* ════════════════════════════════════════════
   SECTION 4 — WORLD / SPOJEOWYN
════════════════════════════════════════════ */
#world {
  width: 100%;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

#world::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(20,50,90,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(10,30,60,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 60%, rgba(0,40,80,0.3) 0%, transparent 60%),
    url('Background_1.png') center top / cover no-repeat;
  z-index: 0;
}

#world::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}

#world .dark-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent, rgba(10,18,32,0.97));
  z-index: 2;
}

#world .content {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 8vh;
  align-items: center;
  text-align: center;
}

#world h2 {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 6vw, 6rem);
  letter-spacing: 0.2em;
  color: #d4b860;
  text-shadow: 0 0 40px rgba(200,168,76,0.6), 0 2px 8px rgba(0,0,0,0.8);
  margin-bottom: 2rem;
  animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { text-shadow: 0 0 40px rgba(200,168,76,0.6), 0 2px 8px rgba(0,0,0,0.8); }
  50%       { text-shadow: 0 0 70px rgba(200,168,76,0.9), 0 2px 8px rgba(0,0,0,0.8); }
}

#world .lore-text {
  max-width: 700px;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.9;
  color: #c8dff0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  padding: 0 2rem;
}

.rune-border {
  width: min(500px, 80vw);
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
  position: relative;
}
.rune-border::before, .rune-border::after {
  content: '❧';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1rem;
}
.rune-border::before { left: -1rem; }
.rune-border::after  { right: -1rem; }

/* ════════════════════════════════════════════
   SECTION 5 — POSTAVY
════════════════════════════════════════════ */
#postavy {
  width: 100%;
  background: var(--blue-dark);
  padding: 7rem 4vw;
  position: relative;
  overflow: hidden;
}

#postavy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 50% at 50% 0%, rgba(20,50,90,0.3) 0%, transparent 60%);
  pointer-events: none;
}

#postavy .content { position: relative; z-index: 1; }

#postavy h2 {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: #c8dff0;
  text-align: center;
  margin-bottom: 5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.char-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}

.char-card:hover { transform: translateY(-18px) scale(1.04); z-index: 5; }
.char-card:hover .char-frame::before { opacity: 1; transform: scale(1.06); }

.char-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border: 1.5px solid rgba(100,160,210,0.4);
  overflow: visible;
  position: relative;
  background: rgba(10,25,50,0.6);
}

.char-frame::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1.5px solid rgba(100,160,210,0.7);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.char-frame img {
  /* Characters overflow their frames intentionally */
  width: 120%;
  height: 120%;
  object-fit: contain;
  object-position: bottom center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  filter: drop-shadow(0 -10px 20px rgba(60,120,200,0.3));
}

.char-card:hover .char-frame img {
  transform: translateX(-50%) scale(1.06) translateY(-8px);
}

.char-name {
  font-family: var(--font-title);
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  color: #c8dff0;
  margin-top: 1.2rem;
}

.char-title {
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  color: rgba(140,190,230,0.6);
  margin-top: 0.3rem;
  font-style: italic;
  line-height: 1.4;
}

/* ════════════════════════════════════════════
   SECTION 6 — PLATFORMY + SPONZOŘI
════════════════════════════════════════════ */
#platformy {
  background: var(--blue-dark);
  padding: 5rem 4vw 6rem;
  position: relative;
  overflow: hidden;
}

#platformy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(10,30,60,0.5) 0%, transparent 70%);
  pointer-events: none;
}

#platformy h3 {
  font-family: var(--font-title);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: rgba(140,190,230,0.7);
  text-align: center;
  letter-spacing: 0.15em;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* ── PLATFORM IMAGE SLOTS ── */
.platforms-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

.platform-img-wrap {
  width: clamp(60px, 8vw, 100px);
  height: clamp(60px, 8vw, 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  position: relative;
}

.platform-img-wrap:hover { transform: scale(1.12); }

.platform-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.3s;
}

.platform-img-wrap:hover .platform-img { opacity: 0.95; }

/* Placeholder fallback when image is missing / src="" */
.platform-img-wrap.placeholder .platform-img { display: none; }
.platform-img-wrap.placeholder::after {
  content: attr(data-label);
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: rgba(140,190,230,0.4);
  text-align: center;
  word-break: break-word;
}
/* read label from img data-label via JS — see HTML */

.divider-line {
  width: min(600px, 80vw);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(100,160,210,0.3), transparent);
  margin: 0 auto 4rem;
}

.sponsors-label {
  font-family: var(--font-title);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: rgba(140,190,230,0.7);
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* ── SPONSOR IMAGE SLOTS ── */
.sponsors-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}

.sponsor-img-wrap {
  height: clamp(50px, 7vh, 80px);
  min-width: 120px;
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(100,160,210,0.15);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s, background 0.3s;
  cursor: pointer;
  position: relative;
}

.sponsor-img-wrap:hover {
  border-color: rgba(100,160,210,0.4);
  background: rgba(255,255,255,0.07);
}

.sponsor-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

/* Barevná loga — bez invertování */
.sponsor-img--color {
  filter: none;
}

.sponsor-img-wrap:hover .sponsor-img { opacity: 0.95; }

/* Placeholder fallback */
.sponsor-img-wrap.placeholder .sponsor-img { display: none; }
.sponsor-img-wrap.placeholder::after {
  content: attr(data-label);
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(140,190,230,0.45);
  text-align: center;
}
/* data-label injected from img[data-label] by JS */

/* ════════════════════════════════════════════
   SECTION 7 — DEV INFO / QUOTES
════════════════════════════════════════════ */
#devinfo {
  background: var(--blue-dark);
  padding: 6rem 8vw;
  position: relative;
  border-top: 1px solid rgba(100,160,210,0.1);
}

.quote-block {
  max-width: 860px;
  margin: 0 auto 5rem;
  padding-left: 2rem;
  border-left: 2px solid rgba(100,160,210,0.25);
}

.quote-block blockquote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  line-height: 1.9;
  color: rgba(180,210,240,0.8);
}

.quote-block .quote-attr {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(100,160,210,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-text {
  max-width: 550px;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.85;
  color: rgba(140,190,230,0.7);
  margin-top: 4rem;
}

/* ════════════════════════════════════════════
   SECTION 8 — COUNTDOWN
════════════════════════════════════════════ */
#countdown-section {
  background: var(--blue-dark);
  padding: 5rem 4vw 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border-top: 1px solid rgba(100,160,210,0.08);
}

.countdown-label {
  font-family: var(--font-title);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  letter-spacing: 0.35em;
  color: rgba(100,160,210,0.5);
  margin-bottom: 1rem;
}

.countdown-title {
  font-family: var(--font-title);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: #c8dff0;
  letter-spacing: 0.12em;
  margin-bottom: 3rem;
}

.countdown-display {
  display: flex;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: flex-end;
}

.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }

.cd-number {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 7vw, 6rem);
  color: #c8dff0;
  line-height: 1;
  text-shadow: 0 0 20px rgba(100,160,210,0.4);
  min-width: 2ch;
  text-align: center;
}

.cd-number.tick { animation: cdTick 0.15s ease; }

@keyframes cdTick {
  0%   { transform: translateY(-4px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

.cd-label {
  font-size: clamp(0.5rem, 0.8vw, 0.68rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(100,160,210,0.4);
}

.cd-sep {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 7vw, 6rem);
  color: rgba(100,160,210,0.25);
  line-height: 1;
  align-self: flex-start;
  margin-top: 0.05em;
}

.release-progress-wrap { margin-top: 3rem; width: min(500px, 80vw); }

.rp-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(100,160,210,0.4);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.rp-bar { height: 2px; background: rgba(100,160,210,0.12); overflow: hidden; }

.rp-fill {
  height: 100%;
  background: linear-gradient(to right, rgba(60,120,200,0.4), rgba(150,210,255,0.8));
  transition: width 1s ease;
}

.rp-date {
  margin-top: 2rem;
  font-family: var(--font-title);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  letter-spacing: 0.2em;
  color: rgba(150,200,240,0.6);
  text-align: center;
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
footer {
  background: #080e18;
  border-top: 1px solid rgba(100,160,210,0.1);
  padding: 5rem 6vw 3rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") repeat;
  background-size: 200px 200px;
  opacity: 0.025;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(100,160,210,0.5);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-col p, .footer-col a {
  font-size: 0.85rem;
  line-height: 1.9;
  color: rgba(140,190,230,0.55);
  display: block;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: rgba(140,190,230,0.9); }

.map-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid rgba(100,160,210,0.12);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.3) brightness(0.7) hue-rotate(200deg);
  transition: filter 0.3s;
}

.map-wrap:hover iframe { filter: saturate(0.6) brightness(0.85) hue-rotate(200deg); }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(100,160,210,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: rgba(100,160,210,0.3);
  letter-spacing: 0.08em;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: rgba(100,160,210,0.35);
  letter-spacing: 0.25em;
}

/* ════════════════════════════════════════════
   FADE IN
════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 900px
════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* Hero — character smaller, centered bottom */
  .hero-character {
    right: 50%;
    transform: translateX(50%);
    height: 70%;
    max-width: 80vw;
  }

  /* Lore — stack vertically */
  #lore .content {
    flex-direction: column;
    padding: 4rem 6vw;
    gap: 2rem;
    align-items: center;
  }

  #lore .text-block { flex: none; max-width: 100%; }

  #lore .character-side {
    min-height: auto;
    width: 100%;
    justify-content: center;
  }

  .lore-character { height: clamp(280px, 50vw, 460px); max-width: 60%; }

  /* Abilities — 2 columns */
  .abilities-grid { grid-template-columns: repeat(2, 1fr); }

  /* Characters — 2 columns */
  .characters-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  /* Platforms */
  .platforms-row { gap: 2rem; }

  /* Footer 2 cols */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 600px
════════════════════════════════════════════ */
@media (max-width: 600px) {

  .hero-character { height: 55%; max-width: 90vw; }

  #lore .content { padding: 3rem 5vw; }

  .lore-character { max-width: 80%; }
  .flambo-pet { width: 80px; }

  /* Abilities — 1 column */
  .abilities-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .ability-icon { width: 70px; height: 70px; }

  /* Characters — 2 columns tight */
  .characters-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

  /* Countdown numbers smaller */
  .cd-number, .cd-sep { font-size: clamp(2rem, 10vw, 3.5rem); }

  /* Footer single column */
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }

  .footer-bottom { flex-direction: column; text-align: center; }

  /* platforms/sponsors wrap tighter */
  .platform-img-wrap { width: 50px; height: 50px; }
  .sponsor-img-wrap  { min-width: 90px; }
}
