/* ================================
   CSS VARIABLES & RESET
   ================================ */

:root {
    /* Cyber-noir color palette */
    --color-bg: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-surface: #1a1a28;
    --color-primary: #00ffcc;
    --color-secondary: #ff006e;
    --color-accent: #7b2cbf;
    --color-text: #e0e0e8;
    --color-text-dim: #e2e2ed;
    --color-glow: rgba(0, 255, 204, 0.5);
    --font-heading: 'Orbitron', sans-serif;
    --accent-purple: #bc13fe;

    
    /* Typography */
    --font-display: 'Orbitron', monospace;
    --font-body: 'Rajdhani', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    cursor: none;
}

/* ================================
   CUSTOM CURSOR
   ================================ */
/* .cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    box-shadow: 0 0 20px var(--color-glow);
    transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
    transform: translate3d(0, 0, 0); 
    will-change: transform; 
}*/

.cursor-glow {
    position: fixed;
    pointer-events: none;
    width: 20px;
    height: 20px;
    background: rgba(0, 255, 204, 0.1); /* Very faint center fill */
    border-radius: 50%;
    z-index: 9999;
    /* This creates the heavy neon glow */
    box-shadow: 0 0 15px 2px rgba(0, 255, 204, 0.5), 
                0 0 30px 5px rgba(0, 255, 204, 0.2);
    /* Transition only for size/opacity changes (like hovering) */
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

/* The sharp center dot */
.cursor-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #00ffcc; /* Solid neon center */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px #fff; /* Makes the dot look like it's "burning" */
}


/* body:hover .cursor-glow {
    opacity: 1;
} */
 .cursor-glow.hover {
    width: 45px;
    height: 45px;
    background: rgba(0, 255, 204, 0.15);
    box-shadow: 0 0 25px 5px rgba(0, 255, 204, 0.6), 
                0 0 50px 10px rgba(0, 255, 204, 0.3);
}

/* Creates the invisible sensor wire around the ad */
.ad-card, .ad-hero, .ad-news-banner {
    padding: 4px !important; 
    box-sizing: border-box;
    position: relative;
    cursor: auto !important;
}

/* ================================
   BACKGROUND CANVAS
   ================================ */

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    /* display: flex;
    align-items: center;
    gap: 0.75rem; */
    cursor: pointer;
        font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo span {
    color: var(--accent-blue);
    font-size: 0.8rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}


/* ================================
   HERO SECTION
   ================================ */

.hero-section {
    min-height: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--color-glow) 0%, transparent 70%);
    opacity: 0.1;
    animation: breathe 8s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1200px;
}


/* The Feedback Animation */


/* Ensure the hero is allowed to move */
/* Ensure the hero section is capable of moving */
#countdown {
    position: relative !important;
    will-change: transform, filter !important;
}

@keyframes systemPulse {
    0% { 
        transform: scale(1) translateX(0); 
        filter: brightness(1) contrast(1); 
    }
    15% { 
        transform: scale(1.02) translateX(-5px); 
        filter: brightness(2) contrast(1.2); 
        box-shadow: 0 0 30px rgba(188, 19, 254, 0.4);
    }
    30% { 
        transform: scale(1) translateX(5px); 
        filter: brightness(2.5); 
    }
    50% { 
        transform: translateX(-3px); 
    }
    100% { 
        transform: scale(1) translateX(0); 
        filter: brightness(1) contrast(1); 
        box-shadow: none;
    }
}











.main-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.title-line {
    display: block;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.4s;
}

.title-line:nth-child(2) {
    animation-delay: 0.6s;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-text-dim);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 5vh;
    /* margin-bottom: var(--spacing-md); */
    margin-bottom: 1vh;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

/* ================================
   COUNTDOWN TIMER
   ================================ */

.countdown-container {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
    flex-wrap: wrap;
    
    /* REMOVE the animation line entirely */
    /* animation: fadeInUp 1s ease forwards; */

    /* SET initial state for the 'entry' effect */
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;

    /* Transition handles both the entry AND the scroll-fade */
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.8s;
}

