/* ===========================================
   CARL SAGAN KIDS WEBSITE - MODERN REDESIGN
   =========================================== */

/* === CUSTOM PROPERTIES === */
:root {
  /* Professional Educational Colors */
  --primary-blue: #1e40af;      /* Deep professional blue */
  --secondary-blue: #3b82f6;    /* Bright blue for accents */
  --accent-purple: #6366f1;     /* Modern purple for highlights */
  --success-green: #059669;     /* Success states */
  --warning-orange: #ea580c;    /* Warning states */
  --space-navy: #1e293b;        /* Dark navy for depth */
  --cosmic-indigo: #312e81;     /* Rich indigo */
  --star-gold: #f59e0b;         /* Warm gold for stars */
  --galaxy-teal: #0f766e;       /* Professional teal */
  --nebula-violet: #7c3aed;     /* Elegant violet */

  /* Solid Background Colors - ZERO TRANSPARENCY */
  --bg-primary: #0f172a;        /* Solid dark slate */
  --bg-secondary: #1e293b;      /* Solid slate gray */
  --bg-card: #334155;           /* Solid card background */
  --bg-card-hover: #475569;     /* Solid hover state */
  --bg-card-active: #64748b;    /* Solid active state */
  --bg-surface: #475569;        /* Solid surface color */
  --bg-elevated: #64748b;       /* Elevated surfaces */
  --bg-modal: #1e293b;          /* Modal backgrounds */
  --bg-overlay: #0f172a;        /* Overlay backgrounds */
  --bg-white: #ffffff;          /* Pure white backgrounds */
  --bg-light-gray: #f8fafc;     /* Light backgrounds */
  --bg-photo: #ffffff;          /* Photo container backgrounds */

  /* Professional High Contrast Text */
  --text-primary: #ffffff;      /* Pure white text */
  --text-secondary: #f1f5f9;    /* Light gray text */
  --text-accent: #60a5fa;       /* Accessible blue */
  --text-muted: #94a3b8;        /* Muted text */
  --text-success: #10b981;      /* Success text */
  --text-warning: #f59e0b;      /* Warning text */
  --text-error: #ef4444;        /* Error text */
  --text-info: #06b6d4;         /* Info text */
  --text-dark: #1f2937;         /* Dark text for light backgrounds */

  /* Professional Title Colors */
  --title-primary: #ffffff;     /* Clean white for main titles */
  --title-secondary: #60a5fa;   /* Professional blue for section titles */
  --title-accent: #8b5cf6;      /* Modern purple for special titles */
  --title-hero: #fbbf24;        /* Hero title color */

  /* Solid Shadows - NO TRANSPARENCY */
  --shadow-solid-dark: 0 4px 12px #000000;
  --shadow-solid-medium: 0 8px 25px #000000;
  --shadow-solid-strong: 0 15px 35px #000000;
  --shadow-solid-blue: 0 0 20px #1e40af;
  --shadow-solid-purple: 0 0 20px #6366f1;
  --shadow-solid-green: 0 0 20px #059669;

  /* Professional Educational Typography */
  --font-primary: 'Nunito', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Fredoka One', 'Poppins', 'Inter', sans-serif;
  --font-header: 'Righteous', 'Poppins', 'Inter', sans-serif;
  --font-reading: 'Nunito', 'Open Sans', 'Inter', sans-serif;
  --font-playful: 'Bubblegum Sans', 'Nunito', sans-serif;

  /* Tamaños de fuente optimizados para niños */
  --text-xs: 0.875rem;   /* 14px */
  --text-sm: 1rem;       /* 16px */
  --text-base: 1.125rem; /* 18px */
  --text-lg: 1.25rem;    /* 20px */
  --text-xl: 1.5rem;     /* 24px */
  --text-2xl: 1.875rem;  /* 30px */
  --text-3xl: 2.25rem;   /* 36px */
  --text-4xl: 3rem;      /* 48px */
  --text-5xl: 3.75rem;   /* 60px */

  /* Espaciado */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Bordes */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transiciones */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Efectos de hover para niños */
  --hover-lift: translateY(-4px) scale(1.02);
  --hover-bounce: translateY(-8px) scale(1.05);
  --hover-wiggle: rotate(-2deg) scale(1.05);
}

/* === BASE RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

/* === BODY & LAYOUT === */
body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  font-weight: 400;
  letter-spacing: 0.01em;

  /* SOLID Professional Educational Background - ZERO TRANSPARENCY */
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
  background-attachment: fixed;

  /* Ensure no transparency bleeding */
  background-color: var(--bg-primary);
}

/* === PROFESSIONAL BACKGROUND STARS === */
.stars, .stars2, .stars3 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -10;
  /* Ensure stars stay behind all content */
}

/* SOLID Star Patterns - NO TRANSPARENCY */
.stars {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="3" height="3"><circle cx="1.5" cy="1.5" r="0.4" fill="white"/></svg>');
  background-size: 150px 150px;
  background-repeat: repeat;
  animation: gentle-twinkle 120s linear infinite;
}

.stars2 {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><circle cx="2" cy="2" r="0.5" fill="%2360a5fa"/></svg>');
  background-size: 250px 250px;
  background-repeat: repeat;
  animation: gentle-twinkle 180s linear infinite reverse;
}

.stars3 {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="5"><circle cx="2.5" cy="2.5" r="0.6" fill="%23fbbf24"/></svg>');
  background-size: 350px 350px;
  background-repeat: repeat;
  animation: gentle-twinkle 220s linear infinite;
}

@keyframes gentle-twinkle {
  0% {
    transform: translateY(0) translateX(0);
    /* NO OPACITY CHANGES - Keep solid */
  }
  50% {
    transform: translateY(-200px) translateX(50px);
  }
  100% {
    transform: translateY(-400px) translateX(100px);
  }
}

/* === HEADER REMOVIDO COMPLETAMENTE === */

/* === TÍTULO GRANDE EN DOS LÍNEAS === */
.big-title {
  font-family: var(--font-header);
  text-align: center;
  margin: 40px 0 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.title-line-1 {
  font-size: clamp(3em, 8vw, 6em);
  color: var(--title-hero);
  font-weight: 300;
  text-shadow: 0 3px 15px #1e40af;
  letter-spacing: 0.05em;
  display: block;
  animation: titleGlow1 3s ease-in-out infinite;
}

.title-line-2 {
  font-size: clamp(4em, 10vw, 8em);
  color: var(--star-gold);
  font-weight: 700;
  text-shadow: 0 4px 20px #ea580c;
  letter-spacing: -0.02em;
  display: block;
  animation: titleGlow2 3s ease-in-out infinite alternate;
}

@keyframes titleGlow1 {
  0%, 100% {
    text-shadow: 0 3px 15px var(--primary-blue);
    transform: translateY(0px);
  }
  50% {
    text-shadow: 0 3px 25px var(--secondary-blue);
    transform: translateY(-3px);
  }
}

@keyframes titleGlow2 {
  0%, 100% {
    text-shadow: 0 4px 20px var(--warning-orange);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 4px 30px var(--star-gold);
    transform: scale(1.02);
  }
}

/* Removed old neon keyframe animations for cleaner design */

/* Animaciones de título removidas */
}

/* === MAIN CONTAINER === */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
  position: relative;
  /* Ensure main content is above background stars */
  z-index: 100;
  /* Solid background to prevent any bleed-through */
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  min-height: 100vh;
}

