/* Animação suave nos cards do blog */
.blog-card {
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
}
.blog-card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px 0 rgba(60, 41, 146, 0.15), 0 1.5px 6px 0 rgba(60, 41, 146, 0.10);
}
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* Melhorias para dispositivos móveis - REMOVIDAS regras do menu mobile para evitar duplicidade. Todo controle do menu mobile está em mobile.css */

@media (max-width: 768px) {
    /* Header responsivo */
    header {
        position: fixed !important;
        z-index: 50 !important;
    }
    header .container {
        position: relative !important;
    }
    /* ...outros ajustes mobile, exceto menu... */
    /* Melhorar espaçamento do hero */
    .hero-bg {
        padding-top: 80px !important;
        min-height: calc(100vh - 80px) !important;
    }
    .hero-bg h2 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    .hero-bg p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .hero-bg a {
        font-size: 1rem !important;
        padding: 0.875rem 1.5rem !important;
        margin: 0 1rem !important;
        display: inline-block !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
    .cosmic-sections-bg {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .cosmic-sections-bg .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .cosmic-sections-bg .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .cosmic-sections-bg h3 {
        font-size: 1.875rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    .cosmic-sections-bg h4 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    .cosmic-sections-bg p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    .cosmic-sections-bg .bg-indigo-600,
    .cosmic-sections-bg .bg-green-600 {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
        text-align: center !important;
    }
    .cosmic-sections-bg img {
        width: 6rem !important;
        height: 6rem !important;
        margin-bottom: 1.5rem !important;
    }
    footer .flex {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    footer .space-x-6 {
        justify-content: center !important;
        gap: 1.5rem !important;
    }
}

/* Melhorias específicas para telas muito pequenas */
@media (max-width: 480px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .hero-bg h2 {
        font-size: 2rem !important;
    }
    
    .cosmic-sections-bg h3 {
        font-size: 1.625rem !important;
    }
    
    .bg-white, .bg-slate-50 {
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }
}
.hero-bg {
    background-image: url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

/* Transição suave entre hero e seções cósmicas */
.hero-bg + .cosmic-sections-bg {
    margin-top: 0 !important;
    padding-top: 3rem !important;
    border-top: none !important;
}

/* Fundo cósmico para as seções após o hero - tom mais escuro e uniforme */
/* Base para todas as seções */
section {
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.cosmic-sections-bg {
    background: 
        radial-gradient(ellipse at top, rgba(6, 0, 88, 0.6), transparent 50%),
        radial-gradient(ellipse at bottom, rgba(20, 24, 100, 0.4), transparent 50%),
        radial-gradient(ellipse at center, rgba(25, 20, 80, 0.5), transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #627898ff 100%);
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
    border: none !important;
}

/* Criar transição suave entre seções */
.cosmic-sections-bg + .cosmic-sections-bg {
    margin-top: 0 !important;
    padding-top: 2rem !important;
    border-top: none !important;
}

/* Garantir continuidade visual completa */
.cosmic-sections-bg:not(:first-child) {
    border-top: none !important;
    margin-top: 0 !important;
}

.cosmic-sections-bg:not(:last-child) {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

/* Remover qualquer separação visual entre elementos dentro das seções */
.cosmic-sections-bg .container {
    margin: 0 auto !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.cosmic-sections-bg > div {
    border: none !important;
    margin: 0 !important;
}

/* Garantir que os grids não criem espaços visuais indesejados */
.cosmic-sections-bg .grid {
    gap: 1.5rem !important;
}

.cosmic-sections-bg .bg-slate-50 {
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Efeito de estrelas sutil no fundo das seções */
.cosmic-sections-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.2), transparent);
    background-repeat: repeat;
    background-size: 300px 300px, 400px 400px, 250px 250px, 350px 350px;
    animation: twinkle 15s infinite linear;
    z-index: 0;
    opacity: 0.5;
}

/* Efeito de nebulosa sutil nas seções */
.cosmic-sections-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 400px 300px at 20% 80%, rgba(99, 102, 241, 0.05), transparent),
        radial-gradient(ellipse 300px 400px at 80% 20%, rgba(139, 92, 246, 0.03), transparent);
    animation: float-nebula 25s infinite ease-in-out;
    z-index: 0;
    opacity: 0.6;
}

/* Containers para estrelas das seções */
#cosmic-sections-stars {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

#cosmic-sections-stars-layer2 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Ajustes de texto para o fundo - títulos principais em cor escura */
.cosmic-sections-bg > .container > .text-center > h3,
.cosmic-sections-bg > .container > .text-center > h4,
.cosmic-sections-bg > .container > .text-center > p {
    color: #1e293b !important;
}

/* Primeira seção com foto - todos os textos em cor escura */
.cosmic-sections-bg .text-center h3,
.cosmic-sections-bg .text-center h2,
.cosmic-sections-bg .text-center p,
.cosmic-sections-bg .text-center a {
    color: #1e293b !important;
}

.cosmic-sections-bg .text-center a:hover {
    color: #4338ca !important;
}

/* Cards com fundo branco/cinza mantêm texto escuro para legibilidade */
.cosmic-sections-bg .bg-white,
.cosmic-sections-bg .bg-slate-50 {
    color: #1e293b !important; /* Resetar para cor escura */
}

.cosmic-sections-bg .bg-white *,
.cosmic-sections-bg .bg-slate-50 * {
    color: inherit !important; /* Herdar a cor do container pai */
}

.cosmic-sections-bg .bg-white h1,
.cosmic-sections-bg .bg-white h2,
.cosmic-sections-bg .bg-white h3,
.cosmic-sections-bg .bg-white h4,
.cosmic-sections-bg .bg-white h5,
.cosmic-sections-bg .bg-white h6,
.cosmic-sections-bg .bg-slate-50 h1,
.cosmic-sections-bg .bg-slate-50 h2,
.cosmic-sections-bg .bg-slate-50 h3,
.cosmic-sections-bg .bg-slate-50 h4,
.cosmic-sections-bg .bg-slate-50 h5,
.cosmic-sections-bg .bg-slate-50 h6 {
    color: #1e293b !important; /* slate-800 - títulos escuros */
}

.cosmic-sections-bg .bg-white p,
.cosmic-sections-bg .bg-white span,
.cosmic-sections-bg .bg-slate-50 p,
.cosmic-sections-bg .bg-slate-50 span {
    color: #475569 !important; /* slate-600 - texto escuro */
}

.cosmic-sections-bg .bg-white a,
.cosmic-sections-bg .bg-slate-50 a {
    color: #4f46e5 !important; /* indigo-600 - links azuis */
}

.cosmic-sections-bg .bg-white a:hover,
.cosmic-sections-bg .bg-slate-50 a:hover {
    color: #3730a3 !important; /* indigo-800 - hover azul escuro */
}
.font-title {
    font-family: 'Cinzel', serif;
}
/* Esconde as páginas que não estão ativas */
.page {
    display: none;
}
.page.active {
    display: block;
}

/* Fundo da página de numerologia inspirado no universo azul */
.numerologia-background {
    background: 
        radial-gradient(ellipse at top, rgba(30, 58, 138, 0.4), transparent 50%),
        radial-gradient(ellipse at bottom, rgba(59, 130, 246, 0.2), transparent 50%),
        radial-gradient(ellipse at center, rgba(37, 99, 235, 0.3), transparent 50%),
        linear-gradient(135deg, #0c1426 0%, #1e293b 25%, #1e40af 50%, #215fc3 75%, #034595 100%);
    position: relative;
    overflow: hidden;
}

/* Efeito de estrelas no fundo com tons azuis */
.numerologia-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, #bfdbfe, transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(147,197,253,0.9), transparent),
        radial-gradient(1px 1px at 90% 40%, #dbeafe, transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(191,219,254,0.7), transparent),
        radial-gradient(2px 2px at 80% 10%, #93c5fd, transparent),
        radial-gradient(1px 1px at 10% 80%, rgba(147,197,253,0.8), transparent),
        radial-gradient(1px 1px at 30% 20%, #bfdbfe, transparent),
        radial-gradient(2px 2px at 70% 90%, rgba(191,219,254,0.8), transparent);
    background-repeat: repeat;
    background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px, 180px 180px, 220px 220px, 170px 170px, 280px 280px;
    animation: twinkle 10s infinite linear;
    z-index: 0;
}

/* Efeito de nebulosa flutuante em tons azuis */
.numerologia-background::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: 
        radial-gradient(ellipse 300px 400px at 20% 80%, rgba(37, 99, 235, 0.15), transparent),
        radial-gradient(ellipse 400px 300px at 80% 20%, rgba(30, 58, 138, 0.12), transparent),
        radial-gradient(ellipse 200px 500px at 50% 10%, rgba(59, 130, 246, 0.1), transparent);
    animation: float-nebula 20s infinite ease-in-out;
    z-index: 0;
}

/* Estrelas piscantes distantes */
#twinkling-stars {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

/* Segunda camada de estrelas (30% menores em tamanho) */
#twinkling-stars-layer2 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 3 !important;
}

.twinkling-star-small {
    position: absolute !important;
    width: 1.4px !important; /* 30% menor que 2px */
    height: 1.4px !important; /* 30% menor que 2px */
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6) !important; /* Brilho menor */
    animation: star-twinkle-small 3.5s ease-in-out infinite !important;
    pointer-events: none !important;
}

.twinkling-star-small:nth-child(2n) {
    animation: star-twinkle-small 4.5s ease-in-out infinite reverse !important;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5) !important;
}

.twinkling-star-small:nth-child(3n) {
    animation: star-twinkle-small 2.8s ease-in-out infinite !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.7) !important;
    width: 0.7px !important; /* Ainda menores para as terceiras */
    height: 0.7px !important;
}

.twinkling-star-small:nth-child(4n) {
    animation: star-twinkle-small 5.5s ease-in-out infinite reverse !important;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.4) !important;
}

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

.twinkling-star {
    position: absolute !important;
    width: 2px !important;
    height: 2px !important;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8) !important;
    animation: star-twinkle 3s ease-in-out infinite !important;
    pointer-events: none !important;
}

.twinkling-star:nth-child(2n) {
    animation: star-twinkle 4s ease-in-out infinite reverse !important;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6) !important;
}

