/* KaiTech Mobile-First Responsive Design */
/* Optimized for phones, tablets, and all mobile devices */

/* Mobile-First Base Styles */
@media screen and (max-width: 768px) {
    /* Reset and Optimization */
    * {
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }
    
    html {
        font-size: 16px; /* Better touch targets */
        -webkit-text-size-adjust: 100%;
    }
    
    body {
        font-size: 16px;
        line-height: 1.6;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 40%, #e9ecef 80%, #dee2e6 100%);
    }
    
    /* Hide desktop-only elements on mobile */
    .floating-orbs {
        display: none; /* Better performance on mobile */
    }
    
    .grid-background {
        opacity: 0.1; /* Less distracting on small screens */
        background-size: 30px 30px; /* Smaller grid for mobile */
    }
    
    /* Mobile Navigation */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(16, 185, 129, 0.2);
        height: auto;
        padding: 0;
    }
    
    .nav {
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .nav-brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .logo {
        width: 36px;
        height: 36px;
    }
    
    /* Mobile Header Holographic Logo */
    .header-holographic-logo {
        gap: 0.75rem;
        padding: 0.25rem;
    }
    
    .header-logo-core {
        width: 38px;
        height: 38px;
    }
    
    .header-logo-center {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .header-logo-pulse {
        width: 48px;
        height: 48px;
        top: -5px;
        left: -5px;
    }
    
    .header-company-name {
        font-size: 1.2rem;
    }
    
    .header-voice-of-time {
        font-size: 0.6rem;
    }
    
    .header-voice-wave {
        width: 15px;
        height: 1.5px;
    }
    
    /* Reduce animation intensity on mobile for better performance */
    .header-ring-1, .header-ring-2, .header-ring-3 {
        animation-duration: 20s;
    }
    
    .header-logo-scan-line {
        animation-duration: 8s;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
        margin-top: 12px;
        justify-content: space-around;
    }
    
    .nav-links li {
        flex: 1;
        min-width: 80px;
    }
    
    .nav-links a {
        display: block;
        padding: 8px 12px;
        text-align: center;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        border-radius: 20px;
        background: rgba(44, 62, 80, 0.08);
        border: 1px solid rgba(52, 73, 94, 0.15);
        transition: all 0.2s ease;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-links a:hover, .nav-links a:active {
        background: #3498db;
        color: white;
        transform: translateY(-2px);
    }
    
    /* Mobile Breaking News Bar */
    .breaking-news-bar {
        position: fixed;
        top: 80px; /* After mobile nav */
        left: 0;
        right: 0;
        z-index: 999;
        background: linear-gradient(90deg, #c0392b, #e74c3c, #c0392b);
        color: white;
        padding: 8px 0;
        font-size: 14px;
        font-weight: 500;
        overflow: hidden;
        height: 40px;
    }
    
    .breaking-news-content {
        display: flex;
        align-items: center;
        animation: scroll-mobile 30s linear infinite;
        white-space: nowrap;
        padding: 0 16px;
    }
    
    .breaking-label {
        background: rgba(255, 255, 255, 0.2);
        padding: 4px 12px;
        border-radius: 20px;
        margin-right: 16px;
        font-weight: 700;
        font-size: 12px;
    }
    
    @keyframes scroll-mobile {
        0% { transform: translateX(100%); }
        100% { transform: translateX(-100%); }
    }
    
    /* Mobile Hero Section - Enhanced */
    .hero {
        margin-top: 120px; /* Account for fixed header + breaking news */
        padding: 40px 20px;
        min-height: calc(100vh - 120px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95), 
            rgba(248, 250, 252, 0.9), 
            rgba(229, 231, 235, 0.85));
        border-radius: 0 0 30px 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
    }
    
    /* Hero Background Effect */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.08), transparent),
            radial-gradient(circle at 80% 70%, rgba(93, 173, 226, 0.06), transparent);
        z-index: 0;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 500px;
        width: 100%;
    }
    
    /* Main Title - "Voice of Time" */
    .hero-content h1 {
        font-size: clamp(2.8rem, 14vw, 4.5rem) !important;
        line-height: 1.0;
        margin-bottom: 20px;
        color: #2c3e50 !important;
        font-weight: 800 !important;
        text-shadow: 
            0 0 15px rgba(52, 152, 219, 0.3),
            0 4px 8px rgba(0, 0, 0, 0.15) !important;
        letter-spacing: -1px;
        background: linear-gradient(135deg, #2c3e50, #3498db, #5dade2);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: hero-title-glow 4s ease-in-out infinite alternate;
    }
    
    @keyframes hero-title-glow {
        0% {
            text-shadow: 
                0 0 20px #00ff88,
                0 0 40px #00ff44,
                0 4px 8px rgba(0, 0, 0, 0.3);
        }
        100% {
            text-shadow: 
                0 0 30px #00ff88,
                0 0 60px #00ff44,
                0 6px 12px rgba(0, 0, 0, 0.4);
        }
    }
    
    /* Subtitle - "KaiTech - Where Innovation Meets Excellence" */
    .hero-subtitle {
        font-size: clamp(1.2rem, 6vw, 1.6rem) !important;
        margin-bottom: 24px;
        color: #0099ff !important;
        font-weight: 700 !important;
        text-shadow: 
            0 0 15px #0099ff,
            0 0 25px #0066cc !important;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        background: rgba(0, 153, 255, 0.1);
        padding: 12px 20px;
        border-radius: 25px;
        border: 2px solid rgba(0, 153, 255, 0.3);
        backdrop-filter: blur(10px);
    }
    
    /* Description Text */
    .hero-content p {
        font-size: 17px !important;
        line-height: 1.7;
        margin-bottom: 36px;
        color: #2d3748 !important;
        max-width: 450px;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.8);
        padding: 16px 20px;
        border-radius: 20px;
        border: 1px solid rgba(16, 185, 129, 0.2);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Mobile CTA Buttons - Enhanced */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 380px;
        margin-bottom: 40px;
        position: relative;
        z-index: 3;
    }
    
    .cta-button {
        padding: 20px 28px;
        border-radius: 30px;
        border: none;
        font-size: 17px;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        transition: all 0.4s ease;
        min-height: 70px;
        width: 100%;
        text-align: center;
        flex-direction: row;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        position: relative;
        overflow: hidden;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.2), 
            transparent);
        transition: all 0.6s ease;
        z-index: 0;
    }
    
    .cta-button:hover::before {
        left: 100%;
    }
    
    .cta-button > * {
        position: relative;
        z-index: 1;
    }
    
    .cta-button.primary {
        background: linear-gradient(135deg, #00ff88, #00cc66, #00aa44);
        color: #000000 !important;
        font-weight: 800;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    }
    
    .cta-button.secondary {
        background: linear-gradient(135deg, #0099ff, #0077cc, #0055aa);
        color: #ffffff !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .cta-button.tertiary {
        background: linear-gradient(135deg, #ff6600, #ff4400, #cc3300);
        color: #ffffff !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .cta-button:hover, .cta-button:active {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 12px 35px rgba(0, 255, 136, 0.4);
    }
    
    .cta-button.primary:hover {
        box-shadow: 0 12px 35px rgba(0, 255, 136, 0.5);
    }
    
    .cta-button.secondary:hover {
        box-shadow: 0 12px 35px rgba(0, 153, 255, 0.4);
    }
    
    .cta-button.tertiary:hover {
        box-shadow: 0 12px 35px rgba(255, 102, 0, 0.4);
    }
    
    .cta-button i {
        font-size: 22px;
        margin-right: 8px;
    }
    
    .cta-button small {
        font-size: 11px;
        opacity: 0.9;
        margin-left: 8px;
        font-weight: 500;
        text-transform: capitalize;
        letter-spacing: 0.5px;
    }
    
    /* Mobile Hero Stats */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 16px;
        width: 100%;
        max-width: 350px;
        margin-top: 20px;
    }
    
    .stat {
        text-align: center;
        padding: 16px;
        background: rgba(16, 185, 129, 0.1);
        border-radius: 16px;
        border: 1px solid rgba(16, 185, 129, 0.2);
    }
    
    .stat-number {
        display: block;
        font-size: 24px;
        font-weight: 700;
        color: var(--primary-blue);
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 12px;
        color: var(--text-muted);
        font-weight: 500;
    }
    
    /* Mobile News Section */
    .news-explorer-section {
        padding: 32px 16px;
        background: var(--cyber-white);
    }
    
    .news-explorer-section h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        text-align: center;
        margin-bottom: 16px;
        color: var(--primary-blue);
    }
    
    .section-description {
        font-size: 16px;
        text-align: center;
        margin-bottom: 32px;
        color: var(--text-secondary);
        line-height: 1.6;
    }
    
    /* Mobile News Dashboard */
    .news-dashboard {
        background: white;
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        margin-bottom: 24px;
    }
    
    .news-control-panel {
        margin-bottom: 24px;
    }
    
    .search-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .news-search-input {
        width: 100%;
        padding: 16px;
        border: 2px solid rgba(16, 185, 129, 0.2);
        border-radius: 25px;
        font-size: 16px;
        outline: none;
        transition: all 0.3s ease;
    }
    
    .news-search-input:focus {
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    }
    
    .search-btn, .ai-assistant-btn {
        padding: 12px 20px;
        border: none;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        min-height: 48px; /* Better touch target */
    }
    
    .search-btn {
        background: var(--primary-blue);
        color: white;
        flex: 1;
    }
    
    .ai-assistant-btn {
        background: linear-gradient(135deg, var(--electric-cyan), var(--neon-blue));
        color: var(--dark-slate);
        flex: 2;
    }
    
    /* Mobile News Tabs */
    .news-tabs {
        margin-bottom: 20px;
    }
    
    .tab-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .news-tab {
        padding: 12px 8px;
        border: 2px solid rgba(16, 185, 129, 0.2);
        background: white;
        border-radius: 15px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .news-tab.active {
        background: var(--primary-blue);
        color: white;
        border-color: var(--primary-blue);
    }
    
    .news-tab:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
    }
    
    /* Mobile Topic Cards */
    .news-topics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
        margin-top: 20px;
    }
    
    .topic-card {
        background: white;
        padding: 20px;
        border-radius: 16px;
        border: 2px solid rgba(16, 185, 129, 0.1);
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .topic-card:hover, .topic-card:active {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
        border-color: var(--primary-blue);
    }
    
    .topic-icon {
        font-size: 32px;
        margin-bottom: 12px;
        display: block;
    }
    
    .topic-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
        color: var(--primary-blue);
        font-weight: 700;
    }
    
    .topic-card p {
        font-size: 14px;
        color: var(--text-secondary);
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .topic-count {
        background: rgba(16, 185, 129, 0.1);
        color: var(--primary-blue);
        padding: 4px 12px;
        border-radius: 15px;
        font-size: 12px;
        font-weight: 600;
    }
    
    /* Mobile Cloud Services */
    .cloud-services-section {
        padding: 32px 16px;
        background: linear-gradient(135deg, var(--cyber-white), var(--arctic-white));
    }
    
    .cloud-services-section h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        text-align: center;
        margin-bottom: 32px;
        color: var(--primary-blue);
    }
    
    .services-grid {
        display: grid;
        gap: 20px;
        margin-top: 24px;
    }
    
    .service-card {
        background: white;
        padding: 24px;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border: 2px solid rgba(16, 185, 129, 0.1);
        transition: all 0.3s ease;
    }
    
    .service-card:hover, .service-card:active {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(16, 185, 129, 0.2);
        border-color: var(--primary-blue);
    }
    
    .service-icon {
        font-size: 48px;
        color: var(--primary-blue);
        margin-bottom: 16px;
        display: block;
    }
    
    .service-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
        color: var(--text-primary);
        font-weight: 700;
    }
    
    .service-card p {
        font-size: 14px;
        color: var(--text-secondary);
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .service-btn {
        background: var(--primary-blue);
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
        min-height: 48px;
    }
    
    .service-btn:hover, .service-btn:active {
        background: var(--secondary-blue);
        transform: translateY(-2px);
    }
}

