/* ====================================
   LILI & BIBI EM ENCANTOLÂNDIA
   Estilos Específicos - Design Lúdico
   ==================================== */

/* --- VARIÁVEIS ESPECÍFICAS --- */
:root {
    /* Cores do Universo Lili & Bibi */
    --cor-lili-rosa: #ff69b4;
    --cor-lili-rosa-claro: #ffb6d9;
    --cor-bibi-prata: #c0c0c0;
    --cor-bibi-azul-claro: #87ceeb;
    --cor-gamba-azul: #4a90e2;
    
    /* Gradientes Mágicos */
    --gradiente-arco-iris: linear-gradient(135deg, 
        #ff6b9d 0%, 
        #c06fef 25%, 
        #4facfe 50%, 
        #43e97b 75%, 
        #ffd700 100%);
    
    --gradiente-rosa-roxo: linear-gradient(135deg, #ff6b9d 0%, #c06fef 100%);
    --gradiente-azul-ceu: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradiente-magico: linear-gradient(135deg, #ffd700 0%, #ff69b4 50%, #8b5cf6 100%);
    
    /* Fontes Lúdicas */
    --font-ludica: 'Fredoka', 'Quicksand', 'Poppins', sans-serif;
}

/* --- BODY E TIPOGRAFIA --- */
.lili-bibi-page {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0a1a 50%, #0a0a1a 100%);
}

.lili-bibi-page h1,
.lili-bibi-page h2,
.lili-bibi-page h3 {
    font-family: var(--font-ludica);
}

.rainbow-text {
    background: var(--gradiente-arco-iris);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

/* --- NAVBAR LILI & BIBI --- */
.navbar-lili {
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.15) 0%, 
        rgba(139, 92, 246, 0.15) 100%);
    border-bottom: 2px solid rgba(255, 105, 180, 0.3);
}

.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.logo-lili {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradiente-rosa-roxo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-ludica);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--texto-secundario);
    font-weight: 500;
}

/* --- HERO ENCANTOLÂNDIA --- */
.hero-encanto {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    background: radial-gradient(circle at 30% 50%, rgba(255, 105, 180, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

/* Estrelas de Fundo */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent);
    background-size: 200% 200%;
    animation: twinkle 8s ease-in-out infinite;
}

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

/* Sparkles Animados */
.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkles::before,
.sparkles::after {
    content: '✨';
    position: absolute;
    font-size: 2rem;
    animation: floatSparkle 6s infinite;
}

.sparkles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkles::after {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes floatSparkle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--espaco-xs);
    padding: var(--espaco-sm) var(--espaco-lg);
    background: rgba(255, 105, 180, 0.1);
    border: 2px solid rgba(255, 105, 180, 0.4);
    border-radius: var(--border-radius-xl);
    color: var(--cor-lili-rosa);
    font-weight: 700;
    margin-bottom: var(--espaco-lg);
    font-family: var(--font-ludica);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: var(--espaco-md);
}

.hero-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto var(--espaco-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--espaco-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Botões Mágicos */
.btn-magic {
    background: var(--gradiente-rosa-roxo);
    color: white;
    padding: var(--espaco-md) var(--espaco-xl);
    border-radius: var(--border-radius-xl);
    font-weight: 700;
    font-family: var(--font-ludica);
    border: none;
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
    transition: all var(--transicao-normal);
}

.btn-magic:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 105, 180, 0.5);
}

.btn-outline-magic {
    background: transparent;
    border: 3px solid var(--cor-lili-rosa);
    color: var(--cor-lili-rosa);
    padding: var(--espaco-md) var(--espaco-xl);
    border-radius: var(--border-radius-xl);
    font-weight: 700;
    font-family: var(--font-ludica);
    transition: all var(--transicao-normal);
}

.btn-outline-magic:hover {
    background: var(--gradiente-rosa-roxo);
    color: white;
    border-color: transparent;
}

/* Personagens Flutuantes */
.floating-characters {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.character-float {
    position: absolute;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
}

.char-1 {
    top: 15%;
    left: 10%;
    color: var(--cor-lili-rosa);
    animation-delay: 0s;
}

.char-2 {
    top: 70%;
    right: 15%;
    color: #ff69b4;
    animation-delay: 2s;
}

.char-3 {
    top: 40%;
    right: 20%;
    color: var(--cor-bibi-azul-claro);
    animation-delay: 4s;
}

/* --- PERSONAGENS SECTION --- */
.personagens-section {
    padding: var(--espaco-2xl) 0;
    position: relative;
}

.personagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--espaco-xl);
    margin-top: var(--espaco-xl);
}

