:root {
            --primary: #6490d7;
            --primary-dark: #4b73b5;
            --primary-light: #e8f0fe;
            --accent: #ff7597;
            --accent-dark: #e05376;
            --accent-yellow: #ffd166;
            --bg-base: #f0f5fc;
            --text-dark: #2b3a55;
            --text-muted: #62728d;
            --white: #ffffff;
            --card-shadow: 0 4px 20px rgba(100, 144, 215, 0.12);
            --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

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

        body {
            font-family: var(--font-main);
            background-color: var(--bg-base);
            color: var(--text-dark);
            line-height: 1.5;
            position: relative;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeSpeed;
        }

        #pattern-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            pointer-events: none;
            opacity: 0.18;
            will-change: transform;
            transform: translateZ(0);
        }

        /* TOP NAVIGATION BAR */
        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            max-width: 1150px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.97);
            border-radius: 0 0 20px 20px;
            box-shadow: 0 4px 16px rgba(100, 144, 215, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.8);
            border-top: none;
            contain: layout style;
        }

        nav {
            padding: 0.75rem 1.75rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.7rem;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 1.5rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 700;
            font-size: 0.95rem;
            transition: color 0.15s ease;
        }

        .nav-links a:hover, .nav-links a.active {
            color: var(--primary);
        }

        .nav-btn-support {
            position: relative;
            background: var(--accent);
            color: var(--white) !important;
            padding: 0.45rem 1.1rem;
            border-radius: 20px;
            font-weight: 800;
            text-decoration: none;
            font-size: 0.9rem;
            transition: transform 0.2s ease, background-color 0.2s ease;
            display: inline-block;
            box-shadow: 0 4px 12px rgba(255, 117, 151, 0.3);
        }

        .nav-btn-support::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            box-shadow: 0 0 16px rgba(255, 117, 151, 0.8);
            opacity: 0;
            animation: glow-pulse-perf 2s infinite alternate ease-in-out;
            pointer-events: none;
        }

        .nav-btn-support:hover {
            background: var(--accent-dark);
            transform: translateY(-2px);
        }

        @keyframes glow-pulse-perf {
            0% { opacity: 0.1; }
            100% { opacity: 0.9; }
        }

        .main-container {
            max-width: 1150px;
            margin: 2rem auto;
            padding: 2.5rem;
            background: var(--white);
            border-radius: 24px;
            box-shadow: var(--card-shadow);
            border: 1px solid rgba(255, 255, 255, 0.8);
            contain: layout style paint;
        }

        .page-header { text-align: center; padding-bottom: 2rem; border-bottom: 2px dashed var(--primary-light); }
        .page-title { font-size: 3.2rem; line-height: 1.1; margin-bottom: 0.5rem; font-weight: 800; }
        .page-desc { color: var(--text-muted); font-size: 1.1rem; font-weight: 600; max-width: 60ch; margin: 0 auto; }

        .filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 2.5rem 0; }
        .filter-btn {
            background: var(--bg-base); color: var(--text-dark);
            border: 2px solid var(--primary-light); padding: 0.6rem 1.3rem;
            border-radius: 20px; font-weight: 800; font-size: 0.9rem; cursor: pointer;
            transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
        }
        .filter-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
        .filter-btn.active {
            background: var(--primary); border-color: var(--primary); color: var(--white);
            box-shadow: 0 4px 14px rgba(100, 144, 215, 0.3);
        }

        /* FEATURED HERO CARD */
        .featured-card {
            display: grid; grid-template-columns: 1.1fr 1fr;
            background: linear-gradient(135deg, #f8fafc 0%, #edf4ff 100%);
            border: 2px solid var(--primary-light); border-radius: 22px; overflow: hidden;
            margin-bottom: 3rem; box-shadow: 0 8px 24px rgba(100, 144, 215, 0.12);
            transition: transform 0.25s ease, border-color 0.25s ease; cursor: pointer;
        }
        .featured-card:hover { transform: translateY(-4px); border-color: var(--primary); }
        .featured-thumb-wrap { position: relative; min-height: 280px; overflow: hidden; background: var(--primary-light); }
        .featured-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
        .featured-card:hover .featured-thumb { transform: scale(1.05); }
        .featured-content { padding: 2.2rem; display: flex; flex-direction: column; justify-content: center; }

        /* REGULAR BLOG GRID */
        .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
        .blog-card {
            background: var(--bg-base); border: 2px solid var(--primary-light);
            border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
            cursor: pointer; transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
        }
        .blog-card:hover {
            transform: translateY(-5px); border-color: var(--primary);
            box-shadow: 0 10px 28px rgba(100, 144, 215, 0.2);
        }
        .blog-thumb-wrapper { height: 190px; width: 100%; overflow: hidden; background: var(--primary-light); }
        .blog-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
        .blog-card:hover .blog-thumb { transform: scale(1.07); }
        
        .blog-info { padding: 1.3rem; flex-grow: 1; display: flex; flex-direction: column; }
        .blog-badge {
            align-self: flex-start; background: rgba(100, 144, 215, 0.15); color: var(--primary-dark);
            font-weight: 800; font-size: 0.72rem; padding: 0.25rem 0.65rem; border-radius: 10px;
            text-transform: uppercase; margin-bottom: 0.6rem; letter-spacing: 0.5px;
        }
        .blog-badge.badge-accent { background: rgba(255, 117, 151, 0.15); color: var(--accent-dark); }
        .blog-title { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 0.5rem; font-weight: 800; line-height: 1.3; }
        .blog-excerpt { font-size: 0.92rem; color: var(--text-muted); flex-grow: 1; margin-bottom: 1.2rem; line-height: 1.5; }

        .read-link {
            font-weight: 800; font-size: 0.9rem; color: var(--primary); text-decoration: none;
            display: inline-flex; align-items: center; gap: 0.3rem; transition: transform 0.15s ease;
        }
        .blog-card:hover .read-link { transform: translateX(4px); color: var(--primary-dark); }

        /* READER CONTAINER */
        .article-reader { display: none; max-width: 820px; margin: 0 auto; }
        .article-reader.is-active { display: block; animation: fadeIn 0.25s ease forwards; }

        .back-btn {
            display: inline-flex; align-items: center; gap: 0.5rem;
            background: var(--bg-base); border: 2px solid var(--primary-light);
            color: var(--primary-dark); padding: 0.6rem 1.3rem; border-radius: 20px;
            font-weight: 800; cursor: pointer; margin-bottom: 2rem; transition: all 0.15s ease;
        }
        .back-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

        /* SUPPORT US / CALL-TO-ACTION SECTION */
        .support-section {
            padding: 2.5rem 0 1rem 0;
            scroll-margin-top: 80px;
            content-visibility: auto;
            contain-intrinsic-size: 1px 350px;
        }

        .support-box {
            background: linear-gradient(135deg, var(--primary-light) 0%, #fff0f5 100%);
            border-radius: 20px;
            padding: 2rem 2rem 1.2rem 2rem;
            border: 2px solid rgba(100, 144, 215, 0.2);
            text-align: center;
        }

        .section-title {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 0.3rem;
            font-weight: 800;
        }

        .section-desc {
            color: var(--text-muted);
            font-size: 1.05rem;
            font-weight: 600;
        }

        .support-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
            margin-top: 1.5rem;
        }

        .support-card {
            background: var(--white);
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            border: 1.5px solid var(--primary-light);
        }

        .support-card-title {
            font-size: 1.2rem;
            color: var(--text-dark);
            margin-bottom: 0.4rem;
            font-weight: 800;
        }

        .support-card-desc {
            font-size: 0.88rem;
            color: var(--text-muted);
            margin-bottom: 1.2rem;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--white);
            padding: 0.85rem 1.75rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 800;
            font-size: 1.05rem;
            box-shadow: 0 4px 12px rgba(100, 144, 215, 0.25);
            transition: transform 0.2s ease, background-color 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: var(--bg-base);
            color: var(--text-dark);
            border: 2px solid var(--primary-light);
            padding: 0.85rem 1.5rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 800;
            font-size: 1rem;
            transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        }

        .btn-secondary:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
        }

        /* MINIMALIST COMPACT SOCIAL ICONS */
        .support-socials {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1.25rem;
            margin-top: 0.85rem;
            padding: 0;
        }

        .social-icon-btn {
            background: none;
            border: none;
            box-shadow: none;
            padding: 2px;
            color: var(--text-dark);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: color 0.15s ease, transform 0.15s ease;
        }

        .social-icon-btn:hover {
            color: var(--primary);
            transform: translateY(-1px);
        }

        footer {
            text-align: center;
            padding: 2rem;
            color: var(--text-muted);
            font-weight: 600;
            font-size: 0.9rem;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 960px) {
            header { border-radius: 0; }
            .main-container { padding: 1.5rem; margin: 1rem; }
            .featured-card { grid-template-columns: 1fr; }
            .blog-grid { grid-template-columns: repeat(2, 1fr); }
            .support-grid { grid-template-columns: 1fr; }
            .nav-links { display: none; }
        }
        @media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
