/* ═══════════════════════════════════════════════
   FORÇA TODO TEXTO DO CAROUSEL A APARECER
   ═══════════════════════════════════════════════ */
.carousel-slide *,
.carousel-slide div,
.carousel-slide h3,
.carousel-slide p,
.carousel-slide a {
    text-indent: 0 !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    text-overflow: clip !important;
    overflow: visible !important;
    white-space: normal !important;
    font-family: Arial, sans-serif !important;
}

/* ═══════════════════════════════════════════════
   CORREÇÕES CRÍTICAS - CAROUSEL E TEXTOS
   ═══════════════════════════════════════════════ */
/* Garantir que TODOS os elementos do carousel sejam visíveis */
.news-carousel-container,
.news-carousel,
#newsCarousel,
.carousel-track,
#carouselTrack,
.carousel-slide,
.carousel-slide *,
.carousel-content,
.carousel-content *,
.carousel-badge,
.carousel-link,
.carousel-btn,
.carousel-indicators {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* Carousel - Estilos finais */
.news-carousel-container {
    min-height: 400px !important;
    margin-top: 20px !important;
    max-width: 95% !important;
    width: 95% !important;
}

#newsCarousel {
    min-height: 380px !important;
    max-height: 400px !important;
    overflow: hidden !important;
}

#carouselTrack {
    overflow: visible !important;
}

.carousel-slide {
    min-height: 400px !important;
}

.carousel-content p {
    border: none !important;
}

.carousel-track,
#carouselTrack {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 500% !important;
    height: auto !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.carousel-slide {
    display: block !important;
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    flex-shrink: 0 !important;
    float: none !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 380px !important;
}

.carousel-badge,
.carousel-slide .carousel-badge,
.carousel-slide span {
    /* Estilos removidos - usando estilos inline do JavaScript */
    display: inline-flex !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    margin: 0 0 25px 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1rem !important;
    min-height: 40px !important;
    min-width: 100px !important;
    position: relative !important;
    z-index: 1000 !important;
    height: auto !important;
    overflow: visible !important;
    text-indent: 0 !important;
    transform: none !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    line-height: 1.5 !important;
}

.carousel-content {
    display: flex !important;
    position: relative !important;
    z-index: 999 !important;
    text-align: left !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
    height: 100% !important;
    min-height: auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.carousel-content h3,
.carousel-slide h3 {
    color: #ffffff !important;
    font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 30px rgba(92,219,92,0.3) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    max-width: 90% !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
    position: relative !important;
    z-index: 1000 !important;
    height: auto !important;
    min-height: 50px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-indent: 0 !important;
    transform: none !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.carousel-content p,
.carousel-slide p {
    color: rgba(255,255,255,0.85) !important;
    background: transparent !important;
    font-size: clamp(1.1rem, 1.8vw, 1.3rem) !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: left !important;
    max-width: 80% !important;
    font-weight: 400 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4) !important;
    position: relative !important;
    z-index: 1000 !important;
    height: auto !important;
    min-height: 50px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-indent: 0 !important;
    transform: none !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
}

.carousel-link,
.carousel-slide a,
.carousel-slide .carousel-link {
    /* Estilos removidos - usando estilos inline do JavaScript para design futurista */
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px 40px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1.1rem !important;
}

.carousel-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(92, 219, 92, 0.3) !important;
    border: 2px solid rgba(144, 238, 144, 0.6) !important;
    border-radius: 50% !important;
    color: #90ee90 !important;
    font-size: 2rem !important;
    cursor: pointer !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 100 !important;
}

.carousel-prev {
    left: 30px !important;
}

.carousel-next {
    right: 30px !important;
}

.carousel-indicators {
    display: flex !important;
    gap: 15px !important;
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 100 !important;
}

.indicator {
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.indicator.active {
    background: rgba(144, 238, 144, 0.9) !important;
    box-shadow: 0 0 10px rgba(144, 238, 144, 0.8) !important;
}

/* Estilos gerais */
:root {
    /* Core colors */
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --dark-color: #1a252f;
    --light-color: #ecf0f1;
    
    --text-color: #333;
    --bg-color: #f9f9f9;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;

    /* Variáveis para o modo dark normal */
    --dark-primary: #1a202c;
    --dark-secondary: #2d3748;
    --dark-text: #e2e8f0;
    --dark-accent: #4299e1;
    --dark-shadow: 0 5px 15px rgba(0,0,0,0.3);
    
    /* Variáveis para o tema psicodélico (cannabis/cogumelo) */
    --psychedelic-primary: #0d1e11;
    --psychedelic-secondary: #0d1e11;
    --psychedelic-accent: #5cdb5c;
    --psychedelic-accent2: #2ecc71;
    --psychedelic-text: #ccffcc;
    --psychedelic-shadow: 0 0 20px rgba(92, 219, 92, 0.4);
}

/* Preloader overlay - estilo canábico */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0d1e11; /* Cor de fundo canábica */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    perspective: 1000px;
    overscroll-behavior: none;
    touch-action: none;
    user-select: none;
}

/* Impedir scroll enquanto o preloader está ativo */
body:not(.loaded) {
    height: 100vh;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
    position: fixed;
    width: 100%;
}

/* Background com efeito canábico */
#preloader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
                circle at 30% 40%, 
                rgba(92, 219, 92, 0.3), 
                transparent 70%),
                radial-gradient(
                circle at 70% 60%, 
                rgba(46, 204, 113, 0.3), 
                transparent 70%),
                linear-gradient(to bottom, 
                rgba(13, 30, 17, 0.9) 0%, 
                rgba(13, 30, 17, 0.8) 50%, 
                rgba(13, 30, 17, 0.9) 100%);
    opacity: 0.9;
    background-size: 200% 200%;
    animation: gradientBG 8s ease infinite, distortBackground 15s ease-in-out infinite alternate;
    filter: contrast(1.2) hue-rotate(0deg);
}

/* Efeito de escaneamento */
#preloader::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(92, 219, 92, 0.8), 
                #5cdb5c, 
                rgba(92, 219, 92, 0.8), 
                transparent);
    animation: scanner 2s linear infinite;
    box-shadow: 0 0 20px #5cdb5c, 0 0 40px #5cdb5c;
    z-index: 1;
}

/* Efeito de linhas de circuito */
.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 95%, rgba(92, 219, 92, 0.2) 50%) 0 0 / 20px 20px,
        linear-gradient(transparent 95%, rgba(92, 219, 92, 0.2) 50%) 0 0 / 20px 20px;
    z-index: 0;
}

.preloader-content {
    text-align: center;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    animation: float3D 5s ease-in-out infinite;
}

/* Conteúdo do holográfico */
.holo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 40px;
    transform-style: preserve-3d;
}

/* Círculo de tecnologia */
.tech-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(52, 152, 219, 0.6);
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.5), inset 0 0 30px rgba(52, 152, 219, 0.3);
    animation: rotate3D 10s linear infinite;
}

.tech-circle::before, .tech-circle::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px dashed rgba(46, 204, 113, 0.5);
    animation: rotate3D-reverse 7s linear infinite;
}

.tech-circle::after {
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    border: 4px dotted rgba(46, 204, 113, 0.5);
    animation: rotate3D 15s linear infinite;
}

/* Elemento giratório 3D hexágono */
.hex-spinner {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin3D 8s linear infinite;
}

.hex-spinner .hex {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, #3498db, #2ecc71, #1abc9c);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    opacity: 0.15;
}

.hex-spinner .hex:nth-child(1) { transform: rotateY(0deg) translateZ(30px); }
.hex-spinner .hex:nth-child(2) { transform: rotateY(60deg) translateZ(30px); }
.hex-spinner .hex:nth-child(3) { transform: rotateY(120deg) translateZ(30px); }
.hex-spinner .hex:nth-child(4) { transform: rotateY(180deg) translateZ(30px); }
.hex-spinner .hex:nth-child(5) { transform: rotateY(240deg) translateZ(30px); }
.hex-spinner .hex:nth-child(6) { transform: rotateY(300deg) translateZ(30px); }

/* Anéis rotativos */
.rotating-ring {
    position: absolute;
    border-radius: 50%;
    border: none;
}

.rotating-ring:nth-child(1) {
    width: 180px;
    height: 180px;
    border-top: 3px solid rgba(52, 152, 219, 0.8);
    border-right: 3px solid transparent;
    animation: rotate 4s linear infinite;
}

.rotating-ring:nth-child(2) {
    width: 150px;
    height: 150px;
    border-bottom: 3px solid rgba(46, 204, 113, 0.8);
    border-left: 3px solid transparent;
    animation: rotate-reverse 4s linear infinite;
}

.rotating-ring:nth-child(3) {
    width: 120px;
    height: 120px;
    border-top: 3px solid rgba(46, 204, 113, 0.8);
    border-left: 3px solid transparent;
    animation: rotate 3s linear infinite;
}

/* Seção das bolhas reconfiguradas para efeito psicodélico/alucinógeno */
#preloader .loading-bubbles {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.05) skew(5deg, 0deg); }
    50% { transform: rotate(0deg) scale(1.1); }
    75% { transform: rotate(-5deg) scale(1.05) skew(-5deg, 0deg); }
}

/* Efeito psicodélico nas bolhas */
#preloader .bubble.psychedelic {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: conic-gradient(
        #5cdb5c, #2ecc71, #5cdb5c, #1abc9c, #5cdb5c
    );
    background-size: 400% 400%;
    animation: 
        psychedelic-rotate 3s linear infinite,
        psychedelic-pulse 2s ease-in-out infinite,
        gradientShift 5s ease infinite,
        psychedelic-orbit 8s ease-in-out infinite,
        blob-morph 10s ease-in-out infinite;
    opacity: 0.9;
    box-shadow: 
        0 0 30px rgba(92, 219, 92, 0.8),
        0 0 60px rgba(92, 219, 92, 0.6),
        0 0 90px rgba(92, 219, 92, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.8);
    filter: hue-rotate(0deg) blur(0px);
    transform-style: preserve-3d;
    mix-blend-mode: screen;
    clip-path: circle(50% at 50% 50%);
}

/* Efeito de blob/morphing para as bolhas */
@keyframes blob-morph {
    0%, 100% {
        border-radius: 50%;
        clip-path: circle(50% at 50% 50%);
    }
    25% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        clip-path: ellipse(50% 50% at 50% 50%);
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    }
    75% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        clip-path: ellipse(50% 50% at 50% 50%);
    }
}

/* Tamanho e posição das bolhas individuais (psicodélicas) */
#preloader .bubble.psychedelic:nth-child(1) {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    width: 40px;
    height: 40px;
    box-shadow: 
        0 0 40px rgba(92, 219, 92, 1), 
        0 0 80px rgba(46, 204, 113, 0.8),
        0 0 120px rgba(46, 204, 113, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 1);
    opacity: 1;
    z-index: 10;
    animation-duration: 10s, 3s, 8s, 20s, 30s;
    animation-delay: 0s, 0s, 0s, 0s, 0s;
}

#preloader .bubble.psychedelic:nth-child(2) {
    left: 30%;
    top: 30%;
    animation-delay: 0.3s, 0.5s, 1s, 0.2s;
    animation-duration: 7s, 4s, 7s, 12s;
}

#preloader .bubble.psychedelic:nth-child(3) {
    left: 70%;
    top: 40%;
    animation-delay: 0.6s, 1s, 0.5s, 0.4s;
    animation-duration: 8s, 3.5s, 9s, 15s;
}

#preloader .bubble.psychedelic:nth-child(4) {
    left: 40%;
    top: 70%;
    animation-delay: 0.9s, 1.5s, 1.2s, 0.6s;
    width: 15px;
    height: 15px;
    animation-duration: 9s, 2.5s, 10s, 18s;
}

#preloader .bubble.psychedelic:nth-child(5) {
    left: 65%;
    top: 60%;
    animation-delay: 1.2s, 2s, 0.8s, 0.8s;
    width: 18px;
    height: 18px;
    animation-duration: 6s, 3.2s, 6s, 14s;
}

#preloader .bubble.psychedelic:nth-child(6) {
    left: 55%;
    top: 25%;
    animation-delay: 1.5s, 2.5s, 1.5s, 1s;
    width: 22px;
    height: 22px;
    animation-duration: 7.5s, 2.8s, 7.5s, 16s;
}

/* Animações de rastro para as bolhas */
#preloader .bubble.psychedelic::before,
#preloader .bubble.psychedelic::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: trail-effect 3s linear infinite;
    opacity: 0.7;
    filter: blur(5px);
    transform-origin: center;
}

#preloader .bubble.psychedelic::before {
    animation-delay: -1s;
}

#preloader .bubble.psychedelic::after {
    animation-delay: -2s;
}

/* Animações psicodélicas */
@keyframes psychedelic-rotate {
    0% { 
        transform: rotate(0deg) scale(1); 
        filter: hue-rotate(0deg) contrast(1.5) brightness(1.2);
    }
    50% { 
        transform: rotate(180deg) scale(1.3); 
        filter: hue-rotate(180deg) contrast(2) brightness(1.5);
    }
    100% { 
        transform: rotate(360deg) scale(1); 
        filter: hue-rotate(360deg) contrast(1.5) brightness(1.2);
    }
}

@keyframes psychedelic-pulse {
    0%, 100% { 
        transform: scale(1); 
        filter: blur(0px);
    }
    50% { 
        transform: scale(1.5); 
        filter: blur(2px);
    }
}