/* Large Mobile & Small Tablet (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 500px;
    }
    
    .cta-button {
        flex: 1;
        min-width: 140px;
        max-width: 200px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 500px;
    }
    
    .news-topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Mobile (320px - 480px) */
@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }
    
    .cta-button {
        min-height: 56px;
        font-size: 15px;
    }
    
    .nav-links a {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .topic-card, .service-card {
        padding: 16px;
    }
}

/* Touch-Friendly Enhancements */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices - larger touch targets */
    .cta-button,
    .news-tab,
    .search-btn,
    .ai-assistant-btn,
    .service-btn {
        min-height: 48px;
        min-width: 48px;
    }
    
    /* Remove hover effects on touch */
    .topic-card:hover,
    .service-card:hover,
    .cta-button:hover {
        transform: none;
    }
    
    /* Add active states for touch */
    .topic-card:active,
    .service-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .cta-button:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 50%, #4a5568 100%);
        color: #e2e8f0;
    }
    
    .header {
        background: rgba(0, 0, 0, 0.95);
        border-bottom-color: rgba(16, 185, 129, 0.3);
    }
    
    .nav-links a {
        background: rgba(16, 185, 129, 0.2);
        color: #e2e8f0;
        border-color: rgba(16, 185, 129, 0.3);
    }
    
    .topic-card, .service-card, .news-dashboard {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(16, 185, 129, 0.2);
        color: #e2e8f0;
    }
    
    .stat {
        background: rgba(16, 185, 129, 0.2);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation on mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        margin-top: 60px;
        min-height: calc(100vh - 60px);
        padding: 20px 16px;
    }
    
    .breaking-news-bar {
        top: 60px;
        height: 32px;
        font-size: 12px;
    }
    
    .breaking-news-content {
        padding: 0 12px;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 12px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .cta-button {
        flex: 1;
        min-height: 44px;
        font-size: 14px;
    }
}

