<?php
/**
 * Plugin Name: OSINT Styles
 * Description: Dark mode and cyber styling for the interface.
 */

add_action('wp_head', function() {
    ?>
    <style>
        :root {
            --wp--preset--color--black: #0a0a0a;
            --wp--preset--color--white: #e0e0e0;
            --wp--preset--color--cyan-bluish-gray: #1a1a1a;
        }
        body { 
            background-color: #0a0a0a !important; 
            color: #e0e0e0 !important; 
            font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
        }
        .wp-site-blocks, .wp-block-group, .wp-block-columns {
            background-color: #0a0a0a !important;
        }
        .wp-block-heading { 
            color: #00ff41 !important; 
            text-transform: uppercase; 
            letter-spacing: 2px;
            font-weight: 800 !important;
        }
        a { color: #00ff41 !important; text-decoration: none; }
        a:hover { text-decoration: underline; }
        
        /* Navigation */
        header { 
            background: #111 !important; 
            border-bottom: 1px solid #333; 
            padding: 10px 0;
        }
        .wp-block-navigation a {
            color: #00ff41 !important;
            font-weight: bold;
            text-transform: uppercase;
            font-size: 0.9rem;
        }

        /* Buttons */
        .wp-block-button__link { 
            font-weight: bold !important; 
            border-radius: 0 !important; 
            padding: 15px 30px !important;
            transition: all 0.3s ease;
            box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
        }
        .wp-block-button__link:hover {
            box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
            transform: translateY(-2px);
        }

        /* Cover block adjustment */
        .wp-block-cover__inner-container {
            width: 100%;
        }
        
        /* Footer */
        footer {
            background: #111 !important;
            border-top: 1px solid #333;
            padding: 40px 0 !important;
            color: #666 !important;
        }
    </style>
    <?php
});
