/*
Theme Name: Stranger Glitch v2.1
Theme URI: https://example.com/stranger-glitch
Author: Custom Theme
Author URI: https://example.com
Description: A dark techno-horror themed WordPress template with 8 selectable WebGL shader effects. Admin-only shader selection via WordPress Customizer.
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stranger-glitch
Tags: dark, neon, custom-background, custom-colors, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #0a0a0a;
    color: #00ff88;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Shader Canvas Background */
#shader-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* Container */
.site-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.site-header {
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 2px solid #00ff88;
    padding: 20px 0;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.site-title {
    font-size: 2.5em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 30px #00ff88;
    margin-bottom: 10px;
}

.site-title a {
    color: #00ff88;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-title a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
}

.site-description {
    text-align: center;
    color: #00ccff;
    font-size: 0.9em;
    letter-spacing: 2px;
}

/* Navigation */
.main-navigation {
    background: rgba(0, 0, 0, 0.8);
    margin-top: 20px;
    border: 1px solid #00ff88;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 15px 25px;
    color: #00ff88;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 2px;
    border-right: 1px solid #00ff88;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation li:last-child a {
    border-right: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
    background: #00ff88;
    color: #0a0a0a;
    box-shadow: 0 0 15px #00ff88;
}

/* Main Content */
.site-main {
    margin-top: 40px;
    background: rgba(10, 10, 10, 0.85);
    padding: 40px;
    border: 1px solid #00ff88;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

/* Posts */
article {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #00ff88;
}

article:last-child {
    border-bottom: none;
}

.entry-title {
    font-size: 2em;
    margin-bottom: 10px;
    color: #00ff88;
    text-shadow: 0 0 5px #00ff88;
}

.entry-title a {
    color: #00ff88;
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-title a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.entry-meta {
    color: #00ccff;
    font-size: 0.85em;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.entry-meta a {
    color: #00ccff;
    text-decoration: none;
}

.entry-meta a:hover {
    color: #ff00ff;
}

.entry-content {
    color: #cccccc;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content a {
    color: #00ff88;
    text-decoration: underline;
}

.entry-content a:hover {
    color: #ff00ff;
}

/* Read More Button */
.read-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background: transparent;
    border: 2px solid #00ff88;
    color: #00ff88;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #00ff88;
    color: #0a0a0a;
    box-shadow: 0 0 20px #00ff88;
}

/* Footer */
.site-footer {
    background: rgba(10, 10, 10, 0.9);
    border-top: 2px solid #00ff88;
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.site-footer p {
    color: #00ccff;
    letter-spacing: 1px;
}

.site-footer a {
    color: #00ff88;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ff00ff;
}

/* Responsive */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
    }

    .main-navigation a {
        border-right: none;
        border-bottom: 1px solid #00ff88;
    }

    .main-navigation li:last-child a {
        border-bottom: none;
    }

    .site-title {
        font-size: 1.8em;
        letter-spacing: 3px;
    }

    .site-main {
        padding: 20px;
    }
}
