/* ROOT */
.lifeskills-root {
  min-height: 100vh;
  background: radial-gradient(circle at top, #3A1C7A 0%, #1B0E3A 40%, #0A0414 100%);
  color: #F8F5FF;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 10px 10px 16px;
}

/* HEADER */
.ls-header {
  text-align: center;
  margin-bottom: 6px;
}

.ls-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #F4D57E;
}

.ls-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
}

/* HERO AREA: TREE + TANUKI */
.ls-hero {
  width: 100%;
  height: 32vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.ls-tree-container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 40%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
}

.ls-tree {
  width: 120px;
  height: 80px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #7BE4A2 0%, #2D7A4A 60%, transparent 100%);
  opacity: 0.4;
  filter: blur(2px);
}

/* Tanuki */
.ls-tanuki-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.ls-tanuki-img {
  width: 60%;
  max-width: 260px;
  height: auto;
  animation: tanuki-breathe 4.5s ease-in-out infinite;
}

/* MAIN CARD AREA */
.ls-main {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-top: 4px;
}

.ls-card {
  width: 100%;
  max-width: 420px;
  padding: 10px 10px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #0D071A, #1B0E3A);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.45),
    0 0 10px rgba(194, 123, 255, 0.35);
}

.ls-card-title {
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  color: #EBD7FF;
  margin-bottom: 4px;
}

.ls-card-desc {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  color: rgba(248, 245, 255, 0.85);
  margin-bottom: 8px;
}

/* Interaction area */
.ls-interaction {
  width: 100%;
  min-height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

/* Action button */
.ls-action-btn {
  width: 100%;
  padding: 8px 0;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #5C3BFF, #C27BFF);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(194, 123, 255, 0.7);
  cursor: pointer;
}

/* Tanuki message */
.ls-tanuki-message {
  margin-top: 6px;
  font-size: 0.8rem;
  text-align: center;
  opacity: 0.9;
}

/* FOOTER */
.ls-footer {
  width: 100%;
  max-width: 420px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 0.8rem;
}

.ls-seeds {
  opacity: 0.9;
}

.ls-exit-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #3A1C7A, #5C3BFF);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.5),
    0 0 8px rgba(194, 123, 255, 0.6);
}

/* Simple interaction visuals */
.ls-slider-track {
  width: 80%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.ls-slider-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #5CFFB0, #C2FF7B);
  transition: width 0.2s ease;
}

.ls-pill-options {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.ls-pill {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.25);
}

.ls-pill.selected {
  background: linear-gradient(135deg, #5C3BFF, #C27BFF);
}

/* ANIMATIONS */
@keyframes tanuki-breathe {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-4px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}
/* Image-tap console interaction */
.ls-image-tap-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.ls-image-tap-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* Hotspots over items on the console */
.ls-hotspot {
  position: absolute;
  width: 18%;
  height: 22%;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.ls-hotspot.selected {
  background: rgba(194, 123, 255, 0.45);
  border-color: #C27BFF;
  box-shadow: 0 0 10px rgba(194, 123, 255, 0.7);
}
