/* 💛 KINDERZIMMER – Original Design mit bunten Feature-Cards */

/* Helper Bar ausblenden */
body.page-kids #helperBar {
  display: none !important;
}

/* Basis-Styles */
body.page-kids {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-image: url('/static/img/kids_heidi.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: 'Baloo 2', 'Arial', sans-serif;
  position: relative;
}

/* Overlay für bessere Lesbarkeit */
body.page-kids::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(102, 126, 234, 0.3);
  z-index: 0;
  pointer-events: none;
}

body.page-kids > * {
  position: relative;
  z-index: 1;
}

body.page-kids main {
  margin: 0;
  padding: 0;
}

/* Haupt-Container */
.kids-room {
  min-height: 100vh;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* HERO SECTION */
.kids-room__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

.kids-room__hero-content {
  text-align: center;
  width: 100%;
}

.kids-room__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #667eea;
  margin: 0 0 10px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.kids-room__subtitle {
  font-size: 1.2rem;
  color: #666;
  margin: 0 0 20px 0;
}

/* Call Room Button */
.kids-room__call-room-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 30px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  text-decoration: none;
  border-radius: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 20px auto;
  max-width: 400px;
}

.kids-room__call-room-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 87, 108, 0.5);
}

.kids-room__call-room-icon {
  font-size: 2rem;
}

.kids-room__call-room-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.kids-room__call-room-text strong {
  font-size: 1.3rem;
}

.kids-room__call-room-text span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Helper Strip */
.kids-room__helpers {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

/* Voice Status */
.kids-room__voice-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 20px;
  margin-top: 15px;
}

.kids-room__voice-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4caf50;
  animation: pulse 2s infinite;
}

.kids-room__voice-status.is-idle .kids-room__voice-dot {
  background: #ff9800;
}

.kids-room__voice-status.is-speaking .kids-room__voice-dot {
  background: #f5576c;
  animation: pulse 0.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.kids-room__voice-text {
  font-size: 1rem;
  color: #333;
}

/* Avatar Container */
.kids-room__avatar-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 20px auto;
}

.kids-room__character-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #667eea;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.kids-room__character-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FEATURES SECTION */
.kids-room__features-section {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

.kids-room__features-title {
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
  text-align: center;
  margin: 0 0 30px 0;
}

.kids-room__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Feature Cards - JEDE mit eigener Farbe */
.kids-room__feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 25px 15px;
  color: white;
  text-decoration: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.kids-room__feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  opacity: 0.9;
  z-index: 0;
}

.kids-room__feature-card > * {
  position: relative;
  z-index: 1;
}

.kids-room__feature-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Geschichten - Blau */
.kids-room__feature-card:nth-child(1) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Lernen - Grün */
.kids-room__feature-card:nth-child(2) {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

/* Spiele - Orange */
.kids-room__feature-card:nth-child(3) {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Musik - Lila */
.kids-room__feature-card:nth-child(4) {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #333;
}

/* Malen - Gelb */
.kids-room__feature-card:nth-child(5) {
  background: linear-gradient(135deg, #fad961 0%, #f76b1c 100%);
}

/* Sprachen - Türkis */
.kids-room__feature-card:nth-child(6) {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.kids-room__feature-icon {
  font-size: 3rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.kids-room__feature-label {
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Stars Badge */
.kids-room__stars {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #667eea;
  padding: 15px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 15px;
}

/* STAGE SECTION */
.kids-room__stage {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-height: 200px;
}

.kids-room__stage-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #666;
  text-align: center;
}

.kids-room__stage-placeholder-icon {
  font-size: 4rem;
}

.kids-room__stage-placeholder p {
  font-size: 1.2rem;
  margin: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .kids-room {
    padding: 15px;
  }

  .kids-room__hero {
    padding: 20px 15px;
  }

  .kids-room__title {
    font-size: 2rem;
  }

  .kids-room__subtitle {
    font-size: 1rem;
  }

  .kids-room__call-room-btn {
    flex-direction: column;
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .kids-room__call-room-text {
    text-align: center;
  }

  .kids-room__features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .kids-room__feature-card {
    padding: 20px 10px;
  }

  .kids-room__feature-icon {
    font-size: 2.5rem;
  }

  .kids-room__feature-label {
    font-size: 1rem;
  }

  .kids-room__avatar-container {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .kids-room__title {
    font-size: 1.5rem;
  }

  .kids-room__features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .kids-room__feature-card {
    padding: 15px 8px;
  }

  .kids-room__feature-icon {
    font-size: 2rem;
  }

  .kids-room__feature-label {
    font-size: 0.9rem;
  }
}