/* Professional section separators with solid backgrounds */
.main-container > section {
  margin-bottom: var(--space-20);
  padding: var(--space-16);
  border-bottom: 3px solid var(--text-accent);
  /* Ensure all sections have solid backgrounds */
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-solid-medium);
  position: relative;
  z-index: 150;
}

.main-container > section:last-child {
  border-bottom: 3px solid var(--text-accent);
  margin-bottom: var(--space-8);
}

/* === HERO SECTION === */
.hero-section {
  margin-bottom: var(--space-16);
}

/* === CARL PHOTO CAROUSEL - PROFESSIONAL SOLID DESIGN === */
.carl-photo-carousel {
  margin-bottom: var(--space-12);
  /* SOLID background - NO transparency */
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 3px solid var(--secondary-blue);
  box-shadow: var(--shadow-solid-blue);
  position: relative;
  overflow: hidden;
  /* Ensure photos have solid backing */
  z-index: 10;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgb(0, 0, 0);
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-slow);
  height: 100%;
  width: 300%; /* 3 slides */
}

.carousel-slide {
  width: 33.333%; /* 1/3 del track para 3 slides */
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  transition: opacity var(--transition-normal);
  background: rgb(20, 20, 40);
  z-index: 5;
}

.carousel-slide.active {
  opacity: 1;
}

.carl-photo {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-solid-medium);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* SOLID white background for photos - NO transparency */
  background: var(--bg-photo);
  z-index: 10;
  /* Ensure complete opacity */
  border: 2px solid var(--text-accent);
}

.carl-photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal);
}

.carousel-slide:hover .carl-photo img {
  transform: scale(1.05);
}


/* Botones de navegación */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* SOLID background - NO transparency */
  background: var(--secondary-blue);
  border: 2px solid var(--primary-blue);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--text-primary);
  font-size: var(--text-xl);
  font-weight: bold;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 10;
  box-shadow: var(--shadow-solid-medium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  background: var(--primary-blue);
  box-shadow: var(--shadow-solid-blue);
  border-color: var(--accent-purple);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

/* Indicadores */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--secondary-blue);
  /* SOLID background - NO transparency */
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.indicator.active {
  background: var(--secondary-blue);
  transform: scale(1.2);
  box-shadow: var(--shadow-solid-blue);
  border-color: var(--primary-blue);
}

.indicator:hover {
  transform: scale(1.1);
  background: var(--text-accent);
  border-color: var(--accent-purple);
}

/* Efectos especiales para el carousel */
.carl-photo-carousel::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--electric-cyan), var(--nebula-pink), var(--star-gold), var(--electric-cyan));
  border-radius: var(--radius-2xl);
  z-index: -1;
  animation: carousel-border-glow 3s linear infinite;
}

@keyframes carousel-border-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.carl-intro {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  background: linear-gradient(135deg, rgb(15, 15, 35), rgb(30, 30, 60));
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: 0 0 30px rgba(199, 125, 255, 0.4), var(--shadow-medium);
  border: 2px solid var(--galaxy-violet);
  transition: all var(--transition-normal);
}

.carl-intro:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: var(--text-secondary);
}

.carl-avatar {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--galaxy-violet), var(--nebula-pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  flex-shrink: 0;

  /* Anillo exterior brillante */
  border: 4px solid var(--text-secondary);
}

.carl-avatar::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--star-gold), transparent, var(--planet-blue));
  z-index: -1;
  animation: avatar-glow 3s linear infinite;
}

.avatar-emoji {
  font-size: 4rem;
  animation: avatar-bounce 2s ease-in-out infinite;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes avatar-glow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes avatar-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

.welcome-message h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--title-secondary);
  margin-bottom: var(--space-4);
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  letter-spacing: -0.01em;
}

.welcome-message p {
  font-family: var(--font-reading);
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  opacity: 1;
  margin-bottom: var(--space-6);
}

/* === PALE BLUE DOT SECTION === */
.pale-blue-dot-section {
  margin: var(--space-20) 0;
  background: linear-gradient(135deg, rgb(15, 15, 35), rgb(30, 30, 60));
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  border: 2px solid var(--electric-cyan);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), var(--shadow-strong);
  position: relative;
  z-index: 10;
}

.pale-blue-dot-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pale-blue-dot-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--title-primary);
  text-align: center;
  margin-bottom: var(--space-12);
  font-weight: 700;
  text-shadow: 0 3px 15px rgba(135, 206, 235, 0.6);
  letter-spacing: -0.02em;
}

.pale-blue-dot-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.pale-blue-dot-image-wrapper {
  position: relative;
  background: rgb(10, 10, 30);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-strong);
  border: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 15;
}

.pale-blue-dot-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-medium);
}

.pale-blue-dot-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid var(--electric-cyan);
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.2);
  animation: pale-blue-dot-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pale-blue-dot-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

.pale-blue-dot-text {
  background: rgb(20, 20, 40);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 2px solid var(--galaxy-violet);
  box-shadow: var(--shadow-medium);
  z-index: 15;
}

.pale-blue-dot-description {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--electric-cyan);
  margin-bottom: var(--space-6);
  font-weight: 600;
  text-align: center;
}

.pale-blue-dot-explanation {
  font-family: var(--font-reading);
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  font-weight: 400;
}

.pale-blue-dot-quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--star-gold);
  font-style: italic;
  text-align: center;
  padding: var(--space-4);
  border-left: 4px solid var(--star-gold);
  background: rgba(255, 214, 10, 0.1);
  border-radius: var(--radius-md);
  font-weight: 500;
}

/* Responsive design for Pale Blue Dot section */
@media (max-width: 768px) {
  .pale-blue-dot-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .pale-blue-dot-title {
    font-size: var(--text-3xl);
  }

  .pale-blue-dot-description {
    font-size: var(--text-xl);
  }

  .pale-blue-dot-explanation {
    font-size: var(--text-base);
  }

  .pale-blue-dot-quote {
    font-size: var(--text-lg);
  }

  .pale-blue-dot-section {
    margin: var(--space-16) 0;
    padding: var(--space-8);
  }
}

/* === ACTIVITIES SECTION === */
.activities-grid {
  margin: var(--space-16) 0;
}

.activities-title {
  font-family: var(--font-header);
  font-size: var(--text-4xl);
  color: var(--title-secondary);
  text-align: center;
  margin-bottom: var(--space-12);
  font-weight: 600;
  letter-spacing: -0.01em;
  /* SOLID text shadow - NO transparency */
  text-shadow: 0 2px 12px var(--primary-blue);
  border-bottom: 3px solid var(--title-secondary);
  padding-bottom: var(--space-4);
  display: inline-block;
  position: relative;
  transition: all var(--transition-normal);
  /* Professional educational styling */
  background: var(--bg-card);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 2px solid var(--text-accent);
  box-shadow: var(--shadow-solid-blue);
  width: 100%;
  grid-column: 1 / -1;
}

@keyframes activities-sparkle {
  0%, 100% {
    text-shadow:
      0 0 10px #9400d3,
      0 0 20px #9400d3,
      0 0 30px #9400d3,
      0 0 40px #ff1493,
      3px 3px 0px #000,
      6px 6px 0px rgba(0, 0, 0, 0.4);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 15px #9400d3,
      0 0 30px #9400d3,
      0 0 45px #9400d3,
      0 0 60px #ff1493,
      0 0 75px #00bfff,
      0 0 90px #ffd700,
      3px 3px 0px #000,
      6px 6px 0px rgba(0, 0, 0, 0.4);
    transform: scale(1.02);
  }
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  grid-template-rows: auto 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4);
  /* Ensure grid is above background elements */
  position: relative;
  z-index: 200;
}

