/* ----- Global CSS Variables ----- */
:root {
    /* Color Palette */
    --bg-dark: #0f172a;
    --bg-mesh-1: #1e1b4b;
    --bg-mesh-2: #312e81;
    --bg-mesh-3: #111827;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(16px);

    /* Accents */
    --accent-gold: #fbbf24;
    --accent-teal: #2dd4bf;
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;
    --accent-green: #22c55e;

    /* Typography & Spacing */
    --font-main: 'Outfit', sans-serif;
    --spacing-1: 0.4rem;
    --spacing-2: 0.7rem;
    --spacing-3: 1rem;
    --spacing-4: 1.2rem;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 6px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon Resets (Replaces Material Symbols Outlined) */
.icon-svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

.icon {
    width: 1.6rem;
    height: 1.6rem;
}

.spin {
    animation: spin 1.2s linear infinite;
}

/* Material Symbols classes maintained for compatibility */
.material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.material-symbols-outlined svg {
    width: 100%;
    height: 100%;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    height: auto;
    overflow: auto;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Utility / SEO */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ----- Dynamic Animated Mesh Background ----- */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 50%, var(--bg-mesh-1) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, var(--bg-mesh-2) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, var(--bg-mesh-3) 0%, transparent 50%);
    z-index: -1;
    filter: blur(60px);
    animation: meshFlow 20s ease-in-out infinite alternate;
}

@keyframes meshFlow {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(2%, 3%);
    }

    100% {
        transform: scale(1) translate(-2%, -2%);
    }
}

/* ----- Dashboard Layout (4-Grid) ----- */
.dashboard-container {
    width: 96%;
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-3);
    align-items: stretch;
    height: calc(100vh - 140px);
    /* Fill screen minus ads & margins */
    min-height: 600px;
}

/* Responsive adjustment for Mobile & Tablet */
@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        gap: var(--spacing-2);
        padding: var(--spacing-2) 0;
    }
}

/* ----- Glassmorphism Components ----- */
.glass-card {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--spacing-3);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    min-height: 0;
    /* allow grid shrink */
}

.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Loading Overlay inside Card */
.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: var(--radius-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.spin {
    animation: spin 1.2s linear infinite;
    font-size: 2.5rem;
    color: var(--accent-teal);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ----- Module Headers & Generics ----- */
.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: var(--spacing-1);
    flex-shrink: 0;
}

.sports-header {
    flex-wrap: wrap;
    gap: 8px;
}

.sports-filters {
    display: flex;
    gap: 8px;
}

.sports-filters .custom-select-wrapper {
    width: 100px;
}

.header-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
}

.header-title h2 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.icon {
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--accent-teal), #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* Custom Select Dropdowns */
.custom-select-wrapper {
    position: relative;
    width: 130px;
}

.glass-select {
    width: 100%;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.35rem 1.5rem 0.35rem 0.7rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.8rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.glass-select:hover,
.glass-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    outline: none;
}

.glass-select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.module-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* ----- Module 1: Prayer Times ----- */
.prayer-time-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-2);
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: var(--spacing-2);
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.prayer-time-item.pulse {
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.1);
    position: relative;
    overflow: hidden;
}

.prayer-time-item.pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 20px rgba(251, 191, 36, 0.1);
    animation: breathe 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes breathe {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.prayer-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.prayer-value {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.time-remaining {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.prayer-times-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-1);
}

.time-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: var(--spacing-1) var(--spacing-1);
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.time-box:hover {
    background: rgba(255, 255, 255, 0.08);
}

.time-box.highlight {
    background: rgba(245, 158, 11, 0.2);
    /* Slightly stronger for visibility */
    border: 1.5px solid rgba(245, 158, 11, 0.6);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

.box-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.box-val {
    font-size: 1rem;
    font-weight: 600;
}

/* ----- Module 2: Finance ----- */
.finance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2);
    min-height: 0;
}

.finance-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: var(--spacing-2);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
    min-height: 0;
}

.finance-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

.f-icon-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: var(--spacing-1);
}

.f-icon-title h3 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.f-icon-title .material-symbols-outlined {
    color: var(--accent-teal);
    font-size: 1.1rem;
}

.custom-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
}

.gold-icon {
    background: radial-gradient(circle, #fde047, #ca8a04);
}

.silver-icon {
    background: radial-gradient(circle, #e2e8f0, #94a3b8);
}

.f-value {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .finance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-1);
    }
    .finance-card {
        padding: var(--spacing-1) var(--spacing-2);
    }
    .f-value {
        font-size: 1.25rem;
    }
    .f-icon-title h3 {
        font-size: 0.75rem;
    }
}

.f-change {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    gap: 3px;
}

.f-change.up {
    color: var(--accent-green);
}

.f-change.up .material-symbols-outlined {
    transform: rotate(45deg);
    font-size: 1rem;
}

.f-change.down {
    color: var(--accent-red);
}

