@supports (display: grid) {
    @media screen {
        body {
            background-image: url('./bluegrayback.jpeg');
            background-size: cover;
            margin: 0;
            font-family: 'Helvetica', 'Arial', sans-serif;
            color: #ffffff;
            overflow-x: hidden;
            line-height: 1.6;
        }

        .header {
            text-align: center;
            padding: 30px;
            background: rgba(61, 73, 99, 0.7);
            border-bottom: 3px solid #00ffff;
        }

        .header h1 {
            margin: 0;
            font-size: 2.5rem;
            color: #ffffff;
            text-shadow: 0 0 5px #00ffff;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }

        .module {
            background: rgba(61, 73, 99, 0.85);
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .module:hover {
            transform: translateY(-8px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        .module h2 {
            margin: 0 0 15px;
            font-size: 1.4rem;
            color: #00ffff;
            text-transform: uppercase;
        }

        .news-feed {
            height: 400px;
            overflow-y: auto;
        }

        .headline {
            background: rgba(61, 73, 99, 0.9);
            padding: 10px;
            margin-bottom: 10px;
            border-radius: 8px;
            border-left: 3px solid #00ffff;
            font-size: 0.9rem;
        }

        .headline h3 {
            margin: 0 0 5px;
            font-size: 1rem;
            color: #ffffff;
        }

        .headline h3 a {
            color: #00ffff;
            text-decoration: none;
        }

        .headline h3 a:hover {
            text-decoration: underline;
        }

        .headline p {
            margin: 0;
            color: #cccccc;
            font-size: 0.85rem;
            line-height: 1.4;
        }

        .headline .timestamp {
            color: #999999;
            font-size: 0.8rem;
            margin-top: 5px;
        }

        /* Scrollbar Styling */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(61, 73, 99, 0.7);
        }

        ::-webkit-scrollbar-thumb {
            background: #00ffff;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #00cccc;
        }

        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
            }

            .module {
                margin: 0 10px;
            }
        }
    }
}