.activities-title {
  grid-column: 1 / -1;
}

.activity-card {
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* SOLID backgrounds - NO transparency or backdrop filters */
  border: 3px solid var(--text-accent);
  /* Ensure cards are completely opaque */
  z-index: 100;
  /* Solid shadow without transparency */
  box-shadow: var(--shadow-solid-medium);
}

/* Efectos específicos por tipo de actividad - SIN TRANSPARENCIA */
.game-card {
  background: var(--accent-purple);
  border-color: var(--nebula-violet);
  box-shadow: var(--shadow-solid-purple);
  color: var(--text-primary);
}

.story-card {
  background: var(--primary-blue);
  border-color: var(--secondary-blue);
  box-shadow: var(--shadow-solid-blue);
  color: var(--text-primary);
}

.videos-card {
  background: var(--warning-orange);
  border-color: var(--star-gold);
  box-shadow: 0 0 20px var(--warning-orange);
  color: var(--text-primary);
}

.chat-card {
  background: var(--success-green);
  border-color: var(--galaxy-teal);
  box-shadow: var(--shadow-solid-green);
  color: var(--text-primary);
}

.audiostory-card {
  background: var(--cosmic-indigo);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-solid-purple);
  color: var(--text-primary);
}

.biography-card {
  background: var(--galaxy-teal);
  border-color: var(--success-green);
  box-shadow: var(--shadow-solid-green);
  color: var(--text-primary);
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  /* SOLID shimmer effect - NO transparency */
  background: linear-gradient(90deg, transparent, var(--bg-elevated), transparent);
  transition: all var(--transition-slow);
  /* Ensure shimmer doesn't interfere with card content */
  z-index: -1;
}

.activity-card:hover::before {
  left: 100%;
}

.activity-card:hover {
  transform: var(--hover-bounce);
  filter: brightness(1.1) saturate(1.2);
}

.activity-card:active {
  transform: translateY(-2px) scale(0.98);
}

.card-icon {
  font-size: 5rem;
  margin-bottom: var(--space-4);
  animation: icon-float 2s ease-in-out infinite;
  filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
  user-select: none;
}

@keyframes icon-float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.05);
  }
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.3;
}

.card-description {
  font-family: var(--font-reading);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.65;
  font-weight: 400;
  flex-grow: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

.activity-btn {
  background: linear-gradient(135deg, var(--text-accent), var(--title-accent));
  color: white;
  border: none;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: var(--shadow-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  min-height: 56px;

  /* Efecto tactil para niños */
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.activity-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--bg-elevated);
  border-radius: 50%;
  transition: all var(--transition-fast);
  transform: translate(-50%, -50%);
}

.activity-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, var(--title-accent), var(--text-accent));
}

.activity-btn:active::before {
  width: 300px;
  height: 300px;
}

.activity-btn:focus {
  outline: 3px solid var(--text-accent);
  outline-offset: 2px;
}

/* Botones específicos por tipo */
.game-btn {
  background: linear-gradient(135deg, var(--cosmic-purple), var(--galaxy-violet));
}

.story-btn {
  background: linear-gradient(135deg, var(--nebula-pink), #be185d);
}

.videos-btn {
  background: linear-gradient(135deg, var(--galaxy-violet), #7c3aed);
}

.chat-btn {
  background: linear-gradient(135deg, var(--star-gold), #d97706);
}

.audiostory-btn {
  background: linear-gradient(135deg, var(--galaxy-violet), #9d4edd);
}

.biography-btn {
  background: linear-gradient(135deg, var(--neon-green), #32cd32);
}

/* === CONTENT SECTIONS === */
.content-section {
  background: linear-gradient(135deg, rgb(15, 15, 35), rgb(30, 30, 60));
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  margin-bottom: var(--space-8);
  border: 2px solid var(--cosmic-purple);
  box-shadow: 0 0 25px rgba(147, 51, 234, 0.4), var(--shadow-medium);
  animation: fade-in-up 0.6s ease-out;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none !important;
}

.section-title {
  font-family: var(--font-header);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-8);
  text-align: center;
  letter-spacing: -0.01em;
  color: var(--title-accent);
  font-weight: 600;
  text-transform: none;
  text-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
  position: relative;
  padding-bottom: var(--space-3);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--title-accent), transparent);
  border-radius: var(--radius-full);
}

@keyframes section-shine {
  0%, 100% {
    text-shadow:
      0 0 10px #32cd32,
      0 0 20px #32cd32,
      0 0 30px #32cd32,
      0 0 40px #ff4500,
      3px 3px 0px #000,
      6px 6px 0px rgba(0, 0, 0, 0.4);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 15px #32cd32,
      0 0 30px #32cd32,
      0 0 45px #32cd32,
      0 0 60px #ff4500,
      0 0 75px #ff1493,
      0 0 90px #00bfff,
      3px 3px 0px #000,
      6px 6px 0px rgba(0, 0, 0, 0.4);
    transform: scale(1.03);
  }
}

.modern-back-btn {
  background: var(--text-error);
  color: var(--text-primary);
  border: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-soft);
  min-height: 44px;
}

/* Game section specific styling for full screen mode */
#juego-section .modern-back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1002;
  margin-bottom: 0;
}

#juego-section .section-title {
  display: none;
}

.modern-back-btn:hover {
  transform: translateX(-4px) scale(1.05);
  box-shadow: var(--shadow-medium);
}

.modern-container {
  background: rgb(15, 15, 35);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--text-muted);
}

/* === GAME & STORY CONTAINERS === */
.game-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: #000;
}

.story-container {
  width: 100%;
  height: 600px;
  min-height: 400px;
  position: relative;
}

#juego-iframe {
  width: 100vw;
  height: 100vh;
  border: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
}

#cuento-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* === SONGS SECTION === */
.songs-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.modern-song-card {
  background: var(--bg-glass);
  /* Backdrop filters removed for solid design */
  /* Webkit backdrop filters removed for solid design */
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--text-muted);
  transition: all var(--transition-normal);
}

.modern-song-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  border-color: var(--text-accent);
}

.song-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--text-accent);
  margin: 0;
  flex: 1;
}

.modern-audio-player {
  flex-shrink: 0;
  width: 300px;
  height: 48px;
  border-radius: var(--radius-lg);

  /* Estilos personalizados para el player */
  filter: hue-rotate(270deg) brightness(1.2);
  background: var(--bg-glass);
}

.modern-audio-player::-webkit-media-controls {
  background: var(--bg-glass);
  border-radius: var(--radius-lg);
}

/* === CARLITO AGENT SECTION === */
.voice-agent-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.agent-info-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
  align-items: start;
}

.agent-info {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .agent-info-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.agent-avatar {
  margin-bottom: var(--space-6);
}

.agent-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.5));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.agent-avatar h3 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--neon-green);
  margin-bottom: var(--space-2);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.agent-avatar p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  font-weight: 500;
}

.modern-chat-area {
  flex: 1;
  overflow-y: auto;
  background: rgb(15, 15, 35);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--text-muted);

  /* Scroll personalizado */
  scrollbar-width: thin;
  scrollbar-color: var(--galaxy-violet) transparent;
}

.modern-chat-area::-webkit-scrollbar {
  width: 6px;
}

.modern-chat-area::-webkit-scrollbar-track {
  background: transparent;
}