/* New class to handle the initial fade-in on load */
.countdown-container.loaded {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* .countdown-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-30px) !important;
} */

/* This MUST come after .loaded in your CSS file OR use !important */
/* We also target it specifically to ensure it overrides the loaded state */
.countdown-container.countdown-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-30px) !important;
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s !important;
}

.countdown-box {
    background: var(--color-surface);
    border: 2px solid rgba(0, 255, 204, 0.3);
    padding: var(--spacing-md) var(--spacing-sm);
    padding-top: 2vh;
    padding-bottom: 2vh;
    min-width: 120px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    animation: scan 3s linear infinite;
}

.countdown-box:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px var(--color-glow);
}

.countdown-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    text-shadow: 0 0 20px var(--color-glow);
}

.countdown-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
    margin-top: var(--spacing-xs);
    text-transform: uppercase;
}

/* .target-date {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
    color: var(--color-text);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
    opacity: 0;
} */
.target-date {
    /* Forces the element to take 100% width of the flex container */
    flex-basis: 100%; 
    
    /* Centers the text regardless of the flex layout */
    text-align: center; 
    
    /* Optional: adds a bit of space between the timer and the date */
    margin-top: var(--spacing-sm); 
    
    /* Ensure it inherits the clean neon color */
    color: var(--color-primary);
    font-size: 1.2rem;
    opacity: 0.8;
}
.date-label {
    color: var(--color-text-dim);
    margin-right: var(--spacing-xs);
}

.date-value {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
}

/* ================================
   SECTIONS
   ================================ */

   .mission-statement {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(0, 255, 204, 0.1);
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
    margin: 40px 0;
}
.mission-statement p, 
.timeline-content p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.mission-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-text h2 {
    color: #ff006e;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.mission-text p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.mission-method {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 204, 0.3);
}
/* Brighter Mission Text */
.mission-text p {
    color: #f0f0f0 !important; /* Near-white for maximum readability */
    font-weight: 400;
}

.mission-text strong {
    color: #00ffcc; /* Keep the neon for emphasis */
}
.pillar-list {
    list-style: none;
    padding: 0;
}

/* Brighter Methodology Boxes */
.pillar-list li {
    color: #ffffff !important; /* Pure white for small mobile text */
}

.pillar-list li strong {
    color: #00ffcc;
    font-size: 1.1rem;
    margin-bottom: 4px;
}


/* --- ANALYSIS PAGE: CYBER-DOSSIER STYLES --- */
.analysis-body {
    background: #050505;
}

.analysis-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(0, 255, 204, 0.15);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    position: relative;
    font-family: 'Inter', sans-serif;
}

.analysis-container::before {
    content: "";
    position: absolute;
    top: -2px; left: -2px;
    width: 30px; height: 30px;
    border-top: 3px solid #00ffcc;
    border-left: 3px solid #00ffcc;
}

.analysis-header {
    margin-bottom: 50px;
    border-left: 4px solid #bc13fe;
    padding-left: 25px;
    position: relative;
}

