/* ===== HashQY Custom Theme ===== */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --color-bg: #070714;
    --color-text: #e2e8f0;
    --color-text-bright: #ffffff;
    --color-text-muted: #94a3b8;
    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-accent: #a855f7;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-full: 999px;
}

body {
    background: var(--color-bg) !important;
    color: var(--color-text) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    overflow-x: hidden;
}

.no-select {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === FULL PAGE 3D BACKGROUND === */
.bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
    cursor: crosshair;
}

.hero-section,
.marquee-strip,
.topics-section,
.featured-section,
.latest-section,
.newsletter-section,
.footer-cta,
.site-footer {
    position: relative;
    z-index: 1;
}

/* === SECTIONS === */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: var(--radius-full);
    color: var(--color-primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-bright);
    margin: 0 0 1rem 0;
    line-height: 1.15;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* === BUTTONS — highly visible === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #ffffff;
    box-shadow: 0 4px 25px rgba(99,102,241,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 40px rgba(99,102,241,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.btn-lg {
    padding: 1.1rem 2.8rem;
    font-size: 1.1rem;
}

/* === HERO === */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 40%, rgba(7,7,20,0.1) 0%, rgba(7,7,20,0.4) 45%, rgba(7,7,20,0.75) 100%);
    padding: 2rem;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    animation: heroIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(50px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.3rem;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: var(--radius-full);
    color: var(--color-primary-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.03em;
}

.hero-title-line {
    display: block;
    color: rgba(255,255,255,0.6);
    font-weight: 700;
}

.hero-title-gradient {
    display: block;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 35%, #ec4899 65%, #6366f1 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradShift 5s ease infinite;
}

@keyframes gradShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bobUp 2.5s ease-in-out infinite;
    pointer-events: auto;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

@keyframes bobUp {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-10px); opacity: 1; }
}

/* === MARQUEE === */
.marquee-strip {
    overflow: hidden;
    padding: 1.2rem 0;
    background: linear-gradient(90deg, var(--color-bg), rgba(99,102,241,0.04), var(--color-bg));
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.marquee-track span {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.02em;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === TOPICS — floating 3D pills, no boxes === */
.topics-section {
    background: transparent;
    padding: 4rem 0;
}

.topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.topic-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(99,102,241,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.topic-pill:hover {
    background: rgba(99,102,241,0.12);
    border-color: rgba(99,102,241,0.3);
    color: var(--color-text-bright);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(99,102,241,0.15), 0 0 20px rgba(99,102,241,0.08);
}

.topic-pill:hover::before { opacity: 1; }

.topic-pill .pill-icon {
    font-size: 1.3rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.topic-pill:hover .pill-icon {
    transform: scale(1.3) rotate(-8deg);
}

.topic-pill .pill-count {
    font-size: 0.75rem;
    color: var(--color-primary-light);
    background: rgba(99,102,241,0.1);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* === FEATURED === */
.featured-section {
    background: transparent;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.featured-text p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.featured-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0;
    color: var(--color-text);
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.featured-list li:last-child { border-bottom: none; }

.check {
    color: #22c55e;
    font-weight: bold;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34,197,94,0.1);
    border-radius: 50%;
    font-size: 0.75rem;
}

.featured-visual {
    position: relative;
    height: 400px;
}

#featured-canvas {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* === LATEST POSTS — clean readable cards === */
.latest-section {
    background: transparent;
}

.post-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}

.post-feed .post-card {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(10px);
}

.post-feed .post-card:hover {
    background: rgba(255,255,255,0.07) !important;
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4) !important;
    border-color: rgba(99,102,241,0.2) !important;
}

/* Force readable text on post cards */
.post-feed .post-card h2,
.post-feed .post-card h3,
.post-feed .post-card .post-card-title {
    color: var(--color-text-bright) !important;
}

.post-feed .post-card p,
.post-feed .post-card .post-card-excerpt,
.post-feed .post-card .post-card-meta {
    color: var(--color-text-muted) !important;
}

.post-feed .post-card a {
    color: var(--color-text) !important;
}

/* === NEWSLETTER === */
.newsletter-section {
    background: transparent;
    padding: 4rem 0;
}

.newsletter-box {
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.12);
    border-radius: var(--radius);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99,102,241,0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(168,85,247,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    color: var(--color-text-bright);
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
}

.newsletter-content p {
    color: var(--color-text-muted);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    padding: 0.9rem 1.3rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-full);
    color: #ffffff;
    font-size: 0.95rem;
    min-width: 250px;
    outline: none;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(99,102,241,0.15);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.3);
}

/* === FOOTER CTA === */
.footer-cta {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.footer-cta .container {
    position: relative;
    text-align: center;
    padding: 6rem 2rem;
}

#footer-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.footer-cta-content {
    position: relative;
    z-index: 2;
}

.footer-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-bright);
    margin: 0 0 1rem 0;
}

