/* ==========================================
   KALP KAHRAMANLARI - CORE STYLESHEET
   ========================================== */

/* Design Tokens & Theme Variables */
:root {
  --primary-red: hsl(356, 95%, 62%);
  --primary-red-hover: hsl(356, 95%, 55%);
  --primary-blue: hsl(198, 100%, 55%);
  --primary-blue-light: hsl(198, 100%, 93%);
  --primary-blue-hover: hsl(198, 100%, 45%);
  --primary-green: hsl(142, 76%, 45%);
  --primary-green-hover: hsl(142, 76%, 38%);
  --accent-yellow: hsl(43, 96%, 56%);
  
  --dark-color: hsl(210, 30%, 20%);
  --light-color: hsl(0, 0%, 100%);
  --bg-color: hsl(198, 100%, 96%);
  --card-bg: hsl(0, 0%, 100%);
  
  --font-family: 'Fredoka', 'Quicksand', system-ui, -apple-system, sans-serif;
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: all 0.3s ease;
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.12);
  --shadow-bounce: 0 20px 30px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background floating decorations */
.bg-decoration {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.25;
  filter: blur(8px);
  pointer-events: none;
}

.shape-1 {
  width: 150px;
  height: 150px;
  background-color: var(--primary-red);
  top: 15%;
  left: 5%;
  animation: float-around 15s infinite alternate ease-in-out;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background-color: var(--primary-blue);
  top: 45%;
  right: -5%;
  animation: float-around 25s infinite alternate-reverse ease-in-out;
}

.shape-3 {
  width: 120px;
  height: 120px;
  background-color: var(--primary-green);
  bottom: 10%;
  left: 10%;
  animation: float-around 18s infinite alternate ease-in-out;
}

.shape-4 {
  width: 80px;
  height: 80px;
  background-color: var(--accent-yellow);
  top: 75%;
  left: 45%;
  animation: float-around 12s infinite alternate ease-in-out;
}

@keyframes float-around {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  100% { transform: translateY(-30px) rotate(15deg) scale(1.1); }
}

/* Common Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.text-center { text-align: center; }
.hidden { display: none !important; }

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  margin-bottom: 0.5em;
  color: var(--dark-color);
}

p {
  margin-bottom: 1em;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  border-radius: 50px;
  border-bottom: 4px solid rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--light-color);
}
.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-4px) scale(1.03);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--light-color);
}
.btn-secondary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-4px) scale(1.03);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.2rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.95rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

/* Navigation & Header */
.main-header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--primary-blue-light);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: var(--primary-red);
  transition: var(--transition-bounce);
}

.logo-icon {
  filter: drop-shadow(0 2px 6px rgba(230, 51, 80, 0.3));
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  max-width: 250px;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
}

.logo-credit {
  margin-top: 4px;
  display: inline-block;
  color: hsl(212, 30%, 38%);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25px;
  text-transform: none;
  line-height: 1.2;
  background: linear-gradient(115deg, hsl(198, 100%, 95%), hsl(43, 96%, 88%) 55%, hsl(198, 100%, 95%));
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid hsl(198, 35%, 80%);
  box-shadow: 0 6px 12px rgba(6, 89, 124, 0.12);
  position: relative;
  overflow: hidden;
  max-width: 240px;
  white-space: normal;
  text-wrap: balance;
}

.logo-credit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -55%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: skewX(-20deg);
  animation: credit-sheen 3.4s ease-in-out infinite;
}

@keyframes credit-sheen {
  0%, 78% { left: -55%; }
  100% { left: 130%; }
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  font-size: clamp(0.92rem, 0.78rem + 0.35vw, 1.02rem);
  padding: 7px 12px;
  border-radius: 50px;
  transition: var(--transition-bounce);
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .header-container {
    width: 94%;
  }

  .logo-text-group {
    max-width: 218px;
  }

  .logo-credit {
    font-size: 0.55rem;
    max-width: 208px;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
}

.nav-link:hover {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue-hover);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 30px;
  height: 4px;
  background-color: var(--primary-red);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
  padding: 60px 0;
  position: relative;
  background: radial-gradient(circle at 70% 30%, var(--primary-blue-light) 0%, rgba(255, 255, 255, 0) 60%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background-color: var(--accent-yellow);
  color: var(--dark-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  animation: pulse-badge 2s infinite alternate ease-in-out;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: hsl(210, 15%, 40%);
  margin-bottom: 35px;
}

.hero-cta-group {
  display: flex;
  gap: 15px;
}

/* Mascot Interactive Area */
.mascots-container {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.mascot-wrapper {
  position: relative;
  width: 50%;
  max-width: 260px;
}

.speech-bubble {
  position: absolute;
  top: -95px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background-color: var(--light-color);
  border: 4px solid var(--primary-blue);
  padding: 12px;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  width: 180px;
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 220;
  transition: var(--transition-bounce);
  pointer-events: none;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 15px 12px 0;
  border-style: solid;
  border-color: var(--light-color) transparent;
  display: block;
  width: 0;
}

.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 17px 14px 0;
  border-style: solid;
  border-color: var(--primary-blue) transparent;
  display: block;
  width: 0;
  z-index: -1;
}

.speech-bubble.active {
  transform: translateX(-50%) scale(1);
}

.mascot-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 4px solid transparent;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.mascot-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-bounce);
}