.analysis-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    background: linear-gradient(90deg, #fff, #bc13fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.metadata-bar {
    font-family: 'Rajdhani', sans-serif;
    color: #00ffcc;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.data-block {
    background: rgba(188, 19, 254, 0.03);
    border: 1px solid rgba(188, 19, 254, 0.08);
    padding: 35px;
    margin: 40px 0;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.data-block h2 {
    font-family: 'Orbitron', sans-serif;
    color: #bc13fe;
    margin-top: 0;
    font-size: 1.2rem;
}

.data-block p {
    color: #b0b0b0;
    font-size: 1.05rem;
    line-height: 1.8;
}

.analysis-container strong {
    color: #00ffcc;
}

.back-link-container {
    text-align: center;
    margin-top: 60px;
}

.back-link {
    font-family: 'Orbitron', sans-serif;
    color: #00ffcc;
    text-decoration: none;
    border: 1px solid #00ffcc;
    padding: 12px 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.back-link:hover {
    background: #00ffcc;
    color: #000;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
}

.faq-item h3 {
    color: #00ffcc;
    font-size: 1.1rem;
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.faq-item p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
}

/* --- HOVER FIX: PREVENT TEXT DISAPPEARING --- */

/* Reset any accidental transparency on hover */
.data-block, .faq-item, section {
    opacity: 1 !important;
    visibility: visible !important;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Explicitly define the hover state so it doesn't "guess" */
.data-block:hover {
    background: rgba(188, 19, 254, 0.08); /* Subtle purple glow */
    border-color: #bc13fe;
    transform: translateY(-3px); /* Slight lift for engagement */
}

/* Ensure all text inside stays bright on hover */
.data-block:hover h2, 
.data-block:hover p, 
.data-block:hover li,
.faq-item:hover h3,
.faq-item:hover p {
    opacity: 1 !important;
    visibility: visible !important;
    color: #e0e0e0 !important; /* Forces light gray text */
}

/* Specifically keep headers bright purple/neon */
.data-block:hover h2 {
    color: #bc13fe !important;
}




/* --- CURSOR VISIBILITY FIX --- */

/* Force cursor on content blocks */
.data-block, .faq-item, .analysis-container, section {
    cursor: default !important;
}

/* Maintain hand icon for interactivity */
.data-block:hover, .faq-item:hover, a:hover {
    cursor: pointer !important;
}

/* Safety for html/body only */
html, body {
    cursor: auto !important;
}

/* REMOVED the wildcard pointer-events rule that was blocking links */







@media (max-width: 768px) {
    
    .mission-grid { grid-template-columns: 1fr; }
}


.analysis-header {
    margin-bottom: 50px;
    border-left: 4px solid #bc13fe;
    padding-left: 25px;
    position: relative;
}

.analysis-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    background: linear-gradient(90deg, #fff, #bc13fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    padding: 0;
    letter-spacing: 0px;
    text-transform: uppercase;
}
.metadata-bar {
    font-family: 'Rajdhani', sans-serif;
    color: #00ffcc;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}






.breakthrough-feed {
    padding: 60px 0;
}

.section-title {
    color: #00ffcc;
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.8rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(0, 255, 204, 0.2);
    top: 0; bottom: 0; left: 20px;
}

.timeline-item {
    padding: 20px 0 20px 50px;
    position: relative;
    text-decoration: none !important;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ff006e;
    border-radius: 50%;
    left: 15px;
    top: 28px;
    z-index: 1;
    box-shadow: 0 0 10px #ff006e;
}

.timeline-content h3 {
    color: #00ffcc !important; /* Use your primary brand color for headlines */
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.3); /* Subtle glow to help it pop */
}

.timeline-content p {
    color: #e0e0e0 !important; /* Bright grey/white */
    line-height: 1.6;
}

.timeline-date {
    color: #ff006e !important; /* Bright pink for the date */
    font-weight: bold;
    letter-spacing: 1px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}
 .mod {
    padding-top: 0;
    padding-bottom: 20;
 }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.05em;
    color: var(--color-text);
}

.title-accent {
    color: var(--color-primary);
    margin-right: var(--spacing-sm);
}

/* ================================
   METHODOLOGY SECTION
   ================================ */

/* .methodology-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);

    position: relative;
     overflow: hidden;
}
.methodology-grid::after {
    content: none;
    display: none;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: 0;
} */
.methodology-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.methodology-grid {
    display: grid;
    /* Forces columns to have at least a minimum width so ads don't collapse to 0 */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: 0;
    align-items: start; /* Prevents ads from stretching vertically in weird ways */
}

/* Add this to target the ad units specifically within the grid */
.methodology-grid .adsbygoogle {
    display: block !important;
    width: 100% !important;
    max-height: 250px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02); /* Subtle placeholder look while loading */
}

.method-card {
    background: var(--color-surface);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    cursor: pointer
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.method-card:hover::before {
    transform: translateX(0);
}

.method-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 60px rgba(0, 255, 204, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    filter: grayscale(20%);
}

.method-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.method-card p {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

.method-card.ad-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background: rgba(255, 255, 255, 0.02);
    border-style: dashed;
    padding: 0px;
}

.method-card.ad-card::before {
    content: '' !important;
    background: none !important;
}

.method-card.ad-card.ad-placeholder-visible::before {
    content: 'Ad Space (AdSense Pending Approval)' !important;
    background: none !important;
}

.method-card.ad-card .ad-label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-xs);
}