@keyframes psychedelic-orbit {
    0% {
        transform: translateZ(0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateZ(50px) rotateX(90deg) rotateY(90deg);
    }
    50% {
        transform: translateZ(0) rotateX(180deg) rotateY(180deg);
    }
    75% {
        transform: translateZ(-50px) rotateX(270deg) rotateY(270deg);
    }
    100% {
        transform: translateZ(0) rotateX(360deg) rotateY(360deg);
    }
}

@keyframes trail-effect {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Efeito de números binários aleatórios */
.binary-text {
    position: absolute;
    color: rgba(92, 219, 92, 0.4);
    font-family: monospace;
    font-size: 10px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.binary-text::after {
    content: "01010111 01000101 01001100 01000011 01001111 01001101 01000101 00100000 01010100 01001111 00100000 01010100 01001000 01000101 00100000 01000110 01010101 01010100 01010101 01010010 01000101 00001010";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.2;
    color: rgba(92, 219, 92, 0.5);
    text-shadow: 0 0 5px rgba(92, 219, 92, 0.8);
    animation: matrix-effect 10s linear infinite;
    width: 100%;
    height: 200%;
}

@keyframes matrix-effect {
    0% { top: 0; }
    100% { top: -100%; }
}

/* Barras de progresso digitais */
.progress-bars {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
    position: relative;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #5cdb5c, #2ecc71);
    animation: progressAnimate 2s ease-in-out infinite;
    transform-origin: left;
}

.progress-bar:nth-child(2)::before {
    animation-delay: 0.4s;
}

.progress-bar:nth-child(3)::before {
    animation-delay: 0.8s;
}

/* Mini números binários */
.binary-text {
    position: absolute;
    color: rgba(92, 219, 92, 0.4);
    font-family: monospace;
    font-size: 10px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* Linha de digitalização */
.scan-line {
    position: absolute;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, 
        rgba(52, 152, 219, 0) 0%,
        rgba(52, 152, 219, 0.5) 50%,
        rgba(52, 152, 219, 0) 100%);
    animation: scanline 2s linear infinite;
    opacity: 0.7;
    z-index: 2;
}

/* Animações para o preloader */
@keyframes scanner {
    0% { top: -5px; }
    50% { top: 100%; }
    50.001% { top: -5px; }
    100% { top: 100%; }
}

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

@keyframes rotate-reverse {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes glitch {
    0%, 100% { transform: skew(0deg); }
    33% { transform: skew(0.5deg); }
    66% { transform: skew(-0.5deg); }
}

@keyframes glitch-effect {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-5px, 3px); }
    66% { transform: translate(5px, -3px); }
}

@keyframes spin3D {
    0% { transform: translate(-50%, -50%) rotateY(0deg); }
    100% { transform: translate(-50%, -50%) rotateY(360deg); }
}

@keyframes float3D {
    0%, 100% { transform: translateZ(0) translateY(0) rotateX(0deg); }
    25% { transform: translateZ(15px) translateY(-5px) rotateX(5deg); }
    50% { transform: translateZ(25px) translateY(0) rotateX(0deg); }
    75% { transform: translateZ(15px) translateY(5px) rotateX(-5deg); }
}

@keyframes rotate3D {
    0% { transform: translate(-50%, -50%) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateZ(360deg); }
}

@keyframes rotate3D-reverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes pulse3D {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.2); filter: brightness(1.5); }
}

@keyframes progressAnimate {
    0% { transform: scaleX(0); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
    50.001% { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

@keyframes scanline {
    0% { top: 0%; }
    100% { top: 100%; }
}

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

#main-content {
    opacity: 0;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    visibility: hidden;
    will-change: opacity, visibility;
}

body.loaded #main-content {
    opacity: 1;
    visibility: visible;
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 25px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    position: relative;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.logo i {
    font-size: 2.5rem;
    margin-right: 15px;
    color: var(--secondary-color);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    margin: 8px 0 0;
    opacity: 0.9;
    max-width: 600px;
    letter-spacing: 0.5px;
}

/* Botão do Painel Admin */
.admin-access {
    position: absolute;
    top: 20px;
    right: 20px;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #234015;
    color: #90ee90;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid rgba(144, 238, 144, 0.4);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 6px rgba(144, 238, 144, 0.4);
}

.admin-btn:hover {
    background: #2d5016;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
    color: #c7f9cc;
    border-color: rgba(144, 238, 144, 0.6);
    text-shadow: 0 0 10px rgba(144, 238, 144, 0.6);
}

.admin-btn i {
    font-size: 16px;
}

/* Efeito canábico no admin-btn */
.admin-btn::before {
    content: '🌿';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    animation: leafFloat 2s ease-in-out infinite alternate;
}

.admin-btn:hover::before {
    left: 8px;
    opacity: 0.8;
}

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

/* Sections */
.section-header {
    text-align: center;
    margin: 50px 0 30px;
    padding: 30px 20px;
    background: rgba(45, 80, 22, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(144, 238, 144, 0.2);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #b9f9b9;
    margin-bottom: 15px;
    text-shadow: 0 0 3px rgba(92, 219, 92, 0.8), 0 0 15px rgba(92, 219, 92, 0.5);
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #b9f9b9;
    margin-right: 15px;
    text-shadow: 0 0 3px rgba(92, 219, 92, 0.8), 0 0 15px rgba(92, 219, 92, 0.5);
}

/* Seletores específicos para garantir que o estilo seja aplicado */
.section-header .section-title,
.featured-carousel .section-title,
.manual-articles-section .section-title,
.affiliate-section .section-title,
.news-grid .section-title {
    -webkit-text-fill-color: rgb(0 255 63 / 50%) !important;
}

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--secondary-color), transparent);
}

/* Featured Carousel - Novo Design */
.featured-carousel {
    margin: 30px 0 50px 0;
    position: relative;
    display: block !important;
    visibility: visible !important;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 0 30px rgba(0, 255, 100, 0.3), 0 8px 32px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #2d5016, #4a7c23);
    border: 1px solid rgba(144, 238, 144, 0.3);
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: flex-end;
}

.carousel-item.active {
    opacity: 1 !important;
    z-index: 2 !important;
    display: flex !important;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 30%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.carousel-content {
    position: relative;
    width: 100%;
    padding: 30px;
    color: white;
    z-index: 3;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    backdrop-filter: blur(3px);
}

.carousel-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.carousel-source {
    color: var(--accent-color);
    font-weight: 500;
}

.carousel-date {
    color: rgba(255, 255, 255, 0.8);
}

.carousel-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-description {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 20px 0;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.carousel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(144, 238, 144, 0.9);
    color: #1a3009;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(144, 238, 144, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(144, 238, 144, 0.6);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.carousel-link:hover {
    /* Estilos removidos - usando estilos inline do JavaScript para design futurista */
    transform: translateX(8px) scale(1.03);
}

.language-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.language-tag.pt {
    background: rgba(0, 150, 0, 0.8);
}

.language-tag.en {
    background: rgba(0, 100, 200, 0.8);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(144, 238, 144, 0.9);
    border: 2px solid rgba(144, 238, 144, 0.7);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #2d5016;
    box-shadow: 0 0 15px rgba(144, 238, 144, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: #90ee90;
    border-color: #90ee90;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(144, 238, 144, 0.6), 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #1a3009;
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(144, 238, 144, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(144, 238, 144, 0.6);
    box-shadow: 0 0 5px rgba(144, 238, 144, 0.3);
}

.carousel-dot.active {
    background: #90ee90;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(144, 238, 144, 0.6);
    border-color: #90ee90;
}

@media (max-width: 768px) {
    .carousel-wrapper {
        height: 350px;
    }
    
    .carousel-content {
        padding: 20px;
    }
    
    .carousel-title {
        font-size: 1.4rem;
    }
    
    .carousel-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.news-card {
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.news-image {
    position: relative; /* Garante posicionamento correto do botão */
    overflow: hidden;
    height: 200px;
    background-color: var(--background-dimmed);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

/* Placeholder icon when image is empty */
.news-image:not(:has(img[src]:not([src=""]))) {
    position: relative;
}

.news-image:not(:has(img[src]:not([src=""])))::after {
    content: '\f3cd';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 3rem;
    color: var(--text-muted);
    position: absolute;
    z-index: 3;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-image .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1;
}

.news-image .language-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    background-color: var(--accent-color);
    color: white;
    padding: 3px 8px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: bold;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--primary-color);
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

.source {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #999;
}

/* Loading indicator */
.loading-indicator {
    text-align: center;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px; /* Increased height to provide more space */
    position: relative;
    perspective: 1000px;
    overflow: visible; /* Changed from hidden to visible to prevent text cutting */
}

/* Loading indicator with psychedelic background */
.loading-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(92, 219, 92, 0.2), transparent 70%);
    z-index: 0;
    animation: pulse-cannabis 3s ease-in-out infinite;
    border-radius: var(--border-radius);
}

@keyframes pulse-cannabis {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.05); opacity: 0.3; }
}

/* Fractal kaleidoscope loading visualization */
.loading-fractals {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    transform-style: preserve-3d;
}

/* Pulsating core */
.fractal-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        #5cdb5c, #0d1e11, #2ecc71, #5cdb5c, #0d1e11, #2ecc71, #5cdb5c
    );
    border-radius: 50%;
    animation: 
        core-pulse 3s ease-in-out infinite,
        gradientShift 8s ease infinite,
        rotate-3d 10s linear infinite;
    box-shadow: 
        0 0 30px rgba(92, 219, 92, 0.8),
        0 0 60px rgba(46, 204, 113, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.8);
    z-index: 5;
}

/* Geometric patterns */
.fractal-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate-3d-reverse 20s linear infinite;
}

.fractal-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    transform-style: preserve-3d;
}

/* Multiple rings with different properties */
.fractal-ring:nth-child(1) {
    border-top: 2px solid rgba(92, 219, 92, 0.8);
    border-bottom: 2px solid rgba(46, 204, 113, 0.8);
    animation: rotate-x 10s linear infinite;
}

.fractal-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-left: 2px solid rgba(92, 219, 92, 0.8);
    border-right: 2px solid rgba(46, 204, 113, 0.8);
    animation: rotate-y 8s linear infinite;
}

.fractal-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border: 2px dashed rgba(92, 219, 92, 0.6);
    animation: rotate-z 6s linear infinite;
}

/* Geometric shapes */
.fractal-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
}

/* Hexagon shape */
.fractal-shape.hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(45deg, rgba(92, 219, 92, 0.5), rgba(46, 204, 113, 0.5));
    animation: 
        rotate-z 15s linear infinite,
        morph-shape 8s ease-in-out infinite alternate;
}

/* Triangle shape */
.fractal-shape.triangle {
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.5), rgba(92, 219, 92, 0.5));
    animation: 
        rotate-z-reverse 12s linear infinite,
        morph-shape-reverse 10s ease-in-out infinite alternate;
    width: 80px;
    height: 80px;
}

/* Leaf/Cannabis symbol */
.fractal-leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    transform-origin: center;
    z-index: 2;
}

.fractal-leaf svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(92, 219, 92, 0.8));
}

.fractal-leaf:nth-child(1) {
    top: 10px;
    left: 50%;
    animation: orbit-rotate 8s linear infinite;
}

.fractal-leaf:nth-child(2) {
    top: 50%;
    right: 10px;
    animation: orbit-rotate 8s linear infinite 1s;
}

.fractal-leaf:nth-child(3) {
    bottom: 10px;
    left: 50%;
    animation: orbit-rotate 8s linear infinite 2s;
}

.fractal-leaf:nth-child(4) {
    top: 50%;
    left: 10px;
    animation: orbit-rotate 8s linear infinite 3s;
}

/* Additional cannabis leaf positions */
.fractal-leaf.alt-position-1 {
    top: 15%;
    left: 25%;
    width: 30px;
    height: 30px;
    animation: orbit-rotate-reverse 12s linear infinite, cannabis-pulse 5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(92, 219, 92, 0.8)) hue-rotate(5deg);
}

.fractal-leaf.alt-position-2 {
    top: 15%;
    right: 25%;
    width: 30px;
    height: 30px;
    animation: orbit-rotate-reverse 12s linear infinite 3s, cannabis-pulse 5s ease-in-out 0.5s infinite;
    filter: drop-shadow(0 0 10px rgba(92, 219, 92, 0.8)) hue-rotate(-5deg);
}

.fractal-leaf.alt-position-3 {
    bottom: 25%;
    right: 20%;
    width: 30px;
    height: 30px;
    animation: orbit-rotate-reverse 12s linear infinite 6s, cannabis-pulse 5s ease-in-out 1s infinite;
    filter: drop-shadow(0 0 10px rgba(92, 219, 92, 0.8)) hue-rotate(10deg);
}

.fractal-leaf.alt-position-4 {
    bottom: 25%;
    left: 20%;
    width: 30px;
    height: 30px;
    animation: orbit-rotate-reverse 12s linear infinite 9s, cannabis-pulse 5s ease-in-out 1.5s infinite;
    filter: drop-shadow(0 0 10px rgba(92, 219, 92, 0.8)) hue-rotate(-10deg);
}

/* Animation for cannabis leaves */
@keyframes cannabis-pulse {
    0% {
        transform: scale(0.9) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(92, 219, 92, 0.8)) brightness(1);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 15px rgba(92, 219, 92, 1)) brightness(1.2);
    }
    100% {
        transform: scale(0.95) rotate(-3deg);
        filter: drop-shadow(0 0 12px rgba(92, 219, 92, 0.9)) brightness(1.1);
    }
}

/* DNA double helix effect */
.dna-strand {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 2px;
    transform-style: preserve-3d;
    animation: rotate-y 15s linear infinite;
}

.dna-point {
    position: absolute;
    width: 8px;
    height: 8px;
    left: -3px;
    border-radius: 50%;
    background: rgba(92, 219, 92, 0.8);
    box-shadow: 0 0 10px rgba(92, 219, 92, 0.8);
}

.dna-point:nth-child(odd) {
    animation: dna-wave 3s ease-in-out infinite;
}

.dna-point:nth-child(even) {
    background: rgba(46, 204, 113, 0.8);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
    animation: dna-wave-reverse 3s ease-in-out infinite;
}

.dna-point:nth-child(1) { top: 5%; }
.dna-point:nth-child(2) { top: 15%; }
.dna-point:nth-child(3) { top: 25%; }
.dna-point:nth-child(4) { top: 35%; }
.dna-point:nth-child(5) { top: 45%; }
.dna-point:nth-child(6) { top: 55%; }
.dna-point:nth-child(7) { top: 65%; }
.dna-point:nth-child(8) { top: 75%; }
.dna-point:nth-child(9) { top: 85%; }
.dna-point:nth-child(10) { top: 95%; }

/* Energy particles */
.energy-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: particle-flow 4s linear infinite;
}

.energy-particle:nth-child(1) {
    animation-delay: 0s;
    background: rgba(92, 219, 92, 0.8);
    box-shadow: 0 0 10px rgba(92, 219, 92, 0.8);
}