.footer-cta-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
}

/* === NAV — sleek glass navbar === */
.gh-head {
    position: fixed !important;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    background: transparent !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 0 !important;
}

.gh-head.scrolled {
    background: rgba(7,7,20,0.9) !important;
    backdrop-filter: blur(24px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

.gh-head-inner {
    max-width: 1200px !important;
    padding: 0 2rem !important;
    min-height: 52px !important;
}

.gh-head-logo {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    text-decoration: none !important;
}

.gh-head-logo img {
    height: 24px !important;
}

.gh-head-menu {
    gap: 0 !important;
}

.gh-head-menu a {
    color: rgba(255,255,255,0.55) !important;
    font-size: 1.07rem !important;
    font-weight: 500 !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: 999px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    letter-spacing: 0.01em !important;
}

.gh-head-menu a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.06) !important;
}

.gh-head-menu a[aria-current="page"] {
    color: #ffffff !important;
    background: rgba(99,102,241,0.12) !important;
}

.gh-search {
    color: rgba(255,255,255,0.45) !important;
    transition: color 0.3s !important;
}

.gh-search:hover {
    color: #ffffff !important;
}

.gh-head-button {
    background: rgba(99,102,241,0.15) !important;
    border: 1px solid rgba(99,102,241,0.25) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    padding: 0.35rem 1rem !important;
    font-size: 1.04rem !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gh-head-button:hover {
    background: rgba(99,102,241,0.28) !important;
    border-color: rgba(99,102,241,0.4) !important;
}

.gh-burger {
    color: #ffffff !important;
}

.gh-burger::before,
.gh-burger::after,
.gh-burger span {
    background: #ffffff !important;
}

.gh-head-open .gh-head-menu {
    background: rgba(7,7,20,0.95) !important;
    backdrop-filter: blur(24px) !important;
    border-radius: 16px !important;
    margin-top: 0.25rem !important;
    padding: 0.75rem !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
}

.gh-head-open .gh-head-menu a {
    display: block !important;
    padding: 0.6rem 0.85rem !important;
}

/* === POST PAGE — clean readable content === */
.gh-canvas {
    max-width: 720px !important;
}

.gh-article {
    padding-top: 7rem !important;
    padding-bottom: 3rem !important;
}

.gh-article-header {
    margin-bottom: 2rem !important;
}

.gh-article-title,
.article-title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: var(--color-text-bright) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
}

.gh-article-excerpt {
    font-size: 1.05rem !important;
    color: var(--color-text-muted) !important;
    line-height: 1.6 !important;
    margin-top: 0.75rem !important;
}

.gh-article-meta {
    color: rgba(255,255,255,0.4) !important;
    font-size: 0.82rem !important;
}

.gh-article-meta a {
    color: var(--color-primary-light) !important;
}

