/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #fff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    perspective: 1000px;
    position: relative;
    padding-top: 130px; /* Space for price bar (50px) + header-nav-bar with menu (80px) */
    min-height: 100vh;
}

/* Mobile body padding adjustment */
@media (max-width: 768px) {
    body {
        padding-top: 105px; /* Space for price bar (50px) + compact header (55px) */
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 105px; /* Space for price bar (60px) + very compact header (45px) */
    }
}

/* Ensure page ends at footer */
html::after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

/* Investment Reports Carousel */
.investment-reports {
    margin: 60px 0;
}

.reports-carousel {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
}

.report-card {
    flex: 0 0 calc(33.333% - 14px);
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.report-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.report-content {
    padding: 20px;
}

.report-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.report-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
}

.carousel-container {
    overflow: hidden;
    margin-top: 20px;
}

.carousel-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #6f42c1;
    background: white;
    color: #6f42c1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
    background: #6f42c1;
    color: white;
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive design for reports carousel */
@media (max-width: 1024px) {
    .report-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .report-card {
        flex: 0 0 100%;
    }
    
    .reports-carousel {
        gap: 15px;
    }
}

/* Parallax Background Layers */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(111, 66, 193, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(233, 69, 96, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.02) 0%, transparent 60%);
    animation: parallax-float 60s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes parallax-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-5%, 5%) rotate(1deg); }
    50% { transform: translate(5%, -5%) rotate(-1deg); }
    75% { transform: translate(-5%, -5%) rotate(0.5deg); }
}

/* Floating News Elements */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M100,200 L150,200 L150,250 L100,250 Z" fill="rgba(111,66,193,0.03)" transform="rotate(15 125 225)"/><circle cx="800" cy="150" r="20" fill="rgba(233,69,96,0.03)"/><path d="M300,700 L320,680 L340,700 L320,720 Z" fill="rgba(0,255,136,0.03)"/><rect x="600" y="500" width="40" height="60" fill="rgba(111,66,193,0.02)" transform="rotate(-10 620 530)"/><circle cx="200" cy="800" r="15" fill="rgba(233,69,96,0.02)"/><path d="M850,750 L870,730 L890,750 L870,770 Z" fill="rgba(0,212,255,0.03)"/></svg>');
    background-size: 100% 100%;
    animation: float-elements 40s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes float-elements {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
    50% { transform: translateY(-20px) translateX(10px); opacity: 0.8; }
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Improved focus states for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Price Bar - Always at the very top */
.price-bar {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-bottom: 3px solid #e94560;
    padding: 8px 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1010; /* Higher than header (1005) */
    box-shadow: 0 2px 10px rgba(233, 69, 96, 0.3);
    will-change: transform; /* Optimize for animations */
}

.price-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e94560, #f39c12, #00ff88);
    background-size: 200% 100%;
    animation: border-flow 3s linear infinite;
    will-change: background-position; /* Optimize animation */
}

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

.price-container {
    display: flex;
    gap: 30px;
    min-width: max-content;
    padding: 0 20px;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
    will-change: transform; /* Optimize scrolling animation */
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.price-bar:hover .price-container {
    animation-play-state: paused;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 0 20px;
    transition: transform 0.2s ease;
}

.price-item:hover {
    transform: scale(1.05);
}

.symbol {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.price {
    font-weight: 600;
    color: #f0f0f0;
    font-size: 15px;
}

.change {
    font-weight: 500;
    font-size: 0.9em;
}

.change.positive {
    color: #00ff88;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    animation: pulse-positive 2s ease-in-out infinite;
}

@keyframes pulse-positive {
    0%, 100% {
        text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 255, 136, 0.9);
    }
}

.change.negative {
    color: #ff3366;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 51, 102, 0.6);
    animation: pulse-negative 2s ease-in-out infinite;
}

@keyframes pulse-negative {
    0%, 100% {
        text-shadow: 0 0 8px rgba(255, 51, 102, 0.6);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 51, 102, 0.9);
    }
}