.energy-particle:nth-child(2) {
    animation-delay: 0.4s;
}

.energy-particle:nth-child(3) {
    animation-delay: 0.8s;
    background: rgba(46, 204, 113, 0.8);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
}

.energy-particle:nth-child(4) {
    animation-delay: 1.2s;
}

.energy-particle:nth-child(5) {
    animation-delay: 1.6s;
    background: rgba(92, 219, 92, 0.8);
    box-shadow: 0 0 10px rgba(92, 219, 92, 0.8);
}

.energy-particle:nth-child(6) {
    animation-delay: 2s;
    background: rgba(46, 204, 113, 0.8);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
}

.energy-particle:nth-child(7) {
    animation-delay: 2.4s;
}

.energy-particle:nth-child(8) {
    animation-delay: 2.8s;
    background: rgba(92, 219, 92, 0.8);
    box-shadow: 0 0 10px rgba(92, 219, 92, 0.8);
}

.loading-text {
    color: #5cdb5c;
    font-size: 18px;
    font-weight: 500;
    background: linear-gradient(90deg, #5cdb5c, #2ecc71);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(92, 219, 92, 0.3);
    letter-spacing: 1px;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 0 10px;
    overflow: visible;
}

/* Enhanced loading text for psychedelic mode */
body.psychedelic-mode .loading-text {
    font-weight: 700;
    text-shadow: 0 0 8px rgba(92, 219, 92, 0.6);
    animation: pulse-cannabis-text 3s ease-in-out infinite;
}

/* Psychedelic animations for the loading fractals */
@keyframes core-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        filter: hue-rotate(0deg) brightness(1.2);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        filter: hue-rotate(180deg) brightness(1.5);
    }
}

@keyframes rotate-3d {
    0% {
        transform: translate(-50%, -50%) rotate3d(1, 1, 1, 0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate3d(1, 1, 1, 360deg);
    }
}

@keyframes rotate-3d-reverse {
    0% {
        transform: translate(-50%, -50%) rotate3d(1, 1, 1, 0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate3d(1, 1, 1, -360deg);
    }
}

@keyframes rotate-x {
    0% { transform: rotateX(0deg); }
    100% { transform: rotateX(360deg); }
}

@keyframes rotate-y {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes rotate-z {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(360deg); }
}

@keyframes rotate-z-reverse {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(-360deg); }
}

@keyframes morph-shape {
    0% {
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    }
    50% {
        clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
    }
    100% {
        clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    }
}

@keyframes morph-shape-reverse {
    0% {
        clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    }
    50% {
        clip-path: polygon(50% 0%, 80% 90%, 20% 90%);
    }
    100% {
        clip-path: polygon(0% 30%, 100% 30%, 50% 100%);
    }
}

@keyframes orbit-rotate {
    0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

@keyframes orbit-rotate-reverse {
    0% {
        transform: rotate(0deg) translateX(40px) rotate(0deg);
    }
    100% {
        transform: rotate(-360deg) translateX(40px) rotate(360deg);
    }
}

@keyframes dna-wave {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(20px);
    }
}

@keyframes dna-wave-reverse {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(-20px);
    }
}

@keyframes particle-flow {
    0% {
        top: 0%;
        left: 0%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        top: 100%;
        left: 100%;
        opacity: 0;
    }
}

@keyframes pulse-cannabis-text {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
        filter: hue-rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        filter: hue-rotate(30deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        filter: hue-rotate(90deg) brightness(1.2);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
        filter: hue-rotate(180deg) brightness(1.4);
    }
    75% {
        filter: hue-rotate(270deg) brightness(1.2);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Spinner animation - keeping for backward compatibility */
.spinner {
    display: none; /* Hide the old spinner */
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
    margin-bottom: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 1.8rem;
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-logo h2 {
    font-size: 1.8rem;
}

.footer-content p {
    max-width: 600px;
    margin: 0 auto;
    color: #bdc3c7;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Responsividade */
@media (max-width: 768px) {
    .carousel-container {
        height: 400px;
    }
    
    .carousel-content h2 {
        font-size: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 576px) {
    .carousel-container {
        height: 350px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-content p {
        display: none;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@keyframes floatPreloader {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) scale(1.15) rotate(10deg);
    }
}

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

/* Distortion effect */
@keyframes distortBackground {
    0% {
        filter: contrast(1.5) hue-rotate(0deg) saturate(1.2);
        transform: scale(1.0) rotate(0deg) skew(0deg);
    }
    25% {
        filter: contrast(2) hue-rotate(90deg) saturate(1.5);
        transform: scale(1.05) rotate(2deg) skew(3deg);
    }
    50% {
        filter: contrast(1.8) hue-rotate(180deg) saturate(1.4);
        transform: scale(1.1) rotate(-1deg) skew(-2deg);
    }
    75% {
        filter: contrast(2.2) hue-rotate(270deg) saturate(1.6);
        transform: scale(1.05) rotate(3deg) skew(1deg);
    }
    100% {
        filter: contrast(1.5) hue-rotate(360deg) saturate(1.2);
        transform: scale(1.0) rotate(0deg) skew(0deg);
    }
}

/* Efeitos psicodélicos adicionais */
body.psychedelic-mode .carousel-container {
    overflow: visible;
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.5);
}

body.psychedelic-mode .carousel-item.active {
    box-shadow: 0 0 30px rgba(92, 219, 92, 0.5);
    animation: psychedelic-waves 8s ease infinite;
}

body.psychedelic-mode .carousel-content {
    background: linear-gradient(to bottom, 
                transparent, 
                rgba(13, 30, 17, 0.7), 
                rgba(13, 30, 17, 0.9));
    backdrop-filter: blur(5px);
}

body.psychedelic-mode .carousel-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.psychedelic-mode .carousel-control {
    background-color: rgba(92, 219, 92, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(46, 204, 113, 0.5);
    box-shadow: 0 0 15px rgba(92, 219, 92, 0.3);
}

body.psychedelic-mode .carousel-control:hover {
    background-color: rgba(92, 219, 92, 0.5);
    transform: scale(1.1);
}

body.psychedelic-mode .indicator {
    background-color: rgba(46, 204, 113, 0.5);
}

body.psychedelic-mode .indicator.active {
    background-color: var(--psychedelic-accent);
    box-shadow: 0 0 10px var(--psychedelic-accent);
}

body.psychedelic-mode .container {
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
}

body.psychedelic-mode.scrolling .container {
    animation: subtle-distortion 0.5s ease-out;
}

@keyframes subtle-distortion {
    0% { transform: rotateX(0deg); }
    50% { transform: rotateX(1deg); }
    100% { transform: rotateX(0deg); }
}

@keyframes psychedelic-waves {
    0%, 100% { 
        filter: hue-rotate(0deg) brightness(1);
        transform: scale(1);
    }
    33% { 
        filter: hue-rotate(15deg) brightness(1.05);
        transform: scale(1.01);
    }
    66% { 
        filter: hue-rotate(-15deg) brightness(0.95);
        transform: scale(0.99);
    }
}

/* Efeito de texto distorcido nos títulos no modo psicodélico */
body.psychedelic-mode .news-content h3 {
    position: relative;
    overflow: hidden;
}

body.psychedelic-mode .news-content h3::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: -2px;
    width: 100%;
    color: rgba(92, 219, 92, 0.5);
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: psychedelic-text-glitch 3s infinite linear alternate-reverse;
}

body.psychedelic-mode .news-content h3::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 2px;
    width: 100%;
    color: rgba(46, 204, 113, 0.5);
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: psychedelic-text-glitch 2s infinite linear alternate-reverse;
}

@keyframes psychedelic-text-glitch {
    0% {
        clip: rect(44px, 9999px, 96px, 0);
    }
    5% {
        clip: rect(11px, 9999px, 59px, 0);
    }
    10% {
        clip: rect(84px, 9999px, 59px, 0);
    }
    15% {
        clip: rect(89px, 9999px, 100px, 0);
    }
    20% {
        clip: rect(91px, 9999px, 28px, 0);
    }
    25% {
        clip: rect(24px, 9999px, 4px, 0);
    }
    30% {
        clip: rect(90px, 9999px, 27px, 0);
    }
    35% {
        clip: rect(49px, 9999px, 40px, 0);
    }
    40% {
        clip: rect(32px, 9999px, 23px, 0);
    }
    45% {
        clip: rect(11px, 9999px, 84px, 0);
    }
    50% {
        clip: rect(5px, 9999px, 73px, 0);
    }
    55% {
        clip: rect(65px, 9999px, 61px, 0);
    }
    60% {
        clip: rect(89px, 9999px, 7px, 0);
    }
    65% {
        clip: rect(84px, 9999px, 2px, 0);
    }
    70% {
        clip: rect(13px, 9999px, 98px, 0);
    }
    75% {
        clip: rect(51px, 9999px, 2px, 0);
    }
    80% {
        clip: rect(21px, 9999px, 28px, 0);
    }
    85% {
        clip: rect(21px, 9999px, 25px, 0);
    }
    90% {
        clip: rect(82px, 9999px, 83px, 0);
    }
    95% {
        clip: rect(23px, 9999px, 21px, 0);
    }
    100% {
        clip: rect(81px, 9999px, 37px, 0);
    }
}

/* Efeito de foco alucinógeno para imagens no hover */
body.psychedelic-mode .news-card:hover .news-image img {
    animation: trippy-focus 2s ease infinite;
}

@keyframes trippy-focus {
    0%, 100% {
        filter: saturate(120%) contrast(110%) hue-rotate(0deg);
        transform: scale(1.05);
    }
    33% {
        filter: saturate(140%) contrast(120%) hue-rotate(10deg);
        transform: scale(1.07);
    }
    66% {
        filter: saturate(130%) contrast(115%) hue-rotate(-10deg);
        transform: scale(1.06);
    }
}

/* Botão de alternância de tema */
.theme-toggle {
    display: none;
}

header .container {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (max-width: 768px) {
    .theme-toggle {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    #theme-switch {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

#theme-switch {
    display: none;
}

#theme-switch i {
    display: none;
}

/* Tema psicodélico (cannabis/cogumelo) */
body.psychedelic-mode {
    background-color: var(--psychedelic-primary);
    color: var(--psychedelic-text);
    position: relative;
    overflow-x: hidden;
    perspective: none;
}

/* Fundo psicodélico animado */
body.psychedelic-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(92, 219, 92, 0.15), transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(46, 204, 113, 0.2), transparent 50%);
    z-index: -1;
    animation: psychedelic-bg 15s ease infinite alternate;
    pointer-events: none;
}

/* Padrão de fractais sutis */
body.psychedelic-mode::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="none" stroke="rgba(92, 219, 92, 0.1)" d="M30,50 a20,20 0 1,0 40,0 a20,20 0 1,0 -40,0 M50,30 a20,20 0 1,0 0,40 a20,20 0 1,0 0,-40 M50,50 m-20,0 a20,20 0 1,0 40,0 a20,20 0 1,0 -40,0 M50,50 m0,-20 a20,20 0 1,0 0,40 a20,20 0 1,0 0,-40" /></svg>');
    opacity: 0.3;
    z-index: -1;
    animation: psychedelic-pattern 30s linear infinite;
    pointer-events: none;
}

/* Elementos do tema psicodélico */
body.psychedelic-mode header {
    background: linear-gradient(135deg, var(--psychedelic-primary), var(--psychedelic-secondary));
    box-shadow: 0 5px 15px rgba(92, 219, 92, 0.3);
}

body.psychedelic-mode .logo i {
    color: var(--psychedelic-accent);
    filter: drop-shadow(0 0 5px rgba(92, 219, 92, 0.8));
}

body.psychedelic-mode h1,
body.psychedelic-mode h2,
body.psychedelic-mode h3 {
    color: #b9f9b9;
    text-shadow: 0 0 3px rgba(92, 219, 92, 0.78), 0 0 12px rgba(92, 219, 92, 0.48);
}

body.psychedelic-mode .news-card {
    background-color: rgba(26, 32, 44, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 204, 113, 0.5);
    box-shadow: 0 0 15px rgba(92, 219, 92, 0.2);
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

body.psychedelic-mode .news-card:hover {
    transform: translateY(-7px) rotateX(5deg);
    box-shadow: 0 15px 25px rgba(92, 219, 92, 0.3);
    border-color: rgba(46, 204, 113, 0.5);
}

body.psychedelic-mode .news-content p {
    color: rgba(204, 255, 204, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.psychedelic-mode .btn,
body.psychedelic-mode #load-more-btn {
    background: #234015;
    color: var(--light-primary, #c7f9cc);
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

body.psychedelic-mode .btn::after,
body.psychedelic-mode #load-more-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(92, 219, 92, 0.38), rgba(46, 204, 113, 0.30));
    pointer-events: none;
}

body.psychedelic-mode .read-more {
    color: var(--psychedelic-accent);
}

body.psychedelic-mode .badge {
    background-color: var(--psychedelic-accent2);
}

body.psychedelic-mode .section-line {
    background: linear-gradient(to right, rgba(92, 219, 92, 0.58), rgba(46, 204, 113, 0.48));
    height: 3px;
    opacity: 1;
    animation: pulse-line 4s ease-in-out infinite;
}

body.psychedelic-mode footer {
    background: linear-gradient(to top, var(--psychedelic-primary), var(--psychedelic-secondary));
}

/* Folhas de cannabis flutuantes para o modo psicodélico */
.cannabis-leaf {
    position: fixed;
    z-index: -1;
    opacity: 0;
    animation: float-leaf 20s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(92, 219, 92, 0.8));
    pointer-events: none;
    will-change: transform, opacity;
    transition: transform 0.3s ease-out;
}

/* Folhas que sobem do fundo */
.cannabis-leaf.rising {
    animation: float-leaf-rising 25s ease-in-out infinite;
}

@keyframes float-leaf {
    0% {
        opacity: 0;
        filter: drop-shadow(0 0 5px rgba(92, 219, 92, 0.5)) hue-rotate(0deg);
        transform: translateX(0) translateY(0) rotate(0deg) scale(0.8);
    }
    5% {
        opacity: 0.3;
    }
    15% {
        opacity: 0.9;
        filter: drop-shadow(0 0 8px rgba(92, 219, 92, 0.7)) hue-rotate(5deg);
    }
    85% {
        opacity: 0.9;
        filter: drop-shadow(0 0 12px rgba(92, 219, 92, 0.8)) hue-rotate(-5deg);
    }
    95% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        filter: drop-shadow(0 0 15px rgba(92, 219, 92, 0.9)) hue-rotate(0deg);
        transform: translateX(calc(100vw + 50px)) translateY(50vh) rotate(360deg) scale(1.2);
    }
}

/* Animação para folhas subindo do fundo */
@keyframes float-leaf-rising {
    0% {
        opacity: 0;
        filter: drop-shadow(0 0 5px rgba(92, 219, 92, 0.5)) hue-rotate(0deg);
        transform: translateY(0) translateX(0) rotate(-90deg) scale(0.8);
    }
    5% {
        opacity: 0.3;
    }
    15% {
        opacity: 0.9;
        filter: drop-shadow(0 0 8px rgba(92, 219, 92, 0.7)) hue-rotate(5deg);
    }
    85% {
        opacity: 0.9;
        filter: drop-shadow(0 0 12px rgba(92, 219, 92, 0.8)) hue-rotate(-5deg);
        transform: translateY(-70vh) translateX(20vw) rotate(90deg) scale(1.1);
    }
    95% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        filter: drop-shadow(0 0 15px rgba(92, 219, 92, 0.9)) hue-rotate(0deg);
        transform: translateY(-100vh) translateX(30vw) rotate(180deg) scale(1.2);
    }
}

@keyframes psychedelic-bg {
    0% {
        background-position: 0% 0%;
        filter: hue-rotate(0deg);
    }
    100% {
        background-position: 100% 100%;
        filter: hue-rotate(30deg);
    }
}

@keyframes psychedelic-pattern {
    0% {
        background-position: 0 0;
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        background-position: 100px 100px;
        opacity: 0.2;
    }
}

@keyframes pulse-line {
    0%, 100% { opacity: 0.5; width: 100%; }
    50% { opacity: 0.8; width: 98%; }
}

/* Modo dark normal */
body.dark-mode {
    background-color: var(--dark-primary);
    color: var(--dark-text);
}

body.dark-mode header {
    background-color: var(--dark-secondary);
}

body.dark-mode .news-card {
    background-color: var(--dark-secondary);
    box-shadow: var(--dark-shadow);
}

body.dark-mode .news-content h3 {
    color: var(--dark-text);
}

body.dark-mode .news-content p {
    color: #a0aec0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.dark-mode .section-title {
    color: var(--dark-text);
}

body.dark-mode .section-line {
    background: linear-gradient(to right, var(--dark-accent), transparent);
}

body.dark-mode .btn {
    background-color: var(--dark-accent);
}

body.dark-mode .btn:hover {
    background-color: #3182ce;
}

body.dark-mode footer {
    background-color: var(--dark-secondary);
}

body.dark-mode .footer-content p {
    color: #a0aec0;
}

body.dark-mode .copyright {
    color: #718096;
}

body.dark-mode .read-more {
    color: var(--dark-accent);
}

body.dark-mode .carousel-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.dark-mode #theme-switch {
    background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode #theme-switch:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Menu Lateral Alucinado */
.psychedelic-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9990;
    pointer-events: none;
}

/* Botão do menu hambúrguer */
.menu-toggle {
    position: fixed;
    top: 20px;
    left: 230px; /* Posicionar à direita do menu lateral quando aberto */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(13, 30, 17, 0.8);
    backdrop-filter: blur(5px);
    cursor: pointer;
    z-index: 9992;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(92, 219, 92, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: all;
}

/* Quando o menu está fechado, o botão fica na posição original */
body:not(.menu-active) .menu-toggle {
    left: 20px;
}

.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #5cdb5c, #2ecc71);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger span:nth-child(1) {
    top: 0;
    left: 0;
}

.hamburger span:nth-child(2) {
    top: 8px;
    left: 0;
    width: 70%;
}

.hamburger span:nth-child(3) {
    bottom: 0;
    left: 0;
}

.menu-active .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-active .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu lateral principal */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px; /* Reduzindo um pouco a largura */
    height: 100vh;
    background: rgba(13, 30, 17, 0.4);
    box-shadow: 0 0 40px rgba(92, 219, 92, 0.4);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 9991;
    overflow: hidden;
    pointer-events: all;
}