.twinkling-star:nth-child(3n) {
    animation: star-twinkle 2.5s ease-in-out infinite !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9) !important;
    width: 1px !important;
    height: 1px !important;
}

.twinkling-star:nth-child(4n) {
    animation: star-twinkle 5s ease-in-out infinite reverse !important;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5) !important;
}

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

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

@keyframes float-nebula {
    0%, 100% { 
        transform: translateX(0%) translateY(0%) rotate(0deg); 
        opacity: 0.3;
    }
    25% { 
        transform: translateX(10%) translateY(-5%) rotate(90deg); 
        opacity: 0.5;
    }
    50% { 
        transform: translateX(-5%) translateY(10%) rotate(180deg); 
        opacity: 0.2;
    }
    75% { 
        transform: translateX(-10%) translateY(-5%) rotate(270deg); 
        opacity: 0.4;
    }
}

/* Animações dos números flutuantes na numerologia */
#floating-numbers {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.floating-number {
    position: absolute !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 2.5rem !important;
    font-weight: bold !important;
    font-family: 'Cinzel', serif !important;
    animation: float-up 60s linear forwards !important;
    pointer-events: none !important;
    z-index: 2 !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
    bottom: 0 !important;
}

/* Números pulsantes místicos fixos */
#mystical-numbers {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.mystical-number {
    position: absolute !important;
    color: rgba(147, 197, 253, 0.9) !important; /* Azul claro místico */
    font-size: 3rem !important;
    font-weight: bold !important;
    font-family: 'Cinzel', serif !important;
    pointer-events: none !important;
    z-index: 2 !important;
    animation: mystical-pulse 4s ease-in-out infinite !important;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.6), 0 0 40px rgba(138, 43, 226, 0.4) !important;
    transition: opacity 4s ease-in-out, transform 4s ease-in-out !important;
    will-change: opacity, transform !important;
}