/* Header */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #6f42c1, #e94560, #f39c12, #6f42c1) 1;
    padding: 15px 0;
    box-shadow: 0 8px 30px rgba(111, 66, 193, 0.2), 0 0 50px rgba(233, 69, 96, 0.1);
    backdrop-filter: blur(15px) saturate(180%);
    position: fixed;
    top: 60px; /* Position below price bar */
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1005;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile header optimization */
@media (max-width: 768px) {
    .header {
        padding: 5px 0;
        border-bottom-width: 2px;
    }
    
    .header .container {
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 50px;
    }
    
    .nav-brand {
        flex: 0 0 auto;
    }
    
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
    
    .nav-menu {
        display: none; /* Hide navigation menu on mobile */
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 0 0 auto;
    }
    
    .search-btn {
        padding: 6px;
        font-size: 16px;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cta-btn {
        display: none; /* Hide CTA on mobile to save space */
    }
    
    .translate-widget {
        display: none; /* Hide translate widget on mobile to save space */
    }
    
    .search-container {
        margin: 15px 0;
        padding: 10px 0;
    }
    
    .search-btn {
        padding: 10px 16px;
        font-size: 16px;
        min-width: 100px;
    }
    
    .header-nav-bar {
        padding: 8px 0;
        min-height: 50px;
    }
    
    .header-nav-bar .search-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .header-nav-bar .mobile-menu-toggle {
        width: 35px;
        height: 35px;
        gap: 3px;
    }
    
    .header-nav-bar .mobile-menu-toggle span {
        width: 18px;
        height: 2px;
    }
    
    .mobile-menu-toggle {
        padding: 6px;
        width: 35px;
        height: 35px;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        border: 1px solid rgba(44, 62, 80, 0.2);
        cursor: pointer;
    }
    
    .mobile-menu-toggle span {
        width: 18px;
        height: 2px;
        background: #2c3e50;
        transition: all 0.3s ease;
        border-radius: 1px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 4px 0;
    }
    
    .header .container {
        height: 45px;
        padding: 0 10px;
    }
    
    .logo-image {
        height: 30px;
        max-width: 100px;
    }
    
    .search-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        width: 30px;
        height: 30px;
        display: flex !important;
        padding: 4px;
        gap: 2px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        border: 1px solid rgba(44, 62, 80, 0.2);
    }
    
    .mobile-menu-toggle span {
        width: 16px;
        height: 2px;
        background: #2c3e50 !important;
        border-radius: 1px;
        display: block !important;
    }
    
    .search-container {
        margin: 10px 0;
        padding: 8px 0;
    }
    
    .search-btn {
        padding: 8px 14px;
        font-size: 14px;
        min-width: 80px;
    }
    
    .header-nav-bar {
        padding: 6px 0;
        min-height: 45px;
    }
    
    .header-nav-bar .search-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .header-nav-bar .mobile-menu-toggle {
        width: 30px;
        height: 30px;
        gap: 2px;
    }
    
    .header-nav-bar .mobile-menu-toggle span {
        width: 16px;
        height: 2px;
    }
}

/* Desktop header styles - ensure full size on desktop */
@media (min-width: 769px) {
    .header {
        padding: 15px 0;
    }
    
    .header .container {
        height: auto;
        display: block;
    }
    
    .logo-image {
        height: 80px;
        max-width: 200px;
    }
    
    .nav-menu {
        display: block;
    }
    
    .nav-actions {
        display: flex;
        gap: 15px;
    }
    
    .search-btn {
        padding: 12px 16px;
        font-size: 16px;
        width: auto;
        height: auto;
    }
    
    .cta-btn {
        display: block;
    }
    
    .translate-widget {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Header Navigation Bar */
.header-nav-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: fixed;
    top: 50px; /* Position directly below price bar */
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1004;
}

.header-nav-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.header-nav-bar .nav-brand {
    flex: 0 0 auto;
}

.header-nav-bar .nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-nav-bar .nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}