.modern-chat-area::-webkit-scrollbar-thumb {
  background: var(--galaxy-violet);
  border-radius: var(--radius-full);
}

.message {
  margin-bottom: var(--space-4);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  max-width: 85%;
  animation: message-slide-in 0.4s ease-out;
  box-shadow: var(--shadow-soft);
  font-size: var(--text-base);
  line-height: 1.6;
}

@keyframes message-slide-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.user-message {
  background: linear-gradient(135deg, var(--cosmic-purple), var(--galaxy-violet));
  margin-left: auto;
  border-bottom-right-radius: var(--radius-sm);
}

.carl-message {
  background: linear-gradient(135deg, var(--nebula-pink), #be185d);
  margin-right: auto;
  border-bottom-left-radius: var(--radius-sm);
}

.modern-input-area {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.modern-chat-input {
  flex: 1;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  border: 2px solid var(--text-accent);
  background: var(--bg-glass);
  /* Backdrop filters removed for solid design */
  /* Webkit backdrop filters removed for solid design */
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: all var(--transition-normal);
  min-height: 52px;
}

.modern-chat-input:focus {
  outline: none;
  border-color: var(--text-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: var(--bg-card);
}

.modern-chat-input::placeholder {
  color: var(--text-muted);
}

.modern-send-btn, .modern-speak-btn {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: none;
  background: linear-gradient(135deg, var(--text-accent), var(--title-accent));
  color: white;
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-width: 52px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.modern-send-btn:hover, .modern-speak-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

.modern-speak-btn {
  background: linear-gradient(135deg, var(--star-gold), #d97706);
  font-size: var(--text-lg);
}

.modern-config-area {
  background: rgb(15, 15, 35);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid var(--text-muted);
}

.config-label {
  color: var(--text-accent);
  font-size: var(--text-sm);
  font-weight: 600;
}

.config-input {
  flex: 1;
  min-width: 200px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--text-secondary);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.config-btn {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  border: none;
  background: linear-gradient(135deg, #059669, #047857);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.config-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-soft);
}

/* === CHAT MODE SELECTOR === */
.chat-mode-selector {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  justify-content: center;
  background: rgb(15, 15, 35);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--text-muted);
}

.mode-btn {
  background: var(--bg-glass);
  border: 2px solid var(--text-accent);
  color: var(--text-secondary);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--text-base);
  min-width: 150px;
  justify-content: center;
  /* Backdrop filters removed for solid design */
}

.mode-btn:hover {
  transform: translateY(-2px);
  border-color: var(--text-accent);
  background: var(--bg-surface);
  color: var(--text-primary);
}

.mode-btn.active {
  background: linear-gradient(135deg, var(--text-accent), var(--title-accent));
  border-color: var(--text-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mode-icon {
  font-size: var(--text-lg);
}

/* === VOICE CHAT CONTAINER === */
.voice-chat-container {
  text-align: center;
  padding: var(--space-8);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.voice-chat-info {
  margin-bottom: var(--space-8);
}

.carlito-avatar {
  margin-bottom: var(--space-6);
}

.avatar-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, var(--star-gold), var(--nebula-pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 214, 10, 0.4);
  border: 4px solid var(--text-secondary);
}

.avatar-emoji {
  font-size: 4rem;
  animation: avatar-pulse 3s ease-in-out infinite;
}

@keyframes avatar-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.voice-indicator {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  background: #64748b;
  border-radius: 50%;
  border: 3px solid var(--text-primary);
  transition: all var(--transition-normal);
}

.voice-indicator.listening {
  background: #ef4444;
  animation: pulse-red 1s ease-in-out infinite;
}

.voice-indicator.speaking {
  background: #22c55e;
  animation: pulse-green 1s ease-in-out infinite;
}

.voice-indicator.processing {
  background: #f59e0b;
  animation: spin-orange 1.5s linear infinite;
}

@keyframes pulse-red {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
  50% { transform: scale(1.2); box-shadow: 0 0 20px rgba(239, 68, 68, 0.8); }
}

@keyframes pulse-green {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
  50% { transform: scale(1.2); box-shadow: 0 0 20px rgba(34, 197, 94, 0.8); }
}

@keyframes spin-orange {
  0% {
    transform: rotate(0deg);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
  }
  100% {
    transform: rotate(360deg);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  }
}

.avatar-name {
  font-family: var(--font-header);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
  text-align: center;
  color: var(--title-accent);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
  transition: all var(--transition-normal);
}

.avatar-name:hover {
  transform: translateY(-1px);
  color: var(--text-accent);
}

@keyframes avatar-glow {
  0%, 100% {
    text-shadow:
      0 0 8px #ff69b4,
      0 0 16px #ff69b4,
      0 0 24px #40e0d0,
      2px 2px 0px #000,
      4px 4px 0px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow:
      0 0 12px #ff69b4,
      0 0 24px #ff69b4,
      0 0 36px #40e0d0,
      0 0 48px #ffd700,
      2px 2px 0px #000,
      4px 4px 0px rgba(0, 0, 0, 0.3);
  }
}

.avatar-description {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  margin: 0;
  font-weight: 500;
}

/* === VOICE STATUS === */
.voice-status {
  margin-bottom: var(--space-6);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.status-indicator.disconnected {
  background: var(--bg-surface);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.status-indicator.connecting {
  background: var(--warning-orange);
  color: var(--star-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-indicator.connected {
  background: var(--success-green);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-indicator.error {
  background: var(--text-error);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: status-pulse 2s ease-in-out infinite;
}

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

/* === VOICE CONTROLS === */
.voice-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.voice-control-btn {
  background: linear-gradient(135deg, var(--galaxy-violet), var(--cosmic-purple));
  border: 2px solid var(--electric-cyan);
  color: var(--text-primary);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--text-base);
  min-height: 56px;
  box-shadow: var(--shadow-medium);
}

.voice-control-btn:hover:not(.disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-strong);
  border-color: var(--star-gold);
}

.voice-control-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.connect-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.talk-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  user-select: none;
}

.talk-btn:active:not(.disabled) {
  transform: scale(0.98);
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.6), var(--shadow-strong);
  animation: recording-pulse 0.5s ease-in-out infinite;
}

@keyframes recording-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.6), var(--shadow-strong); }
  50% { box-shadow: 0 0 40px rgba(239, 68, 68, 0.9), 0 0 60px rgba(239, 68, 68, 0.4); }
}

.disconnect-btn {
  background: linear-gradient(135deg, #64748b, #475569);
}

.btn-icon {
  font-size: var(--text-lg);
}

/* === VOICE INSTRUCTIONS === */
.voice-instructions {
  margin-top: auto;
}

.instruction-card {
  background: var(--bg-glass);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--text-muted);
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.instruction-card h4 {
  color: var(--text-accent);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
}

.instruction-card ol {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  padding-left: var(--space-4);
}

.instruction-card li {
  margin-bottom: var(--space-1);
}

/* === AUDIO STORY SECTION === */
.audiostory-container {
  background: rgb(15, 15, 35);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--text-muted);
}

.audio-story-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.story-cover {
  background: linear-gradient(135deg, var(--galaxy-violet), var(--cosmic-purple));
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 20px rgba(199, 125, 255, 0.4);
  border: 2px solid var(--laser-red);
  min-width: 300px;
}

.cover-icon {
  font-size: 4rem;
  margin-bottom: var(--space-4);
  animation: icon-float 2s ease-in-out infinite;
}

.story-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.story-audio {
  width: 100%;
  max-width: 400px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  filter: hue-rotate(270deg) brightness(1.3) saturate(1.5);
}

.story-description {
  background: var(--bg-glass);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--text-muted);
  max-width: 500px;
}

.story-description p {
  font-family: var(--font-reading);
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
  opacity: 1;
}

/* === VIDEOS SECTION === */
.videos-container {
  background: rgb(15, 15, 35);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.video-info {
  text-align: center;
}

.series-description {
  background: var(--accent-purple);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.series-description h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--galaxy-violet);
  margin-bottom: var(--space-4);
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.series-description p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

.video-player-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.youtube-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4), var(--shadow-strong);
  border: 2px solid var(--galaxy-violet);
  background: #000;
}

.youtube-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

.video-description {
  background: var(--bg-glass);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.2);
  text-align: center;
}

.video-description h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--galaxy-violet);
  margin-bottom: var(--space-3);
  text-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