.mascot-image-wrapper {
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  overflow: hidden;
}

.mascot-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-bounce);
}

.mascot-card:hover .mascot-img {
  transform: scale(1.1);
}

.mascot-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  color: var(--light-color);
  margin-bottom: 12px;
}

.label-red {
  background-color: var(--primary-red);
}
.label-blue {
  background-color: var(--primary-blue);
}

.mascot-description {
  font-size: 0.9rem;
  color: hsl(210, 15%, 45%);
  margin-bottom: 0;
}

/* Mascots Animation States */
.heart-beat-active {
  animation: heart-beat-anim 0.6s infinite alternate;
}

@keyframes heart-beat-anim {
  to { transform: scale(1.1); }
}

.blood-spin-active {
  animation: blood-spin-anim 0.8s infinite linear;
}

@keyframes blood-spin-anim {
  100% { transform: rotate(360deg); }
}

/* Sections Common Styles */
.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark-color);
}

.section-subtitle {
  font-size: 1.15rem;
  color: hsl(210, 15%, 40%);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Section 1: Eğlenceli Çizgi Filmler Cards */
.video-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
  border: 4px solid transparent;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue-light);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
  overflow: hidden;
}

.thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.bg-gradient-red {
  background: linear-gradient(135deg, var(--primary-red) 0%, hsl(20, 95%, 65%) 100%);
}
.bg-gradient-blue {
  background: linear-gradient(135deg, var(--primary-blue) 0%, hsl(220, 95%, 65%) 100%);
}
.bg-gradient-green {
  background: linear-gradient(135deg, var(--primary-green) 0%, hsl(160, 90%, 65%) 100%);
}

.play-icon {
  font-size: 3rem;
  color: var(--light-color);
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: var(--transition-bounce);
  padding-left: 5px; /* Offset alignment for triangle */
}

.video-card:hover .play-icon {
  background-color: var(--light-color);
  color: var(--primary-red);
  transform: scale(1.15);
}

.cartoon-illustration {
  position: absolute;
  font-size: 3.5rem;
  bottom: 10px;
  right: 15px;
  opacity: 0.85;
}

.red-cell-float {
  animation: float-illustration 3s infinite alternate ease-in-out;
}

.water-drop-bounce {
  animation: float-illustration 4s infinite alternate ease-in-out;
}

.food-dance {
  animation: dance-illustration 2s infinite alternate ease-in-out;
}

@keyframes float-illustration {
  to { transform: translateY(-15px); }
}

@keyframes dance-illustration {
  to { transform: rotate(15deg) scale(1.05); }
}

.card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.95rem;
  color: hsl(210, 10%, 45%);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Section 2: Kalbini Koru Oyunu */
.oyun-section {
  background-color: var(--primary-blue);
  background-image: linear-gradient(135deg, var(--primary-blue) 0%, hsl(205, 95%, 45%) 100%);
  border-radius: 40px;
  margin: 20px;
  box-shadow: var(--shadow-lg);
}

.text-white { color: var(--light-color); }
.text-white-mute { color: hsl(198, 100%, 88%); }

.game-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 6px solid var(--light-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-bounce);
  position: relative;
}

.game-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background-color: rgba(0, 0, 0, 0.2);
  border-bottom: 4px solid var(--light-color);
  color: var(--light-color);
}

.hud-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.hud-actions {
  margin-left: auto;
}

.game-sound-btn {
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.16);
  color: var(--light-color);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.game-sound-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.health-bar-container {
  width: 150px;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--light-color);
}

.health-bar {
  height: 100%;
  background-color: var(--primary-red);
  transition: width 0.2s ease-in-out;
}

.game-screen {
  height: 400px;
  background-color: hsl(198, 100%, 90%);
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

/* Active Game Scene Components */
.game-player {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translateX(-50%);
  z-index: 2;
  transition: transform 0.1s ease-out;
}

.game-player img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-item {
  position: absolute;
  width: 45px;
  height: 45px;
  font-size: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  user-select: none;
  pointer-events: none;
}

.game-effect {
  position: absolute;
  font-weight: 800;
  font-size: 1.3rem;
  pointer-events: none;
  animation: effect-anim 0.8s forwards ease-out;
  z-index: 4;
}

@keyframes effect-anim {
  to { transform: translateY(-50px); opacity: 0; }
}

/* Game overlays (Start, Game Over) */
.game-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  color: var(--light-color);
  padding: 30px;
  text-align: center;
}

