/*
Theme Name: MangaSee
Theme URI: https://www.mangasee.net/
Author: MangaSee Team
Author URI: https://www.mangasee.net/
Description: Modern, lightning-fast, premium light-themed manga discovery and reading-management theme for MangaSee. Features advanced catalog filtering, interactive reading trackers, verified publisher directories, and complete technical SEO.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.3
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mangasee-theme
Tags: light, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready
*/

:root {
    --ms-primary: #6C5CE7;
    --ms-primary-hover: #5948D6;
    --ms-primary-light: #F4F2FF;
    --ms-primary-surface: #EDE9FE;
    --ms-text-dark: #1E1E2F;
    --ms-text-main: #20212A;
    --ms-text-muted: #707584;
    --ms-text-light: #9499A8;
    --ms-bg-body: #F8F9FD;
    --ms-bg-card: #FFFFFF;
    --ms-border: #E8EAF0;
    --ms-border-light: #F0F2F6;
    --ms-star: #F59E0B;
    --ms-success: #16A36A;
    --ms-success-bg: #EBF8F2;
    --ms-warning: #E7A23B;
    --ms-danger: #DC5050;
    --ms-radius-sm: 6px;
    --ms-radius-md: 10px;
    --ms-radius-lg: 16px;
    --ms-radius-full: 9999px;
    --ms-shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --ms-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --ms-shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --ms-shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
    --ms-container: 1280px;
    --ms-font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* CSS Reset & Baseline */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--ms-font);
    background-color: var(--ms-bg-body);
    color: var(--ms-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a {
    color: var(--ms-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--ms-primary-hover);
}

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

.site-main {
    flex: 1 0 auto;
}

.ms-container {
    width: 100%;
    max-width: var(--ms-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Screen reader text for accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link:focus {
    background-color: #ffffff;
    border: 2px solid var(--ms-primary);
    clip: auto !important;
    clip-path: none;
    color: var(--ms-primary);
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 10px;
    top: 10px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    width: auto;
    z-index: 100000;
}
