body {background-color:#181a1b;}
        /* Main card container - mobile-first */
        .news-app {
            max-width: 600px;
            width: 100%;
            margin: 0 auto;
            background: rgba(18, 25, 45, 0.75);
            border-radius: 44px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(255, 255, 255, 0.05);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }


        @keyframes pulse {
            0% { opacity: 0.4; transform: scale(0.9);}
            100% { opacity: 1; transform: scale(1.2);}
        }


        .source-badge {
            font-size: 0.7rem;
            background: rgba(255,255,240,0.12);
            padding: 4px 10px;
            border-radius: 40px;
            color: #a3b3e0;
            font-weight: 500;
        }


        .refresh-indicator {
            font-size: 0.7rem;
            background: #1e2a44;
            padding: 4px 10px;
            border-radius: 50px;
            color: #bfd6ff;
        }

        /* Card list - perfect for mobile */
        .news-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .news-card {
            background: rgba(12, 18, 34, 0.7);
            backdrop-filter: blur(4px);
            border-radius: 24px;
            padding: 12px;
            transition: all 0.2s ease;
            border: 1px solid rgba(255,255,255,0.05);
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }

        .news-card:active {
            transform: scale(0.98);
            background: rgba(30, 45, 80, 0.7);
        }

        .card-title {
            font-size: 1rem;
            font-weight: 600;
            line-height: 1.4;
            color: #feb47b;
            margin-bottom: 0px;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;cursor: pointer;
        }

        .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.7rem;
            color: #8ba0d0;
            margin-top: 0px;
            border-top: 0.5px solid rgba(255,255,255,0.1);
            padding-top: 0px;
        }

        .source-name {
            font-weight: 600;
            background: #1f2a46;
            padding: 2px 12px;
            border-radius: 50px;
        }

        .date-badge {
            font-family: monospace;
        }

        /* Loading & error states */
        .loading-state, .error-state {
            background: rgba(0,0,0,0.5);
            border-radius: 28px;
            padding: 28px;
            text-align: center;
            color: #b9c7f0;
            font-weight: 500;
            margin: 12px;
        }

        .error-state {
            background: rgba(220, 38, 38, 0.2);
            border-left: 4px solid #ef4444;
        }

        .retry-btn {
            background: #2d3a60;
            border: none;
            padding: 8px 20px;
            border-radius: 40px;
            margin-top: 14px;
            color: white;
            font-weight: 600;
        }

        /* footer subtle */
        .footer-note {
            text-align: center;
            font-size: 0.65rem;
            color: #4c5a7c;
            padding: 14px 10px 20px;
            border-top: 0.5px solid rgba(255,255,240,0.05);
        }

        /* Smooth scroll keyframes */
        @keyframes scrollTicker {
            0% {
                transform: translateX(0%);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* optimize for touch */
        @media (max-width: 480px) {
            .news-card {
                padding: 14px;
            }
            .title {
                font-size: 1.3rem;
            }
            .news-item {
                font-size: 0.9rem;
                padding: 10px 16px;
            }
        }
		h8 {font-size: 1.1rem; background: linear-gradient(90deg,red,#00c996);
-webkit-background-clip: text;background-clip: text;color: transparent;
letter-spacing: 0px;font-weight:700; }