.personagem-card {
    background: var(--fundo-card);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    position: relative;
    transition: all var(--transicao-normal);
    border: 3px solid transparent;
}

.personagem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Card Sparkle Effect */
.card-sparkle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transicao-normal);
}

.personagem-card:hover .card-sparkle {
    opacity: 1;
    animation: shimmer 1.5s infinite;
}

/* Cards Específicos por Personagem */
.lili-card {
    border-color: var(--cor-lili-rosa);
    background: linear-gradient(180deg, 
        rgba(255, 105, 180, 0.05) 0%, 
        var(--fundo-card) 50%);
}

.bibi-card {
    border-color: var(--cor-bibi-prata);
    background: linear-gradient(180deg, 
        rgba(192, 192, 192, 0.05) 0%, 
        var(--fundo-card) 50%);
}

.gamba-card {
    border-color: var(--cor-gamba-azul);
    background: linear-gradient(180deg, 
        rgba(74, 144, 226, 0.05) 0%, 
        var(--fundo-card) 50%);
}

.personagem-image {
    padding: var(--espaco-xl);
}

.image-placeholder {
    aspect-ratio: 1;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--espaco-md);
    font-weight: 800;
    font-family: var(--font-ludica);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s infinite;
}

.image-placeholder.rosa {
    background: var(--gradiente-rosa-roxo);
    color: white;
}

.image-placeholder.prata {
    background: linear-gradient(135deg, #c0c0c0 0%, #87ceeb 100%);
    color: white;
}

.image-placeholder.azul {
    background: var(--gradiente-azul-ceu);
    color: white;
}

.image-placeholder i {
    font-size: 5rem;
    z-index: 1;
}

.image-placeholder span {
    font-size: 2rem;
    z-index: 1;
}

.personagem-info {
    padding: 0 var(--espaco-xl) var(--espaco-xl);
}

.personagem-nome {
    font-size: 2rem;
    margin-bottom: 4px;
    font-family: var(--font-ludica);
}

.personagem-subtitulo {
    display: block;
    color: var(--texto-secundario);
    font-style: italic;
    margin-bottom: var(--espaco-md);
    font-size: 1.125rem;
}

.personagem-descricao {
    color: var(--texto-secundario);
    line-height: 1.8;
    margin-bottom: var(--espaco-lg);
}

.personagem-caracteristicas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--espaco-sm);
    margin-bottom: var(--espaco-md);
}

.caract-item {
    display: flex;
    align-items: center;
    gap: var(--espaco-xs);
    padding: var(--espaco-xs) var(--espaco-md);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--border-radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
}

.personagem-cor {
    padding: var(--espaco-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    text-align: center;
    font-family: var(--font-ludica);
}

/* --- EPISÓDIOS SECTION --- */
.episodios-section {
    padding: var(--espaco-2xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 105, 180, 0.03) 100%);
}

.episodios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--espaco-xl);
    margin-top: var(--espaco-xl);
}

.episodio-card {
    background: var(--fundo-card);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    position: relative;
    transition: all var(--transicao-normal);
    border: 2px solid transparent;
}

.episodio-card.destaque {
    border-color: var(--cor-lili-rosa);
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.2);
}

.episodio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.episodio-card.bloqueado {
    opacity: 0.6;
    pointer-events: none;
}

.episodio-badge {
    position: absolute;
    top: var(--espaco-md);
    right: var(--espaco-md);
    background: var(--gradiente-rosa-roxo);
    color: white;
    padding: var(--espaco-xs) var(--espaco-md);
    border-radius: var(--border-radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    font-family: var(--font-ludica);
}

.episodio-badge.locked {
    background: var(--cinza-600);
}

.episodio-thumbnail {
    position: relative;
    overflow: hidden;
}

.thumb-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.thumb-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.thumb-placeholder.ep1 {
    background: linear-gradient(135deg, #ff6b9d 0%, #c06fef 50%, #4facfe 100%);
}

.thumb-placeholder.ep2,
.thumb-placeholder.ep3 {
    background: var(--cinza-700);
}

.play-button {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-lili-rosa);
    font-size: 2rem;
    transition: all var(--transicao-normal);
}

.episodio-card:hover .play-button {
    transform: scale(1.1);
    background: white;
}

.episodio-info {
    padding: var(--espaco-xl);
}

.episodio-numero {
    font-size: 0.875rem;
    color: var(--cor-lili-rosa);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--espaco-xs);
}

