/* ============================================
   FLORIR 🌸 — Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito:wght@400;600;700&family=Playfair+Display:ital,wght@0,500;1,500&family=Raleway:wght@600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --pink-50: #fdf2f4;
  --pink-100: #fce7ec;
  --pink-200: #f9d0d9;
  --pink-300: #f4a8ba;
  --pink-400: #ec7a97;
  --pink-500: #e04d74;
  --rose-gold: #b76e79;
  --cream: #fff8f0;
  --warm-gray: #6b5b5e;
  --dark: #3d2b30;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(183, 110, 121, 0.10);
  --shadow-md: 0 4px 20px rgba(183, 110, 121, 0.15);
  --shadow-lg: 0 8px 40px rgba(183, 110, 121, 0.20);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --max-width: 720px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--pink-50);
  color: var(--dark);
  min-height: 100dvh;
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: 70px;
}

/* --- Top Navigation --- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 242, 244, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pink-200);
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  transition: transform var(--transition);
}

.top-nav.hidden-nav {
  transform: translateY(-100%);
}

.btn-back {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--rose-gold);
  padding: 4px 8px;
  border-radius: 8px;
  transition: background var(--transition);
  display: none;
}

.btn-back:hover {
  background: var(--pink-100);
}

.btn-back.visible {
  display: flex;
}

.nav-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Bottom Navigation --- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 242, 244, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--pink-200);
  display: flex;
  justify-content: center;
  padding: 10px 16px 14px;
}

.btn-home {
  background: linear-gradient(135deg, var(--pink-300), var(--rose-gold));
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-home:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* --- Pages --- */
.page {
  display: none;
  padding-top: 56px;
  animation: fadeIn .4s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Cover Banners --- */
.cover-banner {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.cover-banner::after {
  content: '';
  position: absolute;
  inset: 0;
}

.cover-banner h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 10vw, 80px);
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 2px 4px 16px rgba(0, 0, 0, 0.6);
  z-index: 1;
  text-align: center;
  padding: 0 16px;
}