.video-description p {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.video-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

.feature-tag {
  background: linear-gradient(135deg, var(--galaxy-violet), #7c3aed);
  color: var(--text-primary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
  transition: all var(--transition-normal);
}

.feature-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

/* Efectos de carga para el video */
.youtube-container::before {
  content: '🌌 Cargando video...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--galaxy-violet);
  font-size: var(--text-lg);
  font-weight: 600;
  z-index: 1;
  pointer-events: none;
  animation: video-loading-pulse 2s ease-in-out infinite;
}

.youtube-container iframe {
  position: relative;
  z-index: 2;
}

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

/* === BIOGRAPHY SECTION === */
.biography-container {
  background: rgb(15, 15, 35);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.presentation-wrapper {
  width: 100%;
  background: rgb(15, 15, 35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 2px solid var(--neon-green);
  position: relative;
  transition: all var(--transition-normal);
}

.presentation-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.4), var(--shadow-strong);
  border-color: var(--star-gold);
}

/* Botón de enlace externo */
.external-link-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 4;
  opacity: 0;
  transition: all var(--transition-normal);
  transform: translateY(10px);
}

.presentation-wrapper:hover .external-link-overlay {
  opacity: 1;
  transform: translateY(0);
}

.external-link-btn {
  background: linear-gradient(135deg, var(--star-gold), #d97706);
  border: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  color: var(--space-indigo);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: all var(--transition-normal);
  box-shadow: 0 0 10px rgba(255, 214, 10, 0.4);
}

.external-link-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 214, 10, 0.6);
}

.external-icon {
  font-size: var(--text-sm);
  animation: link-pulse 2s ease-in-out infinite;
}

@keyframes link-pulse {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(15deg); }
}

.biography-iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
  background: #000;
}

.biography-info {
  display: flex;
  justify-content: center;
}

.info-card {
  background: var(--success-green);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(57, 255, 20, 0.3);
  max-width: 600px;
  text-align: center;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--neon-green);
  margin-bottom: var(--space-4);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.info-card p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.biography-highlights {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
}

.biography-highlights li {
  font-family: var(--font-reading);
  color: var(--text-secondary);
  font-size: var(--text-base);
  margin: var(--space-2) 0;
  padding-left: var(--space-4);
  position: relative;
  font-weight: 400;
  line-height: 1.6;
  opacity: 1;
}

.biography-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(57, 255, 20, 0.8);
}

/* Efecto de carga para el iframe */
.presentation-wrapper::before {
  content: '🚀 Cargando presentación...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--neon-green);
  font-size: var(--text-lg);
  font-weight: 600;
  z-index: 1;
  pointer-events: none;
  animation: loading-pulse 2s ease-in-out infinite;
}

.presentation-wrapper iframe {
  position: relative;
  z-index: 2;
}

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


/* === MODAL FULLSCREEN === */
.fullscreen-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.fullscreen-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  /* Backdrop filters removed for solid design */
  /* Webkit backdrop filters removed for solid design */
}

.modal-content {
  position: relative;
  width: 95vw;
  height: 95vh;
  max-width: 1200px;
  background: linear-gradient(135deg, rgb(15, 15, 35), rgb(30, 30, 60));
  border-radius: var(--radius-xl);
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 50px rgba(57, 255, 20, 0.4), var(--shadow-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-slide-in {
  0% {
    transform: translateY(-50px) scale(0.9);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-header {
  background: linear-gradient(90deg, var(--neon-green), #32cd32);
  padding: var(--space-4) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(57, 255, 20, 0.3);
  flex-shrink: 0;
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--space-indigo);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
}

.modal-icon {
  font-size: 1.2em;
  animation: modal-icon-glow 3s ease-in-out infinite;
}

@keyframes modal-icon-glow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(57, 255, 20, 0.8)); }
  50% { filter: drop-shadow(0 0 15px rgba(57, 255, 20, 1)); }
}

.modal-close {
  background: none;
  border: 2px solid var(--space-indigo);
  color: var(--space-indigo);
  font-size: var(--text-lg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  font-weight: bold;
}

.modal-close:hover {
  background: var(--space-indigo);
  color: var(--neon-green);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.modal-body {
  flex: 1;
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(15, 15, 35);
}

/* Opciones del modal fullscreen */
.fullscreen-options {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.option-card {
  background: var(--success-green);
  border: 2px solid var(--neon-green);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-width: 200px;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.option-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.4);
  border-color: var(--star-gold);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.2), rgba(50, 205, 50, 0.2));
}

.option-icon {
  font-size: 3rem;
  margin-bottom: var(--space-3);
  animation: option-float 3s ease-in-out infinite;
}

.option-card:nth-child(1) .option-icon {
  animation-delay: 0s;
}

.option-card:nth-child(2) .option-icon {
  animation-delay: 1.5s;
}

@keyframes option-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.option-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--neon-green);
  margin-bottom: var(--space-2);
}

.option-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin: 0;
}

.fullscreen-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  background: #000;
}

/* Efectos de borde para el modal */
.modal-content::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, var(--neon-green), var(--star-gold), var(--electric-cyan), var(--neon-green));
  border-radius: var(--radius-xl);
  z-index: -1;
  animation: modal-border-glow 4s linear infinite;
}

@keyframes modal-border-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* === FUN FACTS SECTION === */
.modern-facts {
  margin-top: var(--space-20);
  text-align: center;
  background: linear-gradient(135deg, rgb(15, 15, 35), rgb(30, 30, 60));
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  border: 2px solid var(--nebula-pink);
  box-shadow: 0 0 25px rgba(255, 0, 110, 0.4), var(--shadow-medium);
}

.facts-title {
  font-family: var(--font-header);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-8);
  letter-spacing: -0.01em;
  position: relative;
  text-align: center;
  color: var(--title-accent);
  font-weight: 700;
  text-shadow: 0 3px 12px rgba(99, 102, 241, 0.4);
  padding: 0 var(--space-16);
}

.facts-title::before {
  content: '🌌';
  position: absolute;
  left: var(--space-8);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  opacity: 1;
}

.facts-title::after {
  content: '🤩';
  position: absolute;
  right: var(--space-8);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  opacity: 1;
}

@keyframes facts-bounce {
  0%, 100% {
    transform: translateY(0);
    text-shadow:
      0 0 10px #ff4500,
      0 0 20px #ff4500,
      0 0 30px #ff4500,
      0 0 40px #ffd700,
      4px 4px 0px #000,
      8px 8px 0px rgba(0, 0, 0, 0.5);
  }
  50% {
    transform: translateY(-8px);
    text-shadow:
      0 0 15px #ff4500,
      0 0 30px #ff4500,
      0 0 45px #ff4500,
      0 0 60px #ffd700,
      0 0 75px #ff69b4,
      0 0 90px #00fa9a,
      4px 4px 0px #000,
      8px 8px 0px rgba(0, 0, 0, 0.5);
  }
}