.method-card.ad-card .ad-content {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text-dim);
    opacity: 0.5;
    display: block;
    min-width: 250px; /* Gives AdSense a minimum width to detect */
    min-height: 90px; /* Gives AdSense a minimum height to detect */
    width: 100%;
    overflow: hidden;
}

.method-card.ad-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(0, 255, 204, 0.2) !important;
}

.method-card.ad-card {
    pointer-events: auto;
}

.method-card.ad-card:hover::before {
    transform: translateX(-100%) !important;
}

.method-card.ad-card.ad-placeholder-visible::before {
    transform: translate(-50%, -50%) !important;
}

/* 
.methodology-grid ins.adsbygoogle > iframe[style*="transparent"] {
    max-height: 250px;
}

.methodology-grid > ins.adsbygoogle:nth-child(n+7) {
    display: none !important;
} */
.methodology-grid ins.adsbygoogle {
    display: block !important;
    max-height: 250px;
    overflow: hidden; /* Ensures the ad doesn't 'bleed' out of the box */
}
/* ================================
   NEWS SECTION
   ================================ */

.news-section {
    background: var(--color-bg);
    padding-bottom: var(--spacing-md);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card-link:hover .news-headline {
    color: var(--color-primary);
}



.news-card {
    background: var(--color-surface);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    cursor: pointer
    position: relative;
    overflow: hidden;
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-primary);
    transition: height 0.3s ease;
}

.news-card:hover::after {
    height: 100%;
}

.news-card:hover {
    transform: translateX(10px);
    border-color: var(--color-primary);
    box-shadow: -10px 10px 40px rgba(0, 255, 204, 0.15);
}

.news-archive-zone {
    grid-column: 1 / -1; /* Makes the archive header span the whole width */
    margin-top: 40px;
}

.archive-header {
    font-family: 'Courier New', monospace;
    color: #bc13fe;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.archive-scroll-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-height: 500px; /* Adjust height as needed */
    overflow-y: auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2); /* Subtle contrast to show it's a scroll area */
    border: 1px solid #222;
}

/* Custom Scrollbar for the 'System' Look */
.archive-scroll-track::-webkit-scrollbar {
    width: 6px;
}
.archive-scroll-track::-webkit-scrollbar-thumb {
    background: #bc13fe;
    border-radius: 10px;
}
.archive-scroll-track::-webkit-scrollbar-track {
    background: #111;
}

.system-btn {
    background: transparent;
    color: #bc13fe; /* Your purple accent */
    border: 1px solid #bc13fe;
    padding: 12px 30px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.system-btn:hover {
    background: #bc13fe;
    color: #fff;
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.4);
}


.news-date {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.1em;
}

.news-headline {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    font-weight: 700;
}

