/* ==========================================================================
   EI TILL TODAY - CYBER-INSTITUTIONAL UI
   ========================================================================== */

   :root {
    --bg-dark: #050608;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --glass-bg: rgba(15, 20, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    /* Default neon accent (overridden by ACF) */
    --neon-accent: #00F2FF;
    --neon-glow: 0 0 10px rgba(0, 242, 255, 0.5), 0 0 20px var(--neon-accent);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Prevent horizontal bleed */
}

/* Lenis Recommended Settings */
html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* ==========================================================================
   PRELOADER (CINEMATIC)
   ========================================================================== */
#ei-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-fragments {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--neon-accent);
    text-shadow: var(--neon-glow);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.logo-fragments .frag {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    filter: blur(10px);
}

.donut-loader {
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 1;
}

.donut-loader svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-bg {
    fill: none;
    stroke: rgba(255,255,255,0.05);
    stroke-width: 2;
}

.donut-progress {
    fill: none;
    stroke: var(--neon-accent);
    stroke-width: 2;
    stroke-dasharray: 283; /* 2 * PI * 45 */
    stroke-dashoffset: 283;
    filter: drop-shadow(0 0 5px var(--neon-accent));
    transition: stroke-dashoffset 0.1s ease;
}

.progress-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-main);
    letter-spacing: 2px;
}

.loader-subtitle {
    margin-top: 60px;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Waveform Pulse */
.waveform {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    height: 40px;
    margin-bottom: 20px;
}
.waveform .bar {
    width: 6px;
    height: 10px;
    background: var(--neon-accent);
    animation: waveform-pulse 1.2s infinite ease-in-out;
}
.waveform .bar:nth-child(1) { animation-delay: 0s; }
.waveform .bar:nth-child(2) { animation-delay: 0.2s; }
.waveform .bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes waveform-pulse {
    0%, 100% { height: 10px; opacity: 0.5; }
    50% { height: 40px; opacity: 1; box-shadow: var(--neon-glow); }
}

/* ==========================================================================
   UTILS & EFFECTS
   ========================================================================== */
.neon-text {
    color: var(--neon-accent);
    text-shadow: var(--neon-glow);
}

.neon-border {
    border: 1px solid var(--neon-accent);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2) inset, 0 0 10px rgba(0, 242, 255, 0.2);
}

.cyber-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* AI Strict Article Text Contrast */
.ai-strict-article {
    color: #E6F1FF !important;
}
.article-body, .article-body p, .article-body h2, .article-body h3, .article-body h4, .article-body li {
    color: #E6F1FF !important;
}

.cyber-btn {
    background: transparent;
    color: var(--neon-accent);
    border: 1px solid var(--neon-accent);
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1) inset;
}

.cyber-btn:hover {
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3) inset, 0 0 10px var(--neon-accent);
}

.cyber-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.cyber-input:focus {
    border-color: var(--neon-accent);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 6, 8, 0.6);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.hide-header {
    transform: translateY(-100%);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-sub {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--text-main);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
}

.main-navigation a:hover {
    color: var(--neon-accent);
}

/* AI Ticker */
.ai-news-ticker {
    width: 100%;
    background: rgba(0, 242, 255, 0.05);
    border-bottom: 1px solid var(--glass-border);
    padding: 6px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-family: var(--font-body);
    margin-right: 3rem;
    color: var(--text-muted);
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background: var(--neon-accent);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: var(--neon-glow);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.glass-hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -2px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cyber-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(3);
    pointer-events: none;
    opacity: 0.3;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--neon-accent);
    top: 20%;
    left: 10%;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #6366f1;
    bottom: 10%;
    right: 15%;
}

/* ==========================================================================
   FEED & CARDS (ZERO-EXIT)
   ========================================================================== */
.ei-feed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
}

.section-heading-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    white-space: nowrap;
}

.cyber-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, var(--neon-accent), transparent);
    opacity: 0.5;
}

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

.floating-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.3);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-card:hover .post-thumb {
    transform: scale(1.05);
}

.fallback-neural-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0f1419, #1a222a);
    position: relative;
}

.fallback-neural-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(var(--neon-accent) 1px, transparent 1px);
    background-size: 20px 20px;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 6, 8, 0.9), transparent);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
}

.floating-card:hover .card-overlay {
    opacity: 1;
}

.read-more-btn {
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-card:hover .read-more-btn {
    transform: translateY(0);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.cat-tag {
    font-weight: 700;
    text-transform: uppercase;
}

.post-date {
    color: var(--text-muted);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card-title a:hover {
    color: var(--neon-accent);
}

.card-excerpt {
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* AJAX Loader */
.ajax-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    gap: 15px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--neon-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    padding: 6rem 2rem 2rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.col-title {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--neon-accent);
}

.site-info {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

/* ==========================================================================
   LEAD GEN POPUP
   ========================================================================== */
#ei-lead-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    padding: 2rem;
    z-index: 999;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(5, 6, 8, 0.85); /* Solidified overlay to fix bleeding */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 0 1px var(--neon-accent);
}

#ei-lead-popup.active {
    transform: translateY(0);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--text-main);
}

.popup-icon {
    width: 40px;
    height: 40px;
    color: var(--neon-accent);
    margin-bottom: 1rem;
}

#ei-lead-popup h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

#ei-lead-popup p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   STRICT AI ARTICLE FORMATTING & SINGLE VIEW OVERLAY
   ========================================================================== */
.single-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5,6,8,0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    overflow-y: auto;
    padding: 2rem;
}

