/* ============================================================
   THE FLASHTONES — Clean & Playful Design
   ============================================================ */

/* --- Local Font: Sofia Sans (Variable) --- */
@font-face {
  font-family: 'Sofia Sans';
  src: url('./references/Sofia_Sans/SofiaSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sofia Sans';
  src: url('./references/Sofia_Sans/SofiaSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
  /* Brand Palette */
  --brown: #9E6D38;
  --grey: #A3A3A3;
  --blue: #0A42AD;
  --red: #D91616;
  --green: #3D9700;
  --yellow: #DECC00;
  --purple: #7D11A1;
  --dark: #343434;
  --white: #FFFFFF;
  --bg: #FFFFFF;

  /* Typography */
  --font: 'Sofia Sans', sans-serif;

  /* Transitions */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--dark);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.2;
}

/* ============================================================
   DOCK BAR (from flashtones.cz)
   ============================================================ */
.navBg {
  z-index: 1001;
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  height: 30px;
  background: rgba(0, 0, 0, 1);
  border-radius: 0;
}

#navToggle {
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: auto;
  height: 30px;
  padding: 5px 5px 5px 0;
  transition: transform 0.3s ease-in-out;
  gap: 15px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
}

#navToggle:hover {
  opacity: 0.85;
}

.nav-logo {
  height: 30px;
  width: 30px;
  flex-shrink: 0;
  background-color: #D9B770;
  background-image: url(./images/ft/ft-logo.png);
  background-position: center;
  background-size: 45%;
  background-repeat: no-repeat;
  border-radius: 0;
  display: inline-block;
}

.chevron {
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.chevron.open {
  transform: rotate(180deg);
}

/* ============================================================
   DOCK OVERLAY (plachta) — native <dialog>
   ============================================================ */
dialog.dock-overlay {
  border: none;
  padding: 0;
  margin: 0;
  inset: 0;
  max-width: 100vw !important;
  max-height: 100vh !important;
  width: 100vw;
  height: 100vh;
  background: #000000e5;
  color: #fff;
  overflow-y: auto;
  overflow-x: hidden;
}

dialog.dock-overlay[open] {
  display: flex;
  flex-direction: column;
}

dialog.dock-overlay::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.dock-overlay-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* --- Close bar at top --- */
.dock-overlay-close-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 30px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font);
}

.dock-overlay-close-left {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.dock-close-text {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 8px;
}

.dock-chevron-up {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #D9B770;
}

.dock-chevron-down {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #D9B770;
  margin-left: 4px;
}

.dock-overlay-close-right {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 12px;
}

.dock-close-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  display: none;
}

.dock-close-x {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #fff;
}

.dock-close-x svg,
.dock-chevron-up svg {
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .dock-close-label {
    display: inline;
  }
}

/* --- Overlay content --- */
.dock-overlay-content {
  padding: 50px 30px 60px;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}

.dock-overlay-hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 10px;
}

.dock-overlay-brand {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 300;
  color: #D9B770;
  letter-spacing: 0.15em;
  line-height: 1.2;
}

