/**
 * Estilos psicodélicos para o agregador de notícias
 * Tema canábico com cores vibrantes e animações
 */
#news-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
 gap: 30px;
 padding: 20px;
 position: relative;
}
.news-card.cannabis-card {
 background: rgba(45, 80, 22, 0.9);
 border: 1px solid rgba(74, 124, 35, 0.5);
 border-radius: 15px;
 overflow: hidden;
 transition: all 0.3s ease;
 position: relative;
 animation: cardAppear 0.6s ease-out forwards;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
 min-height: 400px;
 display: flex;
 flex-direction: column;
}
.news-card.cannabis-card:hover {
 transform: translateY(-5px);
 border-color: rgba(74, 124, 35, 0.8);
 box-shadow: 0 8px 25px rgba(45, 80, 22, 0.4);
}
.language-indicator {
 text-transform: uppercase;
 letter-spacing: 1px;
 box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
 animation: pulse 2s ease-in-out infinite;
}
.language-indicator.lang-en {
 background: linear-gradient(135deg, #ff4444, #cc0000) !important;
}
.language-indicator.lang-pt {
 background: linear-gradient(135deg, #00ff00, #00cc00) !important;
}
.news-image {
 position: relative;
 height: 200px;
 overflow: hidden;
 background: linear-gradient(135deg, #2d5016, #4a7c23);
}
.news-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.5s ease, filter 0.5s ease, opacity 0.5s ease;
}
.news-image .image-placeholder {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: linear-gradient(135deg, #2d5016, #4a7c23);
 display: none;
 align-items: center;
 justify-content: center;
 color: #90ee90;
 font-size: 0.9rem;
 z-index: 2;
}
.news-image .image-placeholder.show {
 display: flex !important;
}
.news-card:hover .news-image img {
 transform: scale(1.1);
 filter: hue-rotate(30deg) saturate(1.5);
}
.psychedelic-overlay {
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: linear-gradient(45deg, 
 rgba(0, 255, 0, 0.2), 
 rgba(255, 0, 255, 0.2), 
 rgba(0, 255, 255, 0.2));
 opacity: 0;
 transition: opacity 0.3s ease;
 mix-blend-mode: overlay;
}
.news-card:hover .psychedelic-overlay {
 opacity: 1;
 animation: psychedelicWave 2s ease-in-out infinite;
}
.news-content {
 padding: 20px;
 background: rgba(0, 0, 0, 0.2);
}
.news-title {
 color: #e8f5e8;
 font-size: 1.2rem;
 font-weight: 600;
 margin: 15px 0;
 transition: color 0.3s ease;
}
.news-card:hover .news-title {
 color: #90ee90;
}
.news-meta .source-name {
 color: #90ee90;
 font-weight: 500;
}
.news-meta .publish-date {
 color: rgba(255, 255, 255, 0.7);
}
.news-description {
 color: rgba(255, 255, 255, 0.8);
 line-height: 1.5;
 margin-bottom: 15px;
 font-size: 0.9rem;
 display: -webkit-box;
 -webkit-line-clamp: 3;
 line-clamp: 3;
 -webkit-box-orient: vertical;
 overflow: hidden;
 text-overflow: ellipsis;
}
.cannabis-button {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 8px 16px;
 background: rgba(45, 80, 22, 0.8);
 color: #e8f5e8;
 text-decoration: none;
 border-radius: 20px;
 font-weight: 500;
 font-size: 0.9rem;
 transition: all 0.3s ease;
 border: 1px solid rgba(74, 124, 35, 0.6);
}
.cannabis-button:hover {
 background: rgba(74, 124, 35, 0.9);
 border-color: rgba(74, 124, 35, 0.8);
 color: white;
 transform: translateY(-1px);
}
.carousel-container {
 position: relative;
 height: 400px;
 margin: 30px 0;
 border-radius: 20px;
 overflow: hidden;
 background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 255, 0, 0.1));
}
.carousel {
 position: relative;
 height: 100%;
}
.carousel-slide {
 position: absolute;
 width: 100%;
 height: 100%;
 opacity: 0;
 transition: opacity 1s ease;
}
.carousel-slide.active {
 opacity: 1;
}
.carousel-image {
 position: relative;
 height: 100%;
 overflow: hidden;
}
.carousel-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 filter: brightness(0.7);
}
.carousel-gradient {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 height: 70%;
 background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}
