/* ═══════════════════════════════════════
   NewGenNews — Unified Stylesheet v4
   Professional news-site, magazine-grid
   ═══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    background: #06060f;
    color: #e2e8f0;
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
}

a { color: #a78bfa; text-decoration: none; transition: color 0.3s; }
a:hover { color: #c4b5fd; }
img { max-width: 100%; height: auto; display: block; }

/* Background */
.bg-canvas { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-canvas::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(99,56,239,0.12) 0%, transparent 70%); top: -15%; left: -8%; animation: bgFloat 20s ease-in-out infinite alternate; }
.bg-canvas::after { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(217,70,239,0.08) 0%, transparent 70%); bottom: -20%; right: -12%; animation: bgFloat 25s ease-in-out infinite alternate-reverse; }
@keyframes bgFloat { from { transform: translate(0,0); } to { transform: translate(30px, -20px); } }
.bg-noise { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); opacity: 0.4; }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    background: rgba(6,6,15,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 56px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 20%, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    transition: color 0.2s;
    letter-spacing: 0.2px;
}

.nav-links a:hover {
    color: #fff;
    -webkit-text-fill-color: unset;
}

/* ─── Language Switcher ─────────────── */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 2px;
    flex-shrink: 0;
}

.lang-btn {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    background: transparent;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    font-family: inherit;
}

.lang-btn:hover {
    color: rgba(255,255,255,0.6);
}

.lang-btn.active {
    background: rgba(167,139,250,0.15);
    color: #c4b5fd;
}

/* Hamburger button — hidden on desktop */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    margin: 5px 0;
}

.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════
   MOBILE MENU — Full-Screen Overlay
   ═══════════════════════════════════════ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(6,6,15,0.96);
    backdrop-filter: blur(32px) saturate(1.2);
    -webkit-backdrop-filter: blur(32px) saturate(1.2);
    flex-direction: column;
    display: none;
    opacity: 0;
    pointer-events: none;
}

.mobile-overlay.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    animation: overlayFadeIn 0.3s ease forwards;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.mobile-overlay-header .nav-logo {
    font-size: 20px;
}

.mobile-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-close-btn:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255,255,255,0.7);
    stroke-width: 2;
}

.mobile-overlay-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 32px;
    gap: 0;
}

.mobile-overlay-body a {
    font-size: 28px;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    padding: 18px 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s ease;
    transform: translateX(-10px);
    opacity: 0;
}

.mobile-overlay.open .mobile-overlay-body a {
    transform: translateX(0);
    opacity: 1;
}

.mobile-overlay-body a:nth-child(1) { transition-delay: 0.05s; }
.mobile-overlay-body a:nth-child(2) { transition-delay: 0.1s; }
.mobile-overlay-body a:nth-child(3) { transition-delay: 0.15s; }
.mobile-overlay-body a:nth-child(4) { transition-delay: 0.2s; }

.mobile-overlay-body a:hover,
.mobile-overlay-body a:active {
    color: #fff;
    padding-left: 12px;
}

.mobile-overlay-footer {
    padding: 20px 32px 40px;
    flex-shrink: 0;
}

.mobile-overlay-footer .lang-switch {
    width: 100%;
    display: flex;
    padding: 4px;
    border-radius: 12px;
}

.mobile-overlay-footer .lang-btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    border-radius: 10px;
    text-align: center;
}

/* ═══════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════ */
.page-main {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 28px 60px;
}

.content-wrap { max-width: 720px; margin: 0 auto; }

.page-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.page-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.3);
    margin-bottom: 36px;
}

/* ═══════════════════════════════════════
   NEWS HOMEPAGE — MAGAZINE LAYOUT
   ═══════════════════════════════════════ */

/* ─── Top Banner / Headline ─────────── */
.news-headline-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.news-headline-bar .hl-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #06060f;
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    padding: 4px 12px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(167,139,250,0.3); }
    50% { box-shadow: 0 0 12px 2px rgba(167,139,250,0.15); }
}