.news-excerpt {
    color: var(--color-text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.news-impact {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.impact-label {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.impact-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.impact-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 3px;
    animation: fillBar 1.5s ease forwards;
}

/* ================================
   STATISTICS SECTION
   ================================ */

.stats-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
    /* padding: var(--spacing-xl) 0; */
    padding: 0 0 15px 0;
}
/* .stats-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
    padding: var(--spacing-md) 0 var(--spacing-xl) 0;
} */




.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 12px;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer
}

.stat-card:hover {
    transform: scale(1.05);
    border-color: var(--color-primary);
    box-shadow: 0 20px 60px rgba(0, 255, 204, 0.2);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 30px var(--color-glow);
}

.stat-label {
    color: var(--color-text-dim);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ================================
   AD PLACEHOLDERS
   ================================ */

.ad-placeholder {
    margin: var(--spacing-lg) auto;
    border: 2px dashed rgba(0, 255, 204, 0.3);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    transition: all 0.3s ease;
    display: block;
    min-width: 250px; /* Gives AdSense a minimum width to detect */
    min-height: 90px; /* Gives AdSense a minimum height to detect */
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.ad-placeholder:hover {
    border-color: var(--color-primary);
    background: rgba(0, 255, 204, 0.05);
}

.ad-label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-xs);
}

.ad-content {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text-dim);
    opacity: 0.5;
}

.ad-hero {
    max-width: 728px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: var(--spacing-md) auto;
    margin-top: -15px;
}


.ad-placeholder-visible {
    background: rgba(0, 255, 204, 0.05);
    border: 1px dashed rgba(0, 255, 204, 0.2);
    border-radius: 8px;
    position: relative;
}

.ad-placeholder-visible::before {
    content: 'Ad Space (AdSense Pending Approval)';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    color: var(--color-text-dim);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}


.ad-section {
    max-width: 728px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ad-news-banner {
    max-width: 728px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: var(--spacing-lg) auto var(--spacing-sm) auto;
}

.ad-hero, .ad-news-banner {
    display: block;
    width: 100%;       /* Force it to take up the full width of the parent */
    min-height: 90px;  /* Give it a 'floor' so it isn't 0px tall */
}

.ad-footer {
    max-width: 728px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ================================
   FOOTER
   ================================ */

footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(0, 255, 204, 0.2);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    font-family: var(--font-display);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.footer-section p {
    color: var(--color-text-dim);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-dim);
    font-size: 0.85rem;
}



/* .main-footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(0, 255, 204, 0.1);
    background: var(--color-bg-secondary);
    text-align: center;
} */

.footer-nav {
    display: flex;
    gap: 15px;
    align-items: space-around;
    justify-content: center;
    margin-bottom: var(--spacing-md);
      font-size: 0.85rem;

}
  

.footer-nav a {
    color: #dc86f6 !important; /* High-contrast off-white */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    opacity: 0.9; /* Slightly soft so it's not piercing */
}

/* Hover state to match your theme */
.footer-nav a:hover {
    color: #00ffcc !important; /* Your primary neon color */
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
    opacity: 1;
}

/* Brighten the dividers (|) as well */
.footer-divider {
    color: #666; /* Keep dividers subtle but visible */
    margin: 0 10px;
}


/* ================================
   ANIMATIONS
   ================================ */

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes breathe {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.15;
    }
}

@keyframes scan {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

@keyframes fillBar {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    .cursor-glow {
        display: none;
    }
    
    nav {
        flex-direction: column;
        /* gap: var(--spacing-sm); */
        padding: var(--spacing-sm);
    }

       .nav-links {
        gap: var(--spacing-sm);
        flex-wrap: wrap;
        justify-content: center;
    }

        header nav{
       display: flex;
               flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* padding: .5rem 3rem; */
    max-width: 768px;
    margin: 0 auto;
    }

    
 
    .nav-links a {
       /* margin: 0; */
       font-size: 0.8rem;
       /* color: #0a0a0f; */
    }    


    .countdown-container {
        gap: var(--spacing-sm);
    }
    
    .countdown-box {
        min-width: 80px;
        padding: var(--spacing-sm);
    }
    
    .methodology-grid,
    .news-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .container {
        padding: var(--spacing-md) var(--spacing-sm);
    }
}



/* ================================
// --- 5. COMMUNITY PREDICTION CHART ---
// ================================ */





.subscribe-btn {
    background: transparent;
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    cursor: pointer
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.4);
}