/* === FOOTER CTA — Sign up section on post pages === */
.footer-cta {
    background: var(--color-bg) !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

.footer-cta .inner {
    padding: 4rem 2rem !important;
    text-align: center !important;
}

.footer-cta-title {
    color: var(--color-text-bright) !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
}

.footer-cta-button {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: var(--radius-full) !important;
    padding: 0 !important;
    max-width: 450px !important;
    width: auto !important;
    overflow: hidden !important;
}

.footer-cta-input {
    color: rgba(255,255,255,0.4) !important;
    font-size: 0.95rem !important;
    padding: 0.9rem 1.3rem !important;
    background: transparent !important;
}

.footer-cta-button span {
    background: linear-gradient(135deg, #6366f1, #a855f7) !important;
    color: #ffffff !important;
    padding: 0.9rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius-full) !important;
    letter-spacing: 0 !important;
}

.footer-cta-button:hover {
    border-color: rgba(99,102,241,0.3) !important;
}

/* Site footer */
.site-footer {
    background: var(--color-bg) !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

.site-footer-inner {
    color: var(--color-text-muted) !important;
}

/* === READ MORE / RELATED POSTS section === */
.read-more-wrap {
    background: var(--color-bg) !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

.read-more .post-card {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: var(--radius) !important;
}

.read-more .post-card:hover {
    background: rgba(255,255,255,0.07) !important;
    border-color: rgba(99,102,241,0.2) !important;
}

.read-more .post-card-title,
.read-more .post-card h2 {
    color: var(--color-text-bright) !important;
}

.read-more .post-card-excerpt,
.read-more .post-card p {
    color: var(--color-text-muted) !important;
}

.read-more .post-card-meta,
.read-more .post-card time {
    color: rgba(255,255,255,0.4) !important;
}

.read-more .post-card a {
    color: var(--color-text) !important;
}

/* Post content typography */
.gh-content {
    font-size: 1.55rem !important;
    line-height: 1.8 !important;
    color: var(--color-text) !important;
}

.gh-content p {
    color: var(--color-text) !important;
    font-size: 1.55rem !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
}

.gh-content h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--color-text-bright) !important;
    margin-top: 3rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
}

.gh-content h3 {
    font-size: 2rem !important;
    font-weight: 600 !important;
    color: var(--color-text-bright) !important;
    margin-top: 2.5rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.3 !important;
}

.gh-content h4 {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    color: var(--color-text-bright) !important;
    margin-top: 2rem !important;
    margin-bottom: 0.5rem !important;
}

.gh-content strong {
    color: var(--color-text-bright) !important;
    font-weight: 700 !important;
}

.gh-content a {
    color: var(--color-primary-light) !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(99,102,241,0.3) !important;
    text-underline-offset: 3px !important;
    transition: text-decoration-color 0.2s !important;
}

.gh-content a:hover {
    text-decoration-color: var(--color-primary-light) !important;
}

.gh-content ul,
.gh-content ol {
    padding-left: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.gh-content li {
    color: var(--color-text) !important;
    font-size: 1.55rem !important;
    line-height: 1.8 !important;
    margin-bottom: 0.5rem !important;
}

.gh-content li strong {
    color: var(--color-text-bright) !important;
}

.gh-content blockquote {
    border-left: 3px solid var(--color-primary) !important;
    padding: 1rem 1.5rem !important;
    margin: 2rem 0 !important;
    background: rgba(99,102,241,0.06) !important;
    border-radius: 0 12px 12px 0 !important;
}

.gh-content blockquote p {
    color: var(--color-text) !important;
    font-style: italic !important;
}

.gh-content code {
    background: rgba(255,255,255,0.08) !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 6px !important;
    font-size: 0.9em !important;
    color: var(--color-primary-light) !important;
}

.gh-content pre {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    overflow-x: auto !important;
    margin: 2rem 0 !important;
}

.gh-content pre code {
    background: none !important;
    padding: 0 !important;
    color: var(--color-text) !important;
}

.gh-content img {
    border-radius: 12px !important;
    margin: 2rem 0 !important;
}

.gh-content hr {
    border: none !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    margin: 3rem 0 !important;
}

/* === POST CTA — subscribe box at bottom === */
.gh-cta {
    background: rgba(99,102,241,0.06) !important;
    border: 1px solid rgba(99,102,241,0.12) !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
    margin-top: 3rem !important;
    text-align: center !important;
}

.gh-cta h2 {
    color: var(--color-text-bright) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.gh-cta p {
    color: var(--color-text-muted) !important;
    font-size: 0.95rem !important;
    margin-bottom: 1.5rem !important;
}

.gh-cta-form {
    display: flex !important;
    gap: 0.75rem !important;
    justify-content: center !important;
    max-width: 450px !important;
    margin: 0 auto !important;
}

.gh-cta-form input {
    padding: 0.8rem 1.2rem !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    flex: 1 !important;
    outline: none !important;
    transition: border-color 0.3s !important;
}

.gh-cta-form input:focus {
    border-color: var(--color-primary) !important;
}

.gh-cta-form input::placeholder {
    color: rgba(255,255,255,0.3) !important;
}

.gh-cta-form button {
    background: linear-gradient(135deg, #6366f1, #a855f7) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 0.8rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

.gh-cta-form button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(99,102,241,0.4) !important;
}

/* Post footer — tags, share */
.gh-article-footer {
.gh-article-footer {
    margin-top: 3rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

.gh-article-footer .article-tag {
    background: rgba(99,102,241,0.1) !important;
    color: var(--color-primary-light) !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: 999px !important;
    font-size: 0.8rem !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.gh-article-footer .article-tag:hover {
    background: rgba(99,102,241,0.2) !important;
}

/* Post navigation (prev/next) */
.gh-readnext {
    margin-top: 4rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

.gh-readnext h4 {
    color: var(--color-text-muted) !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

.gh-readnext-title {
    color: var(--color-text-bright) !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.gh-readnext-title:hover {
    color: var(--color-primary-light) !important;
}

/* Post card improvements */
.post-card-title {
    color: var(--color-text-bright) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

.post-card-excerpt {
    color: var(--color-text-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

.post-card-meta {
    color: rgba(255,255,255,0.4) !important;
    font-size: 0.8rem !important;
}

/* === FOOTER === */
.site-footer {
    background: rgba(7,7,20,0.9) !important;
    border-top: 1px solid rgba(255,255,255,0.03) !important;
    padding: 3rem 0 !important;
}

.site-footer .copyright a,
.site-footer-nav a,
.gh-powered-by a {
    color: var(--color-text-muted) !important;
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.topics-grid .reveal:nth-child(1) { transition-delay: 0s; }
.topics-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.topics-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.topics-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.topics-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.topics-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.post-feed .reveal:nth-child(1) { transition-delay: 0s; }
.post-feed .reveal:nth-child(2) { transition-delay: 0.08s; }
.post-feed .reveal:nth-child(3) { transition-delay: 0.16s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .featured-grid { grid-template-columns: 1fr; gap: 2rem; }
    .featured-text .section-title { text-align: center; }
    .featured-text { text-align: center; }
    .featured-visual { height: 300px; }
}

@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .container { padding: 0 1.25rem; }
    .section-title { font-size: 1.8rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-scroll-indicator { display: none; }
    .topics-grid { gap: 0.75rem; }
    .post-feed { grid-template-columns: 1fr; }
    .newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .newsletter-form { flex-direction: column; width: 100%; }
    .newsletter-form input { min-width: unset; width: 100%; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; max-width: 280px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.5rem; }
    .footer-cta-content h2 { font-size: 1.8rem; }
}

/* Force post title size — override Casper completely */
.gh-article .gh-article-title,
.gh-article .article-title {
    font-size: 1.5rem !important;
}