.carousel-content {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 padding: 40px;
 z-index: 2;
}
.carousel-title {
 font-size: 2rem;
 font-weight: 700;
 color: white;
 margin-bottom: 15px;
 text-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
}
.carousel-description {
 font-size: 1.1rem;
 color: rgba(255, 255, 255, 0.9);
 margin-bottom: 20px;
 max-width: 800px;
 display: -webkit-box;
 -webkit-line-clamp: 3;
 line-clamp: 3;
 -webkit-box-orient: vertical;
 overflow: hidden;
}
.carousel-control {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 background: rgba(0, 255, 0, 0.2);
 border: 2px solid rgba(0, 255, 0, 0.5);
 color: white;
 padding: 15px;
 border-radius: 50%;
 cursor: pointer;
 transition: all 0.3s ease;
 z-index: 10;
}
.carousel-control:hover {
 background: rgba(0, 255, 0, 0.4);
 border-color: #00ff00;
 box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
}
.carousel-control.prev {
 left: 20px;
}
.carousel-control.next {
 right: 20px;
}
@keyframes cardAppear {
 from {
 opacity: 0;
 transform: translateY(50px) scale(0.9);
 }
 to {
 opacity: 1;
 transform: translateY(0) scale(1);
 }
}
@keyframes rainbowRotate {
 0% {
 filter: hue-rotate(0deg);
 transform: rotate(0deg);
 }
 100% {
 filter: hue-rotate(360deg);
 transform: rotate(360deg);
 }
}
@keyframes psychedelicWave {
 0%, 100% {
 transform: translateX(0);
 }
 50% {
 transform: translateX(10px);
 }
}
@keyframes pulse {
 0%, 100% {
 transform: scale(1);
 }
 50% {
 transform: scale(1.1);
 }
}
#loading {
 background: transparent;
 transition: opacity 0.3s ease;
}
.loading-fractals {
 
}
.news-card {
 transition: opacity 0.3s ease, transform 0.3s ease;
}
.news-card .news-content {
 flex: 1;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 padding: 15px;
}
.news-stats {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 15px;
 margin-top: 10px;
}
.news-date {
 display: flex;
 align-items: center;
 gap: 5px;
 color: rgba(255, 255, 255, 0.7);
 font-size: 0.85rem;
}
.news-date i {
 color: #90ee90;
 font-size: 0.8rem;
}
.news-date .date {
 color: #90ee90;
 font-weight: 500;
}
.filter-container {
 background: rgba(45, 80, 22, 0.3);
 border-radius: 15px;
 padding: 20px;
 margin: 20px 0;
 display: flex;
 flex-direction: column;
 gap: 15px;
}
@media (min-width: 768px) {
 .filter-container {
 flex-direction: row;
 justify-content: space-between;
 align-items: center;
 }
}
.language-filter {
 display: flex;
 align-items: center;
 gap: 15px;
 flex-wrap: wrap;
 margin-bottom: 0;
 flex-shrink: 0;
}
.language-filter span {
 color: #90ee90;
 font-weight: 500;
}
.filter-btn {
 background: rgba(45, 80, 22, 0.6);
 color: #e8f5e8;
 border: 1px solid rgba(74, 124, 35, 0.5);
 padding: 8px 16px;
 border-radius: 20px;
 cursor: pointer;
 transition: all 0.3s ease;
 font-size: 0.9rem;
}
.filter-btn:hover,
.filter-btn.active {
 background: rgba(74, 124, 35, 0.8);
 border-color: rgba(74, 124, 35, 0.8);
 color: white;
}
.search-container {
 display: flex;
 align-items: center;
 gap: 10px;
 flex-shrink: 0;
}
#search-input {
 background: rgba(45, 80, 22, 0.6);
 border: 1px solid rgba(74, 124, 35, 0.5);
 color: #e8f5e8;
 padding: 10px 15px;
 border-radius: 20px;
 width: 250px;
 transition: all 0.3s ease;
}
#search-input:focus {
 outline: none;
 border-color: rgba(74, 124, 35, 0.8);
 background: rgba(74, 124, 35, 0.4);
}
#search-input::placeholder {
 color: rgba(232, 245, 232, 0.6);
}
#search-btn, #clear-search {
 background: rgba(45, 80, 22, 0.8);
 border: 1px solid rgba(74, 124, 35, 0.6);
 color: #e8f5e8;
 padding: 10px;
 border-radius: 50%;
 cursor: pointer;
 transition: all 0.3s ease;
}
#search-btn:hover, #clear-search:hover {
 background: rgba(74, 124, 35, 0.9);
 border-color: rgba(74, 124, 35, 0.8);
}
@media (max-width: 768px) {
 #news-grid {
 grid-template-columns: 1fr;
 gap: 20px;
 padding: 10px;
 }
 
 .carousel-container {
 height: 300px;
 }
 
 .carousel-title {
 font-size: 1.5rem;
 }
 
 .carousel-content {
 padding: 20px;
 }
 
 .carousel-description {
 display: -webkit-box;
 -webkit-line-clamp: 2;
 line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
 }
}