@keyframes sparkle-left {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  25% {
    transform: translateY(-60%) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(0.9);
    opacity: 1;
  }
  75% {
    transform: translateY(-40%) scale(1.1);
    opacity: 1;
  }
}

@keyframes sparkle-right {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  25% {
    transform: translateY(-40%) scale(1.1);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(0.9);
    opacity: 1;
  }
  75% {
    transform: translateY(-60%) scale(1.2);
    opacity: 1;
  }
}

.modern-carousel {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 120px;
  align-items: center;
}

.modern-fact-card {
  position: absolute;
  background: var(--bg-glass-strong);
  /* Backdrop filters removed for solid design */
  /* Webkit backdrop filters removed for solid design */
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-xl);
  opacity: 0;
  transition: all var(--transition-slow);
  max-width: 700px;
  border: 1px solid var(--text-muted);
  box-shadow: var(--shadow-medium);
  transform: translateY(20px);
}

.modern-fact-card.active {
  opacity: 1;
  transform: translateY(0);
}

.fact-text {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
}

/* === FOOTER === */
.modern-footer {
  text-align: center;
  padding: var(--space-12) var(--space-4);
  background: linear-gradient(135deg, rgb(15, 15, 35), rgb(30, 30, 60));
  margin-top: var(--space-20);
  border-top: 2px solid var(--galaxy-violet);
  box-shadow: 0 0 20px rgba(199, 125, 255, 0.3), var(--shadow-soft);
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-text {
  color: var(--text-secondary);
  font-size: var(--text-base);
  margin: var(--space-2) 0;
  font-weight: 500;
}

/* === FLOATING ELEMENTS === */
.modern-floating {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -5;
}

.modern-planet, .modern-rocket, .modern-star, .modern-comet, .modern-astronaut {
  position: absolute;
  font-size: 2.5rem;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
  user-select: none;
}

.planet1 {
  top: 15%;
  left: 8%;
  animation: float-planet1 25s infinite;
}

.planet2 {
  top: 60%;
  right: 10%;
  animation: float-planet2 30s infinite;
}

.modern-rocket {
  bottom: 25%;
  left: 5%;
  animation: fly-rocket 35s infinite;
  font-size: 3rem;
}

.star1 {
  top: 35%;
  right: 25%;
  animation: twinkle-star 4s infinite;
}

.star2 {
  bottom: 45%;
  left: 20%;
  animation: twinkle-star 3s infinite;
}

.modern-comet {
  top: 10%;
  right: 5%;
  animation: comet-trail 40s infinite;
  font-size: 2rem;
}

.modern-astronaut {
  top: 70%;
  right: 15%;
  animation: astronaut-float 20s infinite;
  font-size: 2rem;
}

@keyframes float-planet1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(80px, -40px) scale(1.05);
  }
  50% {
    transform: translate(120px, 0) scale(1);
  }
  75% {
    transform: translate(60px, 40px) scale(0.95);
  }
}

@keyframes float-planet2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-100px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 70px) scale(0.9);
  }
}

@keyframes fly-rocket {
  0% {
    transform: translateX(-100px) translateY(50px) rotate(45deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100vw + 100px)) translateY(-50px) rotate(45deg) scale(1.2);
    opacity: 0;
  }
}

@keyframes twinkle-star {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  25% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  75% {
    opacity: 0.3;
    transform: scale(0.7);
  }
}

@keyframes comet-trail {
  0% {
    transform: translateX(100vw) translateY(-50px) rotate(45deg);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    transform: translateX(-100px) translateY(calc(100vh + 50px)) rotate(45deg);
    opacity: 0;
  }
}

@keyframes astronaut-float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  25% {
    transform: translateY(-25px) scale(1.02);
  }
  50% {
    transform: translateY(15px) scale(0.98);
  }
  75% {
    transform: translateY(-10px) scale(1.01);
  }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  :root {
    --text-4xl: 2.5rem;
    --text-3xl: 2rem;
    --text-2xl: 1.5rem;
    --space-8: 1.5rem;
    --space-12: 2rem;
  }

  .main-container {
    padding: var(--space-6) var(--space-3);
  }

  .carl-intro {
    flex-direction: column;
    text-align: center;
    gap: var(--space-6);
  }

  .carl-avatar {
    width: 150px;
    height: 150px;
  }

  .carousel-container {
    max-width: 95vw;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: var(--text-lg);
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }


  .avatar-emoji {
    font-size: 3rem;
  }

  .activities-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .activity-card {
    min-height: 250px;
    padding: var(--space-6);
  }

  .activities-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .biography-container {
    padding: var(--space-4);
  }

  .biography-iframe {
    height: 350px;
  }

  .info-card {
    padding: var(--space-4);
  }

  .biography-highlights {
    text-align: center;
  }

  .card-icon {
    font-size: 4rem;
  }

  .modern-song-card {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }

  .modern-audio-player {
    width: 100%;
    max-width: 300px;
  }

  .chat-container {
    height: 500px;
  }

  .modern-input-area {
    flex-wrap: wrap;
  }

  .modern-chat-input {
    min-width: 200px;
  }

  .modern-config-area {
    flex-direction: column;
    align-items: stretch;
  }

  .story-cover {
    min-width: auto;
    width: 100%;
  }

  .audio-story-player {
    gap: var(--space-4);
  }

  .config-input {
    min-width: auto;
  }

  .chat-mode-selector {
    flex-direction: column;
    gap: var(--space-2);
  }

  .mode-btn {
    min-width: auto;
  }

  .voice-chat-container {
    padding: var(--space-6);
    min-height: 400px;
  }

  .avatar-circle {
    width: 100px;
    height: 100px;
  }

  .avatar-emoji {
    font-size: 3rem;
  }

  .voice-controls {
    gap: var(--space-3);
  }

  .voice-control-btn {
    padding: var(--space-3) var(--space-4);
    min-height: 50px;
  }

  /* Elementos flotantes más pequeños en móvil */
  .modern-planet, .modern-star, .modern-comet, .modern-astronaut {
    font-size: 1.5rem;
  }

  .modern-rocket {
    font-size: 2rem;
  }

  /* Mejorar el tap en móvil */
  .activity-card:hover {
    transform: none;
  }

  .activity-card:active {
    transform: scale(0.95);
  }
}

@media (max-width: 480px) {
  /* Header removido */

  .content-section {
    padding: var(--space-8);
  }

  .game-container, .story-container {
    height: 400px;
  }

  .chat-container {
    height: 400px;
  }

  .modern-facts {
    padding: var(--space-8);
  }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .stars, .stars2, .stars3 {
    animation: none;
  }

  .modern-floating * {
    animation: none;
  }
}

@media (prefers-contrast: high) {
  :root {
    --bg-glass: rgba(0, 0, 0, 0.9);
    --bg-glass-strong: rgba(0, 0, 0, 0.95);
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --title-primary: #ffffff;
    --title-secondary: #ffffff;
    --title-accent: #ffffff;
  }

  .section-title, .activities-title, .facts-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
  }

  .card-title, .avatar-name, .info-card h3 {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
  }

  .activity-card,
  .content-section,
  .modern-facts {
    border-width: 3px;
  }
}

