:root {
    --bg: #0f1a2b;
    --panel: #1e3a5f;
    --panel2: #2a4a72;
    --text: #f0f4f8;
    --muted: rgba(255, 255, 255, 0.8);
    --muted-light: #d6e4f0;
    --line: rgba(255, 255, 255, 0.15);
    --accent: #7ec8e3;
    --accent2: #4da8c9;
    --ok: #f5a623;
    --shadow: 0 20px 35px rgba(0, 0, 0, 0.6);
    --radius: 5px;
    --radius2: 7px;
    --max: 1280px;
    --rainbow: linear-gradient(90deg,
        #f5a623 0%,
        #7ec8e3 30%,
        #4da8c9 60%,
        #2a7a9e 100%);
    --btn-glow: rgba(126, 200, 227, 0.5);
    --header-bg: rgba(15, 26, 43, 0.92);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
    font-weight: 350;
    letter-spacing: 0.3px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, li {
    list-style: none;
}

.wrap-uncle-j-x {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.skip {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 12px 20px;
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    z-index: 9999;
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--header-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--line);
}

.top-stripe {
    height: 2px;
    background: var(--rainbow);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 4px 0;
    position: relative;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    min-width: 160px;
    order: 3;
}

.brand .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
    background: var(--rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(126, 200, 227, 0.3);
    transition: all 0.3s ease;
    line-height: 1.1;
}

.brand:hover .logo-text {
    transform: scale(1.02);
    text-shadow: 0 2px 30px rgba(126, 200, 227, 0.5);
}

.brand .logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: var(--muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-top: -2px;
    -webkit-text-fill-color: var(--muted);
    opacity: 0.7;
}

nav {
    flex: 1;
    /* display: flex; */
    justify-content: center;
    order: 2;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
}

nav a {
    display: inline-flex;
    padding: 6px 18px;
    color: var(--muted);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 13px;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
    letter-spacing: 0.3px;
}

nav a:hover {
    color: var(--text);
    background: rgba(126, 200, 227, 0.08);
    border-color: rgba(126, 200, 227, 0.2);
}

nav a.active {
    color: var(--bg);
    background: var(--accent);
    border-color: var(--accent);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(126, 200, 227, 0.3);
}

nav a.active:hover {
    background: var(--accent2);
    border-color: var(--accent2);
}

.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(126, 200, 227, 0.08);
    border: 1px solid rgba(126, 200, 227, 0.2);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    font-size: 20px;
    line-height: 1;
    z-index: 100;
    order: 4;
}

.menu-btn:hover {
    background: rgba(126, 200, 227, 0.18);
    border-color: rgba(126, 200, 227, 0.4);
}

.menu-btn .menu-icon {
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn.active .menu-icon {
    transform: rotate(90deg);
}

.menu-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    stroke-width: 2;
}

@media (max-width: 920px) {
    .topbar {
        flex-wrap: wrap;
        padding: 4px 0;
    }
    
    .brand {
        order: 1;
        min-width: auto;
    }
    
    .brand .logo-text {
        font-size: 22px;
    }
    
    .brand .logo-sub {
        font-size: 9px;
        letter-spacing: 2px;
    }
    
    .menu-btn {
        display: flex;
        order: 2;
    }
    
    nav {
        order: 3;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        backdrop-filter: blur(20px);
        padding: 0 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid transparent;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        border-radius: 0 0 var(--radius) var(--radius);
    }
    
    nav.show {
        max-height: 600px;
        border-bottom: 1px solid var(--line);
        padding: 16px 16px 24px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }
    
    nav a {
        display: block;
        padding: 12px 20px;
        background: rgba(15, 26, 43, 0.6);
        border: 1px solid rgba(126, 200, 227, 0.1);
        border-radius: 8px;
        color: var(--text);
        font-weight: 500;
        font-size: 15px;
        text-align: left;
        white-space: normal;
        backdrop-filter: blur(5px);
        transition: all 0.2s ease;
    }
    
    nav a:hover {
        background: rgba(126, 200, 227, 0.12);
        border-color: rgba(126, 200, 227, 0.3);
        transform: translateX(4px);
    }
    
    nav a.active {
        background: var(--accent);
        color: var(--bg);
        border-color: var(--accent);
        transform: translateX(0);
    }
}

/* ===== HERO ===== */
.hero {
    padding: 20px 0 20px;
}

.hero-main {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: var(--radius2);
    padding: 28px 36px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.hero-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--rainbow);
    border-radius: var(--radius2) var(--radius2) 0 0;
}