.dock-overlay-desc {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.dock-overlay-cta {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 2px;
  padding: 12px 36px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.5px;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-top: 6px;
}

.dock-overlay-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* --- Links section --- */
.dock-overlay-links {
  padding: 0;
}

.dock-overlay-links-title {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  text-transform: none;
}

.dock-overlay-link-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.dock-link-heading {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.5;
  transition: opacity 0.2s;
  display: block;
}

.dock-link-heading:hover {
  opacity: 0.75;
}

.dock-link-sub {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 2px;
}

.dock-link-item {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.7;
  display: block;
  transition: opacity 0.2s;
}

a.dock-link-item:hover {
  opacity: 0.7;
}

.dock-link-muted {
  color: rgba(255,255,255,0.4);
}

.dock-link-muted span:first-child {
  font-weight: 400;
}

.dock-arrow {
  font-size: 0.85em;
  margin-left: 4px;
  color: #D9B770;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 8% 30px;
  background: var(--white);
  min-height: 100vh;
}

.hero-tv {
  max-width: 800px;
  width: 100%;
}

.hero-tv img {
  width: 100%;
  height: auto;
}

.hero-arrow {
  margin-top: 40px;
  margin-bottom: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceArrow 2s ease-in-out infinite;
  cursor: pointer;
}

.hero-arrow svg {
  width: 70px;
  height: 70px;
  fill: var(--dark);
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section {
  padding: 70px 8%;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: normal;
  letter-spacing: 3px;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: #4A4A4A;
  margin-top: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   DECORATIVE SLIDE-IN IMAGES (desktop only)
   ============================================================ */
.deco-slide {
  display: none;
}

@media (min-width: 1100px) {
  .deco-slide {
    display: block;
    position: absolute;
    width: 300px;
    top: 50%;
    z-index: 2;
    pointer-events: none;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
    opacity: 0;
  }

  /* vlozka1: left wrapper, anchors 150px outside left edge */
  .deco-slide-left {
    right: calc(100% + 150px);
    left: auto;
    transform: translateY(-50%) translateX(-120vw);
  }

  /* vlozka2: right wrapper, anchors 150px outside right edge */
  .deco-slide-right {
    left: calc(100% + 150px);
    right: auto;
    transform: translateY(-50%) translateX(120vw);
  }

  .section.deco-revealed .deco-slide-left {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }

  .section.deco-revealed .deco-slide-right {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}

/* ============================================================
   AUDIO PLAYER — Nový Single
   ============================================================ */
.audio-section {
  background: var(--white);
  overflow: clip;
}

.audio-section .section-title {
  color: var(--blue);
}

.simple-player-wrapper {
  text-align: center;
  width: 100%;
}

.simple-player {
  position: relative;
  display: inline-block;
  max-width: 750px; /* Reduced to make player smaller */
  width: 100%;
  margin: 0 auto;
}

.player-bg {
  width: 100%;
  height: auto;
  display: block;
  /* Crop out baked-in white frame from PNG */
  clip-path: inset(5.5% 3.5% 5.5% 3.5% round 36px);
}

.player-icon-mask {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 14%;
  aspect-ratio: 1;
  background: #131512; /* Matches the dark player background */
  border-radius: 50%;
  z-index: 1;
}

.player-overlay-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Let clicks pass to the button hit area */
  z-index: 2; /* Ensures it renders above the mask */
}

.player-btn-hidden {
  display: none !important;
}

.player-play-btn {
  position: absolute;
  bottom: 0%;   /* Cover the lower center section */
  left: 40%;    /* Cover the lateral middle */
  width: 20%;   /* Generous clickable area */
  height: 35%;  /* Cover bottom middle area */
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;  /* Ensure it is on top */
  padding: 0;
}

/* Remove hover scale effect since we decoupled the button from the image */

.player-progress-container {
  position: absolute;
  top: 52%; /* Increased from 48% */
  left: 12%;
  right: 12%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-time {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 800; /* Distinct cut for UI elements */
  font-family: var(--font);
  min-width: 40px;
  font-variant-numeric: tabular-nums;
}

.player-time:last-child {
  text-align: right;
}

.player-progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  position: relative;
  cursor: pointer;
}

.player-progress-fill {
  background: rgba(255, 255, 255, 0.9);
  height: 100%;
  width: 0%;
  border-radius: 5px;
  pointer-events: none;
  transition: width 0.1s linear;
}

@media (max-width: 500px) {
  .player-time {
    font-size: 0.75rem;
    min-width: 32px;
  }
}


/* ============================================================
   VIDEO PLAYER — Tanec
   ============================================================ */
.video-section {
  background: var(--white);
  overflow: clip;
}

.video-section .section-title {
  color: var(--red);
}

.video-frame {
  max-width: 400px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  position: relative;
  background: #000;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  background: #000;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 1;
}

.video-overlay:hover {
  background: rgba(0,0,0,0.2);
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-bounce);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(217, 22, 22, 0.35);
}

.video-play-btn:hover {
  transform: scale(1.12);
}

.video-play-btn svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
  margin-left: 4px;
}

/* ============================================================
   CHARACTERS — Poznejte Flashtones
   ============================================================ */
.characters-section {
  background: var(--white);
}

.characters-section .section-title {
  color: var(--purple);
}

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

.character-card {
  background: #FAFAFA;
  border: 2px solid #EBEBEB;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s var(--ease-bounce);
}

.character-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.character-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  background: #F0F0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 15px;
}

.character-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.character-info {
  padding: 16px;
  text-align: center;
}

.character-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.character-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey);
  margin-bottom: 8px;
}

.character-bio {
  font-size: 0.82rem;
  color: #4A4A4A;
  line-height: 1.5;
}

/* ============================================================
   AUDIOBOOK (Audiokniha)
   ============================================================ */
.audiobook-section {
  background: var(--light-blue);
}

.audiobook-section .section-title {
  color: var(--blue);
}