.overlay-content {
  max-width: 500px;
}

.game-logo {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: pulse-badge 1s infinite alternate ease-in-out;
}

.food-guide {
  margin: 20px 0;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: var(--radius-md);
  text-align: left;
}

.guide-group {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.guide-group:last-child { margin-bottom: 0; }

.guide-tag {
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.tag-good { background-color: var(--primary-green); color: var(--light-color); }
.tag-bad { background-color: var(--primary-red); color: var(--light-color); }

.final-score-box {
  background-color: var(--accent-yellow);
  color: var(--dark-color);
  padding: 15px 30px;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin: 20px 0;
  display: inline-block;
}

.game-tip {
  font-size: 0.95rem;
  color: hsl(43, 96%, 76%);
  margin-bottom: 25px;
}

.game-controls {
  display: none;
  justify-content: center;
  gap: 20px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.1);
}

.control-btn {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Section 3: Süper Posteri İndir */
.poster-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.poster-preview-area {
  display: flex;
  justify-content: center;
}

.poster-frame {
  position: relative;
  background-color: var(--light-color);
  padding: 15px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-bounce);
  border: 4px dashed var(--primary-red);
  transform: rotate(-2deg);
  transition: var(--transition-bounce);
}

.poster-frame:hover {
  transform: rotate(0) scale(1.03);
}

.poster-image {
  max-width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.poster-overlay-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: var(--accent-yellow);
  color: var(--dark-color);
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 50px;
  transform: rotate(10deg);
  box-shadow: var(--shadow-md);
}

.poster-title {
  font-size: 2.3rem;
}

.poster-text {
  font-size: 1.1rem;
  color: hsl(210, 15%, 40%);
  margin-bottom: 25px;
}

.poster-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-icon {
  font-size: 1.5rem;
}

/* Section 4: Sağlıklı Yaşam Sırları Grid */
.secrets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.secret-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
  border-bottom: 8px solid rgba(0, 0, 0, 0.15);
  cursor: default;
}

.secret-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-bounce);
}

.bg-card-green {
  background-color: hsl(142, 76%, 95%);
  border: 4px solid var(--primary-green);
}
.bg-card-blue {
  background-color: hsl(198, 100%, 94%);
  border: 4px solid var(--primary-blue);
}
.bg-card-red {
  background-color: hsl(356, 95%, 95%);
  border: 4px solid var(--primary-red);
}
.bg-card-yellow {
  background-color: hsl(43, 96%, 93%);
  border: 4px solid var(--accent-yellow);
}

.secret-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.secret-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.secret-content {
  font-size: 0.95rem;
  color: hsl(210, 10%, 35%);
  margin-bottom: 20px;
}

.secret-hint {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 50px;
  background-color: rgba(0, 0, 0, 0.05);
}

/* Cartoon Video Modal Player Simulator */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;
  background-color: var(--light-color);
  width: 100%;
  max-width: 700px;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-bounce);
  border: 6px solid var(--primary-red);
  z-index: 10;
  animation: zoom-in-bubble 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoom-in-bubble {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.video-modal-close {
  position: absolute;
  top: -20px;
  right: -20px;
  background-color: var(--primary-red);
  color: var(--light-color);
  border: 4px solid var(--light-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
}

.video-modal-close:hover {
  transform: scale(1.1) rotate(90deg);
  background-color: var(--primary-red-hover);
}

.modal-video-title {
  font-size: 1.6rem;
  margin-bottom: 15px;
  padding-right: 30px;
}

.simulated-player {
  background-color: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 15px;
  border: 4px solid var(--primary-blue-light);
  box-shadow: var(--shadow-md);
}

.custom-animation-screen {
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle, hsl(198, 100%, 20%) 0%, #081324 100%);
}

.player-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 12px 20px;
  background-color: #0d1e36;
  color: #fff;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.player-btn {
  background: var(--primary-red);
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 50px;
  transition: var(--transition-bounce);
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.player-btn:hover {
  background: var(--primary-red-hover);
  transform: scale(1.05);
}

.progress-bar-bg {
  flex-grow: 1;
  min-width: 160px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--accent-yellow);
  width: 0%;
  border-radius: 50px;
  transition: width 0.1s linear;
}

.player-time {
  font-size: 0.85rem;
  color: #9ab4d6;
  font-weight: 600;
  min-width: 60px;
}

.subtitle-container {
  background-color: var(--primary-blue-light);
  border-left: 6px solid var(--primary-blue);
  padding: 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-color);
  text-align: center;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  animation: none;
}