.hero-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(126, 200, 227, 0.12), transparent 70%);
    pointer-events: none;
}

.hero-main h1 {
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    position: relative;
    color: var(--text);
}

.hero-main p {
    color: var(--muted);
    font-size: 16px;
    margin: 0;
    max-width: 80%;
    position: relative;
}

.hero-side {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius2);
    padding: 24px;
    box-shadow: var(--shadow);
}

.notice {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(126, 200, 227, 0.08);
    border: 1.5px solid rgba(126, 200, 227, 0.4);
    border-radius: 50px;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.btn:hover {
    background: rgba(126, 200, 227, 0.2);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 8px 20px rgba(126, 200, 227, 0.2);
}

.btn-primary {
    background: linear-gradient(145deg, var(--accent2), var(--accent));
    border: 1px solid var(--accent);
    color: var(--bg);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(126, 200, 227, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(145deg, var(--accent), var(--accent2));
    border-color: var(--text);
    color: var(--bg);
    box-shadow: 0 8px 25px rgba(126, 200, 227, 0.5);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.btn-small {
    padding: 6px 16px;
    font-size: 12px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: var(--muted);
}

.btn-small:hover {
    background: rgba(126, 200, 227, 0.15);
    color: var(--text);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 30px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.chip:hover {
    background: rgba(126, 200, 227, 0.15);
    color: var(--text);
    border-color: var(--accent);
}

.chip::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.8;
}

.section {
    margin: 30px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 20px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    color: var(--text);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.section-header .sub {
    color: var(--muted);
    font-size: 16px;
    margin: 5px 0 0;
}

.grid {
    column-count: 4;
    column-gap: 16px;
    margin: 20px 0;
}

.post {
    break-inside: avoid;
    margin-bottom: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow);
}

.post:hover {
    border-color: var(--accent2);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.6);
    filter: brightness(1.05);
}

.post-thumb {
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.post-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.4s ease;
}

.post:hover .post-thumb img {
    filter: brightness(1.1);
}

.post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 16px 16px;
    background: linear-gradient(to top, rgba(15, 26, 43, 0.95), rgba(15, 26, 43, 0.5), transparent);
    backdrop-filter: blur(3px);
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    z-index: 2;
    pointer-events: auto;
}

.post-actions-uncle-j-x {
    display: flex;
    justify-content: center;
}

.post-actions-uncle-j-x .btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(126, 200, 227, 0.6);
    color: var(--text);
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 130px;
    backdrop-filter: blur(5px);
    font-size: 14px;
    padding: 10px 20px;
}

.post-actions-uncle-j-x .btn:hover {
    background: rgba(126, 200, 227, 0.2);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 8px 20px rgba(126, 200, 227, 0.2);
}

.post-info {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 8px 15px;
    background: rgba(15, 26, 43, 0.6);
    backdrop-filter: blur(8px);
    text-align: left;
    border-radius: 30px;
    border: 1px solid rgba(126, 200, 227, 0.3);
    z-index: 2;
}

.post-title {
    font-size: 15px;
    margin: 0;
    color: var(--text);
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-meta {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 12px;
}

.section .article-uncle-j-x {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius2);
    padding: 30px;
    margin: 30px 0;
    width: 100%;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.section .article-uncle-j-x::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--rainbow);
}

.section .article-uncle-j-x:first-child {
    margin-right: 10px;
}

@media (min-width: 1025px) {
    .section .article-uncle-j-x {
        width: calc(50% - 10px);
        display: inline-block;
        vertical-align: top;
    }
}

.article-uncle-j-x h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 0 0 15px;
    color: var(--text);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.article-uncle-j-x h3 {
    font-size: 22px;
    margin: 25px 0 12px;
    color: var(--accent);
}

