/* ==================== CSS VARIABLES ==================== */
:root {
    /* Existing neons */
    --neon-blue: #00d4ff;
    --neon-purple: #bf00ff;
    --neon-white: #ffffff;
    --neon-chartreuse: #7fff00;
    --neon-crimson: #dc143c;
    --neon-pink: #ff1493;
    --neon-lime: #32cd32;
    --neon-red: #ff0044;
    --neon-violet: #8b5cf6;
    
    /* NEW NEON COLORS */
    --neon-orange: #ff6600;
    --neon-yellow: #ffff00;
    --neon-cyan: #00ffff;
    --neon-magenta: #ff00ff;
    --neon-green: #00ff41;
    --neon-amber: #ffbf00;
    --neon-teal: #00ffcc;
    --neon-coral: #ff7f50;
    --neon-lavender: #e6e6fa;
    --neon-mint: #98ff98;
    --neon-gold: #ffd700;
    --neon-silver: #c0c0c0;
    --neon-rose: #ff66b2;
    --neon-turquoise: #40e0d0;
    --neon-indigo: #4b0082;
    --neon-scarlet: #ff2400;
    --neon-emerald: #50c878;
    --neon-sapphire: #0f52ba;
    --neon-ruby: #e0115f;
    --neon-periwinkle: #ccccff;
    
    /* REGULAR COLORS */
    --black: #000000;
    --dark-gray: #1a1a1a;
    --charcoal: #36454f;
    --slate: #708090;
    --steel: #71797e;
    --mid-gray: #808080;
    --silver: #c0c0c0;
    --light-gray: #d3d3d3;
    --off-white: #f5f5f5;
    --cream: #fffdd0;
    --ivory: #fffff0;
    --navy: #000080;
    --midnight: #191970;
    --forest: #228b22;
    --blood: #8a0303;
    --wine: #722f37;
    --chocolate: #d2691e;
    --coffee: #6f4e37;
    --sand: #c2b280;
    --tan: #d2b48c;
    
    /* Existing utility */
    --text-dim: #888888;
    --surface: #333333;
    --glass-bg: rgba(0, 0, 0, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

img {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none; /* optional: blocks ALL interaction */
}


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

body, html {
    height: 100%;
    overflow: hidden;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
}

/* ==================== CONTAINER ==================== */
.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* ==================== SIDE COLUMNS - DESKTOP ==================== */
.side-column {
    position: fixed;
    top: 0;
    width: 20%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    color: white;
}

.left-column {
    left: 0;
}

.right-column {
    right: 0;
}

/* Background images for side columns */
.side-column .background-image {
    position: fixed;
    top: 0;
    width: 20%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.left-column .background-image {
    left: 0;
}

.right-column .background-image {
    right: 0;
}

/* Side content */
.side-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

/* Side item styling */
.side-item {
    padding: 0.3rem;
    margin-bottom: 0.3rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
}

.side-item strong {
    font-family: 'Qwitcher Grypen', 'Arial', sans-serif;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.1rem;
}

/* Neon border links */
.neon-border {
    display: block;
    background: #000;
    border-radius: 8px;
    margin-top: 0;
    border: 0.2px solid;
    position: relative;
    text-align: center;
    text-decoration: none;
}

.neon-border img {
    width: 100%;
    height: 77px;
    object-fit: contain;
    display: block;
    border: none;
}

/* Label backgrounds */
.label-bg {
    display: block;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.1rem 0.2rem;
    border-radius: 2px;
    margin-bottom: 0.1rem;
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--surface);
    border-radius: 2px;
    overflow: hidden;
    margin: 0.2rem 0;
}

.progress-bar > div {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-white), var(--neon-white));
    box-shadow: 0 0 6px var(--neon-white);
}

/* Call button styling */
.call-button {
    display: inline-block;
    padding: 0;
    line-height: 0;
    border-radius: 10px;
    background-color: transparent; /* remove solid background */
     /* Remove this: box-shadow: 0 0 15px var(--neon-crimson); */
    border: 2px solid var(--neon-crimson); /* solid neon border instead */
    box-shadow: 0 0 8px var(--neon-crimson), 0 0 20px var(--neon-crimson); /* outer glow only */
    text-decoration: none;
}