.menu-active .side-menu {
    transform: translateX(0);
}

/* Background psicodélico animado do menu */
.menu-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

/* Forma líquida animada */
.liquid-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle at center,
        rgba(92, 219, 92, 0.4),
        rgba(46, 204, 113, 0.2) 50%,
        transparent 70%
    );
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    filter: blur(8px);
    opacity: 0.8;
    animation: 
        morph-liquid 12s linear infinite alternate,
        rotate-slow 20s linear infinite,
        pulse-glow 8s ease-in-out infinite;
}

.liquid-shape::before,
.liquid-shape::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: 
        morph-liquid 12s linear infinite alternate-reverse,
        rotate-slow 15s linear infinite reverse;
}

.liquid-shape::before {
    transform: scale(0.8) rotate(30deg);
    opacity: 0.6;
    filter: blur(12px);
}

.liquid-shape::after {
    transform: scale(0.6) rotate(60deg);
    opacity: 0.4;
    filter: blur(16px);
}

/* Padrão Fractal */
.fractal-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 100 100"><path fill="none" stroke="rgba(92, 219, 92, 0.15)" d="M30,50 a20,20 0 1,0 40,0 a20,20 0 1,0 -40,0 M40,40 a10,10 0 1,0 20,0 a10,10 0 1,0 -20,0 M45,65 a5,5 0 1,0 10,0 a5,5 0 1,0 -10,0 M65,45 a5,5 0 1,0 10,0 a5,5 0 1,0 -10,0" /></svg>');
    opacity: 0.3;
    animation: fractal-rotate 40s linear infinite;
}

/* Partículas Brilhantes */
.glow-particles::before,
.glow-particles::after {
    content: '';
    position: absolute;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8), transparent 60%);
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0;
    animation: float-particle 8s ease-in-out infinite;
}

.glow-particles::before {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 30%;
    animation-delay: 0s;
    background: radial-gradient(circle at center, rgba(92, 219, 92, 0.8), transparent 60%);
}

.glow-particles::after {
    width: 15px;
    height: 15px;
    top: 70%;
    left: 60%;
    animation-delay: 2s;
    background: radial-gradient(circle at center, rgba(46, 204, 113, 0.8), transparent 60%);
}

/* Conteúdo do menu */
.menu-content {
    height: 100%;
    width: 100%;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}/* Cabeçalho do Menu */
.menu-header {
    padding: 20px 15px 40px;
}

.menu-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.menu-logo i {
    font-size: 30px;
    margin-right: 15px;
    color: var(--psychedelic-accent);
    filter: drop-shadow(0 0 8px rgba(92, 219, 92, 0.8));
    animation: pulse-icon 3s ease-in-out infinite;
}

.menu-logo h2 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #5cdb5c, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(92, 219, 92, 0.3);
}

/* Itens do Menu */
.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.menu-item {
    margin: 12px 0;
    padding: 5px 15px;
    position: relative;
    overflow: hidden;
}

.menu-link {
    padding: 15px;
    display: flex;
    align-items: center;
    color: rgba(204, 255, 204, 0.9);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    background: rgba(13, 30, 17, 0.1);
    transform-style: preserve-3d;
}

.menu-link:hover {
    color: #fff;
    transform: translateX(5px);
    background: rgba(13, 30, 17, 0.2);
}

.menu-link i {
    margin-right: 15px;
    font-size: 20px;
    color: var(--psychedelic-accent);
    filter: drop-shadow(0 0 5px rgba(92, 219, 92, 0.6));
    transition: all 0.3s ease;
}

.menu-link:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--psychedelic-accent2);
    filter: drop-shadow(0 0 8px rgba(46, 204, 113, 0.8));
}

/* Efeito visual ao passar o mouse */
.link-fx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(92, 219, 92, 0.1),
        rgba(46, 204, 113, 0.2)
    );
    border-radius: 12px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.4s ease;
    z-index: -1;
}

.menu-link:hover .link-fx {
    opacity: 1;
    transform: scaleX(1);
}

/* Visual de item ativo */
.menu-item.active .menu-link {
    background: linear-gradient(90deg, 
        rgba(92, 219, 92, 0.2),
        rgba(46, 204, 113, 0.3)
    );
    box-shadow: 0 0 15px rgba(92, 219, 92, 0.3);
}

.menu-item.active .menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(to bottom, #5cdb5c, #2ecc71);
    border-radius: 0 4px 4px 0;
}

/* Rodapé do Menu */
.menu-footer {
    padding: 20px 15px;
    border-top: 1px solid rgba(92, 219, 92, 0.2);
    margin-top: auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(13, 30, 17, 0.4);
    color: var(--psychedelic-accent);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(13, 30, 17, 0.6);
    color: var(--psychedelic-accent2);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

/* Responsividade */
@media (max-width: 768px) {
    .side-menu {
        width: 280px;
    }
    
    .menu-toggle {
        top: 15px;
        left: 200px; /* Ajustar para telas menores */
        width: 45px;
        height: 45px;
    }
    
    body:not(.menu-active) .menu-toggle {
        left: 15px;
    }
    
    .menu-logo i {
        font-size: 24px;
    }
    
    .menu-logo h2 {
        font-size: 24px;
    }
    
    .menu-link {
        font-size: 16px;
        padding: 10px;
    }
    
    .menu-link i {
        font-size: 18px;
    }
}

/* Efeito alucinado quando o menu está ativo no tema psicodélico */
body.psychedelic-mode.menu-active .main-content {
    filter: hue-rotate(10deg) saturate(1.2);
    transform: scale(0.98) translateX(2%);
}

/* Animações para o menu */
@keyframes morph-liquid {
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
    25% {
        border-radius: 60% 40% 30% 70% / 55% 45% 55% 45%;
    }
    50% {
        border-radius: 30% 70% 50% 50% / 30% 30% 70% 70%;
    }
    75% {
        border-radius: 45% 55% 65% 35% / 65% 35% 45% 55%;
    }
    100% {
        border-radius: 55% 45% 40% 60% / 35% 65% 35% 65%;
    }
}

@keyframes rotate-slow {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.7;
        width: 120%;
        height: 120%;
    }
    50% {
        opacity: 0.9;
        width: 140%;
        height: 140%;
    }
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.2;
    }
    25% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.9;
    }
    75% {
        opacity: 0.7;
    }
}

@keyframes pulse-icon {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(92, 219, 92, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(92, 219, 92, 0.8));
    }
}

@keyframes fractal-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Adicionar uma transição suave para o corpo da página quando o menu é aberto */
#main-content {
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Ajustes para garantir que body.loaded continue funcionando */
body.loaded.menu-active #main-content {
    transform: translateX(0); /* Removendo o deslocamento do conteúdo principal */
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

/* Partículas do menu geradas dinamicamente */
.menu-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: float-particle 8s ease-in-out infinite;
}

/* Folhas de cannabis no menu quando aberto */
.menu-cannabis-leaf {
    position: absolute;
    z-index: 1;
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(92, 219, 92, 0.7));
    pointer-events: none;
    animation: menu-leaf-float 5s ease-in-out infinite;
}

@keyframes menu-leaf-float {
    0% {
        opacity: 0;
        transform: rotate(0deg) translateY(0);
    }
    10% {
        opacity: 0.7;
    }
    50% {
        transform: rotate(180deg) translateY(-30px);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: rotate(360deg) translateY(0);
    }
}

/* Efeito de ondulação nos links do menu */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(
        to right,
        rgba(92, 219, 92, 0.3),
        rgba(46, 204, 113, 0.3)
    );
    transform: scale(0);
    animation: ripple 0.6s ease-out forwards;
    pointer-events: none;
    z-index: 0;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Melhorias extras para o menu alucinado */
body.psychedelic-mode .menu-toggle .hamburger span {
    background: linear-gradient(90deg, #5cdb5c 0%, #2ecc71 100%);
    box-shadow: 0 0 10px rgba(92, 219, 92, 0.8);
}

body.psychedelic-mode .menu-toggle:hover .hamburger span {
    background: linear-gradient(90deg, #2ecc71 0%, #5cdb5c 100%);
}

body.psychedelic-mode .side-menu {
    background: rgba(13, 30, 17, 0.6);
}

/* Melhorar a transição do menu */
.menu-toggle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(92, 219, 92, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.menu-toggle:hover::before {
    transform: scale(1.2);
}

/* Ajustando o conteúdo principal para dar espaço ao menu quando aberto */
header .container {
    position: relative;
    z-index: 1;
    padding-left: 300px; /* Espaço para o menu lateral */
    justify-content: flex-start;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    header .container {
        padding-left: 70px; /* Menor espaço para o menu em dispositivos móveis */
        justify-content: center;
    }
    
    .logo {
        margin-left: 0;
    }
}

/* Efeito hover para o botão de menu */
.menu-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.7);
}

/* Cannabis Text Container - making it more hyperrealistic and supernatural */
.cannabis-text-container {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) perspective(800px) rotateX(10deg);
    text-align: center;
    z-index: 15;
    width: 320px;
    background: rgba(10, 20, 15, 0.5);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 
        0 0 40px rgba(92, 219, 92, 0.8),
        0 0 80px rgba(46, 204, 113, 0.6),
        inset 0 0 30px rgba(92, 219, 92, 0.5);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(92, 219, 92, 0.5);
    animation: 
        supernatural-container 8s ease-in-out infinite alternate,
        floating-container 15s ease-in-out infinite;
    transform-style: preserve-3d;
}