@keyframes mystical-pulse {
    0% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.5;
        text-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
    }
    25% {
        transform: scale(1.1) rotate(3deg);
        opacity: 0.9;
        text-shadow: 0 0 25px rgba(138, 43, 226, 0.7), 0 0 50px rgba(75, 0, 130, 0.5);
    }
    50% {
        transform: scale(1) rotate(-2deg);
        opacity: 0.75;
        text-shadow: 0 0 20px rgba(148, 0, 211, 0.6), 0 0 40px rgba(138, 43, 226, 0.4);
    }
    75% {
        transform: scale(1.05) rotate(1deg);
        opacity: 0.85;
        text-shadow: 0 0 30px rgba(128, 0, 128, 0.8), 0 0 60px rgba(75, 0, 130, 0.3);
    }
    100% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.5;
        text-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
    }
}

/* Variações de animação para diferentes números místicos */
.mystical-number:nth-child(2n) {
    animation: mystical-pulse 5s ease-in-out infinite reverse !important;
    color: rgba(138, 43, 226, 0.9) !important; /* Purple mais visível */
}

.mystical-number:nth-child(3n) {
    animation: mystical-pulse 3.5s ease-in-out infinite !important;
    color: rgba(148, 0, 211, 0.85) !important; /* Dark violet mais visível */
}