.episodio-titulo {
    font-size: 1.75rem;
    margin-bottom: var(--espaco-md);
    font-family: var(--font-ludica);
}

.episodio-descricao {
    color: var(--texto-secundario);
    line-height: 1.7;
    margin-bottom: var(--espaco-md);
}

.episodio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--espaco-xs);
    margin-bottom: var(--espaco-md);
}

.episodio-detalhes {
    display: flex;
    gap: var(--espaco-lg);
    color: var(--texto-muted);
    font-size: 0.875rem;
    margin-bottom: var(--espaco-lg);
}

.episodio-detalhes i {
    color: var(--cor-lili-rosa);
}

/* --- MÚSICAS SECTION --- */
.musicas-section {
    padding: var(--espaco-2xl) 0;
}

.musicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--espaco-lg);
    margin-top: var(--espaco-xl);
}

.musica-card {
    background: var(--fundo-card);
    border-radius: var(--border-radius-lg);
    padding: var(--espaco-xl);
    text-align: center;
    transition: all var(--transicao-normal);
    border: 2px solid transparent;
}

.musica-card:hover {
    transform: translateY(-5px);
    border-color: var(--cor-lili-rosa);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

.musica-card.locked {
    opacity: 0.5;
    pointer-events: none;
}

.musica-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--espaco-md);
    background: var(--gradiente-rosa-roxo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.musica-titulo {
    font-size: 1.25rem;
    margin-bottom: var(--espaco-xs);
    font-family: var(--font-ludica);
}

.musica-tipo {
    color: var(--texto-secundario);
    font-size: 0.875rem;
    margin-bottom: var(--espaco-md);
}

.btn-play {
    background: transparent;
    border: 2px solid var(--cor-lili-rosa);
    color: var(--cor-lili-rosa);
    padding: var(--espaco-sm) var(--espaco-lg);
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transicao-normal);
    font-family: var(--font-ludica);
}

.btn-play:hover {
    background: var(--gradiente-rosa-roxo);
    color: white;
    border-color: transparent;
}

/* --- VALORES SECTION --- */
.valores-section {
    padding: var(--espaco-2xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 100%);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--espaco-lg);
    margin-top: var(--espaco-xl);
}

.valor-card {
    background: var(--fundo-card);
    border-radius: var(--border-radius-lg);
    padding: var(--espaco-xl);
    text-align: center;
    transition: all var(--transicao-normal);
    border: 2px solid transparent;
}

.valor-card:hover {
    transform: translateY(-5px);
    border-color: var(--cor-lili-rosa);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.15);
}

.valor-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--espaco-md);
    background: var(--gradiente-arco-iris);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

.valor-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--espaco-sm);
    font-family: var(--font-ludica);
}

.valor-card p {
    color: var(--texto-secundario);
    line-height: 1.6;
}

/* --- CTA SECTION --- */
.cta-section {
    padding: var(--espaco-2xl) 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--espaco-md);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--espaco-xl);
}

/* --- FOOTER ENCANTO --- */
.footer-encanto {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 105, 180, 0.05) 100%);
    border-top: 2px solid rgba(255, 105, 180, 0.2);
}

.footer-social .social-links {
    display: flex;
    gap: var(--espaco-md);
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background: var(--gradiente-rosa-roxo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all var(--transicao-normal);
}

.footer-social .social-link:hover {
    transform: translateY(-4px) scale(1.1);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 968px) {
    .logo-center {
        position: static;
        transform: none;
        order: -1;
        margin-bottom: var(--espaco-sm);
    }
    
    .nav-wrapper {
        flex-direction: column;
    }
    
    .personagens-grid,
    .episodios-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-characters {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-magic,
    .btn-outline-magic {
        width: 100%;
    }
    
    .musicas-grid,
    .valores-grid {
        grid-template-columns: 1fr;
    }
}
