/*
Theme Name: Buggin Da Muggin
Theme URI: https://example.com/buggin-da-muggin
Author: Antigravity
Author URI: https://example.com
Description: A React-powered WordPress theme with neon aesthetics.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buggin-da-muggin
*/

body {
    background-color: #000;
    color: #fff;
    font-family: 'Orbitron', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
}

/* Page Video Background */
.page-video-background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background-color: #000;
    /* Fallback */
}

.page-video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    /* Reset to 1, control via overlay */
    filter: contrast(1.1) saturate(1.2) brightness(0.8);
}

.cyberpunk-overlay {
    position: absolute;
    inset: 0;
    /* Stronger scanlines */
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.4) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.1), rgba(0, 255, 0, 0.05), rgba(0, 0, 255, 0.1));
    background-size: 100% 4px, 6px 100%;
    z-index: 1;
    mix-blend-mode: overlay;
}

.cyberpunk-dimmer {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    /* Slight dim */
    z-index: 2;
}

.cyberpunk-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent 95%, rgba(6, 182, 212, 0.2) 95%),
        linear-gradient(90deg, transparent 95%, rgba(168, 85, 247, 0.2) 95%);
    background-size: 40px 40px;
    z-index: 3;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Basic WP Classes */
.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
}


/* Header Styles (Migrated & Sticky) */
.site-header {
    background-color: rgba(0, 0, 0, 0.85);
    /* Slightly darker for readability */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    /* Sticky positioning */
    top: 0;
    z-index: 50;
    /* Above content */
}

/* Flex Container for Logo+Title */
.site-branding a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.site-logo {
    height: 48px;
    /* Approx h-12 to match React App */
    width: auto;
    object-fit: contain;
}

.site-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(to right, #22d3ee, #a855f7, #facc15);
    -webkit-background-clip: text;
    color: transparent;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.main-navigation a {
    color: #ccc;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.main-navigation a:hover {
    color: #fff;
    text-shadow: 0 0 5px #22d3ee;
}

/* Footer Styles */
.site-footer {
    background-color: rgba(0, 0, 0, 0.9);
    border-top: 1px solid #333;
    padding: 3rem 1rem;
    margin-top: auto;
    /* Push to bottom if flex container */
    color: #aaa;
    text-align: center;
}

.site-footer a {
    color: #22d3ee;
    text-decoration: none;
}

.site-footer h2,
.site-footer h3 {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
}

/* Ensure Page Fills Screen for Footer Stickiness */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- WordPress Block Improvements --- */

/* Blockquote */
.wp-block-quote {
    border-left: 4px solid #06b6d4;
    margin: 2em 0;
    padding: 1em;
    background: rgba(6, 182, 212, 0.1);
    font-style: italic;
}

.wp-block-quote cite {
    color: #a855f7;
    font-style: normal;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9em;
}

/* Tables */
.wp-block-table {
    border-collapse: collapse;
    width: 100%;
    margin: 2em 0;
}

.wp-block-table td,
.wp-block-table th {
    border: 1px solid #333;
    padding: 0.75em;
}

.wp-block-table th {
    background-color: rgba(168, 85, 247, 0.2);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
}

.wp-block-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Code */
.wp-block-code {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 1em;
    font-family: 'Courier New', Courier, monospace;
    color: #0f0;
}

/* Buttons */
.wp-block-button__link {
    background-color: #a855f7;
    color: white;
    border: none;
    border-radius: 0;
    padding: 0.75em 1.5em;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px #a855f7;
    text-decoration: none;
}

.wp-block-button__link:hover {
    background-color: #06b6d4;
    box-shadow: 0 0 15px #06b6d4;
    color: #000;
    transform: scale(1.05);
}

/* Separator */
hr.wp-block-separator {
    border: none;
    border-bottom: 1px solid #06b6d4;
    margin: 3em 0;
    opacity: 0.5;
}

/* Images */
.wp-block-image img {
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}