/*
Theme Name: ML Starter
Theme URI: https://mobilelegends.club
Author: ML Team
Author URI: https://mobilelegends.club
Description: Modern Mobile Legends resource generator theme with glassmorphism design, smooth animations, and CPA integration. Built for WordPress 6.4+ with PHP 8.2+ support.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ml-starter
Tags: gaming, dark-mode, custom-colors, custom-logo, featured-images, full-width-template

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# CSS Custom Properties (Design Tokens)
# Base Reset
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# CSS Custom Properties (Design Tokens)
--------------------------------------------------------------*/
:root {
    /* Primary Colors */
    --color-primary: #FFC723;
    --color-primary-dark: #E5A800;
    --color-primary-light: #FFD54F;
    
    /* Accent Colors */
    --color-accent-cyan: #00D9FF;
    --color-accent-purple: #A855F7;
    --color-accent-pink: #EC4899;
    --color-accent-green: #00FF45;
    --color-accent-orange: #FF5400;
    
    /* Status Colors */
    --color-success: #10B981;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
    --color-info: #3B82F6;
    
    /* Background Colors */
    --color-bg-dark: #0a0a0f;
    --color-bg-card: rgba(20, 20, 30, 0.7);
    --color-bg-glass: rgba(255, 255, 255, 0.05);
    --color-bg-input: rgba(255, 255, 255, 0.08);
    
    /* Text Colors */
    --color-text-primary: #FAFAFA;
    --color-text-secondary: #A1A1AA;
    --color-text-muted: #71717A;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFC723 0%, #FF8C00 100%);
    --gradient-neon: linear-gradient(135deg, #00D9FF 0%, #A855F7 50%, #EC4899 100%);
    --gradient-dark: linear-gradient(180deg, #1a1a2e 0%, #0a0a0f 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-primary: 0 0 20px rgba(255, 199, 35, 0.4);
    --shadow-glow-cyan: 0 0 20px rgba(0, 217, 255, 0.4);
    --shadow-glow-purple: 0 0 20px rgba(168, 85, 247, 0.4);
    
    /* Glass Effect */
    --glass-blur: blur(20px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Orbitron', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Font Sizes (Fluid) */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: var(--color-primary);
    color: var(--color-bg-dark);
    font-weight: 600;
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