/* 420 Text - more hyperrealistic and hallucinogenic */
.cannabis-text {
    font-size: 0;
    margin: 0 0 20px;
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.cannabis-text .digit {
    display: inline-block;
    font-size: 90px;
    font-weight: 900;
    font-family: 'Roboto', sans-serif;
    line-height: 1;
    color: transparent;
    background: linear-gradient(135deg, #5cdb5c, #2ecc71, #e74c3c, #3498db);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 
        0 0 15px rgba(92, 219, 92, 0.8),
        0 0 30px rgba(46, 204, 113, 0.7),
        0 0 50px rgba(92, 219, 92, 0.5);
    animation: 
        hyperrealistic-digit 8s ease-in-out infinite alternate,
        float-3d 5s ease-in-out infinite,
        gradientFlow 10s linear infinite;
    transform-style: preserve-3d;
    position: relative;
    letter-spacing: -5px;
}

.cannabis-text .digit:nth-child(1) {
    transform: translateZ(10px) rotateY(-5deg);
    animation-delay: 0s;
}

.cannabis-text .digit:nth-child(2) {
    transform: translateZ(20px);
    animation-delay: 0.3s;
}

.cannabis-text .digit:nth-child(3) {
    transform: translateZ(10px) rotateY(5deg);
    animation-delay: 0.6s;
}

/* Enhanced glow effect with moving shadows */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle at center,
        rgba(92, 219, 92, 0.7),
        rgba(46, 204, 113, 0.4) 40%,
        rgba(231, 76, 60, 0.3) 60%,
        transparent 80%
    );
    transform: translate(-50%, -50%);
    filter: blur(20px);
    opacity: 0.8;
    border-radius: 50%;
    z-index: -1;
    animation: supernatural-glow 8s ease-in-out infinite;
}

/* Add holographic effects behind the text */
.cannabis-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(45deg, 
            rgba(92, 219, 92, 0.1) 25%, 
            transparent 25%, 
            transparent 50%, 
            rgba(46, 204, 113, 0.1) 50%, 
            rgba(46, 204, 113, 0.1) 75%, 
            transparent 75%, 
            transparent);
    background-size: 20px 20px;
    z-index: -1;
    opacity: 0.5;
    animation: holographic-pattern 20s linear infinite;
    transform: perspective(500px) rotateX(30deg);
}

/* Slogan with supernatural effect */
.cannabis-slogan {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    letter-spacing: 2px;
    font-weight: 700;
    font-style: italic;
    text-shadow: 
        0 0 8px rgba(92, 219, 92, 0.8),
        0 0 15px rgba(46, 204, 113, 0.6);
    animation: supernatural-text 5s ease-in-out infinite alternate;
}

/* New animations for supernatural effects */
@keyframes supernatural-container {
    0% {
        box-shadow: 
            0 0 40px rgba(92, 219, 92, 0.8),
            0 0 80px rgba(46, 204, 113, 0.6),
            inset 0 0 30px rgba(92, 219, 92, 0.5);
        border-color: rgba(92, 219, 92, 0.5);
    }
    33% {
        box-shadow: 
            0 0 50px rgba(46, 204, 113, 0.8),
            0 0 90px rgba(92, 219, 92, 0.6),
            inset 0 0 40px rgba(46, 204, 113, 0.5);
        border-color: rgba(46, 204, 113, 0.5);
    }
    66% {
        box-shadow: 
            0 0 60px rgba(231, 76, 60, 0.8),
            0 0 100px rgba(52, 152, 219, 0.6),
            inset 0 0 35px rgba(231, 76, 60, 0.5);
        border-color: rgba(231, 76, 60, 0.5);
    }
    100% {
        box-shadow: 
            0 0 70px rgba(52, 152, 219, 0.8),
            0 0 110px rgba(231, 76, 60, 0.6),
            inset 0 0 45px rgba(52, 152, 219, 0.5);
        border-color: rgba(52, 152, 219, 0.5);
    }
}

@keyframes floating-container {
    0%, 100% {
        transform: translate(-50%, -50%) perspective(800px) rotateX(10deg) translateY(0);
    }
    25% {
        transform: translate(-50%, -50%) perspective(800px) rotateX(5deg) translateY(-10px);
    }
    50% {
        transform: translate(-50%, -50%) perspective(800px) rotateX(15deg) translateY(0);
    }
    75% {
        transform: translate(-50%, -50%) perspective(800px) rotateX(5deg) translateY(10px);
    }
}

@keyframes hyperrealistic-digit {
    0% {
        text-shadow: 
            0 0 15px rgba(92, 219, 92, 0.8),
            0 0 30px rgba(46, 204, 113, 0.7),
            0 0 50px rgba(92, 219, 92, 0.5);
        transform: translateZ(10px) scale(1) rotateY(0deg);
        filter: brightness(1) contrast(1);
    }
    33% {
        text-shadow: 
            0 0 20px rgba(46, 204, 113, 0.8),
            0 0 40px rgba(92, 219, 92, 0.7),
            0 0 60px rgba(46, 204, 113, 0.5);
        transform: translateZ(30px) scale(1.2) rotateY(5deg);
        filter: brightness(1.2) contrast(1.1);
    }
    66% {
        text-shadow: 
            0 0 25px rgba(231, 76, 60, 0.8),
            0 0 45px rgba(52, 152, 219, 0.7),
            0 0 65px rgba(231, 76, 60, 0.5);
        transform: translateZ(50px) scale(1.1) rotateY(-5deg);
        filter: brightness(1.3) contrast(1.2);
    }
    100% {
        text-shadow: 
            0 0 30px rgba(52, 152, 219, 0.8),
            0 0 50px rgba(231, 76, 60, 0.7),
            0 0 70px rgba(52, 152, 219, 0.5);
        transform: translateZ(20px) scale(1.15) rotateY(0deg);
        filter: brightness(1.1) contrast(1.1);
    }
}

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

@keyframes supernatural-glow {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
        filter: hue-rotate(0deg) blur(20px);
    }
    33% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
        filter: hue-rotate(120deg) blur(25px);
    }
    66% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
        filter: hue-rotate(240deg) blur(30px);
    }
    100% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.3);
        filter: hue-rotate(360deg) blur(20px);
    }
}

@keyframes holographic-pattern {
    0% {
        background-position: 0 0;
        opacity: 0.3;
    }
    25% {
        opacity: 0.5;
    }
    50% {
        background-position: 100% 100%;
        opacity: 0.7;
    }
    75% {
        opacity: 0.5;
    }
    100% {
        background-position: 0 0;
        opacity: 0.3;
    }
}

@keyframes supernatural-text {
    0% {
        opacity: 0.8;
        transform: scale(1);
        letter-spacing: 2px;
        text-shadow: 
            0 0 8px rgba(92, 219, 92, 0.8),
            0 0 15px rgba(46, 204, 113, 0.6);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        letter-spacing: 3px;
        text-shadow: 
            0 0 12px rgba(46, 204, 113, 0.8),
            0 0 20px rgba(92, 219, 92, 0.6);
    }
    100% {
        opacity: 0.9;
        transform: scale(1);
        letter-spacing: 2px;
        text-shadow: 
            0 0 10px rgba(92, 219, 92, 0.8),
            0 0 18px rgba(46, 204, 113, 0.6);
    }
}

@keyframes float-3d {
    0%, 100% {
        transform: translateZ(0) translateY(0) rotateX(0deg);
    }
    25% {
        transform: translateZ(15px) translateY(-5px) rotateX(5deg);
    }
    50% {
        transform: translateZ(25px) translateY(0) rotateX(0deg);
    }
    75% {
        transform: translateZ(15px) translateY(5px) rotateX(-5deg);
    }
}

/* Estilos para o efeito ilusionístico do 420 */
.cannabis-text {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.digit-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 120px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.digit-container.animate {
    animation: float-digit 4s ease-in-out infinite;
}

.digit-container.pulse {
    animation: float-digit 4s ease-in-out infinite, pulse-digit 2s ease-in-out infinite;
}

.digit {
    font-size: 120px;
    font-weight: bold;
    color: var(--psychedelic-accent);
    text-shadow: 0 0 15px var(--psychedelic-accent), 
                 0 0 25px rgba(92, 219, 92, 0.8);
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    animation: rotate-digit 8s infinite linear;
}

.digit-shadow {
    position: absolute;
    font-size: 120px;
    font-weight: bold;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    filter: blur(4px);
    opacity: 0.7;
    z-index: 1;
    transform: translateZ(-10px) translateY(5px);
    animation: shadow-move 3s ease-in-out infinite alternate;
}

.digit-glow {
    position: absolute;
    font-size: 120px;
    font-weight: bold;
    color: transparent;
    background: linear-gradient(45deg, var(--psychedelic-accent), var(--psychedelic-accent2));
    background-clip: text;
    -webkit-background-clip: text;
    filter: blur(8px);
    opacity: 0.6;
    z-index: 1;
    animation: glow-pulse 3s ease-in-out infinite;
}

.digit-echo {
    position: absolute;
    font-size: 120px;
    font-weight: bold;
    color: var(--psychedelic-accent);
    opacity: 0;
    z-index: 1;
    animation: echo-effect 4s ease-in-out infinite;
}

.fractal-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 3;
    pointer-events: none;
}

.fractal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 3px solid var(--psychedelic-accent);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(2px);
    animation: expand-ring 4s ease-in-out infinite, rotate-y 8s linear infinite;
}

.fractal-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, transparent 30%, var(--psychedelic-accent) 31%, var(--psychedelic-accent) 33%, transparent 34%), 
                radial-gradient(circle, transparent 50%, var(--psychedelic-accent) 51%, var(--psychedelic-accent) 53%, transparent 54%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.3;
    filter: blur(1px);
    animation: rotate-z 20s linear infinite reverse, pulse-opacity 6s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 100px;
    background: radial-gradient(ellipse, var(--psychedelic-accent) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0.3;
    z-index: 0;
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Animações para o efeito 420 */
@keyframes float-digit {
    0%, 100% { transform: translateY(0) rotateX(0); }
    50% { transform: translateY(-10px) rotateX(5deg); }
}

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

@keyframes rotate-digit {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes shadow-move {
    0% { transform: translateZ(-10px) translateY(5px) translateX(-5px); }
    100% { transform: translateZ(-10px) translateY(15px) translateX(5px); }
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.2; filter: blur(5px); }
    50% { opacity: 0.6; filter: blur(15px); }
}

@keyframes echo-effect {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes expand-ring {
    0%, 100% { width: 150px; height: 150px; opacity: 0.5; }
    50% { width: 200px; height: 200px; opacity: 0.2; }
}

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

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; filter: blur(20px); }
    50% { opacity: 0.5; filter: blur(30px); }
}

/* Media queries para ajustar o tamanho em dispositivos menores */
@media (max-width: 768px) {
    .digit-container {
        width: 60px;
        height: 90px;
    }
    
    .digit, .digit-shadow, .digit-glow, .digit-echo {
        font-size: 90px;
    }
    
    .fractal-overlay,
    .glow-effect {
        width: 250px;
    }
}

/* Estilos para filtro de idioma */
.filter-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 50px 0 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 15px;
    clear: both;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .filter-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.language-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.dark-mode .language-filter {
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn {
    background: var(--card-background);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

#search-input {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 20px;
    width: 250px;
    transition: all 0.3s ease;
}

#search-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

#search-btn, #clear-search {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

#search-btn:hover, #clear-search:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.psychedelic-mode .language-filter {
    background: linear-gradient(135deg, rgba(13, 30, 17, 0.7), rgba(22, 74, 35, 0.7));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 100, 0.3);
    box-shadow: 
        0 0 20px rgba(0, 255, 128, 0.4),
        inset 0 0 15px rgba(0, 255, 100, 0.2);
    position: relative;
    overflow: hidden;
    animation: filter-container-pulse 5s infinite alternate;
    border-radius: 12px;
    padding: 12px 20px;
}

@keyframes filter-container-pulse {
    0% {
        box-shadow: 
            0 0 20px rgba(0, 255, 128, 0.5),
            inset 0 0 15px rgba(0, 255, 100, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(0, 255, 128, 0.6),
            inset 0 0 25px rgba(0, 255, 100, 0.5);
        transform: scale(1.01);
    }
    100% {
        box-shadow: 
            0 0 20px rgba(0, 255, 128, 0.5),
            inset 0 0 15px rgba(0, 255, 100, 0.4);
        transform: scale(1);
    }
}

.psychedelic-mode .language-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 255, 128, 0) 0%, 
        rgba(0, 255, 128, 0.4) 50%, 
        rgba(0, 255, 128, 0) 100%);
    transform: skewX(-25deg);
    animation: psychedelic-filter-shine 6s infinite;
    z-index: 2;
}

/* Padrão de fractais para o fundo */
.psychedelic-mode .language-filter::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-conic-gradient(
            rgba(0, 255, 100, 0.1) 0%, 
            rgba(100, 255, 100, 0.1) 4%, 
            rgba(0, 200, 50, 0.1) 8%, 
            rgba(50, 255, 50, 0.1) 12%, 
            rgba(0, 255, 100, 0.1) 16%
        );
    background-size: 30% 30%;
    border-radius: inherit;
    z-index: 1;
    animation: cannabis-pattern 20s linear infinite;
    opacity: 0.7;
    mix-blend-mode: overlay;
}

.psychedelic-mode .language-filter span {
    color: #00dd77;
    text-shadow: 
        0 0 5px rgba(0, 255, 128, 0.7),
        0 0 10px rgba(0, 200, 100, 0.5);
    font-weight: 600;
    position: relative;
    animation: green-text-flow 8s infinite;
    padding-right: 25px;
    letter-spacing: 0.5px;
}