.news-headline-bar .hl-text {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─── Hero Section (big + 2 side) ───── */
.hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.hero-main img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.5s ease;
}

.hero-main:hover img { transform: scale(1.04); }

.hero-main .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(6,6,15,0.95) 0%, rgba(6,6,15,0.5) 45%, transparent 75%);
}

.hero-main .hero-body {
    position: relative; z-index: 2; padding: 28px;
}

.hero-cat {
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.5px; margin-bottom: 10px;
    display: inline-block; padding: 3px 10px;
    border-radius: 4px;
}

.hero-cat.cat-teknoloji { background: rgba(6,182,212,0.15); color: #06b6d4; }
.hero-cat.cat-ekonomi { background: rgba(245,158,11,0.15); color: #f59e0b; }
.hero-cat.cat-spor { background: rgba(34,197,94,0.15); color: #22c55e; }
.hero-cat.cat-sinema { background: rgba(249,115,22,0.15); color: #f97316; }
.hero-cat.cat-otomotiv { background: rgba(239,68,68,0.15); color: #ef4444; }
.hero-cat.cat-gaming { background: rgba(168,85,247,0.15); color: #a855f7; }

.hero-title {
    font-size: 26px; font-weight: 900; color: #fff;
    line-height: 1.25; margin-bottom: 8px; letter-spacing: -0.5px;
}

.hero-excerpt {
    font-size: 13px; color: rgba(255,255,255,0.5);
    line-height: 1.6; display: -webkit-box;
    -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.hero-meta {
    font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 10px;
}

/* Side stack */
.hero-side {
    display: flex; flex-direction: column; gap: 16px;
}

.hero-side-card {
    flex: 1; position: relative; border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    text-decoration: none; color: inherit;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-side-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.4);
}

.hero-side-card img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.5s ease;
}

.hero-side-card:hover img { transform: scale(1.04); }

.hero-side-card .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(6,6,15,0.95) 0%, rgba(6,6,15,0.45) 55%, transparent 85%);
}

.hero-side-card .hero-body {
    position: relative; z-index: 2; padding: 16px;
}

.hero-side-card .hero-title {
    font-size: 14px; font-weight: 700; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.hero-side-card .hero-meta {
    margin-top: 6px;
}

/* ─── Trending Strip ───────────────── */
.trending-section {
    margin-bottom: 40px;
}

.trending-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trending-header .trend-icon {
    font-size: 16px;
}

.trending-header h2 {
    font-size: 14px; font-weight: 800; color: #fff;
    letter-spacing: -0.3px;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.trend-card {
    display: flex; gap: 12px; align-items: center;
    padding: 14px; border-radius: 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    text-decoration: none; color: inherit;
    transition: all 0.3s ease;
}

.trend-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.trend-rank {
    font-size: 28px; font-weight: 900;
    color: rgba(167,139,250,0.2); flex-shrink: 0;
    width: 32px; text-align: center; line-height: 1;
}

.trend-info { flex: 1; min-width: 0; }

.trend-title {
    font-size: 12px; font-weight: 700;
    color: rgba(255,255,255,0.8); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.trend-cat {
    font-size: 10px; font-weight: 600;
    margin-top: 4px; text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── Category Block (featured + list) ── */
.cat-block {
    margin-bottom: 40px;
}

.cat-block-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 18px; padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,0.06);
}

.cat-block-header .cat-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}

.cat-block-header h2 {
    font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -0.3px;
}

.cat-block-header .cat-count {
    font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.2);
    margin-left: auto;
}

.cat-block-header .cat-more {
    font-size: 12px; font-weight: 600; color: rgba(167,139,250,0.5);
    margin-left: auto; text-decoration: none; transition: color 0.2s;
}

.cat-block-header .cat-more:hover { color: #a78bfa; }

.cat-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Left: featured card with big image */
.cat-featured {
    position: relative; border-radius: 16px; overflow: hidden;
    aspect-ratio: 4/3; display: flex; flex-direction: column;
    justify-content: flex-end; text-decoration: none; color: inherit;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cat-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}

.cat-featured img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.5s ease;
}

.cat-featured:hover img { transform: scale(1.04); }

.cat-featured .cf-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(6,6,15,0.95) 0%, rgba(6,6,15,0.4) 50%, transparent 80%);
}

.cat-featured .cf-body {
    position: relative; z-index: 2; padding: 20px;
}

.cat-featured .cf-title {
    font-size: 18px; font-weight: 800; color: #fff; line-height: 1.3;
    margin-bottom: 6px;
}

.cat-featured .cf-excerpt {
    font-size: 12px; color: rgba(255,255,255,0.45);
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.cat-featured .cf-meta {
    font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 8px;
}

/* Right: list cards */
.cat-list {
    display: flex; flex-direction: column; gap: 10px;
}

.cat-list-card {
    display: flex; gap: 14px; padding: 12px 14px;
    border-radius: 12px; background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    text-decoration: none; color: inherit;
    transition: all 0.3s ease; flex: 1;
}

.cat-list-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    transform: translateX(4px);
}

.cat-list-card .cl-thumb {
    width: 90px; height: 65px; border-radius: 10px;
    overflow: hidden; flex-shrink: 0;
    background: rgba(255,255,255,0.03);
}

.cat-list-card .cl-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}

