/*
Theme Name: My Custom Theme
Text Domain: my-custom-theme
Theme URI: https://counterlogictrading.com
Description: 独立的自定义主题
Author: WX
Version: 1.0
*/

/* 在这里可以写你的全局 CSS */
/* ---------- CSS Custom Properties ---------- */
:root {
    /* Core Colors */
    --bg-primary: #06090f;
    --bg-secondary: #0b1120;
    --bg-tertiary: #111827;
    --bg-card: rgba(17, 24, 39, 0.6);
    --bg-card-hover: rgba(23, 33, 54, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --bg-input: rgba(255, 255, 255, 0.05);
    --bg-input-hover: rgba(255, 255, 255, 0.08);

    /* Accent Colors */
    --accent-primary: #00e5ff;
    --accent-secondary: #7c3aed;
    --accent-glow: rgba(0, 229, 255, 0.15);
    --accent-gradient: linear-gradient(135deg, #00e5ff, #7c3aed);
    --accent-gradient-text: linear-gradient(135deg, #00e5ff 0%, #a78bfa 50%, #f472b6 100%);
    
    /* Semantic */
    --positive: #10b981;
    --negative: #ef4444;
    --caution: #f59e0b;
    --urgent: #ff3b30;
    
    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --text-accent: var(--accent-primary);
    --text-error: #ef4444;
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 229, 255, 0.3);
    --border-input: rgba(255, 255, 255, 0.1);
    --border-focus: rgba(0, 229, 255, 0.4);
    --border-error: rgba(239, 68, 68, 0.4);
    
    /* Shadows */
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.1);
    --shadow-glow-strong: 0 0 80px rgba(0, 229, 255, 0.2);
    
    /* Layout */
    --max-width: 1280px;
    --nav-height: 72px;
    --radius: 16px;
    --radius-sm: 8px;
    --radius-xs: 6px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all .3s ease;
}

/* ---------- Typography Helpers ---------- */
.gradient-text, .hero-gradient-text {
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #06090f;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
}
.btn-primary:hover {
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.45);
    transform: translateY(-2px);
}

.btn-primary:hover:not(:disabled) {
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.45);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-input);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 229, 255, 0.05);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-card);
}
.btn-ghost:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 229, 255, 0.05);
}

.btn-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
}
.btn-glass:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

article{
    border-bottom: 0px !important;
}