
        :root {
            --emerald: #00c896;
            --violet: #7c3aed;
            --sky: #38bdf8;
            --coral: #ff6b6b;
            --gold: #f59e0b;
            --ink: #1e1b4b;
            --soft-bg: #f0f4ff;
            --white: #ffffff;
            --muted: #6b7280;
            --card-shadow: 0 8px 32px rgba(124, 58, 237, 0.10);
        }

        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', Arial, sans-serif;
            background: var(--soft-bg);
            color: var(--ink);
            overflow-x: hidden;
        }

        /* ── ANIMATED HERO ── */
        .hero {
            position: relative;
            min-height: 340px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 60px 20px 50px;
            overflow: hidden;
            background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
        }

        /* floating orbs */
        .hero::before,
        .hero::after {
            content: '';
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0.55;
            animation: drift 8s ease-in-out infinite alternate;
        }

        .hero::before {
            width: 420px;
            height: 420px;
            background: radial-gradient(circle, #7c3aed, #38bdf8);
            top: -120px;
            left: -100px;
        }

        .hero::after {
            width: 320px;
            height: 320px;
            background: radial-gradient(circle, #00c896, #f59e0b);
            bottom: -100px;
            right: -80px;
            animation-delay: -4s;
        }

        @keyframes drift {
            from {
                transform: translate(0, 0) scale(1);
            }

            to {
                transform: translate(40px, 30px) scale(1.12);
            }
        }

        .hero-inner {
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2.6rem, 7vw, 5rem);
            font-weight: 900;
            color: var(--white);
            letter-spacing: -1px;
            line-height: 1.1;
            animation: fadeDown 0.8s ease both;
        }

        .hero h1 span {
            background: linear-gradient(90deg, var(--emerald), var(--sky), var(--gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            color: rgba(255, 255, 255, 0.75);
            font-size: 1.1rem;
            margin-top: 12px;
            letter-spacing: 0.04em;
            animation: fadeDown 0.8s 0.15s ease both;
        }

        /* ── NAV ── */
        nav {
            display: flex;
            justify-content: center;
            gap: 8px;
            padding: 14px 20px;
            background: rgba(30, 27, 75, 0.96);
            backdrop-filter: blur(8px);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
            animation: fadeDown 0.6s 0.3s ease both;
        }

        nav a {
            color: rgba(255, 255, 255, 0.82);
            text-decoration: none;
            font-size: 0.82rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            padding: 8px 20px;
            border-radius: 99px;
            transition: background 0.25s, color 0.25s, transform 0.2s;
        }

        nav a:hover {
            background: var(--violet);
            color: #fff;
            transform: translateY(-2px);
        }

        /* ── LAYOUT ── */
        .page-wrap {
            max-width: 820px;
            margin: 0 auto;
            padding: 40px 20px 60px;
        }

        /* ── ARTICLE CARD ── */
        .article-card {
            background: var(--white);
            border-radius: 20px;
            box-shadow: var(--card-shadow);
            padding: 48px 48px 40px;
            animation: riseUp 0.7s 0.4s ease both;
        }

        @media (max-width: 600px) {
            .article-card {
                padding: 28px 20px 28px;
            }
        }

        .article-card h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(1.6rem, 4vw, 2.4rem);
            color: var(--ink);
            line-height: 1.25;
            margin-bottom: 10px;
        }

        .meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
            color: var(--muted);
            font-size: 0.83rem;
            margin-bottom: 28px;
        }

        .meta-pill {
            background: var(--soft-bg);
            border-radius: 99px;
            padding: 3px 12px;
            font-weight: 500;
        }

        /* ── HERO IMAGE ── */
        .post-img {
            width: 100%;
            border-radius: 14px;
            margin-bottom: 32px;
            display: block;
            object-fit: cover;
            max-height: 340px;
            box-shadow: 0 4px 24px rgba(124, 58, 237, 0.12);
            transition: transform 0.4s ease, box-shadow 0.4s;
        }

        .post-img:hover {
            transform: scale(1.015);
            box-shadow: 0 12px 40px rgba(124, 58, 237, 0.20);
        }

        /* ── TYPOGRAPHY ── */
        h2.section-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.45rem;
            color: var(--ink);
            margin: 36px 0 12px;
            position: relative;
            padding-left: 18px;
        }

        h2.section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 4px;
            bottom: 4px;
            width: 5px;
            border-radius: 99px;
            background: linear-gradient(180deg, var(--violet), var(--emerald));
        }

        p {
            line-height: 1.9;
            margin: 10px 0;
            color: #374151;
        }

        /* ── LIST ── */
        ul.fancy-list {
            list-style: none;
            margin: 16px 0;
            display: grid;
            gap: 10px;
        }

        ul.fancy-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            background: linear-gradient(135deg, #f5f3ff, #eff6ff);
            border-radius: 12px;
            padding: 12px 16px;
            border-left: 4px solid var(--violet);
            font-size: 0.95rem;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        ul.fancy-list li:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 16px rgba(124, 58, 237, 0.12);
        }

        ul.fancy-list li .icon {
            font-size: 1.2rem;
            flex-shrink: 0;
            margin-top: 1px;
        }

        ul.fancy-list li strong {
            color: var(--violet);
        }

        /* ── HIGHLIGHT SPAN ── */
        .highlight {
            background: linear-gradient(90deg, var(--emerald), var(--sky));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
        }

        /* ── ADVICE BOX ── */
        .advice-box {
            background: linear-gradient(135deg, #ede9fe, #dbeafe);
            border-radius: 14px;
            padding: 20px 24px;
            margin: 28px 0;
            border-left: 5px solid var(--violet);
            position: relative;
            overflow: hidden;
        }

        .advice-box::after {
            content: '💡';
            position: absolute;
            right: 20px;
            top: 16px;
            font-size: 2rem;
            opacity: 0.25;
        }

        .advice-box p {
            font-style: italic;
            color: #4c1d95;
            margin: 0;
        }

        .advice-box strong {
            color: var(--violet);
            font-style: normal;
        }

        /* ── TAGS ── */
        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 28px;
        }

        .tag {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 5px 14px;
            border-radius: 99px;
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            color: #fff;
            cursor: default;
            transition: transform 0.2s, filter 0.2s;
        }

        .tag:hover {
            transform: translateY(-3px) scale(1.06);
            filter: brightness(1.1);
        }

        .tag-1 {
            background: linear-gradient(90deg, var(--violet), #a855f7);
        }

        .tag-2 {
            background: linear-gradient(90deg, var(--emerald), #059669);
        }

        .tag-3 {
            background: linear-gradient(90deg, var(--coral), #f97316);
        }

        .tag-4 {
            background: linear-gradient(90deg, var(--sky), #0ea5e9);
        }

        /* ── DIVIDER ── */
        .divider {
            height: 2px;
            background: linear-gradient(90deg, var(--violet), var(--emerald), var(--sky));
            border-radius: 99px;
            margin: 44px 0 36px;
            opacity: 0.35;
        }

        /* ── COMMENT SECTION ── */
        .comment-section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--ink);
        }

        .comment-form {
            background: linear-gradient(135deg, #f5f3ff, #eff6ff);
            border-radius: 16px;
            padding: 28px;
            display: grid;
            gap: 14px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        @media (max-width: 560px) {
            .form-row {
                grid-template-columns: 1fr;
            }
        }

        .comment-form input,
        .comment-form textarea {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 0.93rem;
            background: #fff;
            color: var(--ink);
            transition: border-color 0.25s, box-shadow 0.25s;
            outline: none;
        }

        .comment-form input:focus,
        .comment-form textarea:focus {
            border-color: var(--violet);
            box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.10);
        }

        .comment-form textarea {
            resize: vertical;
            min-height: 110px;
        }

        .checkbox-row {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.88rem;
            color: var(--muted);
            cursor: pointer;
            user-select: none;
        }

        .checkbox-row input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: var(--violet);
            cursor: pointer;
        }

        .btn-submit {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, var(--violet), #a855f7);
            color: #fff;
            border: none;
            padding: 13px 32px;
            border-radius: 10px;
            font-size: 0.95rem;
            font-weight: 600;
            font-family: 'Inter', sans-serif;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            width: fit-content;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(124, 58, 237, 0.30);
        }

        .btn-submit:active {
            transform: translateY(0);
        }

        /* ── FOOTER ── */
        .footer {
            text-align: center;
            margin-top: 40px;
            padding: 28px 20px;
            background: linear-gradient(135deg, #1e1b4b, #2d1b69);
            color: rgba(255, 255, 255, 0.75);
            border-radius: 16px;
            font-size: 0.9rem;
            animation: riseUp 0.6s 0.6s ease both;
        }

        .footer a {
            color: var(--emerald);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s;
        }

        .footer a:hover {
            color: var(--sky);
        }

        .footer .heart {
            color: var(--coral);
        }

        /* ── KEYFRAMES ── */
        @keyframes fadeDown {
            from {
                opacity: 0;
                transform: translateY(-22px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes riseUp {
            from {
                opacity: 0;
                transform: translateY(28px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ── SCROLL REVEAL (JS-driven) ── */
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ── PROGRESS BAR ── */
        #read-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            width: 0%;
            background: linear-gradient(90deg, var(--violet), var(--emerald), var(--sky));
            z-index: 9999;
            transition: width 0.1s linear;
        }