.article-uncle-j-x p {
    color: var(--muted);
    font-size: 16px;
    margin: 0 0 20px;
    line-height: 1.7;
}

.article-thumbs-uncle-j-x {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.article-thumb {
    flex: 0 0 180px;
    max-width: 100%;
}

.article-thumb .post-thumb {
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius2);
    background: var(--panel);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 20px 0;
}

.card-pad {
    padding: 24px;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.4px;
    color: var(--text);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill-uncle-j-x {
    display: inline-block;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 40px;
    color: var(--muted-light);
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.pill-uncle-j-x:hover {
    background: rgba(126, 200, 227, 0.15);
    color: var(--text);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(126, 200, 227, 0.1);
}

/* ===== FOOTER ===== */
footer {
    border-top: 2px solid var(--line);
    background: var(--panel2);
    padding: 50px 0 20px;
    margin-top: 70px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--rainbow);
    opacity: 0.7;
}

footer .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

footer .footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
}

footer .footer-col {
    flex: 1;
    min-width: 140px;
    max-width: 240px;
}

footer .footer-col h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--text);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

footer .footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--rainbow);
    border-radius: 2px;
}

footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

footer .footer-col ul li {
    margin: 0;
}

footer .footer-col ul li a {
    color: var(--muted);
    font-size: 13px;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 3px 0;
    border-bottom: 1px solid transparent;
}

footer .footer-col ul li a:hover {
    color: var(--text);
    border-bottom: 1px solid var(--accent);
    transform: translateX(4px);
}

footer .footer-badge-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0;
}

footer .footer-badge {
    display: flex;
    flex-direction: column;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

footer .footer-badge:hover {
    background: rgba(126, 200, 227, 0.12);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 8px 20px rgba(126, 200, 227, 0.15);
    transform: translateX(4px);
}

footer .badge-name {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    margin-bottom: 1px;
}

footer .badge-desc {
    font-size: 10px;
    opacity: 0.6;
    text-transform: lowercase;
}

footer .footer-about-wrapper {
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 30px;
    margin-top: 5px;
}

footer .footer-about {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

footer .footer-about h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text);
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

footer .footer-about h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--rainbow);
    border-radius: 2px;
}

footer .footer-about p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

footer .footer-about p:last-child {
    margin-bottom: 0;
    font-size: 12px;
    opacity: 0.7;
}

footer .footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    opacity: 0.6;
}

footer .footer-link-uncle-j-xs {
    display: none;
}

@media (max-width: 920px) {
    footer .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    footer .footer-col {
        max-width: 300px;
        width: 100%;
        text-align: center;
    }
    
    footer .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    footer .footer-col ul {
        align-items: center;
    }
    
    footer .footer-badge-list {
        align-items: center;
    }
    
    footer .footer-badge {
        width: 100%;
        max-width: 220px;
    }
    
    footer .footer-badge:hover {
        transform: translateX(0) translateY(-2px);
    }
    
    footer .footer-about-wrapper {
        padding-top: 25px;
    }
}