.mystical-number:nth-child(4n) {
    animation: mystical-pulse 3.5s ease-in-out infinite reverse !important;
    color: rgba(138, 43, 226, 0.8) !important; /* Purple padrão */
}

@keyframes float-up {
  0% { 
    transform: translateY(100vh) scale(1); 
    opacity: 0; 
  }
  5% {
    opacity: 0.8;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  95% {
    opacity: 0.5;
  }
  100% { 
    transform: translateY(-120vh) scale(0.8); 
    opacity: 0; 
  }
}/* Efeito piscante */
.floating-number.blink {
    animation: float-up 60s linear forwards, blink-effect 1.5s infinite !important;
}

@keyframes blink-effect {
    0%, 50% { 
        opacity: 0.8; 
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    }
    25%, 75% { 
        opacity: 0.2; 
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
}

/* Text size improvements - 10% larger for better readability */
.text-lg {
    font-size: 1.265rem !important; /* was 1.125rem */
}

.text-xl {
    font-size: 1.375rem !important; /* was 1.25rem */
}

.text-2xl {
    font-size: 1.65rem !important; /* was 1.5rem */
}

.text-3xl {
    font-size: 2.035rem !important; /* was 1.875rem */
}

.text-4xl {
    font-size: 2.475rem !important; /* was 2.25rem */
}

.text-5xl {
    font-size: 3.3rem !important; /* was 3rem */
}

.text-6xl {
    font-size: 4.125rem !important; /* was 3.75rem */
}

p {
    font-size: 1.1rem !important; /* 10% larger than default 1rem */
    line-height: 1.6;
}

.text-sm {
    font-size: 0.96rem !important; /* was 0.875rem, now 10% larger */
}

.text-base {
    font-size: 1.1rem !important; /* was 1rem, now 10% larger */
}

/* Specific content improvements */
.text-slate-600 {
    font-size: 1.1rem !important;
    line-height: 1.6;
}

.text-purple-100 {
    font-size: 1.265rem !important; /* 10% larger than text-lg */
}

/* Button text improvements */
.font-bold {
    font-size: 1.1rem;
}

/* Specific improvements for numerology page content (additional 10% increase) */
.numerologia-background .container p {
    font-size: 1.21rem !important; /* 10% more than the previous 1.1rem */
    line-height: 1.7;
}

.numerologia-background .container .text-slate-600 {
    font-size: 1.21rem !important; /* 10% more than the previous 1.1rem */
    line-height: 1.7;
}

.numerologia-background .container .text-sm {
    font-size: 1.056rem !important; /* 10% more than the previous 0.96rem */
}

.numerologia-background .container .text-lg {
    font-size: 1.39rem !important; /* 10% more than the previous 1.265rem */
}

.numerologia-background .container .text-xl {
    font-size: 1.51rem !important; /* 10% more than the previous 1.375rem */
}

.numerologia-background .container .text-2xl {
    font-size: 1.815rem !important; /* 10% more than the previous 1.65rem */
}

.numerologia-background .container h3 {
    font-size: 1.815rem !important; /* Specific for h3 in numerology */
}

.numerologia-background .container h4 {
    font-size: 1.51rem !important; /* Specific for h4 in numerology */
}

.numerologia-background .container h5 {
    font-size: 1.39rem !important; /* Specific for h5 in numerology */
}

/* Buttons in numerology section - reduce size to prevent line breaks */
.numerologia-background .container a.bg-indigo-600,
.numerologia-background .container a.bg-green-600 {
    font-size: 0.99rem !important; /* 10% smaller than the previous 1.1rem */
}

.numerologia-background .container .text-lg.bg-indigo-600,
.numerologia-background .container .text-lg.bg-green-600 {
    font-size: 0.99rem !important; /* Override the text-lg for buttons */
}

/* Pulsing effect for the analysis button to draw attention */
.numerologia-background .container a.bg-indigo-600 {
    animation: pulse-attention 1.5s infinite;
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.8);
}

@keyframes pulse-attention {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.8);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
        filter: brightness(1.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
        filter: brightness(1);
    }
}