.cat-list-card:hover .cl-thumb img { transform: scale(1.06); }

.cat-list-card .cl-body {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; min-width: 0;
}

.cat-list-card .cl-title {
    font-size: 13px; font-weight: 700;
    color: rgba(255,255,255,0.85); line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.cat-list-card .cl-meta {
    font-size: 11px; color: rgba(255,255,255,0.25);
}

/* ═══════════════════════════════════════
   CONTENT CARDS (legal / contact pages)
   ═══════════════════════════════════════ */
.content-card { border-radius: 16px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 24px; margin-bottom: 14px; }
.content-card h2 { font-size: 15px; font-weight: 800; color: #c4b5fd; margin-bottom: 12px; }
.content-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.85; margin-bottom: 10px; }
.content-card ul { list-style: disc; padding-left: 20px; margin-bottom: 10px; }
.content-card li { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.85; margin-bottom: 6px; }
.content-card strong { color: rgba(255,255,255,0.75); }
.content-card a { color: #a78bfa; }
.contact-link { font-size: 16px; font-weight: 700; color: #a78bfa; }

/* Legal page specific */
.legal-page { padding-top: 20px; }
.legal-page .content-card { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* ═══════════════════════════════════════
   ARTICLE PAGE
   ═══════════════════════════════════════ */
.article-hero {
    width: 100%; aspect-ratio: 16/9; border-radius: 16px;
    overflow: hidden; margin-bottom: 28px; position: relative;
    background: rgba(255,255,255,0.03);
}

.article-hero img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

.article-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 40%; background: linear-gradient(to top, rgba(6,6,15,0.4) 0%, transparent 100%);
    pointer-events: none;
}

.article-header { margin-bottom: 32px; }
.article-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; display: inline-block; padding: 5px 14px; background: rgba(167,139,250,0.1); border-radius: 6px; }
.article-title { font-size: 32px; font-weight: 900; color: #fff; line-height: 1.25; letter-spacing: -0.5px; margin-bottom: 14px; }
.article-meta { font-size: 13px; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.article-meta .sep { color: rgba(255,255,255,0.12); }

.article-body { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.9; }
.article-body h2 { font-size: 22px; font-weight: 800; color: #e2e8f0; margin: 32px 0 14px; }
.article-body h3 { font-size: 18px; font-weight: 700; color: #c4b5fd; margin: 24px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { border-left: 3px solid #a78bfa; padding: 12px 20px; margin: 20px 0; background: rgba(167,139,250,0.04); border-radius: 0 8px 8px 0; font-style: italic; color: rgba(255,255,255,0.55); }
.article-body strong { color: rgba(255,255,255,0.85); }

.article-source { margin-top: 32px; padding: 16px; border-radius: 12px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: rgba(255,255,255,0.3); }
.article-source a { color: #a78bfa; }

/* Breadcrumb */
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.25); margin-bottom: 24px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.35); }
.breadcrumb a:hover { color: #a78bfa; }
.breadcrumb .sep { color: rgba(255,255,255,0.12); }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
    position: relative; z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 28px; text-align: center;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-links {
    display: flex; justify-content: center; gap: 20px;
    margin-bottom: 10px; flex-wrap: wrap;
}

.footer-links a { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.25); }
.footer-links a:hover { color: rgba(196,181,253,0.7); }
.footer-links .sep { color: rgba(255,255,255,0.08); font-size: 12px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.12); letter-spacing: 1px; }

/* Category colors */
.cat-teknoloji { color: #06b6d4; }
.cat-ekonomi { color: #f59e0b; }
.cat-spor { color: #22c55e; }
.cat-sinema { color: #f97316; }
.cat-otomotiv { color: #ef4444; }
.cat-gaming { color: #a855f7; }
.cat-danismanlik { color: #ec4899; }

.dot-teknoloji { background: #06b6d4; }
.dot-ekonomi { background: #f59e0b; }
.dot-spor { background: #22c55e; }
.dot-sinema { background: #f97316; }
.dot-otomotiv { background: #ef4444; }
.dot-gaming { background: #a855f7; }

/* Pipeline diagram (privacy page) */
.pipeline { display: flex; flex-direction: column; gap: 0; margin: 20px 0 8px; }
.pipe-step { display: flex; align-items: flex-start; gap: 14px; position: relative; }
.pipe-line { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 32px; }
.pipe-dot { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; position: relative; z-index: 1; }
.pipe-connector { width: 2px; height: 28px; background: linear-gradient(180deg, rgba(167,139,250,0.3), rgba(167,139,250,0.06)); flex-shrink: 0; }
.pipe-content { padding: 4px 0 24px; flex: 1; min-width: 0; }
.pipe-content h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.75); margin-bottom: 4px; }
.pipe-content p { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.7; margin-bottom: 0; }
.pipe-step:last-child .pipe-content { padding-bottom: 0; }
.pipe-step:last-child .pipe-connector { display: none; }

.legal-ref { display: inline; font-size: 11px; color: rgba(167,139,250,0.5); font-weight: 500; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-side { flex-direction: row; }
    .hero-side-card { min-height: 180px; }
    .trending-grid { grid-template-columns: 1fr 1fr; }
    .cat-block-grid { grid-template-columns: 1fr; }
    .cat-featured { aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
    .nav-inner { padding: 0 16px; height: 52px; }
    .nav-links { display: none; }
    .hamburger-btn { display: block; }

    .page-main { padding: 20px 16px 48px; }
    .page-title { font-size: 22px; }
    .article-title { font-size: 22px; }
    .article-body { font-size: 14px; }
    .footer-links { gap: 12px; }
    .content-card { padding: 20px 16px; }

    .hero-grid { gap: 12px; }
    .hero-main .hero-title { font-size: 20px; }
    .hero-main .hero-body { padding: 20px; }
    .hero-side { flex-direction: column; gap: 12px; }
    .hero-side-card { min-height: 160px; }

    .trending-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .trend-card { padding: 10px; gap: 8px; }
    .trend-rank { font-size: 22px; width: 24px; }
    .trend-title { font-size: 11px; }

    .cat-block-grid { grid-template-columns: 1fr; }
    .cat-featured { aspect-ratio: 16/9; }
    .cat-list-card { padding: 10px 12px; gap: 10px; }
    .cat-list-card .cl-thumb { width: 70px; height: 52px; border-radius: 8px; }
    .cat-list-card .cl-title { font-size: 12px; }

    .news-headline-bar { gap: 10px; padding: 10px 0; margin-bottom: 16px; }
    .news-headline-bar .hl-badge { font-size: 9px; padding: 3px 8px; }
    .news-headline-bar .hl-text { font-size: 12px; }
}

/* Hide mobile overlay on desktop */
@media (min-width: 641px) {
    .mobile-overlay { display: none !important; }
}