@keyframes green-text-flow {
    0% { color: #00dd77; text-shadow: 0 0 5px rgba(0, 255, 128, 0.7), 0 0 10px rgba(0, 200, 100, 0.5); }
    25% { color: #33cc66; text-shadow: 0 0 5px rgba(51, 204, 102, 0.7), 0 0 10px rgba(0, 200, 100, 0.5); }
    50% { color: #00aa55; text-shadow: 0 0 5px rgba(0, 170, 85, 0.7), 0 0 10px rgba(0, 200, 100, 0.5); }
    75% { color: #33cc66; text-shadow: 0 0 5px rgba(51, 204, 102, 0.7), 0 0 10px rgba(0, 200, 100, 0.5); }
    100% { color: #00dd77; text-shadow: 0 0 5px rgba(0, 255, 128, 0.7), 0 0 10px rgba(0, 200, 100, 0.5); }
}

.psychedelic-mode .language-filter span::after {
    display: none;
}

/* Scrollbar alucinógeno */
.psychedelic-mode::-webkit-scrollbar {
    width: 12px;
    background: linear-gradient(to bottom, #0d1e11, #164a23);
}

.psychedelic-mode::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #00aa55, #33cc66, #00dd77);
    border-radius: 6px;
    border: 2px solid #0d1e11;
    box-shadow: 0 0 10px rgba(0, 255, 128, 0.6);
}

.psychedelic-mode::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #33cc66, #00dd77, #33cc66);
}

.psychedelic-mode::-webkit-scrollbar-track {
    background: rgba(13, 30, 17, 0.8);
    border-radius: 6px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Efeito de rastro no scrollbar */
.psychedelic-mode::-webkit-scrollbar-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 128, 0.3);
    filter: blur(5px);
    animation: scrollbar-glow 2s infinite alternate;
}

@keyframes scrollbar-glow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Fazer o preloader ter scroll fixo */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 9999;
}

.psychedelic-mode .filter-btn {
    background: linear-gradient(135deg, #0d1e11, #164a23);
    color: #ccffcc;
    border: 1px solid rgba(0, 255, 100, 0.3);
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    margin: 0 5px;
    text-shadow: 0 0 5px rgba(0, 255, 100, 0.5);
    box-shadow: 0 0 10px rgba(0, 200, 100, 0.2);
    z-index: 5;
}

.psychedelic-mode .filter-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 100, 0.3);
    background: linear-gradient(135deg, #164a23, #1a5c2a);
}

.psychedelic-mode .filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 255, 100, 0) 0%,
        rgba(0, 255, 100, 0.2) 50%,
        rgba(0, 255, 100, 0) 100%);
    transform: skewX(-20deg);
    transition: 0.5s;
    z-index: 1;
}

.psychedelic-mode .filter-btn:hover::before {
    left: 100%;
    transition: 0.5s;
}

.psychedelic-mode .filter-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(0, 255, 100, 0.05),
            rgba(0, 255, 100, 0.05) 5px,
            transparent 5px,
            transparent 10px
        );
    opacity: 0.3;
    z-index: -1;
    border-radius: inherit;
}

.psychedelic-mode .filter-btn.active {
    background: linear-gradient(135deg, #00aa55, #33cc66, #00dd77);
    background-size: 400% 400%;
    color: #ffffff;
    box-shadow: 
        0 0 15px rgba(0, 255, 128, 0.7),
        0 0 30px rgba(0, 200, 100, 0.5),
        inset 0 0 15px rgba(0, 255, 100, 0.4);
    transform: scale(1.12);
    border: 1px solid rgba(0, 255, 100, 0.5);
    animation: green-pulse 2s infinite alternate, green-bg-move 8s infinite linear;
    text-shadow: 0 0 10px rgba(0, 255, 128, 0.8);
    z-index: 5;
    font-weight: bold;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

/* Adicionar folhas de cannabis ao botão */
.psychedelic-mode .filter-btn.active span {
    position: relative;
    display: inline-block;
}

.psychedelic-mode .filter-btn.active span::before {
    content: '🍁';
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 10px;
    opacity: 0.7;
    animation: leaf-float 2s ease-in-out infinite alternate;
    text-shadow: none;
}

.psychedelic-mode .filter-btn.active span::after {
    content: '🍁';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    font-size: 10px;
    opacity: 0.7;
    animation: leaf-float 2s ease-in-out infinite alternate-reverse;
    text-shadow: none;
}

@keyframes leaf-float {
    0% { transform: translateY(-50%) rotate(-15deg) scale(1); }
    100% { transform: translateY(-60%) rotate(15deg) scale(1.2); }
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--psychedelic-accent), var(--psychedelic-accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-primary);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(92, 219, 92, 0.5);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 30px rgba(92, 219, 92, 0.8);
}

.back-to-top i {
    animation: float 3s ease-in-out infinite;
}

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

/* Loading Indicator - Improved to prevent flickering and provide better feedback */
.loading {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background-color: var(--background-secondary);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    opacity: 0;
    animation: fadeInOut 1.5s ease-in-out infinite;
    border: 1px solid var(--accent-color);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    pointer-events: none;
  }
  
@keyframes fadeInOut {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* News cards with improved image handling */
.news-card {
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
  }
  
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.news-image {
    position: relative; /* Garante posicionamento correto do botão */
    overflow: hidden;
    height: 200px;
    background-color: var(--background-dimmed);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

/* Estilo para garantir que nada apareça no centro da imagem durante o carregamento */
.news-image {
    position: relative;
    background-color: var(--background-dimmed);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-image img::before {
    content: '';
    display: none;
}
  
/* Estilos adicionais para melhorar a experiência de carregamento */
.news-image img {
    transition: opacity 0.5s ease, transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

/* Estilo para o badge de fonte no canto superior esquerdo */
.source-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.source-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    background-color: var(--accent-color);
}

/* Reposicionar o badge de linguagem */
.language-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}

/* Modo escuro - ajustes para o badge de fonte */
.dark-mode .source-badge {
    background-color: var(--primary-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.dark-mode .source-badge:hover {
    background-color: var(--accent-dark);
}

/* Modo psicodélico - ajustes para o badge de fonte */
.psychedelic-mode .source-badge {
    background: linear-gradient(45deg, var(--psychedelic-green), var(--psychedelic-blue));
    animation: psychedelic-badge-glow 3s infinite alternate;
}

.psychedelic-mode .source-badge:hover {
    animation: psychedelic-badge-pulse 1s infinite;
}

@keyframes psychedelic-badge-glow {
    0% { box-shadow: 0 0 5px rgba(92, 219, 92, 0.7); }
    100% { box-shadow: 0 0 15px rgba(92, 219, 92, 0.9); }
}

@keyframes psychedelic-badge-pulse {
    0% { transform: scale(1.05); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1.05); }
}

/* ... existing code ...

/* Estilo para o badge de fonte quando usa imagem de fallback */
.fallback-badge {
  background-color: #ff9800 !important; 
  transition: background-color 0.3s ease;
}

.fallback-badge:hover {
  background-color: #f57c00 !important;
}

/* Ajustes para garantir que imagens sempre sejam exibidas corretamente */
.news-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 200px;
  transition: opacity 0.4s ease;
}

.news-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Melhorar animação de hover */
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Estilo para os títulos das notícias */
.carousel-content h2,
.news-content h3 {
    color: var(--text-color);
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    padding: 0 15px;
}

/* Estilo para o badge de fonte quando usa imagem de fallback */
.source-button {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    background: rgba(42, 187, 42, 0.9);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    cursor: not-allowed;
    opacity: 0.9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-transform: uppercase;
    pointer-events: none;
    z-index: 10;
}

/* Ensure footer shield icon matches header green in psychedelic mode */
.psychedelic-mode footer .footer-logo {
    color: var(--psychedelic-accent);
}


/* Efeito de hover nos títulos no modo psicodélico */
.psychedelic-mode .news-content h3:hover {
    color: var(--psychedelic-accent);
    text-shadow: 0 0 5px var(--psychedelic-accent);
}

.loading-container {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para Artigos Manuais - Tema Verde Cannabis Discreto */
.manual-articles-section {
    margin: 50px 0;
    padding: 40px 80px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.manual-articles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 124, 42, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(107, 154, 61, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(143, 179, 102, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, 
            rgba(26, 47, 15, 0.1) 0%, 
            rgba(45, 80, 22, 0.1) 25%, 
            rgba(74, 124, 42, 0.1) 50%, 
            rgba(107, 154, 61, 0.1) 75%, 
            rgba(143, 179, 102, 0.1) 100%);
    animation: backgroundFloat 8s ease-in-out infinite;
    pointer-events: none;
    border-radius: 20px;
}

.manual-articles-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(144, 238, 144, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(74, 124, 42, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(107, 154, 61, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(143, 179, 102, 0.4), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(144, 238, 144, 0.3), transparent),
        radial-gradient(1px 1px at 200px 60px, rgba(74, 124, 42, 0.4), transparent),
        radial-gradient(2px 2px at 240px 90px, rgba(107, 154, 61, 0.3), transparent),
        radial-gradient(1px 1px at 280px 20px, rgba(143, 179, 102, 0.4), transparent),
        radial-gradient(2px 2px at 320px 70px, rgba(144, 238, 144, 0.3), transparent);
    animation: particleFloat 12s linear infinite;
    pointer-events: none;
    border-radius: 20px;
}

@keyframes backgroundFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-10px) rotate(1deg);
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-5px) rotate(-1deg);
        opacity: 0.85;
    }
    75% { 
        transform: translateY(-15px) rotate(0.5deg);
        opacity: 0.95;
    }
}

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-40px) translateX(-5px); }
    75% { transform: translateY(-20px) translateX(-15px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.manual-articles-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 800;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(144, 238, 144, 0.5);
    position: relative;
    z-index: 2;
}

.manual-articles-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #90ee90, #4a7c2a, #6b9a3d, #8fb366, #90ee90);
    background-size: 200% 100%;
    border-radius: 2px;
    box-shadow: 
        0 2px 8px rgba(74, 124, 42, 0.5),
        0 0 20px rgba(144, 238, 144, 0.6);
    animation: shimmer 3s ease-in-out infinite;
}

.manual-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 45px;
    margin-top: 50px;
    padding: 0 30px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.article-card {
    background: linear-gradient(145deg, 
        rgba(26, 47, 15, 0.9), 
        rgba(45, 80, 22, 0.85));
    border: 2px solid rgba(144, 238, 144, 0.4);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 25px rgba(45, 80, 22, 0.15),
        0 0 30px rgba(144, 238, 144, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    color: #ffffff;
    animation: fadeInUp 0.6s ease-out;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #90ee90, #4a7c2a, #6b9a3d, #8fb366, #90ee90);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    opacity: 0.9;
}

.article-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(74, 124, 42, 0.05) 0%, 
        rgba(107, 154, 61, 0.03) 50%,
        rgba(143, 179, 102, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.article-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(45, 80, 22, 0.2),
        0 0 40px rgba(144, 238, 144, 0.3);
    border-color: #90ee90;
}

.article-card:hover::after {
    opacity: 1;
}

.article-card:hover::before {
    opacity: 1;
}

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

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(74, 124, 42, 0.1);
}

.article-category {
    background: linear-gradient(135deg, #4a7c2a, #6b9a3d);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(74, 124, 42, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.article-date {
    color: #8fb366;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(143, 179, 102, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    border: 1px solid rgba(143, 179, 102, 0.3);
}

.article-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 20px 0;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: #90ee90;
}

.article-excerpt {
    color: #c8d4b8;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.9;
    font-weight: 500;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(74, 124, 42, 0.1);
}

