/* ============================================
   Y2K WEBLOG STYLESHEET
   Customize background patterns in the marked sections
   ============================================ */

:root {
    /* Main Color Scheme - Customize these */
    --Web-orange: #ffaa01;
    --neon-pink: #ff00ff;
    --neon-green: #00ff00;
    --deep-blue: #0a0e27;
    --dark-purple: #1a0033;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.18);
    --accent-glow: #00f0ff;
    
    /* Typography */
    --font-display: 'Orbitron', monospace;
    --font-pixel: 'Press Start 2P', cursive;
    --font-mono: 'VT323', monospace;
}

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

body {
    font-family: var(--font-mono);
    background: var(--deep-blue);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ============================================
   CUSTOMIZABLE BACKGROUND PATTERN
   Replace the gradient with your own pattern
   ============================================ */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    
    /* PLACEHOLDER BACKGROUND - Replace with your pattern */
    background-image: url('https://2001-metroplex-blvd.neocities.org/assets/Backdrops/806A551A-9BCD-452E-88BC-961FA5B0F18C.JPEG');
background-size: cover;
background-attachment: fixed;
    
    /* Example patterns you could use:
    background-image: url('your-pattern.gif');
    background-repeat: repeat;
    
    OR
    
    background-image: url('your-wallpaper.jpg');
    background-size: cover;
    background-attachment: fixed;
    */
    
    /* Optional: Add noise texture overlay */
    opacity: 1;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Optional noise/grain effect */
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 240, 255, 0.03) 2px, rgba(0, 240, 255, 0.03) 4px);
    pointer-events: none;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ============================================
   HEADER
   ============================================ */
.blog-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 
        0 0 30px rgba(0, 240, 255, 0.3),
        inset 0 0 30px rgba(0, 240, 255, 0.05);
    position: relative;
    overflow: hidden;
}

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

.blog-header h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow: 
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 30px var(--neon-blue),
        0 0 40px rgba(0, 240, 255, 0.5);
    letter-spacing: 0.3rem;
    margin-bottom: 10px;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 
            0 0 10px var(--neon-blue),
            0 0 20px var(--neon-blue),
            0 0 30px var(--neon-blue);
    }
    50% {
        text-shadow: 
            0 0 15px var(--neon-blue),
            0 0 30px var(--neon-blue),
            0 0 45px var(--neon-blue),
            0 0 60px rgba(0, 240, 255, 0.7);
    }
}

.tagline {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--neon-pink);
    letter-spacing: 0.1rem;
}

.header-decor {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--neon-blue) 25%,
        var(--neon-pink) 50%,
        var(--neon-green) 75%,
        transparent 100%
    );
    animation: slide-gradient 3s linear infinite;
}

@keyframes slide-gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ============================================
   MAIN GRID LAYOUT
   ============================================ */
.main-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 968px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
    
    .blog-content {
        order: 1;
    }
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-module {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 
        0 0 20px rgba(0, 240, 255, 0.2),
        inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.module-title {
    font-family: var(--font-pixel);
    font-size: 0.75rem;
    color: var(--neon-blue);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--neon-blue);
    letter-spacing: 0.1rem;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.archive-link {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    display: block;
}

.archive-link:hover {
    border-left-color: var(--neon-pink);
    color: var(--neon-pink);
    background: rgba(255, 0, 255, 0.1);
    padding-left: 18px;
}

.archive-link.active {
    border-left-color: var(--neon-blue);
    color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.1);
}

.status-box {
    font-family: var(--font-mono);
    font-size: 1.1rem;
}

.status-item {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-label {
    color: #888;
}

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

.blink {
    animation: blink-animation 1s infinite;
}

@keyframes blink-animation {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.3; }
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
}

.nav-link:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* ============================================
   BLOG POSTS
   ============================================ */
.blog-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 
        0 0 25px rgba(0, 240, 255, 0.15),
        inset 0 0 25px rgba(0, 240, 255, 0.03);
    animation: fadeInUp 0.5s ease-out;
}

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

.post-header {
    border-bottom: 2px solid var(--neon-blue);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.post-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.post-date {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--neon-pink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-date::before {
    content: '►';
    color: var(--neon-green);
}

.post-content {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   POST IMAGES
   ============================================ */
.post-image {
    margin: 20px 0;
    border: 3px solid var(--neon-blue);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    font-size: 0.95rem;
    color: var(--neon-green);
    text-align: center;
}

/* ============================================
   ERROR/NO POSTS MESSAGE
   ============================================ */
.no-posts {
    text-align: center;
    padding: 60px 20px;
}

.error-box {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--neon-pink);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
}

.error-box p {
    font-family: var(--font-pixel);
    font-size: 1rem;
    color: var(--neon-pink);
    margin-bottom: 15px;
}

.small-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #888;
}

/* ============================================
   FOOTER
   ============================================ */
.blog-footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

.footer-line {
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--neon-blue) 50%,
        transparent 100%
    );
    margin-bottom: 20px;
}

.blog-footer p {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: #666;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-content {
        font-size: 1.1rem;
    }
    
    .module-title {
        font-size: 0.65rem;
    }
}

/* ============================================
   SCROLLBAR STYLING (Y2K TOUCH)
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--deep-blue);
    border-left: 1px solid var(--glass-border);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-pink));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-pink), var(--neon-green));
}
