/* CSS Variables for Theme */
        :root {
            --primary-blue: #3b82f6;
            --primary-blue-dark: #2563eb;
            --accent-green: #10b981;
            --accent-green-light: #d1fae5;
            --background: #f8fafc;
            --card-bg: #ffffff;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --text-muted: #94a3b8;
            --border: #e2e8f0;
            --border-dark: #cbd5e1;
            --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius: 0.5rem;
            --danger: #ef4444;
            --warning: #f59e0b;
            --success: #10b981;
        }
        
        /* Dark Mode */
        @media (prefers-color-scheme: dark) {
            :root {
                --background: #0f172a;
                --card-bg: #1e293b;
                --text-primary: #f1f5f9;
                --text-secondary: #cbd5e1;
                --text-muted: #94a3b8;
                --border: #334155;
                --border-dark: #475569;
            }
        }
        
        /* Reset and Base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background-color: var(--background);
            font-size: 16px;
        }
        
        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 600;
            line-height: 1.25;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        
        h1 { font-size: 2.5rem; }
        h2 { font-size: 2rem; }
        h3 { font-size: 1.75rem; }
        h4 { font-size: 1.5rem; }
        
        p {
            margin-bottom: 1rem;
            color: var(--text-secondary);
        }
        
        /* Utility Classes */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        
        .text-center { text-align: center; }
        .font-bold { font-weight: 700; }
        .font-semibold { font-weight: 600; }
        .text-sm { font-size: 0.875rem; }
        .text-lg { font-size: 1.125rem; }
        .text-xl { font-size: 1.25rem; }
        .text-2xl { font-size: 1.5rem; }
        .text-3xl { font-size: 1.875rem; }
        .text-4xl { font-size: 2.25rem; }
        
        .mb-2 { margin-bottom: 0.5rem; }
        .mb-4 { margin-bottom: 1rem; }
        .mb-6 { margin-bottom: 1.5rem; }
        .mb-8 { margin-bottom: 2rem; }
        .mb-12 { margin-bottom: 3rem; }
        .mt-4 { margin-top: 1rem; }
        .mt-6 { margin-top: 1.5rem; }
        .mt-8 { margin-top: 2rem; }
        
        .p-4 { padding: 1rem; }
        .p-6 { padding: 1.5rem; }
        .py-8 { padding-top: 2rem; padding-bottom: 2rem; }
        .py-12 { padding-top: 3rem; padding-bottom: 3rem; }
        .py-16 { padding-top: 4rem; padding-bottom: 4rem; }
        .px-4 { padding-left: 1rem; padding-right: 1rem; }
        .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
        
        /* Header */
        .header {
            background: var(--card-bg);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(10px);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 4rem;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .logo-icon {
            width: 2rem;
            height: 2rem;
            color: var(--primary-blue);
        }
        
        .nav {
            display: flex;
            gap: 2rem;
        }
        
        .nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }
        
        .nav-link:hover {
            color: var(--primary-blue);
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
            color: white;
            text-align: center;
            padding: 4rem 0;
        }
        
        .hero h1 {
            color: white;
            margin-bottom: 1.5rem;
        }
        
        .hero p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.25rem;
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            font-weight: 600;
            border-radius: var(--radius);
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            font-size: 1rem;
        }
        
        .btn-primary {
            background: var(--accent-green);
            color: white;
        }
        
        .btn-primary:hover {
            background: #059669;
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        
        .btn-secondary {
            background: var(--primary-blue);
            color: white;
        }
        
        .btn-secondary:hover {
            background: var(--primary-blue-dark);
        }
        
        /* Calculator Section */
        .calculator {
            padding: 4rem 0;
            background: var(--background);
        }
        
        .calculator-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            padding: 2rem;
            border: 1px solid var(--border);
        }
        
        .calculator-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        @media (max-width: 768px) {
            .calculator-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }
        
        .team-section {
            background: var(--background);
            padding: 1.5rem;
            border-radius: var(--radius);
            border: 1px solid var(--border);
        }
        
        .team-header {
            display: flex;
            justify-content: between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .team-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .team-total {
            font-size: 0.875rem;
            color: var(--text-secondary);
        }
        
        .value-display {
            color: var(--primary-blue);
            font-weight: 600;
        }
        
        /* Form Elements */
        .form-group {
            margin-bottom: 1rem;
        }
        
        .label {
            display: block;
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        
        .select {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: var(--card-bg);
            color: var(--text-primary);
            font-size: 1rem;
        }
        
        .select:focus {
            outline: none;
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
        /* Player Items */
        .player-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            margin-bottom: 0.5rem;
        }
        
        .player-name {
            font-weight: 500;
            color: var(--text-primary);
        }
        
        .player-position {
            color: var(--text-muted);
            font-size: 0.875rem;
            margin-left: 0.5rem;
        }
        
        /* Trade Results */
        .trade-results {
            margin-top: 2rem;
            padding: 1.5rem;
            border-radius: var(--radius);
            border: 1px solid var(--border);
        }
        
        .trade-favor {
            background: var(--accent-green-light);
            border-color: var(--accent-green);
            color: #065f46;
        }
        
        .trade-against {
            background: #fef2f2;
            border-color: var(--danger);
            color: #991b1b;
        }
        
        .trade-even {
            background: #fef3c7;
            border-color: var(--warning);
            color: #92400e;
        }
        
        .result-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
        }
        
        .result-values {
            font-size: 1.125rem;
            margin-bottom: 1rem;
        }
        
        .considerations {
            background: var(--background);
            padding: 1rem;
            border-radius: var(--radius);
            margin-top: 1.5rem;
        }
        
        .considerations h4 {
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        
        .considerations ul {
            list-style: none;
            padding: 0;
        }
        
        .considerations li {
            color: var(--text-secondary);
            font-size: 0.875rem;
            margin-bottom: 0.25rem;
        }
        
        .considerations li:before {
            content: "• ";
            color: var(--primary-blue);
            margin-right: 0.5rem;
        }
        
        /* Article Section */
        .article {
            padding: 4rem 0;
            background: var(--background);
        }
        
        .article-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .article-card {
            background: var(--card-bg);
            padding: 3rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border);
        }
        
        .article h2 {
            color: var(--text-primary);
            margin-top: 2rem;
            margin-bottom: 1rem;
        }
        
        .article p {
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }
        
        /* Footer */
        .footer {
            background: var(--card-bg);
            border-top: 1px solid var(--border);
            padding: 3rem 0 2rem;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
        }
        
        .footer-brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        
        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: var(--primary-blue);
        }
        
        .footer-bottom {
            border-top: 1px solid var(--border);
            padding-top: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        @media (max-width: 768px) {
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }
        
        .copyright {
            color: var(--text-muted);
            font-size: 0.875rem;
        }
        
        .footer-legal {
            display: flex;
            gap: 1.5rem;
        }
        
        .footer-legal a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.875rem;
        }
        
        /* Mobile Navigation */
        .mobile-menu {
            display: none;
        }
        
        @media (max-width: 768px) {
            .nav { display: none; }
            .mobile-menu { 
                display: block;
                background: none;
                border: none;
                color: var(--text-primary);
                font-size: 1.5rem;
            }
            
            .hero h1 { font-size: 2rem; }
            .hero p { font-size: 1rem; }
            .text-4xl { font-size: 1.875rem; }
            .text-3xl { font-size: 1.5rem; }
            .text-2xl { font-size: 1.25rem; }
        }
        
        /* Icons */
        .icon {
            width: 1.25rem;
            height: 1.25rem;
            display: inline-block;
            vertical-align: middle;
        }
        
        /* Hidden class for mobile menu */
        .hidden {
            display: none;
        }
        
        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }