/* Estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', cursive;
    background-color: #fff8fa;
    color: #333;
    line-height: 1.6;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffb6d9' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Cabeçalho */
header {
    background: linear-gradient(to right, #ff9ec5, #ffb6d9);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    z-index: 2;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-family: 'Bubblegum Sans', cursive;
}

/* Balões flutuantes */
.floating-balloons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.balloon {
    position: absolute;
    width: 40px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
}

.balloon1 {
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.balloon2 {
    top: 15%;
    right: 15%;
    animation: float 10s ease-in-out infinite 1s;
}

.balloon3 {
    bottom: 25%;
    right: 10%;
    animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Seções */
section {
    background-color: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid #ffb6d9;
    position: relative;
    overflow: hidden;
}

h2 {
    font-size: 2rem;
    color: #ff6bab;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Bubblegum Sans', cursive;
}

.big-text {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

/* Brilhos e decorações */
.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff6bab'%3E%3Cpath d='M12 0L14.5 9.5H24L16.5 15.5L19 24L12 18L5 24L7.5 15.5L0 9.5H9.5L12 0Z'/%3E%3C/svg%3E");
    background-size: contain;
}

.sparkle1 {
    top: 20%;
    left: 10%;
    animation: twinkle 3s infinite;
}

.sparkle2 {
    top: 70%;
    right: 15%;
    animation: twinkle 4s infinite 1s;
}

.sparkle3 {
    bottom: 20%;
    left: 30%;
    animation: twinkle 5s infinite 0.5s;
}

@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.8) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
    100% { opacity: 0; transform: scale(0.8) rotate(360deg); }
}

/* Seção do quarto */
.room-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.room-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    transition: transform 0.3s;
}

.room-item:hover {
    transform: scale(1.05);
}

.image-frame {
    position: relative;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #ffb6d9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-frame:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #ff6bab, transparent, #ffb6d9, transparent);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -1;
    border-radius: 20px;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.room-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.room-item p {
    font-size: 1.2rem;
    color: #666;
}

/* Nuvens */
.cloud-container {
    position: absolute;
    width: 100%;
    height: 100px;
    top: 0;
    left: 0;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
}

.cloud:before, .cloud:after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.cloud1 {
    width: 100px;
    height: 40px;
    top: 20px;
    left: 10%;
    animation: drift 30s linear infinite;
}

.cloud1:before {
    width: 50px;
    height: 50px;
    top: -20px;
    left: 15px;
}

.cloud1:after {
    width: 40px;
    height: 40px;
    top: -15px;
    right: 15px;
}

.cloud2 {
    width: 80px;
    height: 30px;
    top: 40px;
    right: 15%;
    animation: drift 25s linear infinite 5s reverse;
}

.cloud2:before {
    width: 40px;
    height: 40px;
    top: -15px;
    left: 10px;
}

.cloud2:after {
    width: 30px;
    height: 30px;
    top: -10px;
    right: 10px;
}

@keyframes drift {
    0% { transform: translateX(-150%); }
    100% { transform: translateX(150%); }
}

/* Seção de aprendizado */
.alphabet {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.letter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.letter {
    width: 60px;
    height: 60px;
    background-color: #ff9ec5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.letter:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    top: 0;
    left: -100%;
    transition: 0.5s;
}

.letter:hover {
    background-color: #ff6bab;
    transform: scale(1.1) rotate(5deg);
}

.letter:hover:before {
    left: 100%;
}

.word-game {
    text-align: center;
    margin-top: 20px;
}

.word-display {
    font-size: 2.5rem;
    margin: 20px 0;
    min-height: 60px;
    color: #ff6bab;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hint {
    background-color: #fff8fa;
    padding: 10px;
    border-radius: 10px;
    margin-top: 15px;
    border: 2px dashed #ffb6d9;
}

.hint p {
    font-size: 1.1rem;
    color: #ff6bab;
}

/* Seção de dança */
.dance-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dance-stage {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #ffd1e8 0%, #ffb6d9 100%);
    border-radius: 50%;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dance-stage:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-radial-gradient(circle at center, transparent 0, transparent 10px, rgba(255, 255, 255, 0.1) 10px, rgba(255, 255, 255, 0.1) 20px);
    border-radius: 50%;
}

.dance-animation {
    width: 100%;
    height: 100%;
    position: relative;
}

.dancer {
    width: 80px;
    height: 80px;
    background-color: #ff6bab;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.dancer:before {
    content: '';
    position: absolute;
    width: 60px;
    height: 30px;
    background-color: #ff4993;
    border-radius: 50%;
    bottom: -5px;
    left: 10px;
    z-index: -1;
}

.music-notes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.note {
    position: absolute;
    font-size: 2rem;
    color: white;
    opacity: 0;
}

.note1 {
    top: 30%;
    left: 20%;
}

.note2 {
    top: 40%;
    right: 25%;
}

.note3 {
    bottom: 35%;
    left: 30%;
}

@keyframes dance {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    25% { transform: translate(-40%, -60%) rotate(10deg) scale(1.1); }
    50% { transform: translate(-50%, -40%) rotate(0deg) scale(1); }
    75% { transform: translate(-60%, -60%) rotate(-10deg) scale(1.1); }
    100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
}

@keyframes float-note {
    0% { opacity: 0; transform: translateY(0) rotate(0deg); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-50px) rotate(20deg); }
}

#dance-button {
    background-color: #ff6bab;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Comic Neue', cursive;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

#dance-button:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    top: 0;
    left: -100%;
    transition: 0.5s;
}

#dance-button:hover {
    background-color: #ff4993;
    transform: scale(1.05);
}

#dance-button:hover:before {
    left: 100%;
}

/* Seção de colorir */
.coloring {
    padding-bottom: 40px;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.color-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.color-option:nth-child(1) {
    background-color: #ff6bab;
}

.color-option:nth-child(2) {
    background-color: #ffb6d9;
}

.color-option:nth-child(3) {
    background-color: #ff9ec5;
}

.color-option:nth-child(4) {
    background-color: #ffd1e8;
}

.color-option:hover {
    transform: scale(1.2);
}

.coloring-area {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.coloring-shape {
    width: 120px;
    height: 120px;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.shape1 {
    border-radius: 50%;
}

.shape2 {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape3 {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

/* Rodapé */
footer {
    text-align: center;
    padding: 20px;
    color: #ff6bab;
    font-size: 1.2rem;
    position: relative;
}

.footer-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.footer-star {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffb6d9'%3E%3Cpath d='M12 0L14.5 9.5H24L16.5 15.5L19 24L12 18L5 24L7.5 15.5L0 9.5H9.5L12 0Z'/%3E%3C/svg%3E");
    background-size: contain;
}

.star1 {
    top: 20%;
    left: 10%;
    animation: pulse 3s infinite;
}

.star2 {
    top: 50%;
    right: 15%;
    animation: pulse 4s infinite 1s;
}

.star3 {
    bottom: 30%;
    left: 50%;
    animation: pulse 5s infinite 0.5s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsividade */
@media (max-width: 768px) {
    .profile-pic {
        width: 150px;
        height: 150px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .big-text {
        font-size: 1.3rem;
    }
    
    .room-item {
        min-width: 100%;
    }
    
    .letter {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .dance-stage {
        width: 200px;
        height: 200px;
    }
    
    .coloring-shape {
        width: 80px;
        height: 80px;
    }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .balloon, .sparkle, .cloud, .note, .dancer, .letter:before, #dance-button:before {
        animation: none !important;
    }
}
