/*
Theme Name: One Piece Stream
Theme URI: https://onepiece-stream.local
Author: Straw Hat Pirates Dev
Author URI: https://onepiece-stream.local
Description: Premium, ultra-responsive One Piece Anime Streaming WordPress Theme. Exclusively dedicated to One Piece featuring all 1,180+ episodes from East Blue to Egghead Arc, 6 Customizable Episode Grid Layout Styles, Responsive Pagination, Admin-only Style Control, 1-Click Anikoto Importer, live MegaPlay video player with Sub/Dub server switcher, season filtering, and Straw Hat aesthetics.
Version: 2.6.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onepiece-theme
Tags: anime, one-piece, video-streaming, entertainment, dark-mode, responsive-layout, custom-menu, featured-images
*/

/* Reset and Root Variables */
:root {
    --op-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Dark Theme (Default) */
    --op-bg-main: #070c18;
    --op-bg-surface: #0c1424;
    --op-bg-card: #101c33;
    --op-bg-card-hover: #162646;
    --op-bg-input: #111e36;
    --op-bg-overlay: rgba(7, 12, 24, 0.85);

    --op-border: #1a2a47;
    --op-border-subtle: rgba(255, 255, 255, 0.07);

    --op-primary: #0284c7;
    --op-primary-hover: #0369a1;
    --op-primary-glow: rgba(2, 132, 199, 0.35);
    
    --op-accent-gold: #f59e0b;
    --op-accent-red: #ef4444;
    --op-accent-green: #10b981;

    --op-text-main: #f8fafc;
    --op-text-muted: #94a3b8;
    --op-text-dim: #64748b;
    --op-badge-blue: #0284c7;

    --op-radius-sm: 6px;
    --op-radius-md: 10px;
    --op-radius-lg: 14px;
    --op-radius-full: 9999px;

    --op-transition: all 0.22s ease-in-out;
    --op-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --op-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --op-shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
    --op-bg-main: #f1f5f9;
    --op-bg-surface: #ffffff;
    --op-bg-card: #ffffff;
    --op-bg-card-hover: #f8fafc;
    --op-bg-input: #e2e8f0;
    --op-bg-overlay: rgba(241, 245, 249, 0.85);

    --op-border: #cbd5e1;
    --op-border-subtle: rgba(0, 0, 0, 0.08);

    --op-primary: #0284c7;
    --op-primary-hover: #0369a1;
    --op-primary-glow: rgba(2, 132, 199, 0.2);

    --op-text-main: #0f172a;
    --op-text-muted: #475569;
    --op-text-dim: #94a3b8;

    --op-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --op-shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--op-font);
    background-color: var(--op-bg-main);
    color: var(--op-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--op-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

.op-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
}

