/*
Theme Name: NoScriptNeeded
Theme URI: https://noscriptneeded.com
Author: Custom Theme Builder
Description: A premium, cinematic, dark-themed WordPress theme for the entertainment media platform NoScriptNeeded. Features custom post types, dark mode, and a modern streaming platform aesthetic.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: noscriptneeded
*/

:root {
    /* Colors - Dark Mode (Default) */
    --bg-color: #0a0a0a;
    --surface-color: #151515;
    --surface-color-hover: #222222;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-color: #9D4EDD; /* Electric Purple */
    --accent-hover: #7B2CBF;
    --border-color: #333333;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: Verdana, Geneva, sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

/* Light Mode Variables (Toggled via a .light-mode class on body) */
body.light-mode {
    --bg-color: #f8f9fa;
    --surface-color: #ffffff;
    --surface-color-hover: #f1f5f9;
    --text-main: #111827;
    --text-muted: #4b5563;
    --border-color: #e5e7eb;
}

/* Base Reset - Required constraints */
html, body {
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* Headings Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    margin-top: 0;
    color: var(--text-main);
    line-height: 1.2;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}