.game-teaser-animated {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 24px;
  background: transparent;
  border: none;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
  animation: teaserFadeIn 0.5s ease-out;
}

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

.teaser-scene {
  flex: 1;
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  margin-bottom: 0;
}

/* GROUND */
.teaser-ground {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  height: 0;
  background: transparent;
  border-radius: 0;
  z-index: 10;
}

/* GOAT */
.teaser-goat {
  position: absolute;
  bottom: 17px; /* Sit on ground */
  left: 20px;
  width: 50px;
  height: 50px;
  z-index: 20;
}

.teaser-goat-inner {
  width: 100%;
  height: 100%;
  animation: goatBounce 0.4s infinite alternate cubic-bezier(0.4, 0, 0.6, 1);
  transform-origin: bottom center;
}

@keyframes goatBounce {
  0% { transform: translateY(0) scaleY(0.95); }
  100% { transform: translateY(-12px) scaleY(1.05); }
}

/* PARALLAX LAYERS */
.teaser-layer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.scroll-track {
  display: flex;
  width: max-content;
}

.mountain-set {
  display: flex;
}

.scroll-slow { animation: scrollSeamless 60s linear infinite; }

@keyframes scrollSeamless {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

/* MOUNTAINS */
.mountain-item {
  flex: 0 0 auto;
  width: 300px;
  height: 70px;
  margin-top: 35px;
  opacity: 0.6;
}

/* TREES REMOVED */

/* CLOUDS */
.teaser-clouds {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5;
}

.cloud { position: absolute; font-size: 1.5rem; opacity: 0.8; animation: moveCloud linear infinite; }
@keyframes moveCloud {
  from { transform: translateX(100vw); }
  to { transform: translateX(-150px); }
}
.cloud-1 { top: 10px; left: 10%; animation-duration: 150s; }
.cloud-2 { top: 25px; left: 60%; animation-duration: 200s; animation-delay: -50s; }
.cloud-3 { top: 5px; left: -10%; animation-duration: 180s; animation-delay: -100s; }

/* BEES */
.layer-bees { z-index: 25; }
.bee {
  position: absolute;
  width: 25px; height: 25px;
  animation: beeFly 6s linear infinite;
  right: -50px;
}
.bee-1 { top: 30px; animation-duration: 7s; }
.bee-2 { top: 50px; animation-delay: 3s; animation-duration: 5s; }

@keyframes beeFly {
  0% { transform: translate(0, 0) scaleX(-1); } /* Flying from right to left, facing left */
  25% { transform: translate(-300px, -15px) scaleX(-1); }
  50% { transform: translate(-600px, 10px) scaleX(-1); }
  75% { transform: translate(-900px, -20px) scaleX(-1); }
  100% { transform: translate(-1200px, 0) scaleX(-1); }
}

/* ACTION BUTTON */
.teaser-action {
  position: relative;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
  padding: 0 0 0 20px;
}

.teaser-btn {
  background: var(--bg-card);
  color: var(--primary-main);
  border: 2px solid var(--primary-main);
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.teaser-btn:hover {
  background: var(--primary-main);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(107, 142, 35, 0.4);
}
.char-select-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: charSelectFadeIn 0.4s ease-out forwards;
}

@keyframes charSelectFadeIn {
  from { opacity: 0; backdrop-filter: blur(0px); }
  to { opacity: 1; backdrop-filter: blur(8px); }
}

.char-select-modal {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(255,255,255,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 24px;
  padding: 35px 25px;
  width: 95%;
  max-width: 650px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(218, 165, 32, 0.15);
  position: relative;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  animation: charSelectScaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s forwards;
}

@keyframes charSelectScaleUp {
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.char-select-close {
  position: absolute;
  top: 15px; right: 15px;
  background: none; border: none;
  font-size: 1.5rem; color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.char-select-close:hover { color: var(--text-main); }

.char-select-title { margin: 0 0 5px 0; font-size: 1.8rem; color: var(--text-main); }
.char-select-subtitle { margin: 0 0 20px 0; color: var(--text-muted); font-size: 0.95rem; }

.char-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 -15px;
}

.char-nav-btn {
  background: white;
  border: 1px solid var(--border-color);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--primary-main);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  position: absolute;
  z-index: 10;
  transition: transform 0.2s, background 0.2s;
}

.char-nav-btn:hover { background: var(--bg-hover); transform: scale(1.1); }
.char-nav-btn.left { left: 0; transform: translateX(-50%); }
.char-nav-btn.right { right: 0; transform: translateX(50%); }

.char-slider {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 15px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.char-slider::-webkit-scrollbar { display: none; }
.char-slider { -ms-overflow-style: none; scrollbar-width: none; }

.char-card {
  flex: 0 0 150px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(0,0,0,0.05);
  border-radius: 20px;
  padding: 20px 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
  overflow: hidden;
}

.char-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
  opacity: 0; transition: opacity 0.3s;
  z-index: 0; pointer-events: none;
}

.char-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: rgba(218, 165, 32, 0.5); /* Gold tint border */
  background: white;
}

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

.char-card.selected {
  border-color: var(--primary-main);
  background: linear-gradient(180deg, white 0%, var(--bg-hover) 100%);
  box-shadow: 0 15px 30px rgba(107, 142, 35, 0.2), 0 0 0 4px rgba(107, 142, 35, 0.15);
  transform: translateY(-8px) scale(1.05);
}

.char-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  border: 4px solid white;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  z-index: 1;
  background: white;
  transition: transform 0.3s ease;
}

.char-card.selected .char-avatar {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(107, 142, 35, 0.3);
  border-color: var(--primary-light);
}

.char-name {
  font-weight: 800;
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 5px;
  z-index: 1;
}

.char-title {
  font-size: 0.8rem;
  color: var(--primary-main);
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 1;
}

.char-select-footer {
  margin-top: 30px;
}

.char-start-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 16px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--primary-main) 0%, var(--primary-dark) 100%);
  border: none;
  color: white;
  box-shadow: 0 8px 20px rgba(107, 142, 35, 0.4);
  transition: all 0.3s ease;
}

.char-start-btn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(107, 142, 35, 0.6);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-main) 100%);
}

.char-start-btn:disabled {
  opacity: 0.6; cursor: not-allowed;
  background: #ccc;
  box-shadow: none;
  color: #666;
}

@media (max-width: 600px) {
  .char-nav-btn { display: none; } /* Mobile uses touch scroll */
  .char-select-modal { padding: 20px 15px; }
}