.ab-container {
  display: flex;
  flex-direction: column; /* Stacked and centered horizontally */
  align-items: center;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.ab-player.card {
  padding: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.ab-player-top-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 650px;
}

.ab-chapter-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2rem;
  color: var(--blue);
  margin: 0;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.ab-play-btn {
  background: transparent;
  color: var(--dark);
  border: 4px solid var(--dark);
  border-radius: 50%;
  width: 90px; /* Made bigger */
  height: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.ab-play-btn:hover {
  transform: scale(1.05);
  background: var(--dark);
  color: var(--white);
}

.ab-play-btn svg {
  width: 36px; /* Made bigger */
  height: 36px;
  fill: currentColor;
  margin-left: 4px; /* Optical center for play triangle */
}

.ab-hidden {
  display: none;
}

.ab-timeline-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.ab-time {
  font-size: 1.1rem; /* Slightly larger text */
  font-weight: 600;
  color: var(--text-muted);
  min-width: 45px;
  font-variant-numeric: tabular-nums;
}

.ab-scrubber {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  background: var(--grey);
  height: 8px; /* Thicker scrubber bar */
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.ab-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; /* Thicker thumb */
  height: 20px;
  background: var(--blue);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.ab-scrubber::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.ab-tracklist {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 600px; /* Limit width to keep squares from getting huge */
  padding: 0;
}

.ab-tracklist::-webkit-scrollbar {
  width: 6px;
}

.ab-tracklist::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 4px;
}

.ab-tracklist::-webkit-scrollbar-thumb {
  background: var(--grey);
  border-radius: 4px;
}

.ab-track-btn {
  background: var(--white);
  border: 3px solid #dcdcdc; /* Neutral grey border by default */
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  max-width: 120px; /* Allow squares to be bigger */
  width: 100%;
  margin: 0 auto; /* Keep squares constrained and centered in grid cells */
  font-family: 'Sofia Sans', sans-serif;
  font-size: 1.4rem; /* Smaller text */
  font-weight: 800;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.ab-track-btn:hover {
  transform: scale(1.05);
  border-color: #b0b0b0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.ab-track-btn.active {
  background: var(--track-color, var(--blue));
  border-color: var(--track-color, var(--blue));
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .ab-player-top-controls {
    flex-direction: column;
  }
  
  .ab-tracklist {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* ============================================================
   KOMIX (3D Book)SLIDESHOW — Komix!
   ============================================================ */
.comic-section {
  background: var(--white);
}

.comic-section .section-title {
  color: var(--green);
}

.comic-viewer {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Center horizontally instead of space-between */
  gap: 20px; /* Space between arrows and book */
  user-select: none;
}

.comic-stage-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.comic-stage {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* StPageFlip page styles */
.flip-book {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.page {
  background-color: #FAFAFA;
  overflow: hidden;
  border: 1px solid #EBEBEB;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
}

.page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #FFF;
}

.comic-arrow {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease-bounce);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(61, 151, 0, 0.3);
  z-index: 10;
}

.comic-arrow:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 16px rgba(61, 151, 0, 0.4);
}

.comic-arrow:active {
  transform: scale(0.92);
}

.comic-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.comic-arrow svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.comic-page-indicator {
  margin-top: 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
}

/* ============================================================
   NO MATCH — Social CTA
   ============================================================ */
.nomatch-section {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 80px 8%;
}

.nomatch-inner {
  max-width: 620px;
  margin: 0 auto;
}

.nomatch-intro {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.nomatch-headline {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: normal;
  letter-spacing: 6px;
  background: linear-gradient(135deg, #D9B770, #fff, #D9B770);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 28px;
  line-height: 1.1;
}

.nomatch-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.nomatch-body strong {
  color: #D9B770;
  font-weight: 700;
}

.nomatch-cta {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  margin-top: 18px;
}

.nomatch-socials {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nomatch-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  transition: all 0.3s var(--ease-bounce);
}

.nomatch-social-link:hover {
  border-color: #D9B770;
  color: #D9B770;
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(217, 183, 112, 0.25);
}

.nomatch-social-link img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 35px 8%;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer p {
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .characters-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }

  .navbar {
    height: 50px;
    padding: 0 4%;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-bounce);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links li a {
    font-size: 1.4rem;
    padding: 12px;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 30px 6% 20px;
    min-height: auto;
  }

  .hero-tv {
    max-width: 85%;
  }

  .hero-arrow svg {
    width: 50px;
    height: 50px;
  }

  .section {
    padding: 50px 5%;
  }

  .audio-top-row {
    flex-direction: column;
    text-align: center;
  }

  .audio-bottom-row {
    flex-direction: column;
    gap: 10px;
  }

  .audio-volume-wrap {
    width: 100%;
    justify-content: center;
  }

  .video-play-btn {
    width: 64px;
    height: 64px;
  }

  .video-play-btn svg {
    width: 26px;
    height: 26px;
  }

  .characters-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 360px;
  }

  .comic-arrow {
    width: 42px;
    height: 42px;
  }

  .comic-arrow svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile
   ============================================================ */
@media (max-width: 480px) {
  .section {
    padding: 40px 4%;
  }

  .audio-player {
    padding: 20px;
  }

  .audio-play-btn {
    width: 54px;
    height: 54px;
    min-width: 54px;
  }

  .audio-play-btn svg {
    width: 20px;
    height: 20px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .dock-text,
  .dock-brand {
    font-size: 0.7rem;
  }
}