.subtitle-helper {
  margin: -6px 0 14px;
  color: hsl(210, 16%, 40%);
  font-size: 0.82rem;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 700px) {
  .player-controls {
    gap: 10px;
    padding: 10px 12px;
  }

  .player-btn {
    font-size: 0.82rem;
    padding: 6px 10px;
  }

  .player-time {
    margin-left: auto;
  }

  .game-hud {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hud-actions {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

/* Local Video Keyframe Animations */
@keyframes run-across-screen {
  0% { left: -60px; transform: scaleX(1); }
  45% { left: 100%; transform: scaleX(1); }
  50% { transform: scaleX(-1); }
  95% { left: -60px; transform: scaleX(-1); }
  100% { transform: scaleX(1); }
}

@keyframes float-blood-cells {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -20px) scale(1.05); }
  100% { transform: translate(-10px, 10px) scale(0.95); }
}

@keyframes bounce-item-shield {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

@keyframes slide-germs-in {
  0% { right: -60px; transform: scale(1); opacity: 0; }
  10% { opacity: 1; }
  40% { right: 40%; transform: scale(1.1); }
  50% { right: 35%; transform: scale(0.7); } /* bounced off shield */
  60% { right: 40%; opacity: 1; }
  90% { right: -60px; opacity: 0; }
  100% { right: -60px; opacity: 0; }
}

@keyframes pulse-heart-large {
  0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.4)); }
  100% { transform: scale(1.25); filter: drop-shadow(0 0 25px rgba(255, 0, 0, 0.9)); }
}

@keyframes rotate-shield-radar {
  0% { transform: rotate(0deg); opacity: 0.3; }
  50% { opacity: 0.6; }
  100% { transform: rotate(360deg); opacity: 0.3; }
}

        .modal-video-description {
          color: hsl(210, 10%, 40%);
          font-size: 0.95rem;
          margin-bottom: 0;
        }

        .video-paused * {
          animation-play-state: paused !important;
        }

/* Footer Section */
.main-footer {
  background-color: var(--dark-color);
  color: hsl(210, 20%, 80%);
  padding: 60px 0 40px;
  border-top: 6px solid var(--primary-green);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary-red);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-logo svg {
  fill: var(--primary-red);
}

.footer-motto {
  font-size: 1.15rem;
  color: var(--light-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-note {
  font-size: 0.85rem;
  color: hsl(210, 15%, 60%);
  max-width: 500px;
  margin: 0 auto;
}

.footer-credit {
  display: inline-block;
  margin-top: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: hsl(52, 95%, 72%);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 221, 125, 0.2));
  border: 1px solid rgba(255, 221, 125, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Print Poster View (Hidden by default) */
.print-poster-layout {
  display: none;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .poster-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .poster-frame {
    transform: rotate(0);
    max-width: 320px;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 1100px) {
  .logo-title {
    font-size: 1.26rem;
  }

  .logo-credit {
    font-size: 0.55rem;
    letter-spacing: 0.48px;
    padding: 3px 7px;
  }

  .header-container {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--light-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 4px solid var(--primary-blue-light);
    display: none;
    transform: translateY(10px);
    transition: var(--transition-bounce);
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 12px;
  }

  .nav-link {
    display: block;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .logo {
    align-items: center;
  }

  .logo-title {
    font-size: 1.2rem;
  }

  .logo-credit {
    font-size: 0.56rem;
    letter-spacing: 0.5px;
    margin-top: 3px;
    padding: 3px 7px;
  }

  .mascots-container {
    flex-direction: column;
    align-items: center;
  }
  
  .mascot-wrapper {
    width: 100%;
  }

  .speech-bubble {
    top: -78px;
    width: min(88vw, 260px);
  }
  
  .game-screen {
    height: 350px;
  }
  
  .game-controls {
    display: flex;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
}

/* Print Styling */
@media print {
  body * {
    visibility: hidden;
  }
  
  .print-poster-layout, .print-poster-layout * {
    visibility: visible;
  }
  
  .print-poster-layout {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding: 30px;
    background: #fff;
    color: #000;
    font-family: var(--font-family);
    box-sizing: border-box;
  }
  
  .print-header {
    text-align: center;
    border-bottom: 4px solid #000;
    padding-bottom: 20px;
    margin-bottom: 30px;
  }
  
  .print-grid {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
  }
  
  .print-column {
    width: 45%;
    padding: 15px;
    border: 2px solid #000;
    border-radius: 15px;
  }
  
  .print-footer {
    border-top: 3px dashed #000;
    padding-top: 25px;
  }
  
  .print-footer ul {
    margin: 15px 0 15px 30px;
  }
  
  .print-footer li {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
}