/* Additional blink effect for extra attention */
.numerologia-background .container a.bg-indigo-600:hover {
    animation: pulse-attention 1.5s infinite, blink-button 0.8s infinite;
}

@keyframes blink-button {
    0%, 50% {
        opacity: 1;
        filter: brightness(1.2);
    }
    25%, 75% {
        opacity: 0.6;
        filter: brightness(0.8);
    }
}

/* Regras para desktop - menu mobile */
@media (min-width: 769px) {
    header nav {
        display: flex !important;
        gap: 0.5rem !important;
        padding-right: 1rem !important;
    }
    
    header nav a {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        white-space: nowrap !important;
    }
    
    header nav.mobile-open {
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        border-top: none !important;
        border: none !important;
        padding-right: 1rem !important;
    }
    
    #mobile-menu-button {
        display: none !important;
    }
}

/* Terceira camada de estrelas - apenas para a hero section (maiores) */
#hero-stars-layer3 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

.hero-star-large {
    position: absolute !important;
    width: 8px !important;
    height: 8px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(100, 200, 255, 0.8), 0 0 90px rgba(255, 100, 200, 0.6) !important;
    animation: hero-star-twinkle 1s ease-in-out infinite !important;
    pointer-events: none !important;
}

.hero-star-large:nth-child(2n) {
    animation: hero-star-twinkle 1.3s ease-in-out infinite reverse !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(200, 150, 255, 0.4) !important;
    background: #f8f9fa !important;
}

.hero-star-large:nth-child(3n) {
    animation: hero-star-twinkle 1.1s ease-in-out infinite !important;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.7), 0 0 36px rgba(150, 200, 255, 0.3) !important;
    width: 5px !important;
    height: 5px !important;
}

.hero-star-large:nth-child(4n) {
    animation: hero-star-twinkle 1.5s ease-in-out infinite reverse !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 200, 255, 0.4) !important;
    width: 3px !important;
    height: 3px !important;
}

@keyframes hero-star-twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.1);
        filter: brightness(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.8);
        filter: brightness(1.5);
    }
}