.cover-home {
  background-image: url('images/Capa_Florir.png');
  height: 260px;
}

  /* Cover gradients per page */
  .cover-formulario {
    background-image: url('images/Capa_Formulario.png');
  }

  .cover-lafora {
    background-image: url('images/Capa_LaFora.png');
  }

  .cover-sementes {
    background-image: url('images/Capa_SementesDeCoragem.png');
  }

  .cover-respira {
    background-image: url('images/Capa_RespiraComigo.png');
  }

  .cover-espaco {
    background-image: url('images/Capa_EspacoLudico.png');
  }

  .cover-palavras {
    background-image: url('images/Capa_PalavrasQueInspiram.png');
  }

  .cover-som {
    background-image: url('images/Capa_SomDeAcolhimento.png');
  }

  .cover-musicas {
    background-image: url('images/Capa_MusicasQueAcalmam.png');
  }

  /* --- Content Area --- */
  .content-area {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px 20px 40px;
  }

  /* --- Home Welcome --- */
  .welcome-box {
    background: linear-gradient(135deg, var(--pink-100), var(--cream));
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
    border-left: 4px solid var(--pink-300);
  }

  .welcome-box h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--rose-gold);
  }

  .welcome-box p {
    margin-bottom: 10px;
    color: var(--warm-gray);
    font-size: 15px;
  }

  .welcome-box strong {
    color: var(--dark);
  }

  /* --- Cards Grid --- */
  .section-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--warm-gray);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  @media (max-width: 480px) {
    .cards-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .card-link {
    text-decoration: none;
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .card-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

  .card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 40%);
  }

  .card-link span {
    position: absolute;
    bottom: 12px;
    left: 10px;
    right: 10px;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(9px, 2.5vw, 13px);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0px;
    z-index: 1;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Card gradient backgrounds */
  .card-formulario {
    background-color: #f5c6d0;
    background-image: url('images/btn_form.png');
  }

  .card-lafora {
    background-color: #d4e8d0;
    background-image: url('images/btn_lafora.png');
  }

  .card-sementes {
    background-color: #f0d8b8;
    background-image: url('images/btn_sementes.png');
  }

  .card-respira {
    background-color: #d8c0e0;
    background-image: url('images/btn_respira.png');
  }

  .card-espaco {
    background-color: #f8d0e0;
    background-image: url('images/btn_espaco.png');
  }

  .card-palavras {
    background-color: #fce4ec;
    background-image: url('images/btn_palavras.png');
  }

  .card-som {
    background-color: #ffe0cc;
    background-image: url('images/btn_som.png');
  }

  .card-musicas {
    background-color: #fce4ec;
    background-image: url('images/btn_musicas.png');
  }

  /* --- Subpage Intro --- */
  .page-icon {
    font-size: 48px;
    margin-bottom: 8px;
  }

  .page-intro h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
    text-shadow: 1px 2px 8px rgba(183, 110, 121, 0.25);
  }

  .page-intro p {
    margin-bottom: 12px;
    color: var(--warm-gray);
    font-size: 15px;
  }

  /* --- YouTube Video Cards --- */
  .video-grid {
    display: grid;
    gap: 20px;
    margin-top: 24px;
  }

  .video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
  }

  .video-card:hover {
    box-shadow: var(--shadow-md);
  }

  .video-card .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
  }

  .video-card .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .video-card .video-placeholder {
    position: relative;
    padding-bottom: 56.25%;
    background: var(--pink-100);
    cursor: pointer;
    overflow: hidden;
  }

  .video-card .video-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-card .video-placeholder .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition);
  }

  .video-card .video-placeholder:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
  }

  .play-btn::after {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent white;
    margin-left: 3px;
  }

  /* --- Testimonial Carousel --- */
  .carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 20px;
  }

  .carousel-container::-webkit-scrollbar {
    height: 8px;
  }

  .carousel-container::-webkit-scrollbar-thumb {
    background: var(--pink-300);
    border-radius: 4px;
  }

  .carousel-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
    max-height: 60vh;
    width: auto;
  }



  /* --- Sky Animation (Lá Fora) --- */
  .sky-animation {
    height: 220px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    transition: background 3s ease-in-out;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-shadow: var(--shadow-sm);
  }

  .sky-animation.day {
    background: linear-gradient(to bottom, #a1c4fd, #c2e9fb);
  }

  .sky-animation.afternoon {
    background: linear-gradient(to bottom, #ff9a9e, #fecfef);
  }

  .sky-animation.night {
    background: linear-gradient(to bottom, #0f172a, #1e293b, #334155);
  }

  /* Clouds */
  .cloud {
    position: absolute;
    font-size: 40px;
    opacity: 0.8;
    animation: floatClouds linear infinite;
    z-index: 2;
    transition: opacity 3s;
  }

  .sky-animation.night .cloud {
    opacity: 0.2; /* Clouds darker at night */
  }

  .cloud-1 { top: 20px; left: -80px; animation-duration: 35s; font-size: 48px; }
  .cloud-2 { top: 60px; left: -100px; animation-duration: 50s; font-size: 55px; opacity: 0.6; }
  .cloud-3 { top: 30px; left: -120px; animation-duration: 65s; font-size: 35px; }

  @keyframes floatClouds {
    from { transform: translateX(-100px); }
    to { transform: translateX(600px); }
  }

  .celestial-body {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    position: absolute;
    transition: all 3s ease-in-out;
    z-index: 1;
  }

  .sky-animation.day .celestial-body {
    background: radial-gradient(circle, #fff 20%, #ffeb3b 100%);
    top: 40px; left: 50%; transform: translateX(-50%);
    box-shadow: 0 0 60px 20px rgba(255, 235, 59, 0.4);
  }

  .sky-animation.afternoon .celestial-body {
    background: radial-gradient(circle, #fff 20%, #ff9800 100%);
    top: 90px; left: 75%;
    box-shadow: 0 0 60px 20px rgba(255, 152, 0, 0.5);
  }

  .sky-animation.night .celestial-body {
    background: radial-gradient(circle, #fff 50%, #e0e0e0 100%);
    top: 40px; left: 20%;
    box-shadow: 0 0 40px 15px rgba(255, 255, 255, 0.3);
  }

  /* Stars */
  .stars {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
                      radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
                      radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
                      radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0,0,0,0));
    background-size: 200px 200px;
    opacity: 0;
    transition: opacity 3s;
    z-index: 0;
  }
  
  .sky-animation.night .stars {
    opacity: 0.8;
  }

  .city-skyline {
    width: 100%;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: rgba(255, 255, 255, 0.6);
    padding-bottom: 10px;
    z-index: 3;
    letter-spacing: 3px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  }

  /* --- Tally Form --- */
  .tally-container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
    min-height: 400px;
  }

  .tally-container iframe {
    width: 100%;
    border: none;
    min-height: 600px;
  }

  /* --- Weather Widget --- */
  .weather-widget {
    background: linear-gradient(135deg, #fff0f3, #fce4ec);
    border-radius: var(--radius);
    padding: 32px 24px;
    color: var(--dark);
    text-align: center;
    margin-top: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--white);
    position: relative;
    overflow: hidden;
  }

  .weather-widget::before {
    content: '🌸';
    position: absolute;
    font-size: 100px;
    opacity: 0.05;
    top: -20px;
    right: -20px;
    z-index: 0;
  }

  .weather-widget > * {
    position: relative;
    z-index: 1;
  }

  .weather-city {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--rose-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .weather-temp {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--dark);
    font-family: 'Raleway', sans-serif;
  }

  .weather-desc {
    font-size: 15px;
    opacity: 0.8;
    text-transform: capitalize;
    font-weight: 600;
  }

  .weather-icon {
    font-size: 48px;
    margin: 8px 0;
    filter: drop-shadow(0 4px 8px rgba(183, 110, 121, 0.2));
  }

  .weather-loading {
    font-size: 14px;
    opacity: 0.7;
    padding: 20px;
  }

  /* --- Nature Images (Lá Fora) --- */
  .nature-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .nature-img {
    width: 100%;
    border-radius: var(--radius-sm);
    aspect-ratio: 4/3;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
  }

  /* --- Breathing Timer --- */
  .breathing-section {
    text-align: center;
    margin: 30px 0;
  }

  .breathing-circle-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
  }

  .breathing-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-200), var(--pink-400));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: transform 4s ease-in-out;
  }

  .breathing-circle.inhale {
    transform: scale(1.3);
  }

  .breathing-circle.exhale {
    transform: scale(0.8);
  }

  .breathing-label {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  }

  .breathing-timer-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: white;
  }

  .btn-breathing {
    background: linear-gradient(135deg, var(--pink-300), var(--rose-gold));
    border: none;
    padding: 14px 36px;
    border-radius: 30px;
    color: white;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
  }

  .btn-breathing:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }

  /* --- Games Grid --- */
  .games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 20px;
  }

  .game-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
  }

  .game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  .game-card-cover {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  }

  .game-card-cover.campo {
    background: linear-gradient(135deg, #90a4ae, #78909c);
  }

  .game-card-cover.flappy {
    background: linear-gradient(135deg, #c5b358, #a69a3e);
  }

  .game-card-cover.velha {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
  }

  .game-card-cover.forca {
    background: linear-gradient(135deg, #a18cd1, #fbc2eb);
  }

  .game-card-cover.tetris {
    background: linear-gradient(135deg, #84fab0, #8fd3f4);
  }

  .game-card-cover.memoria {
    background: linear-gradient(135deg, #ffd194, #70e1f5);
  }

  .game-card-title {
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* --- Jogo da Velha --- */
  .tic-tac-toe-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 240px;
    margin: 0 auto 16px;
  }

  .tic-cell {
    aspect-ratio: 1;
    background: var(--pink-200);
    border-radius: var(--radius-sm);
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    font-family: 'Nunito', sans-serif;
    transition: background var(--transition);
  }

  .tic-cell:hover {
    background: var(--pink-300);
  }

  /* --- Jogo da Palavra (Forca) --- */
  .forca-word {
    font-size: clamp(20px, 5vw, 32px);
    letter-spacing: 6px;
    text-align: center;
    margin: 24px 0;
    font-family: monospace;
    font-weight: bold;
    color: var(--dark);
  }

  .forca-keyboard {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
  }

  .forca-key {
    padding: 10px 14px;
    border: none;
    background: var(--pink-200);
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    color: var(--dark);
    min-width: 40px;
    transition: background var(--transition), transform var(--transition);
  }

  .forca-key:hover:not(:disabled) {
    background: var(--pink-300);
    transform: translateY(-2px);
  }

  .forca-key:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #e0e0e0;
  }

  /* --- Streak Banner (Home) --- */
  .streak-banner {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    margin: -10px 20px 20px 20px;
    padding: 16px 20px;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform var(--transition);
  }
  
  .streak-banner:hover {
    transform: translateY(-2px);
  }
  
  .streak-info {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .streak-icon-wrapper {
    font-size: 32px;
    background: transparent;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .streak-icon-wrapper img {
    mix-blend-mode: multiply; /* Faz o branco da imagem sumir no fundo rosa */
  }
  
  .streak-text {
    display: flex;
    flex-direction: column;
  }
  
  .streak-text strong {
    font-family: 'Raleway', sans-serif;
    color: var(--dark);
    font-size: 16px;
  }
  
  .streak-text span {
    font-size: 12px;
    color: var(--warm-gray);
  }
  
  .streak-arrow {
    color: var(--rose-gold);
    font-weight: bold;
    font-size: 20px;
  }
  
  /* --- Nav Streak --- */
  .nav-streak {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
    color: var(--rose-gold);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    cursor: pointer;
  }
  
  .nav-streak img {
    mix-blend-mode: multiply;
  }

  /* --- Garden Page --- */
  .garden-sky {
    height: 120px;
    background: linear-gradient(to bottom, #87CEEB, #e0f6ff);
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .garden-sun {
    font-size: 60px;
    position: absolute;
    top: 10px;
    right: 20px;
    animation: floatSun 4s ease-in-out infinite alternate;
  }
  
  @keyframes floatSun {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
  }
  
  .garden-day-counter {
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    color: #4CAF50;
    font-size: 24px;
    box-shadow: var(--shadow-sm);
  }
  
  .garden-ground {
    min-height: 200px;
    background: linear-gradient(to bottom, #795548, #5d4037);
    border-radius: 0 0 var(--radius) var(--radius);
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 30px 20px 20px;
    gap: 20px;
    justify-content: center;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.2);
    border-top: 4px solid #4e342e;
  }
  
  .garden-plant {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 50px;
    animation: growPlant 1s ease-out forwards;
    transform-origin: bottom center;
  }
  
  .garden-emoji {
    font-size: 40px;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.2));
  }
  
  .garden-soil {
    width: 60px;
    height: 15px;
    background: #5d4037;
    border-radius: 50%;
    margin-top: -10px;
  }
  
  @keyframes growPlant {
    0% { transform: scale(0) translateY(20px); opacity: 0; }
    50% { transform: scale(1.2) translateY(-5px); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
  }
  
  @keyframes swayFlower {
    0% { transform: rotate(-8deg); }
    100% { transform: rotate(8deg); }
  }

  .garden-plant.full-flower .garden-emoji {
    animation: swayFlower 3s ease-in-out infinite alternate;
    transform-origin: bottom center;
  }

  /* --- Missions --- */
  .missions-container {
    margin: 0 20px 20px;
  }
  
  .section-title {
    font-family: 'Raleway', sans-serif;
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .missions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .mission-item {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: opacity 0.3s, transform 0.3s;
  }
  
  .mission-item.completed {
    opacity: 0.7;
    background: #f1f8e9;
  }
  
  .mission-check {
    width: 22px;
    height: 22px;
    border: 2px solid var(--pink-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .mission-item.completed .mission-check {
    background: #4CAF50;
    border-color: #4CAF50;
  }
  
  .mission-item.completed .mission-check::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
  }
  
  .mission-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .mission-content strong {
    font-size: 14px;
    color: var(--dark);
  }
  
  .mission-content span {
    font-size: 11px;
    color: var(--warm-gray);
  }
  
  .mission-badge {
    font-size: 12px;
    background: var(--pink-100);
    padding: 2px 8px;
    border-radius: 10px;
    color: var(--rose-gold);
    font-weight: bold;
  }
  
  /* --- Semente do Dia --- */
  .semente-do-dia-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: white;
  }
  
  .semente-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
  }
  
  .semente-img:hover {
    transform: scale(1.02);
  }

  /* --- Frequency Map --- */
  .frequency-map {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    margin: 0 auto;
    max-width: 300px;
  }
  
  .map-day {
    aspect-ratio: 1;
    border-radius: 3px;
    background: #eee;
    transition: transform 0.2s;
  }
  
  .map-day:hover {
    transform: scale(1.2);
    z-index: 10;
  }
  
  .map-day.level-0 { background: #ffebee; border: 1px solid #ffcdd2; } /* Vermelho bem claro (0) */
  .map-day.level-1 { background: #fff9c4; border: 1px solid #fff176; } /* Amarelo (1) */
  .map-day.level-2 { background: #e3f2fd; border: 1px solid #90caf9; } /* Azul (2) */
  .map-day.level-3 { background: #c8e6c9; border: 1px solid #81c784; } /* Verde (3+) */
  .map-day.level-4 { background: #81c784; border: 1px solid #4caf50; } /* Verde escuro (Extra) */
  
  .map-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
    font-size: 12px;
    color: var(--warm-gray);
  }
  
  .legend-box {
    width: 12px;
    height: 12px;
    border-radius: 2px;
  }
  .legend-box.level-0 { background: #ffebee; border: 1px solid #ffcdd2; }
  .legend-box.level-1 { background: #fff9c4; border: 1px solid #fff176; }
  .legend-box.level-2 { background: #e3f2fd; border: 1px solid #90caf9; }
  .legend-box.level-3 { background: #c8e6c9; border: 1px solid #81c784; }

  /* --- Garden Grass --- */
  .garden-grass, .garden-grass2 {
    position: absolute;
    bottom: 12px;
    font-size: 14px;
    z-index: 2;
    animation: swayGrass 3s ease-in-out infinite;
  }
  .garden-grass { left: 5px; }
  .garden-grass2 { right: 5px; animation-delay: 1.5s; }

  @keyframes swayGrass {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
  }

  /* --- Garden Cover --- */
  .cover-jardim {
    background: #fff0f3 !important; /* Rosa clarinho */
    background-image: none !important;
  }
  .cover-jardim h2 { 
    color: var(--rose-gold) !important; 
    text-shadow: none !important; /* Remove sombra do texto */
  }

  /* --- Jogo da Memória --- */
  .memory-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .memory-card {
    aspect-ratio: 1;
    background: var(--pink-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    cursor: pointer;
    transition: transform 0.4s, background 0.4s;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-sm);
  }
  
  .memory-card.flipped {
    background: white;
    transform: rotateY(180deg);
  }
  
  .memory-card.matched {
    background: #e8f5e9;
    opacity: 0.8;
    transform: rotateY(180deg) scale(0.95);
  }
  
  .memory-card-inner {
    display: none;
    transform: rotateY(180deg);
  }
  
  .memory-card.flipped .memory-card-inner,
  .memory-card.matched .memory-card-inner {
    display: block;
  }

  /* --- Minesweeper Game --- */
  .game-container {
    display: none;
    margin-top: 20px;
  }

  .game-container.active {
    display: block;
  }

  .minesweeper-board {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 3px;
    max-width: 360px;
    margin: 16px auto;
  }

  .mine-cell {
    aspect-ratio: 1;
    border: none;
    border-radius: 6px;
    background: var(--pink-200);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
  }

  .mine-cell:hover {
    background: var(--pink-300);
  }

  .mine-cell.revealed {
    background: var(--white);
    cursor: default;
  }

  .mine-cell.mine {
    background: #ef5350;
  }

  .mine-cell.flagged::after {
    content: '🚩';
  }

  .game-status {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    margin: 12px 0;
    color: var(--rose-gold);
  }

  .btn-game {
    display: block;
    margin: 12px auto;
    background: linear-gradient(135deg, var(--pink-300), var(--rose-gold));
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    color: white;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
  }

  /* --- Playlist Embed --- */
  .playlist-container {
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }

  .playlist-container iframe {
    width: 100%;
    height: 450px;
    border: none;
  }

  /* --- Utility --- */
  .emoji-icon {
    font-style: normal;
  }

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

  .mt-20 {
    margin-top: 20px;
  }

  .mb-20 {
    margin-bottom: 20px;
  }

  .divider {
    border: none;
    height: 1px;
    background: var(--pink-200);
    margin: 24px 0;
  }

  .quote-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    color: var(--rose-gold);
    text-align: center;
    padding: 20px;
    line-height: 1.6;
  }

  /* --- Scrollbar --- */
  ::-webkit-scrollbar {
    width: 6px;
  }

  ::-webkit-scrollbar-track {
    background: var(--pink-50);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--pink-200);
    border-radius: 3px;
  }

  /* --- Loading Shimmer --- */
  .shimmer {
    background: linear-gradient(90deg, var(--pink-100) 25%, var(--pink-50) 50%, var(--pink-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
  }

  @keyframes shimmer {
    0% {
      background-position: -200% 0;
    }

    100% {
      background-position: 200% 0;
    }
  }

  /* --- Responsive --- */
  @media (min-width: 768px) {
    .cover-banner {
      height: 280px;
    }

    .content-area {
      padding: 36px 24px 48px;
    }

    .cards-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
  }