.chart-wrapper {
    width: 100%;
    height: 350px; /* Adjust this number as needed */
    position: relative;
}

.prediction-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
}

.slider-wrapper {
    flex: 1;
    min-width: 300px;
}

.chart-wrapper {
    flex: 2;
    min-width: 300px;
    height: 300px;
}

.futuristic-slider {
    width: 100%;
    margin: 2rem 0;
    accent-color: var(--accent-blue);
    cursor: pointer
}

.slider-val {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

/* Targets the specific text: "Move the slider to your predicted AGI year:" */
.slider-wrapper label {
    display: block;        /* Ensures it sits on its own line above the slider */
    font-size: 1.9rem;     /* Change this to make it bigger or smaller */
    color: var(--text-muted); /* Uses the greyish color, or use #ffffff for white */
    margin-bottom: 15px;   /* Adds space between the text and the slider bar */
    font-weight: 900;      /* Use 700 if you want it bold */
    font-family: var(--font-body); /* Uses the 'Space Mono' font */
}
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.toast {
    background: rgba(10, 10, 15, 0.95);
    color: #00f3ff;
    padding: 15px 25px;
    border-left: 4px solid #00f3ff;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    margin-top: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Success and Error variants */
.toast.success { border-color: #00f3ff; }
.toast.error { border-color: #ff3366; color: #ff3366; }

.join-link {
    text-decoration: none;
}

#joinNetworkBtn {
    background: transparent;
    border: 1px solid #00f3ff;
    color: #00f3ff;
    padding: 12px 30px;
    font-family: var(--font-heading);
    cursor: pointer
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

#joinNetworkBtn:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4), inset 0 0 10px rgba(0, 243, 255, 0.2);
    transform: scale(1.05);
}

.network-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0px;
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #888890;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #39ff14; /* Neon Green */
    border-radius: 50%;
    box-shadow: 0 0 10px #39ff14;
    animation: pulse 2s infinite;
}

.cta-container {
    background: rgba(0, 243, 255, 0.03);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
}


.network-badge {
    display: inline-block;
    background: #ff3366;
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.cta-container h3 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 10px;
}

.cta-container p {
    color: #888890;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

@keyframes pulse {
    0% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.4; transform: scale(1); }
}

/* Base container for all ads */
.ad-hero, .ad-news-banner {
    display: block !important;
    margin: 20px auto;
    overflow: hidden;
    width: 100%;
    min-height: 250px; /* Start with a square height to be safe */
}

.adjusted {
    margin-top: 95px;
    margin-bottom: 0px;
}


/* Desktop: Switch to a thinner banner look */
@media (min-width: 768px) {
    .ad-hero, .ad-news-banner {
        min-height: 90px;
        max-height: 120px;
    }
}

/* Ensure the Google tag inside doesn't collapse */
ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    min-width: 100%; /* This is the secret to stopping 'Width=0' */
}



@media (max-width: 600px) {

    a {
       margin: 0 0 0 0;
       font-size: 0.1rem;
       color: #0a0a0f;
    }

    h1 { font-size: 1.8rem; letter-spacing: 2px; }
    .timer-display { gap: 0.5rem; }
    .time-box span { font-size: 1.8rem; }
    .time-box label { font-size: 0.6rem; }
    .prediction-container { flex-direction: column; padding: 1rem; }
    .chart-wrapper { height: 200px; }
    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px; /* Adds space between links */
        padding: 0 20px;
    }

    .footer-divider {
        display: none; /* Hide the vertical lines on mobile for a cleaner look */
    }

    .footer-nav a {
        font-size: 1rem; /* Slightly larger for easier tapping */
        padding: 5px 10px;
        background: rgba(255, 255, 255, 0.05); /* Subtle button-like feel */
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .countdown-box {
        min-width: 70px;
        padding: var(--spacing-xs);
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }

        .footer-divider {
        display: none;
    }
}