@media (max-width: 768px) {
    .hero-main {
        padding: 24px;
        max-width: 100%;
    }
    
    .hero-main p {
        max-width: 100%;
    }
    
    .hero-main h1 {
        font-size: 32px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 5px;
    }
    
    .article-uncle-j-x {
        padding: 20px;
    }
    
    .grid {
        column-count: 2;
        column-gap: 12px;
    }
    
    .post-content {
        padding: 30px 12px 12px 12px;
    }
    
    .post-actions-uncle-j-x .btn {
        padding: 8px 18px;
        font-size: 13px;
        min-width: 110px;
    }
    
    .links {
        gap: 8px;
    }
    
    .pill-uncle-j-x {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .grid {
        column-count: 1;
    }
    
    .article-thumb {
        flex: 0 0 100%;
    }
    
    .title {
        font-size: 30px;
    }
    
    .card-pad {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-main {
        padding: 20px;
    }
    
    .hero-main h1 {
        font-size: 28px;
    }
    
    .hero-side {
        padding: 20px;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        width: 100%;
    }
    
    .post-content {
        padding: 25px 10px 10px 10px;
    }
    
    .post-actions-uncle-j-x .btn {
        padding: 8px 14px;
        font-size: 12px;
        min-width: 90px;
    }
    
    .links {
        gap: 6px;
    }
    
    .pill-uncle-j-x {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    footer .footer-about p {
        font-size: 13px;
    }
    
    footer .footer-bottom {
        font-size: 11px;
    }
}

.post .post-content .btn {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(126, 200, 227, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    min-width: auto;
}

.post .post-content .btn:hover {
    background: rgba(126, 200, 227, 0.2);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(126, 200, 227, 0.2);
    color: var(--text);
}

.post .post-content .btn-primary {
    background: linear-gradient(145deg, rgba(77, 168, 201, 0.8), rgba(126, 200, 227, 0.8));
    border: 1px solid var(--accent);
    color: var(--bg);
    text-shadow: none;
}

.post .post-content .btn-primary:hover {
    background: linear-gradient(145deg, rgba(126, 200, 227, 0.9), rgba(77, 168, 201, 0.9));
    border-color: var(--text);
    color: var(--bg);
}

/* Featured Articles Section */
.featured-articles {
    margin: 60px 0 40px;
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 30px;
}

.featured-article {
    display: flex;
    gap: 40px;
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius2);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.featured-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--rainbow);
}

.featured-article:hover {
    border-color: var(--accent2);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}

.featured-article.reverse {
    flex-direction: row-reverse;
}

.featured-article.reverse::before {
    left: auto;
    right: 0;
}

.article-media {
    flex: 0 0 300px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.article-media img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.featured-article:hover .article-media img {
    transform: scale(1.02);
}

.article-content {
    flex: 1;
}

.article-content h3 {
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 15px;
    color: var(--text);
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
}

.article-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--rainbow);
    border-radius: 2px;
}

.featured-article.reverse .article-content h3::after {
    left: 0;
}

.article-content p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 500;
    margin-top: 15px;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.article-link:hover {
    color: var(--text);
    border-bottom-color: var(--accent);
    gap: 12px;
}

.article-link i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.article-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .featured-article,
    .featured-article.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .featured-article::before,
    .featured-article.reverse::before {
        left: 0;
        right: auto;
        width: 100%;
        height: 4px;
    }
    
    .article-media {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }
    
    .article-content h3::after {
        left: 0;
    }
}

@media (max-width: 768px) {
    .featured-articles {
        margin: 40px 0 30px;
    }
    
    .articles-grid {
        gap: 30px;
    }
    
    .featured-article {
        padding: 20px;
    }
    
    .article-content h3 {
        font-size: 22px;
    }
    
    .article-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .article-media {
        max-width: 100%;
    }
    
    .article-content h3 {
        font-size: 20px;
    }
    
    .article-content p {
        font-size: 14px;
    }
}

/* Glass caption for ALL post cards - replaces buttons */
.post-actions-uncle-j-x {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: auto;
    max-width: 90%;
}

.post-actions-uncle-j-x .btn {
    display: block;
    padding: 10px 24px;
    background: rgba(15, 26, 43, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(126, 200, 227, 0.2);
    border-radius: 6px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    min-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: none;
    background-image: none;
    text-transform: capitalize;
}

.post-actions-uncle-j-x .btn:hover {
    background: rgba(15, 26, 43, 0.8);
    border-color: rgba(126, 200, 227, 0.5);
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.post-actions-uncle-j-x .btn-primary {
    background: rgba(15, 26, 43, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(126, 200, 227, 0.25);
    color: var(--text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.post-actions-uncle-j-x .btn-primary:hover {
    background: rgba(15, 26, 43, 0.8);
    border-color: var(--accent);
    color: var(--text);
}

/* Mobile */
@media (max-width: 768px) {
    .post-actions-uncle-j-x {
        bottom: 12px;
    }
    .post-actions-uncle-j-x .btn {
        padding: 8px 16px;
        font-size: 11px;
        min-width: 90px;
    }
}

@media (max-width: 480px) {
    .post-actions-uncle-j-x {
        bottom: 10px;
    }
    .post-actions-uncle-j-x .btn {
        padding: 6px 12px;
        font-size: 10px;
        min-width: 70px;
    }
}