/* Mobile Footer Optimizations */
@media screen and (max-width: 768px) {
    /* Footer Container */
    .futuristic-footer {
        padding: 24px 12px 16px;
        background: linear-gradient(135deg, 
            rgba(0, 20, 40, 0.95), 
            rgba(10, 30, 60, 0.9), 
            rgba(20, 40, 80, 0.85));
        border-top: 2px solid var(--primary-blue);
    }
    
    /* KaiTech Logo and Branding - Smaller & Cleaner */
    .holographic-logo {
        text-align: center;
        margin-bottom: 16px;
        padding: 12px;
        background: rgba(0, 40, 80, 0.2);
        border-radius: 15px;
        border: 1px solid rgba(0, 255, 136, 0.3);
    }
    
    .holographic-logo h2 {
        font-size: 20px !important;
        font-weight: 700;
        color: #00ff88 !important;
        text-shadow: 
            0 0 8px #00ff88,
            0 0 12px #00ff44;
        letter-spacing: 1px;
        margin-bottom: 6px;
        animation: subtle-pulse 3s ease-in-out infinite;
    }
    
    .holographic-logo .kai {
        color: #00ddff !important;
        text-shadow: 
            0 0 10px #00ddff,
            0 0 15px #0099ff;
    }
    
    .holographic-logo .tech {
        color: #ff6600 !important;
        text-shadow: 
            0 0 10px #ff6600,
            0 0 15px #ff3300;
    }
    
    .holographic-tagline {
        font-size: 10px !important;
        color: #99ddaa !important;
        font-weight: 500;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        text-shadow: 0 0 6px #99ddaa;
        opacity: 0.8;
    }
    
    @keyframes subtle-pulse {
        0%, 100% { 
            transform: scale(1);
            opacity: 0.9;
        }
        50% { 
            transform: scale(1.02);
            opacity: 1;
        }
    }
    
    /* Footer Grid Layout */
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    /* Footer Modules */
    .footer-module {
        background: rgba(0, 40, 80, 0.3);
        border: 1px solid rgba(0, 255, 136, 0.2);
        border-radius: 12px;
        padding: 16px;
        backdrop-filter: blur(5px);
    }
    
    .footer-module h3 {
        font-size: 14px !important;
        color: #00ff88 !important;
        margin-bottom: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 0 0 8px #00ff88;
    }
    
    .footer-module p, 
    .footer-module li, 
    .footer-module a {
        font-size: 11px !important;
        line-height: 1.4;
        color: #cccccc !important;
        margin-bottom: 6px;
    }
    
    .footer-module a {
        color: #88ddff !important;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .footer-module a:hover {
        color: #00ffff !important;
        text-shadow: 0 0 5px #00ffff;
    }
    
    /* Footer Lists */
    .footer-module ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-module li {
        padding: 4px 0;
        border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    }
    
    .footer-module li:last-child {
        border-bottom: none;
    }
    
    /* Communication Terminal */
    .communication-terminal {
        background: rgba(0, 60, 120, 0.4);
        border: 1px solid rgba(0, 255, 200, 0.3);
    }
    
    .status-indicator {
        font-size: 10px !important;
        padding: 4px 8px;
        border-radius: 10px;
        background: rgba(0, 255, 0, 0.2);
        color: #00ff00 !important;
        display: inline-block;
        margin: 4px 0;
        font-weight: 600;
    }
    
    /* Social Network Hub */
    .social-network-hub {
        background: rgba(80, 0, 120, 0.4);
        border: 1px solid rgba(255, 0, 128, 0.3);
    }
    
    .social-links {
        display: flex;
        gap: 12px;
        margin-top: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links a {
        display: inline-block;
        width: 32px;
        height: 32px;
        background: rgba(0, 255, 136, 0.1);
        border: 1px solid rgba(0, 255, 136, 0.3);
        border-radius: 50%;
        text-align: center;
        line-height: 30px;
        color: #00ff88 !important;
        font-size: 14px !important;
        transition: all 0.3s ease;
    }
    
    .social-links a:hover {
        background: rgba(0, 255, 136, 0.2);
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    }
    
    /* System Status */
    .system-status {
        background: rgba(40, 80, 0, 0.4);
        border: 1px solid rgba(136, 255, 0, 0.3);
        text-align: center;
        margin-top: 16px;
    }
    
    .status-badge {
        display: inline-block;
        padding: 6px 12px;
        margin: 4px;
        background: rgba(0, 255, 0, 0.2);
        border: 1px solid rgba(0, 255, 0, 0.4);
        border-radius: 15px;
        font-size: 10px !important;
        color: #00ff00 !important;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Footer Bottom */
    .footer-bottom {
        text-align: center;
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid rgba(0, 255, 136, 0.2);
    }
    
    .footer-bottom p {
        font-size: 10px !important;
        color: #999999 !important;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    
    .copyright {
        font-size: 9px !important;
        color: #666666 !important;
        font-weight: 500;
    }
    
    /* Neural Network Lines - Simplified for mobile */
    .neural-line {
        display: none; /* Hide complex animations on mobile */
    }
    
    /* Particle Effects - Minimal for mobile */
    .cyber-particle {
        opacity: 0.15;
        animation-duration: 12s; /* Much slower for better performance */
        transform: scale(0.5); /* Smaller particles */
    }
    
    /* Scan Lines - Very subtle on mobile */
    .scan-line {
        opacity: 0.05;
        animation-duration: 6s;
    }
    
    /* Mobile Footer Glow Effect */
    .footer-module:hover {
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
        transform: translateY(-2px);
        transition: all 0.3s ease;
    }
    
    /* Simplified Background Animation */
    .futuristic-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(0, 255, 136, 0.05), 
            transparent);
        animation: mobile-sweep 8s ease-in-out infinite;
        z-index: 0;
    }
    
    @keyframes mobile-sweep {
        0% { left: -100%; }
        50% { left: 100%; }
        100% { left: 100%; }
    }
    
    /* Ensure content stays above background effect */
    .footer-content,
    .holographic-logo {
        position: relative;
        z-index: 1;
    }
}

/* Extra Small Phones (max-width: 480px) */
@media screen and (max-width: 480px) {
    .futuristic-footer {
        padding: 16px 8px 12px;
    }
    
    .holographic-logo {
        padding: 8px;
        margin-bottom: 12px;
    }
    
    .holographic-logo h2 {
        font-size: 18px !important;
        letter-spacing: 0.5px;
    }
    
    .holographic-tagline {
        font-size: 9px !important;
        letter-spacing: 0.3px;
    }
    
    .footer-module {
        padding: 12px;
    }
    
    .footer-module h3 {
        font-size: 13px !important;
        margin-bottom: 10px;
    }
    
    .footer-module p,
    .footer-module li,
    .footer-module a {
        font-size: 10px !important;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
        line-height: 26px;
        font-size: 12px !important;
    }
    
    .status-badge {
        padding: 4px 8px;
        font-size: 9px !important;
        margin: 2px;
    }
    
    .footer-bottom p {
        font-size: 9px !important;
    }
    
    .copyright {
        font-size: 8px !important;
    }
}

/* Mobile Headlines Enhancement */
@media screen and (max-width: 768px) {
    /* Main Headlines */
    h1, .hero-title {
        color: #00ff88 !important;
        text-shadow: 
            0 0 10px #00ff88,
            0 0 20px #00ff44,
            0 2px 4px rgba(0, 0, 0, 0.3);
        font-weight: 900 !important;
    }
    
    h2 {
        color: #00ddff !important;
        text-shadow: 
            0 0 8px #00ddff,
            0 0 15px #0088ff;
        font-weight: 800 !important;
    }
    
    h3 {
        color: #ffaa00 !important;
        text-shadow: 
            0 0 6px #ffaa00,
            0 0 12px #ff8800;
        font-weight: 700 !important;
    }
    
    /* News Section Headlines */
    .news-explorer-section h2 {
        color: #00ff88 !important;
        text-shadow: 
            0 0 15px #00ff88,
            0 0 25px #00ff44;
    }
    
    /* Topic Card Headlines */
    .topic-card h3 {
        color: #0099ff !important;
        text-shadow: 0 0 10px #0099ff;
    }
    
    /* Service Headlines */
    .service-card h3 {
        color: #ff3366 !important;
        text-shadow: 0 0 8px #ff3366;
    }
    
    /* Breaking News */
    .breaking-label {
        color: #ffff00 !important;
        text-shadow: 
            0 0 10px #ffff00,
            0 0 20px #ffaa00;
        font-weight: 900 !important;
    }
    
    /* Navigation Brand */
    .nav-brand {
        color: #00ff88 !important;
        font-weight: 800 !important;
        text-shadow: 0 0 10px #00ff88;
    }
}