/* === FOCUS MANAGEMENT PARA NIÑOS === */
*:focus {
  outline: 3px solid var(--text-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

button:focus,
input:focus,
[tabindex]:focus {
  outline: 3px solid var(--text-accent);
  outline-offset: 3px;
}

/* Hacer que las tarjetas de actividad sean navegables por teclado */
.activity-card[tabindex] {
  cursor: pointer;
}

.activity-card[tabindex]:focus {
  transform: var(--hover-lift);
  box-shadow: var(--shadow-strong);
}

/* === RADIO COSMOS WIDGET === */
.radio-cosmos-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: linear-gradient(135deg, rgb(15, 15, 35), rgb(30, 30, 60));
  border: 2px solid var(--electric-cyan);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), var(--shadow-strong);
  /* Backdrop filters removed for solid design */
  /* Webkit backdrop filters removed for solid design */
  z-index: 1000;
  transition: all var(--transition-normal);
  font-family: var(--font-primary);
  overflow: hidden;
}

.radio-cosmos-widget.minimized .radio-content {
  display: none;
}

.radio-cosmos-widget.minimized {
  width: 200px;
  height: auto;
}

/* Header del Radio */
.radio-header {
  background: linear-gradient(90deg, var(--cosmic-purple), var(--galaxy-violet));
  padding: var(--space-3) var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.radio-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.radio-icon {
  font-size: 1.2em;
  animation: radio-pulse 2s ease-in-out infinite;
}

@keyframes radio-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.radio-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: var(--text-xl);
  cursor: pointer;
  padding: var(--space-1);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radio-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* Contenido del Radio */
.radio-content {
  padding: var(--space-4);
}

.radio-display {
  text-align: center;
  margin-bottom: var(--space-4);
  background: rgb(15, 15, 35);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.frequency-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.frequency-number {
  font-family: 'Courier New', monospace;
  font-size: var(--text-2xl);
  font-weight: bold;
  color: var(--electric-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.frequency-unit {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 600;
}

.song-info {
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  padding-top: var(--space-2);
}

.song-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-name {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Controles del Radio */
.radio-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.control-btn {
  background: linear-gradient(135deg, var(--cosmic-purple), var(--galaxy-violet));
  border: 2px solid var(--electric-cyan);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  color: var(--text-primary);
  font-size: var(--text-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.control-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  border-color: var(--star-gold);
}

.control-btn:active {
  transform: scale(0.95);
}

.play-pause-btn {
  width: 55px;
  height: 55px;
  font-size: var(--text-xl);
  background: linear-gradient(135deg, var(--star-gold), var(--nebula-pink));
}

.play-icon {
  display: inline-block;
  transition: all var(--transition-fast);
}

/* Control de Volumen */
.volume-control {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.volume-icon {
  font-size: var(--text-base);
  color: var(--electric-cyan);
}

.volume-slider {
  flex: 1;
  height: 6px;
  background: rgb(15, 15, 35);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--electric-cyan);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--electric-cyan);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.volume-value {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-weight: 600;
  min-width: 35px;
  text-align: right;
}

/* Visualizador de Audio */
.radio-visualizer {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 3px;
  height: 40px;
  margin-top: var(--space-2);
  padding: var(--space-2);
  background: rgb(15, 15, 35);
  border-radius: var(--radius-sm);
}

.radio-visualizer .bar {
  width: 4px;
  background: linear-gradient(to top, var(--cosmic-purple), var(--electric-cyan));
  border-radius: var(--radius-sm);
  animation: visualizer-dance 1.5s ease-in-out infinite;
  transition: height var(--transition-fast);
}

.radio-visualizer .bar:nth-child(1) { animation-delay: 0s; }
.radio-visualizer .bar:nth-child(2) { animation-delay: 0.1s; }
.radio-visualizer .bar:nth-child(3) { animation-delay: 0.2s; }
.radio-visualizer .bar:nth-child(4) { animation-delay: 0.3s; }
.radio-visualizer .bar:nth-child(5) { animation-delay: 0.4s; }
.radio-visualizer .bar:nth-child(6) { animation-delay: 0.3s; }
.radio-visualizer .bar:nth-child(7) { animation-delay: 0.2s; }
.radio-visualizer .bar:nth-child(8) { animation-delay: 0.1s; }

@keyframes visualizer-dance {
  0%, 100% { height: 8px; }
  50% { height: 25px; }
}

.radio-visualizer.playing .bar {
  animation-play-state: running;
}

.radio-visualizer:not(.playing) .bar {
  animation-play-state: paused;
  height: 8px;
}

/* Efectos especiales */
.radio-cosmos-widget::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--electric-cyan), var(--nebula-pink), var(--star-gold), var(--electric-cyan));
  border-radius: var(--radius-xl);
  z-index: -1;
  animation: widget-border-glow 4s linear infinite;
}

@keyframes widget-border-glow {
  0%, 100% {
    opacity: 0.6;
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.2);
  }
}

/* === RESPONSIVE RADIO WIDGET === */
/* === RESPONSIVE MODAL === */
@media (max-width: 768px) {
  .modal-content {
    width: 98vw;
    height: 98vh;
  }

  .modal-header {
    padding: var(--space-3) var(--space-4);
  }

  .modal-title {
    font-size: var(--text-lg);
  }

  .modal-body {
    padding: var(--space-3);
  }

  .external-link-overlay {
    bottom: 5px;
    left: 5px;
  }

  .fullscreen-options {
    flex-direction: column;
    gap: var(--space-4);
  }

  .option-card {
    min-width: 150px;
    padding: var(--space-6);
  }

  .option-icon {
    font-size: 2.5rem;
  }

  .video-player-wrapper {
    gap: var(--space-4);
  }

  .series-description,
  .video-description {
    padding: var(--space-4);
  }

  .video-features {
    gap: var(--space-1);
  }

  .feature-tag {
    font-size: 10px;
    padding: 4px 8px;
  }

  .radio-cosmos-widget {
    width: 280px;
    bottom: 15px;
    right: 15px;
  }

  .radio-cosmos-widget.minimized {
    width: 180px;
  }

  .control-btn {
    width: 40px;
    height: 40px;
    font-size: var(--text-base);
  }

  .play-pause-btn {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .modal-header {
    padding: var(--space-2) var(--space-3);
  }

  .modal-close {
    width: 32px;
    height: 32px;
    font-size: var(--text-base);
  }

  .radio-cosmos-widget {
    width: 260px;
    bottom: 10px;
    right: 10px;
  }

  .radio-cosmos-widget.minimized {
    width: 160px;
  }
}

/* === ELEVENLABS WIDGET CONTAINER === */
.elevenlabs-widget-container {
  margin: var(--space-8) 0;
  padding: var(--space-8);
  background: rgb(20, 20, 40);
  border: 2px solid rgba(57, 255, 20, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 25px rgba(57, 255, 20, 0.2);
  transition: all var(--transition-normal);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 100;
}

.elevenlabs-widget-container:hover {
  border-color: rgba(57, 255, 20, 0.5);
  box-shadow: 0 12px 35px rgba(57, 255, 20, 0.3);
}

/* Estilos para el widget ElevenLabs */
elevenlabs-convai {
  width: 100% !important;
  max-width: 500px !important;
  height: 400px !important;
  border-radius: var(--radius-lg) !important;
  margin: 0 auto !important;
  display: block !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
}

.widget-instructions {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(57, 255, 20, 0.2);
}

.widget-instructions h4 {
  color: var(--star-gold) !important;
  margin-bottom: var(--space-2);
}

.widget-instructions p {
  color: var(--text-secondary);
  font-style: italic;
  text-align: center;
}

/* Responsive para el widget */
@media (max-width: 768px) {
  .elevenlabs-widget-container {
    margin: var(--space-4) 0;
    padding: var(--space-4);
    min-height: 350px;
  }

  elevenlabs-convai {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .elevenlabs-widget-container {
    margin: var(--space-3) 0;
    padding: var(--space-3);
    min-height: 300px;
  }
}

/* === AGENT CONTROLS === */
.agent-controls {
  margin-bottom: var(--space-8);
}

.agent-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.agent-btn.primary {
  background: linear-gradient(135deg, var(--neon-green), #22c55e);
  color: white;
  border: 2px solid var(--neon-green);
  box-shadow: 0 4px 15px rgba(57, 255, 20, 0.4);
}

.agent-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(57, 255, 20, 0.6);
  background: linear-gradient(135deg, #22c55e, var(--neon-green));
}

.agent-btn.primary:active {
  transform: translateY(-1px);
}

.description-card {
  background: var(--bg-glass);
  border: 2px solid rgba(57, 255, 20, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  /* Backdrop filters removed for solid design */
  /* Webkit backdrop filters removed for solid design */
  text-align: left;
}

.description-card h4 {
  color: var(--neon-green);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.description-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.description-card ul {
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: var(--space-4);
}

.description-card li {
  margin-bottom: var(--space-2);
  position: relative;
}

.description-card li::marker {
  color: var(--neon-green);
}

/* Notificaciones del agente */
.agent-notification {
  position: fixed;
  top: 100px;
  right: 30px;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-weight: 600;
  z-index: 10000;
  animation: slideInRight 0.3s ease-out;
  max-width: 300px;
  box-shadow: var(--shadow-strong);
}

.agent-notification.success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border: 2px solid #22c55e;
}

.agent-notification.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: 2px solid #ef4444;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* === DIGITAL STORY VIEWER === */
.digital-story-viewer {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-4);
}

.story-header {
  margin-bottom: var(--space-6);
  text-align: center;
}

.story-progress {
  background: var(--bg-glass);
  border: 2px solid rgba(57, 255, 20, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  /* Backdrop filters removed for solid design */
  /* Webkit backdrop filters removed for solid design */
}

.page-counter {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-3);
  color: var(--text-accent);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(59, 130, 246, 0.3);
  text-align: center;
  /* Backdrop filters removed for solid design */
}

@keyframes counter-pulse {
  0%, 100% {
    text-shadow:
      0 0 8px #00fa9a,
      0 0 16px #00fa9a,
      0 0 24px #00bfff,
      1px 1px 0px #000,
      2px 2px 0px rgba(0, 0, 0, 0.4);
  }
  50% {
    text-shadow:
      0 0 12px #00fa9a,
      0 0 24px #00fa9a,
      0 0 36px #00bfff,
      0 0 48px #ff1493,
      1px 1px 0px #000,
      2px 2px 0px rgba(0, 0, 0, 0.4);
  }
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--star-gold));
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.story-book {
  background: var(--bg-glass);
  border: 3px solid rgba(57, 255, 20, 0.4);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  /* Backdrop filters removed for solid design */
  /* Webkit backdrop filters removed for solid design */
  box-shadow: 0 10px 30px rgba(57, 255, 20, 0.2);
  margin-bottom: var(--space-6);
}

.story-page-container {
  position: relative;
  margin-bottom: var(--space-6);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.story-page {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.story-page img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

.page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 60%, rgba(57, 255, 20, 0.1));
  pointer-events: none;
}

.magic-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, var(--star-gold), transparent);
  border-radius: 50%;
  animation: sparkleFloat 1.5s ease-out forwards;
}

@keyframes sparkleFloat {
  0% {
    transform: translateY(0) scale(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-30px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-60px) scale(0);
    opacity: 0;
  }
}

/* Controles de navegación */
.story-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.story-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.story-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.story-btn:not(:disabled):hover {
  transform: translateY(-3px);
}

.prev-btn, .next-btn {
  background: linear-gradient(135deg, var(--neon-blue), #3b82f6);
  color: white;
  border: 2px solid var(--neon-blue);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.prev-btn:not(:disabled):hover, .next-btn:not(:disabled):hover {
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.auto-play-btn {
  background: linear-gradient(135deg, var(--star-gold), #d97706);
  color: white;
  border: 2px solid var(--star-gold);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.auto-play-btn.active {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-color: #ef4444;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
  animation: pulse-auto 2s ease-in-out infinite;
}

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

.auto-play-btn:not(.active):hover {
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.6);
}

.btn-icon {
  font-size: var(--text-lg);
}

/* Miniaturas */
.story-thumbnails {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  max-height: 200px;
  overflow-y: auto;
  padding: var(--space-4);
  background: rgb(15, 15, 35);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(57, 255, 20, 0.2);
}

.thumbnail {
  position: relative;
  width: 60px;
  height: 45px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.thumbnail:hover {
  transform: scale(1.1);
  border-color: rgba(57, 255, 20, 0.5);
  box-shadow: 0 4px 12px rgba(57, 255, 20, 0.3);
}

.thumbnail.active {
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.6);
  transform: scale(1.05);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-number {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgb(0, 0, 0);
  color: white;
  font-size: var(--text-xs);
  padding: 1px 4px;
  border-radius: var(--radius-sm) 0 0 0;
  font-weight: 600;
}

/* Instrucciones */
.story-instructions {
  margin-top: var(--space-6);
}

.story-instructions .instruction-card {
  background: var(--bg-glass);
  border: 2px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  /* Backdrop filters removed for solid design */
  /* Webkit backdrop filters removed for solid design */
  text-align: center;
}

.story-instructions h4 {
  color: var(--star-gold);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.story-instructions p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: var(--text-base);
}

/* Responsive para el cuento digital */
@media (max-width: 768px) {
  .digital-story-viewer {
    padding: var(--space-2);
  }

  .story-book {
    padding: var(--space-4);
  }

  .story-controls {
    gap: var(--space-2);
  }

  .story-btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }

  .story-thumbnails {
    max-height: 150px;
    padding: var(--space-2);
  }

  .thumbnail {
    width: 45px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .story-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .story-btn {
    justify-content: center;
  }

  .page-counter {
    font-size: var(--text-base);
  }

  .story-thumbnails {
    gap: var(--space-1);
  }

  .thumbnail {
    width: 40px;
    height: 30px;
  }
}

/* === CHILD-FRIENDLY READING ENHANCEMENTS === */
/* Improved focus indicators for better accessibility */
*:focus {
  outline: 3px solid var(--text-accent) !important;
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Enhanced readability for all text elements */
body, p, li, span, div {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure minimum font sizes for children on small screens */
@media (max-width: 480px) {
  :root {
    --text-xs: 1rem !important;      /* Never smaller than 16px on mobile */
    --text-sm: 1.125rem !important;  /* Never smaller than 18px on mobile */
    --text-base: 1.25rem !important; /* Never smaller than 20px on mobile */
  }
}

/* Reduced motion mode for better accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .section-title, .activities-title {
    animation: none !important;
  }
}

/* Professional typography improvements completed */
/* =============================================== */

/* === PRINT STYLES === */
@media print {
  .stars, .stars2, .stars3,
  .modern-floating,
  .radio-cosmos-widget {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .content-section, .modern-facts {
    background: white;
    box-shadow: none;
    border: 1px solid #000;
  }
}