.article-author {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-author i {
    color: #ffffff;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 50%;
}

.article-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.views-count {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.views-count i {
    color: #ffffff;
    font-size: 0.9rem;
}

.read-article-btn {
    width: 100%;
    background: linear-gradient(135deg, #4a7c2a, #6b9a3d);
    color: #ffffff;
    border: none;
    padding: 16px 24px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(74, 124, 42, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

.read-article-btn:hover {
    background: linear-gradient(135deg, #6b9a3d, #4a7c2a);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 124, 42, 0.4);
}

.read-article-btn:hover::before {
    left: 100%;
}

.read-article-btn i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.article-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.article-modal-content {
    background: linear-gradient(145deg, 
        rgba(26, 47, 15, 0.95) 0%, 
        rgba(45, 80, 22, 0.92) 25%, 
        rgba(74, 124, 42, 0.88) 50%, 
        rgba(107, 154, 61, 0.85) 75%, 
        rgba(143, 179, 102, 0.82) 100%);
    margin: 3% auto;
    padding: 0;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    backdrop-filter: blur(20px);
}

.modal-header {
    background: linear-gradient(135deg, 
        rgba(26, 47, 15, 0.95) 0%, 
        rgba(45, 80, 22, 0.92) 25%, 
        rgba(74, 124, 42, 0.88) 50%, 
        rgba(107, 154, 61, 0.85) 75%, 
        rgba(143, 179, 102, 0.82) 100%);
    padding: 35px 40px;
    border-radius: 22px 22px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    animation: modalShimmer 4s ease-in-out infinite;
}

@keyframes modalShimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.modal-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    -webkit-text-fill-color: rgba(0, 0, 0, 0.9) !important;
}

/* Sobrescrever -webkit-text-fill-color para todos os títulos dentro do modal */
.article-modal h1,
.article-modal h2,
.article-modal h3,
.article-modal-content h1,
.article-modal-content h2,
.article-modal-content h3 {
    -webkit-text-fill-color: rgba(0, 0, 0, 0.9) !important;
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.15) rotate(90deg);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.modal-meta {
    padding: 25px 35px;
    background: linear-gradient(135deg, rgba(74, 124, 42, 0.05), rgba(107, 154, 61, 0.03));
    border-bottom: 2px solid rgba(74, 124, 42, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.meta-item {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-item i {
    color: #ffffff;
    font-size: 1rem;
}

.article-tags {
    padding: 20px 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.15));
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 10px 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.25));
}

.modal-body {
    padding: 35px;
}

.article-content {
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: justify;
    font-weight: 500;
}

.modal-footer {
    padding: 25px 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.btn-share, .btn-close {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

.btn-share {
    background: linear-gradient(135deg, #4a7c2a, #6b9a3d);
    color: #e8f5e8;
    border: 2px solid #90ee90;
    box-shadow: 0 4px 15px rgba(74, 124, 42, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-share::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-close {
    background: linear-gradient(135deg, #6b9a3d, #4a7c2a);
    color: #e8f5e8;
    border: 2px solid #8fb366;
    box-shadow: 0 4px 15px rgba(107, 154, 61, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn-share:hover, .btn-close:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(74, 124, 42, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: #90ee90;
    background: linear-gradient(135deg, #5cdb5c, #4a7c2a);
    filter: brightness(1.1) saturate(1.2);
}

.btn-share:hover::before, .btn-close:hover::before {
    left: 100%;
}

/* 🌿 SEÇÃO DE AFILIADOS PREMIUM 🌿 */
.affiliate-section {
    background: linear-gradient(135deg, rgba(26, 47, 15, 0.9), rgba(45, 80, 22, 0.85));
    border-radius: 20px;
    padding: 40px 20px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(144, 238, 144, 0.3);
    position: relative;
    overflow: hidden;
}

.affiliate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(144, 238, 144, 0.05) 25%, transparent 25%, transparent 75%, rgba(144, 238, 144, 0.05) 75%);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

.affiliate-section .section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.affiliate-section .section-title {
    color: #90ee90;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(144, 238, 144, 0.5);
    animation: pulse-green 3s ease-in-out infinite;
}

.affiliate-section .section-description {
    color: #FFF;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.affiliate-carousel-container {
    position: relative;
    margin-bottom: 40px;
    z-index: 2;
}

.affiliate-carousel {
    overflow: hidden;
    position: relative;
    padding: 0 60px;
    width: 100%;
}

.affiliate-carousel-container .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #4a7c2a, #6b9a3d);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(74, 124, 42, 0.4);
    transition: all 0.3s ease;
    z-index: 3;
}

.affiliate-carousel-container .carousel-btn:hover {
    background: linear-gradient(135deg, #5cdb5c, #4a7c2a);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(144, 238, 144, 0.4);
}

.affiliate-carousel-container .carousel-btn.prev {
    left: 10px;
}

.affiliate-carousel-container .carousel-btn.next {
    right: 10px;
}

.affiliate-carousel-container .carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.affiliate-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    width: max-content;
}

.affiliate-card {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    flex-grow: 0;
}

.affiliate-card {
    background: linear-gradient(145deg, rgba(26, 47, 15, 0.95), rgba(45, 80, 22, 0.9));
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(144, 238, 144, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.affiliate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(144, 238, 144, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.affiliate-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 20px 50px rgba(144, 238, 144, 0.4);
    border-color: rgba(144, 238, 144, 0.8);
    z-index: 10;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a7c2a, #6b9a3d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(74, 124, 42, 0.4);
}

.product-icon i {
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.discount-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse-red 2s ease-in-out infinite;
}

.card-content {
    margin-bottom: 25px;
}

.product-name {
    color: #90ee90;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    -webkit-text-fill-color: rgb(0 255 63 / 50%) !important;
}

/* Seletores específicos para garantir que o estilo seja aplicado */
.affiliate-card .product-name,
.affiliate-section .product-name {
    -webkit-text-fill-color: rgb(0 255 63 / 50%) !important;
}

.product-description {
    color: #c8d4b8;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.product-features {
    margin-bottom: 20px;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    color: #e8f5e8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.product-features li i {
    color: #90ee90;
    margin-right: 10px;
    font-size: 0.9rem;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.original-price {
    color: #888;
    text-decoration: line-through;
    font-size: 1.1rem;
}

.promo-price {
    color: #90ee90;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.promo-code-container {
    margin-bottom: 25px;
}

.promo-label {
    color: #c8d4b8;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.promo-code {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(144, 238, 144, 0.5);
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.promo-code:hover {
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.2), rgba(144, 238, 144, 0.1));
    border-color: rgba(144, 238, 144, 0.8);
    transform: scale(1.02);
}

.promo-code span {
    color: #90ee90;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.promo-code i {
    color: #90ee90;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.promo-code:hover i {
    transform: scale(1.2);
}

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

.cta-button {
    background: linear-gradient(135deg, #4a7c2a, #6b9a3d);
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(74, 124, 42, 0.4);
    border: 2px solid rgba(144, 238, 144, 0.5);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(144, 238, 144, 0.5);
    background: linear-gradient(135deg, #5cdb5c, #4a7c2a);
    border-color: rgba(144, 238, 144, 0.8);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.affiliate-footer {
    text-align: center;
    position: relative;
    z-index: 2;
}

.promo-banner {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(238, 90, 82, 0.15));
    border: 2px solid rgba(255, 107, 107, 0.4);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    color: #ffcccc;
    font-size: 1.1rem;
    animation: pulse-red 3s ease-in-out infinite;
}

.promo-banner i {
    margin-right: 10px;
    color: #ff6b6b;
}

.affiliate-disclaimer {
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.1), rgba(144, 238, 144, 0.05));
    border: 2px solid rgba(144, 238, 144, 0.3);
    border-radius: 15px;
    padding: 20px;
    color: #c8d4b8;
    font-size: 1rem;
}

.affiliate-disclaimer i {
    margin-right: 10px;
    color: #90ee90;
}

/* Animações para a seção de afiliados */
@keyframes pulse-green {
    0%, 100% { text-shadow: 0 0 20px rgba(144, 238, 144, 0.5); }
    50% { text-shadow: 0 0 30px rgba(144, 238, 144, 0.8); }
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 107, 107, 0.6); }
}

/* Responsividade para Artigos Manuais */
@media (max-width: 1200px) {
    .manual-articles-section {
        padding: 30px 40px;
        margin: 40px 20px;
    }
    
    .manual-articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        padding: 0 20px;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
    }
    
    .affiliate-section {
        padding: 30px 20px;
        margin: 30px 20px;
    }
    
    .affiliate-carousel {
        padding: 0 50px;
    }
    
    .affiliate-card {
        min-width: 280px;
    }
    
    .affiliate-section .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .manual-articles-section {
        padding: 25px 20px;
        margin: 30px 15px;
        border-radius: 15px;
    }
    
    .manual-articles-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .manual-articles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .article-card {
        padding: 25px;
        border-radius: 15px;
    }
    
    .article-title {
        font-size: 1.3rem;
        margin: 15px 0;
    }
    
    .article-excerpt {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .article-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .article-modal-content {
        width: 95%;
        margin: 5% auto;
        border-radius: 20px;
    }
    
    .modal-header, .modal-meta, .modal-body, .modal-footer {
        padding: 20px 25px;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 25px;
    }
    
    .featured-articles,
    .security-tips,
    .vulnerabilities {
        margin-bottom: 40px;
    }
    
    .subsection-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .affiliate-section {
        padding: 25px 15px;
        margin: 25px 15px;
        border-radius: 15px;
    }
    
    .affiliate-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .affiliate-section .section-description {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .affiliate-carousel {
        padding: 0 40px;
    }
    
    .affiliate-track {
        gap: 20px;
    }
    
    .affiliate-card {
        min-width: 260px;
    }
    
    .affiliate-card {
        padding: 20px;
        border-radius: 15px;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
    
    .promo-price {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .manual-articles-section {
        padding: 20px 15px;
        margin: 20px 10px;
        border-radius: 12px;
        width: calc(100% - 20px);
        max-width: 100%;
    }
    
    .manual-articles-section h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
        word-wrap: break-word;
    }
    
    .manual-articles-grid {
        gap: 20px;
        padding: 0 10px;
        grid-template-columns: 1fr;
        min-width: 0;
    }
    
    .article-card {
        padding: 20px;
        border-radius: 12px;
        min-width: 0;
        max-width: 100%;
    }
    
    .article-title {
        font-size: 1.2rem;
        margin: 12px 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .article-excerpt {
        font-size: 0.95rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .article-category {
        padding: 6px 12px;
        font-size: 0.8rem;
        max-width: 100%;
    }
    
    .article-date {
        padding: 5px 10px;
        font-size: 0.85rem;
        max-width: 100%;
    }
    
    .read-article-btn {
        padding: 14px 20px;
        font-size: 1rem;
        max-width: 100%;
        word-wrap: break-word;
    }
    
    .article-modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 15px;
        max-width: 95vw;
    }
    
    .modal-header, .modal-meta, .modal-body, .modal-footer {
        padding: 15px 20px;
    }
    
    .modal-title {
        font-size: 1.4rem;
        word-wrap: break-word;
    }
    
    .articles-grid {
        gap: 20px;
        margin-top: 20px;
        grid-template-columns: 1fr;
        min-width: 0;
    }
    
    .featured-articles,
    .security-tips,
    .vulnerabilities {
        margin-bottom: 30px;
    }
    
    .subsection-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
        word-wrap: break-word;
    }
    
    .affiliate-section {
        padding: 20px 10px;
        margin: 20px 10px;
        border-radius: 10px;
        width: calc(100% - 20px);
        max-width: 100%;
    }
    
    .affiliate-section .section-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .affiliate-section .section-description {
        font-size: 0.95rem;
        padding: 0 5px;
        word-wrap: break-word;
    }
    
    .affiliate-carousel {
        padding: 0 30px;
    }
    
    .affiliate-track {
        gap: 15px;
    }
    
    .affiliate-card {
        min-width: 240px;
        min-width: 0;
    }
    
    .affiliate-card {
        padding: 15px;
        border-radius: 10px;
        min-width: 0;
        max-width: 100%;
    }
    
    .product-icon {
        width: 50px;
        height: 50px;
    }
    
    .product-icon i {
        font-size: 1.5rem;
    }
    
    .product-name {
        font-size: 1.1rem;
        word-wrap: break-word;
    }
    
    .product-description {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    .promo-price {
        font-size: 1.4rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
        max-width: 100%;
        word-wrap: break-word;
    }
    
    .promo-banner,
    .affiliate-disclaimer {
        padding: 15px;
        font-size: 0.9rem;
        word-wrap: break-word;
    }
}

@media (max-width: 360px) {
    .manual-articles-section {
        padding: 15px 10px;
        margin: 15px 5px;
        width: calc(100% - 10px);
        max-width: 100%;
    }
    
    .manual-articles-section h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
        word-wrap: break-word;
    }
    
    .manual-articles-grid {
        padding: 0 5px;
        gap: 15px;
    }
    
    .article-card {
        padding: 15px;
        min-width: 0;
        max-width: 100%;
    }
    
    .article-title {
        font-size: 1.1rem;
        word-wrap: break-word;
    }
    
    .affiliate-section {
        padding: 15px 10px;
        margin: 15px 5px;
        width: calc(100% - 10px);
        max-width: 100%;
    }
    
    .affiliate-section .section-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .affiliate-section .section-description {
        font-size: 0.9rem;
        padding: 0 5px;
        word-wrap: break-word;
    }
    
    .affiliate-carousel {
        padding: 0 25px;
    }
    
    .affiliate-track {
        gap: 12px;
    }
    
    .affiliate-card {
        min-width: 220px;
    }
    
    .affiliate-card {
        padding: 12px;
        min-width: 0;
        max-width: 100%;
    }
    
    .product-icon {
        width: 45px;
        height: 45px;
    }
    
    .product-icon i {
        font-size: 1.3rem;
    }
    
    .product-name {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .product-description {
        font-size: 0.85rem;
        word-wrap: break-word;
    }
    
    .promo-price {
        font-size: 1.3rem;
    }
    
    .cta-button {
        padding: 8px 18px;
        font-size: 0.9rem;
        max-width: 100%;
        word-wrap: break-word;
    }
    
    .promo-banner,
    .affiliate-disclaimer {
        padding: 12px;
        font-size: 0.85rem;
        word-wrap: break-word;
    }
    
    .article-excerpt {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    .read-article-btn {
        padding: 12px 18px;
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .article-modal-content {
        width: 99%;
        max-width: 98vw;
    }
    
    .modal-header, .modal-meta, .modal-body, .modal-footer {
        padding: 12px 15px;
    }
    
    .modal-title {
        font-size: 1.3rem;
        word-wrap: break-word;
    }
}

@media (max-width: 320px) {
    .manual-articles-section {
        padding: 10px 5px;
        margin: 10px 2px;
        width: calc(100% - 4px);
    }
    
    .manual-articles-section h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .manual-articles-grid {
        padding: 0 2px;
        gap: 12px;
    }
    
    .article-card {
        padding: 12px;
        border-radius: 10px;
    }
    
    .article-title {
        font-size: 1rem;
    }
    
    .article-excerpt {
        font-size: 0.85rem;
    }
    
    .read-article-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .article-modal-content {
        width: 99.5%;
        max-width: 99vw;
    }
    
    .modal-header, .modal-meta, .modal-body, .modal-footer {
        padding: 10px 12px;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .affiliate-section {
        padding: 10px 5px;
        margin: 10px 2px;
        width: calc(100% - 4px);
    }
    
    .affiliate-section .section-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .affiliate-section .section-description {
        font-size: 0.8rem;
        padding: 0 2px;
    }
    
    .affiliate-carousel {
        padding: 0 20px;
    }
    
    .affiliate-track {
        gap: 10px;
    }
    
    .affiliate-card {
        min-width: 200px;
    }
    
    .affiliate-card {
        padding: 10px;
        border-radius: 8px;
    }
    
    .product-icon {
        width: 40px;
        height: 40px;
    }
    
    .product-icon i {
        font-size: 1.1rem;
    }
    
    .product-name {
        font-size: 0.9rem;
    }
    
    .product-description {
        font-size: 0.8rem;
    }
    
    .promo-price {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .promo-banner,
    .affiliate-disclaimer {
        padding: 10px;
        font-size: 0.8rem;
    }
}

.featured-articles,
.security-tips,
.vulnerabilities {
    margin-bottom: 60px;
}

.subsection-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 35px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    -webkit-text-fill-color: rgb(0 255 63 / 50%) !important;
}

/* Seletores específicos para garantir que o estilo seja aplicado */
.featured-articles .subsection-title,
.security-tips .subsection-title,
.vulnerabilities .subsection-title,
.news-grid .subsection-title {
    -webkit-text-fill-color: rgb(0 255 63 / 50%) !important;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #90ee90, #6b9a3d);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(144, 238, 144, 0.5);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-featured {
    border: 2px solid #90ee90;
    box-shadow: 0 12px 30px rgba(144, 238, 144, 0.2);
}

.article-featured::before {
    background: linear-gradient(90deg, #90ee90, #4a7c2a, #6b9a3d, #8fb366, #90ee90);
    animation: shimmer 2s ease-in-out infinite;
}

.article-modal-content {
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

.btn-share:hover::before, .btn-close:hover::before {
    left: 100%;
}

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

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

.article-modal-content::-webkit-scrollbar {
    width: 8px;
}

.article-modal-content::-webkit-scrollbar-track {
    background: rgba(74, 124, 42, 0.05);
    border-radius: 4px;
}

.article-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4a7c2a, #6b9a3d);
    border-radius: 4px;
}

.article-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6b9a3d, #4a7c2a);
}

/* ========================================
   🚀 SISTEMA DE ANÚNCIOS ADSENSE
   ======================================== */

.ad-section {
    margin: 40px 0;
    padding: 20px;
    background: linear-gradient(145deg, rgba(26, 47, 15, 0.8), rgba(45, 80, 22, 0.85));
    border-radius: 15px;
    border: 2px solid rgba(144, 238, 144, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.ad-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
                rgba(144, 238, 144, 0.05) 0%, 
                transparent 50%, 
                rgba(144, 238, 144, 0.05) 100%);
    pointer-events: none;
}

.ad-container {
    position: relative;
    min-height: 250px;
    min-width: 160px;
    width: 100%;
    display: block;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 2px dashed rgba(144, 238, 144, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
}

.ad-container ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    min-width: 160px !important;
}

.ad-container:hover {
    border-color: rgba(144, 238, 144, 0.7);
    box-shadow: 0 0 20px rgba(144, 238, 144, 0.2);
}

.ad-label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #4a7c2a, #6b9a3d);
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.ad-placeholder {
    text-align: center;
    color: #90ee90;
    padding: 40px 20px;
}

.ad-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #90ee90;
    text-shadow: 0 0 10px rgba(144, 238, 144, 0.5);
}

.ad-placeholder p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #90ee90;
    font-weight: 500;
}

.ad-placeholder small {
    font-size: 0.9rem;
    color: rgba(144, 238, 144, 0.7);
    font-style: italic;
}

/* Posicionamento específico dos anúncios */
.ad-top {
    margin-top: 30px;
    margin-bottom: 40px;
}

.ad-middle {
    margin: 50px 0;
}

.ad-bottom {
    margin-top: 50px;
    margin-bottom: 30px;
}

/* Responsividade para anúncios */
@media (max-width: 768px) {
    .ad-section {
        margin: 20px 0;
        padding: 15px;
    }
    
    .ad-container {
        min-height: 200px;
    }
    
    .ad-placeholder i {
        font-size: 2.5rem;
    }
    
    .ad-placeholder p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ad-section {
        margin: 15px 0;
        padding: 10px;
    }
    
    .ad-container {
        min-height: 180px;
    }
    
    .ad-label {
        font-size: 10px;
        padding: 3px 10px;
        left: 15px;
    }
}

/* ========================================
   🚀 SIDEBAR LATERAL COM ANÚNCIOS
   ======================================== */

.main-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 10px;
}

.content-wrapper {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.main-content-area {
    flex: 1;
    min-width: 0;
    margin: 0 5px;
}

.sidebar-left {
    width: 180px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-right {
    width: 180px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-content {
    background: linear-gradient(145deg, rgba(26, 47, 15, 0.8), rgba(45, 80, 22, 0.85));
    border-radius: 12px;
    border: 2px solid rgba(144, 238, 144, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.sidebar-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
                rgba(144, 238, 144, 0.05) 0%, 
                transparent 50%, 
                rgba(144, 238, 144, 0.05) 100%);
    pointer-events: none;
}

.sidebar-ad-section {
    margin-bottom: 20px;
    position: relative;
}

.sidebar-ad-section:last-child {
    margin-bottom: 0;
}

.sidebar-ad-section .ad-container {
    min-height: 220px;
    min-width: 160px;
    width: 100%;
    max-width: 160px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(144, 238, 144, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.sidebar-ad-section .ad-container ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    min-width: 160px !important;
}

.sidebar-ad-section .ad-container:hover {
    border-color: rgba(144, 238, 144, 0.7);
    box-shadow: 0 0 20px rgba(144, 238, 144, 0.2);
}

.sidebar-ad-section .ad-label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #4a7c2a, #6b9a3d);
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Responsividade da Sidebar */
@media (max-width: 1200px) {
    .content-wrapper {
        gap: 12px;
    }
    
    .sidebar-left, .sidebar-right {
        width: 160px;
    }
    
    .main-content-area {
        margin: 0 3px;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .sidebar-left, .sidebar-right {
        width: 100%;
        position: static;
    }
    
    /* No mobile, esconder sidebar esquerda para evitar publicidades empilhadas */
    .sidebar-left {
        display: none; /* Esconder sidebar esquerda no mobile */
    }
    
    .sidebar-right {
        order: -1; /* Coloca a sidebar direita antes do conteúdo */
    }
    
    .sidebar-content {
        display: grid;
        grid-template-columns: 1fr; /* Uma coluna no mobile */
        gap: 12px;
    }
    
    .sidebar-ad-section {
        margin-bottom: 0;
    }
    
    .main-content-area {
        margin: 0;
        order: 0; /* Conteúdo principal vem depois */
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 0 10px;
    }
    
    .content-wrapper {
        gap: 12px;
    }
    
    .sidebar-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .main-content-area {
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 8px;
    }
    
    .content-wrapper {
        gap: 8px;
    }
    
    .sidebar-content {
        padding: 8px;
    }
    
    .sidebar-ad-section .ad-container {
        min-height: 160px;
    }
    
    .main-content-area {
        margin: 0 1px;
    }
}

/* Estilo para emoji escudo igual ao section-title */
.menu-logo h2::before,
.logo h1::before {
  content: '🛡️';
  font-size: 2.6rem;
  margin-right: 10px;
  -webkit-text-fill-color: rgb(0 255 63 / 50%) !important;
  text-shadow: 0 0 20px rgba(0, 255, 63, 0.5);
  filter: drop-shadow(0 0 10px rgba(0, 255, 63, 0.6));
}

/* Botão Admin no Menu Lateral */
.admin-menu-access {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(144, 238, 144, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 100;
}

.menu-active .admin-menu-access {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
}

.menu-active .admin-menu-access:hover {
  opacity: 1 !important;
}

.admin-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2d5016, #4a7c23, #228b22);
  border: 2px solid rgba(144, 238, 144, 0.4);
  border-radius: 50%;
  color: #90ee90;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  backdrop-filter: blur(15px);
  box-shadow: 
    0 0 20px rgba(144, 238, 144, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 15px rgba(0, 255, 136, 0.3);
  position: relative;
  overflow: hidden;
}

.admin-menu-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #2d5016, #4a7c23, #90ee90, #8b5cf6, #9333ea, #fbbf24, #f59e0b, #228b22);
  border-radius: 50%;
  z-index: -1;
  animation: psychedelicRotate 3s linear infinite;
}

.admin-menu-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(144, 238, 144, 0.4), rgba(139, 92, 246, 0.3), rgba(251, 191, 36, 0.2), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  z-index: -1;
}

.admin-menu-btn:hover {
  background: linear-gradient(135deg, #4a7c23, #228b22, #90ee90);
  color: #0f0f23;
  box-shadow: 
    0 0 30px rgba(144, 238, 144, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 20px rgba(0, 255, 136, 0.5);
  text-decoration: none;
  transform: rotate(15deg) scale(1.15);
  text-shadow: 0 0 10px rgba(144, 238, 144, 0.8);
  border-color: rgba(144, 238, 144, 0.8);
}

.admin-menu-btn:hover::after {
  width: 60px;
  height: 60px;
}

.admin-menu-btn i {
  z-index: 2;
  position: relative;
}

@keyframes psychedelicRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
   ESTILOS DA HERO SECTION
   ======================================== */
.main-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 20px 60px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(92, 219, 92, 0.15), transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(46, 204, 113, 0.2), transparent 50%);
    animation: psychedelic-bg 15s ease infinite alternate;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 30, 17, 0.8), rgba(45, 80, 22, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.site-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #90ee90;
    text-shadow: 0 0 20px rgba(144, 238, 144, 0.6);
    margin-bottom: 20px;
    animation: glow-text 3s ease-in-out infinite;
}

.site-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #5cdb5c, #2ecc71);
    color: #0d1e11;
    box-shadow: 0 5px 15px rgba(92, 219, 92, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(92, 219, 92, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #90ee90;
    border: 2px solid #90ee90;
}

.btn-secondary:hover {
    background: rgba(144, 238, 144, 0.2);
    border-color: #5cdb5c;
    transform: translateY(-3px);
}

@keyframes glow-text {
    0%, 100% {
        text-shadow: 0 0 20px rgba(144, 238, 144, 0.6);
    }
    50% {
        text-shadow: 0 0 30px rgba(144, 238, 144, 0.8), 0 0 40px rgba(92, 219, 92, 0.6);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }
    
    .site-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* ========================================
   ESTILOS DAS SEÇÕES DE SERVIÇOS
   ======================================== */
.services-section, .exclusive-articles {
    padding: 20px 20px 60px 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #90ee90;
    margin-bottom: 50px;
    text-shadow: 0 0 15px rgba(144, 238, 144, 0.5);
}

.services-grid, .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card, .article-card {
    background: rgba(45, 80, 22, 0.8);
    border: 2px solid rgba(144, 238, 144, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before, .article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.05), rgba(74, 124, 35, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover, .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(144, 238, 144, 0.3);
    border-color: rgba(144, 238, 144, 0.6);
}

.service-card:hover::before, .article-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 3rem;
    color: #90ee90;
    margin-bottom: 20px;
    display: block;
}

.service-card h3, .article-title {
    color: #90ee90;
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
}

.service-card p, .article-excerpt {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    position: relative;
}

.article-content {
    position: relative;
    z-index: 1;
}

.article-meta {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(144, 238, 144, 0.2);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.article-author, .article-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: #90ee90;
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid, .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ========================================
   GRID DE NOTÍCIAS COM SCROLL INFINITO
   ======================================== */
.news-section {
    padding: 20px 20px 60px 20px;
    min-height: 100vh;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
}

.news-card {
    background: rgba(45, 80, 22, 0.9);
    border: 2px solid rgba(144, 238, 144, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
}

.news-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(144, 238, 144, 0.6);
    box-shadow: 0 15px 40px rgba(144, 238, 144, 0.3);
}

.language-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.language-indicator.lang-pt {
    background: linear-gradient(135deg, #5cdb5c, #2ecc71);
    color: #0d1e11;
}

.language-indicator.lang-en {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #2d5016, #4a7c23);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-title {
    color: #90ee90;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid rgba(144, 238, 144, 0.2);
    border-bottom: 1px solid rgba(144, 238, 144, 0.2);
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    gap: 10px;
    flex-wrap: wrap;
}

.news-source, .news-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta i {
    color: #90ee90;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #5cdb5c, #2ecc71);
    color: #0d1e11;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.news-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(92, 219, 92, 0.4);
}

.news-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #90ee90;
}

.news-loading i {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

.news-loading p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.news-end-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #90ee90;
}

.news-end-message i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.news-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #ff6b6b;
}

.news-error i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.btn-retry {
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #5cdb5c, #2ecc71);
    color: #0d1e11;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-retry:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(92, 219, 92, 0.4);
}

.news-actions {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 100;
}

.btn-load-more {
    padding: 15px 40px;
    background: linear-gradient(135deg, #5cdb5c, #2ecc71);
    color: #0d1e11;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    position: relative;
    z-index: 101;
    pointer-events: auto;
    user-select: none;
    align-items: center;
    gap: 12px;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(92, 219, 92, 0.5);
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 20px;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   CAROUSEL DE NOTÍCIAS EM DESTAQUE
   ======================================== */
.news-carousel-container {
    margin: 40px 0 60px 0;
    position: relative;
}

.news-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(45, 80, 22, 0.6);
    border: 2px solid rgba(144, 238, 144, 0.3);
    box-shadow: 0 10px 40px rgba(92, 219, 92, 0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    padding: 60px 40px;
    position: relative;
    background: linear-gradient(135deg, rgba(13, 30, 17, 0.9), rgba(45, 80, 22, 0.8));
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(144, 238, 144, 0.1), transparent 60%);
    pointer-events: none;
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-badge {
    display: inline-block;
    /* Estilos removidos - usando estilos inline do JavaScript para design futurista */
}

.carousel-content h3 {
    font-size: 2.5rem;
    color: #90ee90;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(144, 238, 144, 0.6);
    line-height: 1.3;
}

.carousel-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.carousel-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #5cdb5c, #2ecc71);
    color: #0d1e11;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(92, 219, 92, 0.4);
}

.carousel-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(92, 219, 92, 0.6);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 30, 17, 0.9);
    border: 2px solid rgba(144, 238, 144, 0.5);
    color: #90ee90;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-btn:hover {
    background: rgba(144, 238, 144, 0.2);
    border-color: #90ee90;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(92, 219, 92, 0.5);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: #90ee90;
    box-shadow: 0 0 15px rgba(144, 238, 144, 0.8);
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(144, 238, 144, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-slide {
        padding: 40px 20px;
    }
    
    .carousel-content h3 {
        font-size: 1.8rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

/* Ajustes para carousel no topo */
.news-carousel-container {
    margin-top: 0;
    margin-bottom: 50px;
}

.section-title {
    margin-top: 0;
}

/* Botão Menu Futurista - Sobrescrever */
.menu-toggle {
    position: fixed !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 1001 !important;
    background: rgba(13, 30, 17, 0.95) !important;
    border: 2px solid rgba(144, 238, 144, 0.5) !important;
    padding: 12px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(92, 219, 92, 0.3) !important;
}

.menu-toggle:hover {
    background: rgba(13, 30, 17, 1) !important;
    border-color: rgba(144, 238, 144, 0.8) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(92, 219, 92, 0.5) !important;
}

.hamburger-line {
    display: block !important;
    width: 28px !important;
    height: 3px !important;
    background: #90ee90 !important;
    margin: 6px 0 !important;
    transition: all 0.3s ease !important;
    border-radius: 3px !important;
    box-shadow: 0 0 8px rgba(144, 238, 144, 0.5) !important;
}

.menu-toggle.active {
    background: rgba(92, 219, 92, 0.3) !important;
    border-color: #90ee90 !important;
    transform: rotate(180deg) !important;
    box-shadow: 0 0 40px rgba(92, 219, 92, 1) !important;
}

.menu-toggle.active .hamburger-line {
    background: #5cdb5c !important;
    box-shadow: 0 0 15px rgba(92, 219, 92, 1) !important;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px) !important;
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    transform: scaleX(0) !important;
    opacity: 0 !important;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px) !important;
}