.call-button img {
    display: block;
    width: auto;
    height: auto;
    border-radius: 10px;
    margin: 0;
    padding: 0;
    border: none;
}

/* ==================== MAIN COLUMN - DESKTOP ==================== */
.main-column {
    position: fixed;
    top: 0;
    left: 20%;
    width: 60%;
    height: 100vh;
    overflow: hidden;
    color: white;
}

.main-column .background-image {
    position: fixed;
    top: 0;
    left: 20%;
    width: 60%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

/* Overlay */
.overlay {
    position: relative;
    width: 90%;
    height: 94vh;
    margin: 3vh auto;
    background-color: rgba(0, 0, 0, 0.77);
    border-radius: 70px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    overflow: hidden;
}

/* Header */
.overlay .header {
    text-align: center;
    font-size: 2em;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 1px 1px 0 0;
    flex-shrink: 0;
}

.overlay .navbar {
    display: flex;
    justify-content: center;
    gap: 1px;
    padding: 1px;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #333;
    flex-shrink: 0;
    font-family: 'Qwitcher Grypen', sans-serif;
}

.overlay .navbar a {
    color: #ff00ff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: color 0.3s, background-color 0.3s;
    font-family: 'Qwitcher Grypen', sans-serif;
    font-size: 38px;
}

.overlay .navbar a:hover {
    color: #00ffff;
    background-color: transparent;
}

/* Scroll content */
.scroll-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Custom scrollbar - neon pink, shorter thumb */
.scroll-content::-webkit-scrollbar {
    width: 4px; /* keep the width you liked */
}

.scroll-content::-webkit-scrollbar-track {
    background: #0d0d0d;
    border-radius: 2px;
}

.scroll-content::-webkit-scrollbar-thumb {
    background: var(--neon-pink, #ff69b4);
    border-radius: 2px;
    min-height: 20px; /* minimum thumb length — makes it shorter */
    box-shadow: 0 0 10px var(--neon-pink, #ff69b4), 
                0 0 20px var(--neon-pink, #ff69b4);
}

.scroll-content::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink, #ff69b4);
    box-shadow: 0 0 15px var(--neon-pink, #ff69b4), 
                0 0 30px var(--neon-pink, #ff69b4);
}

.scroll-content::-webkit-scrollbar-button {
    display: none; /* removes the arrow buttons at top/bottom */
    height: 0;
}

/* Firefox support */
.scroll-content {
    scrollbar-width: thin;
    scrollbar-color: var(--neon-pink, #ff69b4) #0d0d0d;
}

.scroll-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.scroll-content::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 3px;
}

.scroll-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.5);
}

/* ==================== BLOG/POST STYLES ==================== */
.section-title {
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 0 10px var(--neon-blue);
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.post-item:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transform: translateX(5px);
}

.post-item .title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.post-item .date {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: monospace;
}

.post-item.locked {
    border-color: rgba(255, 0, 85, 0.3);
}

.locked-badge {
    font-size: 0.7rem;
    color: var(--neon-pink);
    background: rgba(255, 0, 85, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--neon-pink);
}

.hidden-post {
    display: none;
}

.show-more-posts {
    text-align: center;
    padding: 12px;
    margin: 1rem 0 2rem 0;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: rgba(0, 212, 255, 0.05);
}

.show-more-posts:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* ==================== DASHBOARD MODULES ==================== */
.dashboard-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-module {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box;
}

/* Wide module variant */
.module-wide {
    width: 100%;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.module-title {
    color: var(--neon-blue);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.module-status {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status-active {
    background: rgba(0, 212, 255, 0.15);
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
}

.status-standby {
    background: rgba(255, 20, 147, 0.15);
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
}

.neural-viz {
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* Ensure canvas fills container */
.neural-viz canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-label {
    color: var(--text-dim);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.metric-value {
    color: var(--neon-blue);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: monospace;
}

.progress-container {
    width: 100%;
    margin-top: 0.5rem;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Terminal */
.terminal-window {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
}

.terminal-line {
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.terminal-prompt {
    color: var(--neon-pink);
    margin-right: 0.5rem;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background: var(--neon-chartreuse);
    margin-left: 0.25rem;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ==================== AGE VERIFICATION ==================== */
#age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

#age-overlay.show {
    display: flex;
}

.age-box {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #ff1493;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 40px rgba(255, 20, 147, 0.3);
    text-align: center;
    color: #fff;
}

.age-box h1 {
    color: #ff1493;
    font-size: 28px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.age-box .sub {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
}

.age-box .warn {
    background: rgba(255, 20, 147, 0.1);
    border-left: 3px solid #ff1493;
    padding: 15px;
    margin-bottom: 25px;
    text-align: left;
    font-size: 13px;
    color: #ccc;
    line-height: 1.6;
}

.age-box input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #0a0a0a;
    border: 2px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    text-align: center;
}

.age-box input:focus {
    outline: none;
    border-color: #ff1493;
}

.age-box .terms {
    text-align: left;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid #333;
}

.age-box .terms label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 12px;
    color: #aaa;
    line-height: 1.5;
}

.age-box .terms input {
    margin-right: 10px;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #ff1493;
}

.age-box button.enter {
    width: 100%;
    padding: 15px;
    background: linear-gradient(145deg, #ff1493, #ff0066);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}

.age-box button.exit {
    margin-top: 15px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #444;
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

.age-box .err {
    color: #ff4444;
    font-size: 13px;
    margin-top: 15px;
    display: none;
}

.age-box .err.show {
    display: block;
}

/* ==================== FOOTER ==================== */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid var(--neon-blue);
    padding: 10px 20px;
    text-align: center;
    z-index: 100;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.footer-meta {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.neon-text {
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
}

#session-timer {
    color: var(--neon-chartreuse);
    font-weight: bold;
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .side-column {
        width: 15%;
    }
    
    .side-column .background-image {
        width: 15%;
    }
    
    .side-content {
        width: 90%;
    }
    
    .main-column {
        left: 15%;
        width: 70%;
    }
    
    .main-column .background-image {
        left: 15%;
        width: 70%;
    }
    
    .neon-border img {
        height: 60px;
    }
    
    .overlay .navbar a {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    body, html {
        overflow: auto;
        height: auto;
    }
    
    .container {
        flex-direction: column;
        height: auto;
    }
    
    /* Side columns become horizontal banners */
    .side-column {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 20px 0;
    }
    
    .side-column .background-image {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
    
    .left-column, .right-column {
        left: auto;
        right: auto;
    }
    
    .side-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 95%;
        margin: 0 auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .side-item {
        flex: 1 1 250px;
        max-width: 300px;
        margin-bottom: 0;
    }
    
    /* Main column becomes normal flow */
    .main-column {
        position: relative;
        left: auto;
        width: 100%;
        height: auto;
        min-height: 100vh;
    }
    
    .main-column .background-image {
        position: fixed;
        left: 0;
        width: 100%;
        height: 100vh;
    }
    
    .overlay {
        height: auto;
        min-height: 100vh;
        margin: 0;
        width: 100%;
        border-radius: 0;
    }
    
    .scroll-content {
        overflow-y: visible;
    }
    
    /* Navbar stacks */
    .overlay .navbar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }
    
    .overlay .navbar a {
        font-size: 20px;
        padding: 6px 12px;
    }
    
    /* Footer not fixed */
    .site-footer {
        position: relative;
    }
    
    /* Age verification smaller */
    .age-box {
        padding: 20px;
        max-width: 95%;
    }
    
    .age-box h1 {
        font-size: 20px;
    }
    
    /* Post items stack */
    .post-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .post-item .date {
        align-self: flex-end;
    }


    /* Neural visualization - MOBILE */
    .neural-viz {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .neural-viz {
        height: 80px;
    }

    .overlay .header {
        font-size: 1.5em;
    }
    
    .overlay .navbar a {
        font-size: 18px;
    }
    
    .side-item strong {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .site-footer {
        font-size: 0.65rem;
    }
}