/* Root Variables */
:root {
    --primary-color: #007a4d;
    --secondary-color: #ffcd00;
    --accent-color: #c8102e;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-primary: #2d2d2d;
    --text-secondary: #6c757d;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
body.dark-mode {
    --dark-color: #f8f9fa;
    --light-color: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --white: #2d2d2d;
    background-color: #121212;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-content {
    text-align: center;
}

.logo-animation {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.logo-animation .plus {
    color: var(--accent-color);
    animation: rotate 2s linear infinite;
}

.logo-animation .text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* Top Bar */
.top-bar {
    background: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right {
    justify-content: flex-end;
}

.social-top {
    display: flex;
    gap: 15px;
}

.social-top a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.social-top a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.btn-theme-toggle {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-theme-toggle:hover {
    background: rgba(255,255,255,0.1);
}

/* Main Navigation */
.main-nav {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-nav.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
}

.logo-plus {
    color: var(--accent-color);
    font-size: 2rem;
    margin-right: 5px;
}

.logo-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
    position: relative;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    padding: 10px 20px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Mega Menu - Corrigido */
.mega-dropdown {
    position: static !important;
}

.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 0 0 10px 10px;
    padding: 30px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 9999;
    border-top: 3px solid var(--primary-color);
}

.dropdown:hover .mega-menu {
    display: block;
}

.mega-menu-column {
    padding: 0 15px;
}

.mega-menu-column h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-link {
    display: block;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.mega-link:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* Live Link */
.live-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Search Button */
.btn-search {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-search:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-tag {
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
}

/* Breaking News Ticker */
.breaking-news {
    background: var(--accent-color);
    padding: 15px 0;
    overflow: hidden;
}

.breaking-news-content {
    display: flex;
    align-items: center;
}

.breaking-label {
    background: var(--white);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    margin-right: 20px;
    white-space: nowrap;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    color: var(--white);
    padding: 0 50px;
    font-size: 14px;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title .highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Category Cards */
.category-card {
    padding: 40px 30px;
    border-radius: 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-card:hover::before {
    top: -100%;
    right: -100%;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.category-card p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.category-link {
    color: var(--white);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.category-link:hover {
    gap: 15px;
}

/* Filter Buttons */
.section-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Article Cards Modern */
.article-modern {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-modern:hover .article-img img {
    transform: scale(1.1);
}

.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

.article-cat {
    background: rgba(0,0,0,0.8);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.article-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.article-meta i {
    color: var(--primary-color);
}

.article-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.article-title a {
    color: var(--text-primary);
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-text {
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 10px;
}

.article-stats {
    display: flex;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* FAN Media TV Section */
.fan-media-tv {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 0;
}

.live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-text {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.tv-player {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,122,77,0.8), rgba(255,205,0,0.8));
    cursor: pointer;
}

.video-placeholder i {
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.video-placeholder p {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.tv-controls {
    background: #1a1a1a;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-control {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-control:hover {
    color: var(--secondary-color);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    width: 35%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 3px;
}

.tv-schedule {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
}

.schedule-title {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.schedule-item {
    display: flex;
    gap: 20px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    transition: var(--transition);
}

.schedule-item:hover,
.schedule-item.active {
    background: rgba(255,205,0,0.1);
}

.schedule-item .time {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.schedule-item .program h5 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1rem;
}

.schedule-item .program p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Podcast Section */
.podcast-section {
    padding: 80px 0;
}

.podcast-player {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.podcast-cover {
    position: relative;
    margin-bottom: 30px;
}

.podcast-cover img {
    width: 100%;
    border-radius: 15px;
}

.play-btn-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.play-btn-large:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--white);
}

.podcast-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.podcast-guest {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.podcast-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.control-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.control-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.control-btn.play-pause {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
}

.time-display {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 14px;
}

.audio-progress {
    margin-bottom: 20px;
}

.progress-track {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.podcast-list h4 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.episode-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.episode-item:hover {
    box-shadow: var(--shadow-md);
}

.episode-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.episode-info {
    flex: 1;
}

.episode-info h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.episode-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.duration {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-play-small {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-play-small:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Digital Magazine */
.digital-magazine {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
}

.magazine-info {
    padding-right: 50px;
}

.badge-new {
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.magazine-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
}

.magazine-title .highlight {
    color: var(--secondary-color);
}

.magazine-description {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.magazine-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.magazine-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.download-count {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.magazine-mockup {
    position: relative;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.magazine-mockup img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.magazine-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
}

.magazine-badge span {
    display: block;
    font-weight: 700;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--light-color);
    padding: 60px 0;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.newsletter-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.newsletter-form {
    position: relative;
}

.form-group {
    position: relative;
}

.newsletter-form .form-control {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 15px 20px;
    padding-right: 150px;
    border-radius: 50px;
    font-size: 16px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.3);
    border-color: var(--white);
    outline: none;
}

.btn-subscribe {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--primary-color);
    padding: 10px 25px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-subscribe:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-50%) scale(1.05);
}

.form-text {
    color: rgba(255,255,255,0.8);
    margin-top: 10px;
    display: block;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Search Modal */
.modal-fullscreen {
    background: rgba(0,0,0,0.95);
}

.modal-fullscreen .modal-content {
    background: transparent;
    border: none;
}

.btn-close-search {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-search:hover {
    transform: rotate(90deg);
}

.search-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.search-form {
    width: 100%;
    max-width: 700px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 30px;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    background: transparent;
    border: none;
    border-bottom: 3px solid var(--white);
    color: var(--white);
    outline: none;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.search-suggestions {
    margin-top: 50px;
    text-align: center;
}

.search-suggestions h5 {
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.search-suggestions a {
    display: inline-block;
    color: var(--white);
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 25px;
    margin: 5px;
    transition: var(--transition);
}

.search-suggestions a:hover {
    background: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 991px) {
    .mega-menu {
        position: relative !important;
        top: 0;
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
        border-radius: 0;
        padding: 20px 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.4s ease;
        border-top: 1px solid rgba(0,0,0,0.1);
        margin-top: 10px;
    }
    
    .mega-dropdown.show .mega-menu {
        max-height: 800px;
        overflow-y: auto;
    }
    
    .mega-dropdown .dropdown-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mega-dropdown .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .mega-dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .top-bar {
        display: none;
    }
    
    .magazine-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .newsletter-box {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-card {
        margin-bottom: 20px;
    }
    
    .magazine-actions {
        flex-direction: column;
    }
    
    .magazine-actions .btn {
        width: 100%;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .breaking-label {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .newsletter-form .btn-subscribe {
        position: static;
        width: 100%;
        margin-top: 15px;
        transform: none;
    }
    
    .newsletter-form .form-control {
        padding-right: 20px;
    }
}

/* Desktop - Hover */
@media (min-width: 992px) {
    .mega-dropdown:hover .mega-menu,
    .mega-dropdown.active .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .navbar-nav .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .mega-dropdown:hover .dropdown-toggle::after,
    .mega-dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

.mega-menu-column {
    padding: 0 15px;
    margin-bottom: 30px;
}

.mega-menu-column h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,122,77,0.1);
}

.mega-menu-column h5 i {
    font-size: 16px;
}

.mega-link {
    display: block;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mega-link:hover {
    color: var(--primary-color);
    padding-left: 15px;
}

.mega-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.mega-link:hover::before {
    width: 8px;
}

/* Mobile scrollbar styling */
@media (max-width: 991px) {
    .mega-menu::-webkit-scrollbar {
        width: 4px;
    }
    
    .mega-menu::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
    }
    
    .mega-menu::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
}

/* Fix navbar on mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        margin-top: 15px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
}