/* Base Style */

/* Global Headlines - SD Dystopian Font */
h1,
h2,
h3 {
    font-family: 'SD Dystopian', 'Rajdhani', sans-serif;
}

/* Mobile Optimizations */
@media (max-width: 768px) {

    /* Fix header height and logo size on mobile */
    header .h-20 {
        height: 3rem !important;
    }

    header img.h-20 {
        height: 3rem !important;
        width: 3rem !important;
    }

    /* Hide crypto ticker on mobile to prevent overlap */
    .fixed.top-\[97px\] {
        display: none !important;
    }

    /* Adjust main content padding for smaller header */
    main.pt-28 {
        padding-top: 5rem !important;
    }

    /* Hero section mobile adjustments */
    .min-h-screen.pt-48 {
        padding-top: 6rem !important;
        min-height: auto !important;
    }

    /* Reduce headline size on mobile */
    .text-4xl {
        font-size: 1.75rem !important;
        line-height: 2rem !important;
    }

    .text-6xl {
        font-size: 2rem !important;
        line-height: 2.25rem !important;
    }

    /* Reduce matrix animation intensity on mobile */
    .matrix-col {
        animation-duration: 12s !important;
        opacity: 0.3 !important;
    }

    /* Larger touch targets for mobile navigation */
    .mobile-nav-header {
        min-height: 56px;
    }

    .mobile-nav-items a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    /* Simplified glitch effect on mobile (less CPU intensive) */
    .glitch-text::before,
    .glitch-text::after {
        display: none;
    }

    .glitch-text {
        animation: none;
        text-shadow: 1px 1px 0px #bc13fe;
    }

    /* Smoother scrolling on mobile */
    #mobile-menu {
        -webkit-overflow-scrolling: touch;
    }

    /* Reduce parallax effects on mobile */
    [data-scroll-speed] {
        transform: none !important;
    }

    /* Container padding on mobile */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* News grid single column on mobile */
    .grid.md\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    /* Fix text overflow */
    p,
    h1,
    h2,
    h3,
    span {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .matrix-col {
        display: none;
    }

    /* Even smaller text */
    .text-4xl {
        font-size: 1.5rem !important;
    }

    .text-lg {
        font-size: 0.875rem !important;
    }
}

/* Mobile Navigation Category Colors */
.mobile-nav-category:nth-child(1) .mobile-nav-header {
    color: #ff003c;
    /* HUB - Neon Pink */
    border-left: 3px solid #ff003c;
}

.mobile-nav-category:nth-child(2) .mobile-nav-header {
    color: #00f3ff;
    /* TOOLS - Neon Cyan */
    border-left: 3px solid #00f3ff;
}

.mobile-nav-category:nth-child(3) .mobile-nav-header {
    color: #bc13fe;
    /* TUTORIALS - Neon Purple */
    border-left: 3px solid #bc13fe;
}

.mobile-nav-category:nth-child(4) .mobile-nav-header {
    color: #10b981;
    /* DATA - Neon Green */
    border-left: 3px solid #10b981;
}