/* Hide mobile toggle on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Show mobile toggle only on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .header-nav-bar .nav-menu {
        display: none !important;
    }
    
    .desktop-search {
        display: none !important;
    }
    
    .translate-widget {
        display: none !important;
    }
    
    .header-nav-bar {
        padding: 5px 0;
    }
}

.header-nav-bar .search-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #495057;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-nav-bar .search-btn:hover {
    background: linear-gradient(135deg, #6f42c1, #e94560);
    color: white;
    transform: scale(1.1);
}

.header-nav-bar .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.header-nav-bar .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #495057;
    border-radius: 1px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.header-nav-bar .mobile-menu-toggle:hover span {
    background: #6f42c1;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #e9ecef;
    background: linear-gradient(135deg, #6f42c1, #e94560);
}

.mobile-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-nav {
    padding: 20px 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    background: linear-gradient(90deg, rgba(111, 66, 193, 0.1) 0%, transparent 100%);
    border-left-color: #6f42c1;
    color: #6f42c1;
    transform: translateX(5px);
}

.mobile-nav-item i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 2px solid #e9ecef;
    margin-top: auto;
}

.translate-widget-mobile {
    text-align: center;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Header hide/show on scroll */
.header.header-hidden {
    transform: translateY(-100%);
}

.header.header-visible {
    transform: translateY(0);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(111, 66, 193, 0.02) 50%, transparent 100%);
    animation: header-shimmer 5s ease-in-out infinite;
    pointer-events: none;
}

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

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #6f42c1;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 200px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 12px rgba(111, 66, 193, 0.3)) brightness(1.2) contrast(1.3);
    position: relative;
    z-index: 1002;
    display: block;
}

.logo-image:hover {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 8px 25px rgba(233, 69, 96, 0.5));
}

.nav-menu {
    position: relative;
    z-index: 1006;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #6f42c1;
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(111, 66, 193, 0.3);
}

.nav-menu a {
    transition: all 0.3s ease;
}

.nav-menu i {
    font-size: 12px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
    z-index: 1007;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1008;
    border-radius: 8px;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding-top: 5px;
    border: 1px solid #e9ecef;
}

.dropdown-content a {
    color: #495057;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.3s;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: linear-gradient(90deg, #f0f4ff 0%, #ffffff 100%);
    color: #6f42c1;
    padding-left: 20px;
    transform: translateX(5px);
    border-left: 4px solid #6f42c1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover > a {
    color: #6f42c1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1003;
}

/* Search Container */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 15px 0;
}

.search-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    font-size: 18px;
    color: #495057;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.search-btn:hover {
    background: linear-gradient(135deg, #6f42c1, #e94560);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
    border-color: #6f42c1;
}

/* Google Translate Widget */
.translate-widget {
    display: inline-block;
    margin: 0 10px;
    position: relative;
    z-index: 1001;
}

/* Custom styling for Google Translate */
.goog-te-gadget {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
}