.f-change.down .material-symbols-outlined {
    transform: rotate(135deg);
    font-size: 1rem;
}

/* ----- Module 3: Sports / Match Scores ----- */
.sports-content {
    overflow-y: auto;
    min-height: 0;
    flex: 1;
    padding-right: 4px;
}

/* Custom Scrollbar for sports */
.sports-content::-webkit-scrollbar {
    width: 4px;
}

.sports-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.sports-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.match-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.match-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.match-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.match-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 3px;
}

.match-status {
    color: var(--accent-blue);
    font-weight: 600;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
}

.team-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-name.home {
    text-align: left;
}

.team-name.away {
    text-align: right;
}

.match-score {
    padding: 0 12px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--accent-teal);
    font-weight: 800;
    text-align: center;
    min-width: 60px;
}

/* Match Score States */
.match-score.live {
    color: var(--accent-green);
    animation: score-pulse 2s ease-in-out infinite;
}

.match-score.finished {
    color: var(--text-secondary);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.match-score.scheduled {
    color: var(--accent-blue);
    font-size: 1rem;
    letter-spacing: 0;
    font-weight: 700;
}

@keyframes score-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Match Status Badges */
.match-status {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.status-live {
    color: var(--accent-green);
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    animation: live-blink 1.5s ease-in-out infinite;
}

@keyframes live-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.status-finished {
    color: var(--text-secondary);
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.status-scheduled {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

/* News Fallback styling for sports */
.news-item {
    padding: var(--spacing-1) var(--spacing-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-item:last-child {
    border-bottom: none;
}

.news-title {
    font-size: 0.85rem;
    margin-bottom: 2px;
    line-height: 1.3;
    cursor: pointer;
    transition: color 0.2s;
}

.news-title:hover {
    color: var(--accent-teal);
}

.news-date {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* ----- Module 4: Weather ----- */
.weather-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 0;
}

.current-weather {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-2);
    flex-grow: 1;
}

.w-large-icon {
    font-size: 4.5rem;
    background: linear-gradient(to bottom right, #facc15, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(249, 115, 22, 0.4));
}

.weather-temp-box {
    display: flex;
    flex-direction: column;
}

.w-temp {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.w-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.weather-details-row {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-1);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-2);
}

.w-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.w-detail .material-symbols-outlined {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.forecast-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-1);
}

.forecast-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    padding: var(--spacing-1) 4px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
}

.f-day {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.f-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: #facc15;
}

.f-temps {
    font-size: 0.78rem;
    font-weight: 500;
}

/* ----- Breadcrumb Navigation ----- */
.breadcrumb {
    width: 90%;
    max-width: 1800px;
    padding: 0.5rem 0;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb span {
    margin: 0 4px;
    color: var(--text-secondary);
}

/* ----- SEO Content Section ----- */
.seo-content {
    width: 96%;
    max-width: 1800px;
    padding: 1.5rem;
    margin: 1.5rem auto 2.5rem auto;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.seo-header {
    display: flex;
    align-items: center;
}

.seo-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.seo-content p {
    margin: 0;
}

/* ----- Footer ----- */
.site-footer {
    width: 90%;
    max-width: 1800px;
    padding: 2rem 0 1.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-column h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.footer-column a {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 2px 0;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ----- Cookie Consent Banner ----- */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 9999;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: cookieSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    transition: none;
}

.cookie-banner:hover {
    transform: translateX(-50%);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-content .material-symbols-outlined {
    font-size: 2rem;
    color: #38bdf8;
}

.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #f1f5f9;
    margin: 0;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

@keyframes cookieSlideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Glass Buttons (shared with cookie banner) */
.glass-btn {
    font-family: var(--font-main);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
}

.glass-btn.primary {
    background: linear-gradient(135deg, #2dd4bf, #818cf8);
    color: #0f172a;
    box-shadow: 0 4px 16px rgba(45, 212, 191, 0.3);
}

.glass-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(45, 212, 191, 0.45);
}

.glass-btn.primary:active {
    transform: translateY(0px);
}

.glass-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
}

/* ----- Offline Indicator Bar ----- */
.offline-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    font-family: var(--font-main);
    backdrop-filter: blur(10px);
    animation: offlineSlideDown 0.4s ease-out;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.3);
}

@keyframes offlineSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ----- PWA Standalone Mode Adjustments ----- */
@media (display-mode: standalone) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .breadcrumb {
        padding-top: calc(0.5rem + env(safe-area-inset-top, 0px));
    }

    .cookie-banner,
    .pwa-install-banner {
        bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    }
}

/* Live dot indicator */
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    display: inline-block;
    animation: livePulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* ----- News Section (Son Dakika) ----- */
.news-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-decoration: none;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-item-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Source tag for news (e.g. [NTV], [TRT]) */
.source-tag {
    background: rgba(45, 212, 191, 0.15);
    color: var(--accent-teal);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(45, 212, 191, 0.3);
    margin-right: 4px;
}