.single-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    min-height: 100%;
}

.ai-strict-article {
    padding: 3rem;
    border-radius: 20px;
    position: relative;
}

.close-article-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.article-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 1rem 0;
}

.article-hero-image {
    width: 100%;
    aspect-ratio: 21/9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.article-hero-image .hero-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* n8n Dynamic Strict Formatting */
.ai-intro-lead {
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--neon-accent);
    padding-left: 1.5rem;
}

.ai-highlights-box {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(0, 242, 255, 0.03);
    border-color: rgba(0, 242, 255, 0.2);
}

.highlights-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.cyber-list {
    list-style: none;
    padding-left: 0;
}

.cyber-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cyber-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--neon-accent);
    border-radius: 50%;
    box-shadow: var(--neon-glow);
}

.cyber-h2, .cyber-h3 {
    margin: 3rem 0 1.5rem;
    color: var(--text-main);
}

.cyber-h2 span {
    font-weight: 400;
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* ==========================================================================
   EXTREME UI/UX INTERACTIVITY
   ========================================================================== */

/* Custom AI Cursor */
body {
    cursor: none; /* Hide default cursor */
}

a, button, input, .cyber-btn, .floating-card {
    cursor: none; /* Hide default on interactables */
}

/* Hide fallback native cursor */
::-webkit-slider-thumb {
    cursor: none;
}

.ei-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 6px;
    height: 6px;
    background: var(--neon-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s, height 0.2s;
    box-shadow: var(--neon-glow);
}

.ei-cursor-follower {
    position: fixed;
    top: 0; left: 0;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 242, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, border 0.3s;
}

.ei-cursor.cursor-hover {
    width: 12px;
    height: 12px;
}

.ei-cursor-follower.cursor-hover {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--neon-accent);
    box-shadow: inset 0 0 10px rgba(0, 242, 255, 0.2);
}

/* 3D Tilt Parent Perspective */
.post-grid {
    perspective: 1000px;
}

/* Ensure images don't overflow during magnetic pull/tilt */
.floating-card {
    will-change: transform;
    transform-style: preserve-3d;
}

/* Glitch Link Override */
.main-navigation a {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-accent);
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
    transform: scaleX(0);
    transform-origin: right;
}

.main-navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Section Title Decryption Scramble Lock */
.scramble-text {
    display: inline-block;
    min-width: 1px; /* Prevents layout collapse */
}

/* Generative State Machine */
.ai-section-node {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease, color 0.4s ease, background 0.4s ease, border 0.4s ease, padding 0.4s ease, margin 0.4s ease, box-shadow 0.4s ease;
}

.ai-state-active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    color: #E6F1FF !important;
    background: linear-gradient(90deg, rgba(0,242,255,0.08) 0%, transparent 60%);
    border-left: 2px solid var(--neon-accent);
    padding-left: 1rem;
    margin-left: -1rem;
    border-radius: 0 4px 4px 0;
    box-shadow: -10px 0 15px -10px rgba(0, 242, 255, 0.5);
}

.ai-state-completed {
    opacity: 1 !important;
    transform: translateY(0);
    filter: blur(0.5px);
    color: #64748B !important;
    background: transparent;
    border-left: 2px solid transparent;
    padding-left: 0;
    margin-left: 0;
    box-shadow: none;
}
.ai-caret {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background-color: var(--neon-accent);
    vertical-align: text-bottom;
    animation: ei-blink 0.8s step-end infinite;
    margin-left: 3px;
    box-shadow: var(--neon-glow);
}
@keyframes ei-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ==========================================================================
   FOXIZ LAYOUT & NEW UI COMPONENTS
   ========================================================================== */
.foxiz-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 3rem;
}
.sidebar-sticky-wrapper {
    position: sticky;
    top: 100px;
}
.foxiz-hero-grid {
    height: auto;
    min-height: 80vh;
    padding-top: 100px;
    align-items: center;
    display: flex;
}

/* Expandable FAB Share Component */
.ei-floating-share.fab-container {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: transparent;
    border: none;
    backdrop-filter: none;
}

.fab-container.fab-hidden {
    transform: translateY(150px) !important;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    z-index: 10;
    position: relative;
    background: rgba(5,6,8,0.9);
    backdrop-filter: blur(20px);
}

.fab-main .icon-close { display: none; }
.fab-container.expanded .fab-main .icon-share { display: none; }
.fab-container.expanded .fab-main .icon-close { display: block; }

.fab-networks {
    position: absolute;
    bottom: 75px;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.8);
    transform-origin: bottom center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-container.expanded .fab-networks {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.share-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-main);
    background: rgba(5,6,8,0.9);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--neon-accent);
    color: #000;
    box-shadow: var(--neon-glow);
    transform: scale(1.1);
}

.auto-link {
    text-decoration-color: var(--neon-accent);
    text-underline-offset: 4px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .foxiz-layout {
        grid-template-columns: 1fr;
    }
    .hero-grid-wrapper {
        grid-template-columns: 1fr !important;
    }
    .side-featured {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none; /* Add hamburger logic in JS if needed */
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .side-featured {
        flex-direction: column !important;
    }
    
    .site-main {
        padding-top: 100px;
    }
    
    #ei-lead-popup {
        bottom: 0;
        right: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
        border-bottom: none;
    }
}