.goog-te-gadget-simple {
    background: linear-gradient(135deg, #f0f4ff, #ffffff) !important;
    border: 2px solid rgba(111, 66, 193, 0.2) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.goog-te-gadget-simple:hover {
    background: linear-gradient(135deg, #6f42c1, #e94560) !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3) !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:first-child {
    color: #6f42c1 !important;
    font-weight: 600 !important;
}

.goog-te-gadget-simple:hover .goog-te-menu-value span:first-child {
    color: white !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:last-child {
    color: #999 !important;
}

.goog-te-gadget-simple:hover .goog-te-menu-value span:last-child {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Hide Google Translate branding */
.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.goog-logo-link, .goog-te-gadget .goog-te-combo:after {
    display: none !important;
}

/* Translate dropdown menu */
.goog-te-menu2 {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border: 2px solid rgba(111, 66, 193, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.2) !important;
    max-height: 300px !important;
    overflow-y: auto !important;
}

.goog-te-menu2-item {
    padding: 10px 15px !important;
    border-bottom: 1px solid rgba(111, 66, 193, 0.1) !important;
    transition: all 0.3s ease !important;
}

.goog-te-menu2-item:hover {
    background: linear-gradient(90deg, rgba(111, 66, 193, 0.1), rgba(233, 69, 96, 0.1)) !important;
    color: #6f42c1 !important;
    transform: translateX(5px) !important;
}

.goog-te-menu2-item:last-child {
    border-bottom: none !important;
}

/* Language Indicator Notification */
.language-indicator {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #6f42c1, #e94560);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    animation: slideInRight 0.5s ease-out;
    backdrop-filter: blur(10px);
}

.language-indicator i {
    font-size: 18px;
}

.language-indicator span {
    font-weight: 600;
    font-size: 14px;
}

.language-indicator button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.language-indicator button:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.language {
    color: #495057;
    font-weight: 500;
}

.cta-btn {
    background: linear-gradient(135deg, #e94560, #f39c12);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-btn::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.5s;
}

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

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.6);
    background: linear-gradient(135deg, #f39c12, #e94560);
}

.cta-btn small {
    font-size: 11px;
    opacity: 0.9;
}

.cta-btn i {
    margin-left: 8px;
}

/* Main Content */
.main-content {
    padding: 50px 0;
    background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 50%, #fff5f7 100%);
    position: relative;
    transform-style: preserve-3d;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(111, 66, 193, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(233, 69, 96, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    pointer-events: none;
    transform: translateZ(-50px) scale(1.1);
    animation: depth-shift 30s ease-in-out infinite;
}

@keyframes depth-shift {
    0%, 100% { transform: translateZ(-50px) scale(1.1); }
    50% { transform: translateZ(-30px) scale(1.08); }
}

/* Floating Chart Elements */
.main-content::after {
    content: '📊 📈 💹 💰 📉 💱 💲 🏦';
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    font-size: 40px;
    opacity: 0.03;
    pointer-events: none;
    animation: float-icons 50s linear infinite;
    letter-spacing: 100px;
    transform: translateZ(-100px);
}

@keyframes float-icons {
    0% { transform: translateZ(-100px) translateY(0); }
    50% { transform: translateZ(-80px) translateY(-30px); }
    100% { transform: translateZ(-100px) translateY(0); }
}

/* Featured Story Section */
.featured-story {
    margin-bottom: 50px;
    position: relative;
    transform-style: preserve-3d;
}

.featured-story::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.05), rgba(233, 69, 96, 0.05));
    border-radius: 30px;
    transform: translateZ(-20px);
    filter: blur(30px);
    opacity: 0.5;
    pointer-events: none;
}

.featured-content {
    background: linear-gradient(135deg, #e94560 0%, #6f42c1 50%, #0f3460 100%);
    background-size: 200% 100%;
    border-radius: 20px;
    padding: 50px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(233, 69, 96, 0.3), 0 0 30px rgba(111, 66, 193, 0.2);
    animation: featured-gradient 8s ease infinite;
}

@keyframes featured-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.featured-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.featured-story h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: title-pulse 3s ease-in-out infinite;
}

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

.featured-story p {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.carousel-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e9ecef;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #495057;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #6f42c1;
    color: white;
    border-color: #6f42c1;
}

/* Carousel Styles */
.carousel-container {
    overflow: hidden;
    position: relative;
}

.stories-carousel,
.reports-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.story-card,
.report-card {
    min-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 2px 8px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(52, 152, 219, 0.08);
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.story-card::after,
.report-card::after {
    content: '→';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #6f42c1;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.story-card::before,
.report-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e94560, #f39c12, #00ff88, #6f42c1);
    background-size: 200% 100%;
    opacity: 0;
    transition: all 0.3s ease;
    animation: gradient-shift 3s ease infinite;
}

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

.story-card:hover,
.report-card:hover {
    transform: translateY(-20px) translateZ(40px) scale(1.05) rotateX(3deg);
    box-shadow: 
        0 32px 80px rgba(52, 152, 219, 0.25),
        0 16px 40px rgba(111, 66, 193, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(52, 152, 219, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 50%, #f0f8ff 100%);
    border: 1px solid rgba(52, 152, 219, 0.15);
}

.story-card:hover::after,
.report-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.story-card:hover::before,
.report-card:hover::before {
    opacity: 1;
}

.story-image,
.report-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.story-card:hover .story-image,
.report-card:hover .report-image {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.2);
}

.story-content,
.report-content {
    padding: 20px;
}

.story-title,
.report-title {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.story-card:hover .story-title,
.report-card:hover .report-title {
    background: linear-gradient(135deg, #6f42c1, #e94560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-author,
.report-description {
    font-size: 14px;
    color: #6c757d;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin: 50px 0;
}

/* Market Widget */
.market-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.widget-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.widget-tabs .tab-btn {
    padding: 8px 16px;
    border: 1px solid #e9ecef;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.widget-tabs .tab-btn.active {
    background: linear-gradient(135deg, #6f42c1, #e94560);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    transform: translateY(-2px);
}

.widget-tabs .tab-btn:hover {
    background: linear-gradient(135deg, #f0f4ff, #ffffff);
    border-color: #6f42c1;
    transform: translateY(-2px);
}

.timeframe-selector {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.time-btn {
    padding: 6px 12px;
    border: 1px solid #e9ecef;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s;
}

.time-btn.active {
    background: #f8f9fa;
    color: #6f42c1;
    border-color: #6f42c1;
}

.market-chart {
    height: 120px;
    margin-bottom: 20px;
    position: relative;
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
}

.chart-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.chart-line {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #6f42c1;
    transform: translateY(-50%);
}

.chart-points {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.point {
    width: 8px;
    height: 8px;
    background: #6f42c1;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.market-data {
    margin-bottom: 20px;
}

.market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.market-item:last-child {
    border-bottom: none;
}

.market-symbol {
    font-weight: 600;
    color: #495057;
}

.market-value {
    font-weight: 500;
    color: #212529;
}

.market-change {
    font-size: 12px;
    font-weight: 500;
}

.market-change.positive {
    color: #28a745;
}

.market-change.negative {
    color: #dc3545;
}

.widget-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.feature-item:hover {
    background: #e9ecef;
}

.feature-item i {
    color: #6f42c1;
}

.feature-item span {
    font-size: 12px;
    font-weight: 500;
    color: #495057;
}

.new-badge {
    background: #ff6b6b;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

/* Newsletter & Stats Section */
.newsletter-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 60px 0;
    padding: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 255, 0.98));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(111, 66, 193, 0.15), 
                0 10px 25px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    transform-style: preserve-3d;
    border: 2px solid rgba(111, 66, 193, 0.1);
}

.newsletter-stats::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #6f42c1, #e94560, #f39c12);
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.newsletter-stats:hover::before {
    opacity: 0.1;
}

.stats-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #212529;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #e94560, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: number-glow 2s ease-in-out infinite;
}

@keyframes number-glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(233, 69, 96, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(233, 69, 96, 0.6));
    }
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.newsletter-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #212529;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.email-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.email-input:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 4px rgba(111, 66, 193, 0.1), 0 4px 12px rgba(111, 66, 193, 0.15);
    transform: translateY(-2px);
}

.email-input:hover {
    border-color: #d0d5dd;
}

.newsletter-btn {
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    color: #1a1a2e;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    position: relative;
}

.newsletter-btn::after {
    content: ' →';
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    background: linear-gradient(135deg, #2c3e50 0%, #6f42c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, #e94560, #f39c12, #00ff88, #6f42c1);
    background-size: 200% 100%;
    margin-left: 20px;
    border-radius: 2px;
    animation: gradient-flow 3s ease infinite;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

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

.title-icon {
    font-size: 20px;
    background: linear-gradient(135deg, #e94560, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: icon-bounce 2s ease-in-out infinite;
}

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

/* Latest News Section */
.latest-news .news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
}

.news-item:hover {
    background: linear-gradient(90deg, rgba(111, 66, 193, 0.05), rgba(233, 69, 96, 0.05));
    transform: translateX(8px);
    border-color: rgba(111, 66, 193, 0.2);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.1);
}

.news-item:last-child {
    margin-bottom: 0;
}

.news-bullet {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #e94560, #f39c12);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 15px rgba(233, 69, 96, 0.8);
    }
}

.news-content {
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.news-category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.news-time {
    color: #6c757d;
    font-size: 13px;
}

.news-title {
    color: #212529;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s;
}

.news-title:hover {
    color: #6f42c1;
}

/* Trending News Section */
.trending-news {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 
                0 8px 20px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    position: relative;
    transform-style: preserve-3d;
    border: 1px solid rgba(111, 66, 193, 0.1);
}

.trending-news::before {
    content: '';
    position: absolute;
    top: -15px;
    right: 30px;
    font-size: 60px;
    opacity: 0.1;
    animation: fire-flicker 2s ease-in-out infinite;
    transform: translateZ(-10px);
}

@keyframes fire-flicker {
    0%, 100% { opacity: 0.1; transform: translateZ(-10px) scale(1); }
    50% { opacity: 0.15; transform: translateZ(-5px) scale(1.1); }
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.trending-item:hover {
    background: linear-gradient(90deg, #fff5f7, #f8f9fa);
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.15);
}

.trending-number {
    background: linear-gradient(135deg, #e94560, #f39c12);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(233, 69, 96, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(233, 69, 96, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(233, 69, 96, 0.6);
    }
}

.trending-content {
    flex: 1;
}

.trending-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 5px;
    line-height: 1.3;
}

.trending-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #6c757d;
}

.trending-category {
    background: linear-gradient(135deg, #6f42c1, #e94560);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.3);
}

/* Spotlight Section */
.spotlight-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.spotlight-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

.spotlight-title {
    background: #6f42c1;
    color: white;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* Deep Dives Section */
.deep-dives-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.deep-dive-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.deep-dive-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.deep-dive-image {
    width: 100%;
    height: 150px;
    position: relative;
}

.deep-dive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deep-dive-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.deep-dive-content {
    padding: 20px;
}

.deep-dive-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    line-height: 1.4;
}

.deep-dive-author {
    color: #6c757d;
    font-size: 13px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Footer Depth Layer */
.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(111, 66, 193, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(233, 69, 96, 0.08) 0%, transparent 50%);
    transform: translateZ(-30px);
    pointer-events: none;
    animation: footer-depth 40s ease-in-out infinite;
}

@keyframes footer-depth {
    0%, 100% { transform: translateZ(-30px) scale(1); opacity: 0.5; }
    50% { transform: translateZ(-20px) scale(1.05); opacity: 0.7; }
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e94560, #f39c12, #00ff88, #6f42c1);
    background-size: 200% 100%;
    animation: gradient-flow 3s ease infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 60px 0 20px;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-icon {
    font-size: 24px;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.newsletter-signup h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.newsletter-signup p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.privacy-text {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 18px;
}

.social-link:hover {
    background: linear-gradient(135deg, #e94560, #f39c12);
    border-color: transparent;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.5);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.nav-column h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-column li {
    margin-bottom: 10px;
}

.nav-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-column a:hover {
    color: white;
}

.disclaimer {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer p {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.footer-copyright p {
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.scroll-top {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e94560, #f39c12);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
    font-size: 20px;
    font-weight: bold;
}

.scroll-top:hover {
    background: linear-gradient(135deg, #f39c12, #e94560);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.6);
}

/* Bottom Banner */
.bottom-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    color: white;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default - can be shown via JS */
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-logo {
    font-size: 20px;
    font-weight: 700;
}

.banner-center {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.banner-btn {
    background: #ffd700;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 15px;
    transition: transform 0.3s;
}

.banner-btn:hover {
    transform: scale(1.05);
}

.banner-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.search-modal.active {
    display: flex;
}

.search-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.search-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.search-form {
    padding: 20px;
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
}

.search-form button {
    background: #6f42c1;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.search-results {
    padding: 0 20px 20px;
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #f1f3f4;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-suggestions {
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.search-suggestions h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #495057;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #f8f9fa;
    color: #495057;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.tag:hover {
    background: #6f42c1;
    color: white;
    border-color: #6f42c1;
}

/* TradingView Widget */
.tradingview-widget-container {
    height: 120px;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}

.tradingview-widget-copyright {
    font-size: 10px;
    text-align: center;
    padding: 5px;
    background: #f8f9fa;
}

.tradingview-widget-copyright a {
    color: #6c757d;
    text-decoration: none;
}

.blue-text {
    color: #007bff;
}

/* Admin Panel */
.admin-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #6f42c1;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
}

.admin-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.admin-modal.active {
    display: flex;
}

.admin-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.admin-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #212529;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 5px;
}

.admin-tabs {
    display: flex;
    border-bottom: 1px solid #e9ecef;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-btn.active {
    background: #f8f9fa;
    color: #6f42c1;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6f42c1;
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

.submit-btn {
    background: #6f42c1;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background: #5a32a3;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.post-info p {
    font-size: 14px;
    color: #6c757d;
}

.post-actions {
    display: flex;
    gap: 10px;
}

.edit-btn,
.delete-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.edit-btn {
    background: #007bff;
    color: white;
}

.edit-btn:hover {
    background: #0056b3;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #c82333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-menu ul {
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .price-container {
        gap: 20px;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .admin-content {
        width: 95%;
        margin: 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .featured-story h1 {
        font-size: 28px;
    }
    
    .featured-story p {
        font-size: 16px;
    }
    
    .carousel-nav {
        gap: 5px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .story-card,
    .report-card {
        min-width: 250px;
    }
    
    .market-widget {
        padding: 15px;
    }
    
    .widget-features {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-actions {
        gap: 15px;
    }
    
    .cta-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: center;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .featured-story {
        padding: 20px;
    }
    
    .featured-story h1 {
        font-size: 24px;
    }
    
    .featured-story p {
        font-size: 14px;
    }
    
    .story-card,
    .report-card {
        min-width: 220px;
    }
    
    .story-image,
    .report-image {
        height: 150px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
    
    .stats-section h3 {
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .newsletter-section h3 {
        font-size: 18px;
    }
    
    .price-container {
        gap: 15px;
        font-size: 12px;
    }
    
    .price-item {
        gap: 5px;
    }
    
    .admin-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
    
    .bottom-banner {
        padding: 15px 0;
    }
    
    .banner-content {
        padding: 0 15px;
    }
    
    .banner-center {
        font-size: 14px;
    }
    
    .banner-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Banner Styles */
.banner-container {
    margin: 20px 0;
    display: none;
}

.banner-item {
    position: relative;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.banner-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.banner-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    pointer-events: none;
}

/* Hide video controls on mobile */
@media (max-width: 768px) {
    .banner-video {
        -webkit-playsinline: true;
        playsinline: true;
    }
    
    .banner-video::-webkit-media-controls {
        display: none !important;
    }
    
    .banner-video::-webkit-media-controls-panel {
        display: none !important;
    }
    
    .banner-video::-webkit-media-controls-play-button {
        display: none !important;
    }
    
    .banner-video::-webkit-media-controls-volume-slider {
        display: none !important;
    }
    
    .banner-video::-webkit-media-controls-mute-button {
        display: none !important;
    }
    
    .banner-video::-webkit-media-controls-timeline {
        display: none !important;
    }
    
    .banner-video::-webkit-media-controls-current-time-display {
        display: none !important;
    }
    
    .banner-video::-webkit-media-controls-time-remaining-display {
        display: none !important;
    }
    
    .banner-video::-webkit-media-controls-fullscreen-button {
        display: none !important;
    }
    
    .banner-video::-webkit-media-controls-rewind-button {
        display: none !important;
    }
    
    .banner-video::-webkit-media-controls-return-to-realtime-button {
        display: none !important;
    }
    
    .banner-video::-webkit-media-controls-toggle-closed-captions-button {
        display: none !important;
    }
}

.banner-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.banner-item:hover .banner-overlay {
    opacity: 1;
}

/* Banner Sizes */
.banner-hero {
    max-width: 1200px;
    margin: 20px auto;
}

.banner-large {
    max-width: 800px;
    margin: 15px auto;
}

.banner-medium {
    max-width: 600px;
    margin: 15px auto;
}

.banner-small {
    max-width: 300px;
    margin: 10px auto;
}

.banner-sidebar {
    max-width: 250px;
    margin: 10px auto;
}

/* Header Banners */
#header-banners {
    position: relative;
    z-index: 1;
    margin-top: -20px; /* Move banner slightly behind header elements */
}

/* Sidebar Banners */
#sidebar-banners {
    margin: 20px 0;
}

/* Content Banners */
#content-banners {
    margin: 30px 0;
}

/* Footer Banners */
#footer-banners {
    margin: 20px 0;
}

/* Responsive Banner Styles */
@media (max-width: 768px) {
    .banner-hero,
    .banner-large,
    .banner-medium {
        max-width: 100%;
        margin: 10px 0;
    }
    
    .banner-small,
    .banner-sidebar {
        max-width: 100%;
        margin: 10px 0;
    }
    
    .banner-overlay {
        opacity: 1;
        top: 5px;
        right: 5px;
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Show hamburger menu on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        width: 35px;
        height: 35px;
        padding: 6px;
        gap: 3px;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        border: 1px solid rgba(44, 62, 80, 0.2);
    }
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: #2c3e50;
    border-radius: 1px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
    }

    .nav-menu ul li {
        margin: 10px 0;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
        border-radius: 8px;
    }

    .nav-actions {
        gap: 15px;
    }

    .cta-btn {
        display: none;
    }

    .price-container {
        gap: 20px;
        padding: 0 10px;
    }

    .price-item {
        font-size: 12px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .social-links {
        justify-content: center;
    }
}

/* Professional Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    border-radius: 8px;
}

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

.loading-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.loading-card .loading-skeleton {
    height: 20px;
    margin-bottom: 12px;
}

.loading-card .loading-skeleton:first-child {
    height: 24px;
    width: 80%;
}

.loading-card .loading-skeleton:nth-child(2) {
    height: 16px;
    width: 100%;
}

.loading-card .loading-skeleton:nth-child(3) {
    height: 16px;
    width: 60%;
}

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

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

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    color: #666;
}

.loading-content h3 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

/* Enhanced Button Loading States */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* News Card Loading States */
.news-card.loading {
    pointer-events: none;
    opacity: 0.7;
}

.news-card.loading .news-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

.news-card.loading .news-title,
.news-card.loading .news-excerpt {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    color: transparent;
    border-radius: 4px;
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
    position: relative;
}

.mobile-nav-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-item-header:hover {
    background-color: rgba(52, 152, 219, 0.05);
    color: #3498db;
}

.mobile-nav-item-header i:first-child {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: #666;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(248, 249, 250, 0.8);
    border-radius: 0 0 12px 12px;
}

.mobile-dropdown.active .mobile-dropdown-content {
    max-height: 300px;
    padding: 10px 0;
}

.mobile-dropdown-item {
    display: block;
    padding: 12px 20px 12px 50px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-dropdown-item:hover {
    background-color: rgba(52, 152, 219, 0.08);
    color: #3498db;
    border-left-color: #3498db;
    padding-left: 55px;
}

.mobile-dropdown-item:active {
    background-color: rgba(52, 152, 219, 0.12);
}
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-card,
    .report-card {
        min-width: 100%;
        margin-bottom: 20px;
    }
    
    .carousel-container {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .news-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .story-card:hover,
    .report-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .news-card {
        border-radius: 12px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .news-excerpt {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
