* { margin: 0; padding: 0; box-sizing: border-box; } :root { /* Primary accent: warm amber/copper to echo the gold-rust brand gradient */ --primary: #c2862a; --primary-hover: #a86e1c; --primary-light: #e0a84a; /* Secondary/accent: deep copper-red for punch */ --accent: #9b3a10; /* Status colors stay neutral/functional */ --success: #22c55e; --danger: #ef4444; --warning: #f59e0b; /* Dark theme backgrounds — slightly warmer tones */ --bg-primary: #0e0f0c; --bg-secondary: #1a1a15; --bg-tertiary: #2a2820; --bg-elevated: #222018; /* Borders — warm dark */ --border: #38352a; --border-light: #524e3e; /* Text */ --text-primary: #f5f0e8; --text-secondary: #ccc4b0; --text-muted: #8c8472; /* Shadows */ --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4); --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6); --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7); /* Champion badge colors */ --champion-gold: #d4a017; --champion-glow: rgba(212, 160, 23, 0.25); --bloodline-amber: #b06010; --bloodline-glow: rgba(176, 96, 16, 0.2); /* Misc */ --radius: 0.5rem; --radius-sm: 0.375rem; --radius-lg: 0.75rem; --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; font-size: 14px; } code { font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 0.875em; } #root { min-height: 100vh; } /* Scrollbar */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: var(--bg-secondary); } ::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 5px; border: 2px solid var(--bg-secondary); } ::-webkit-scrollbar-thumb:hover { background: var(--border-light); } /* Typography */ h1, h2, h3, h4, h5, h6 { font-weight: 600; letter-spacing: -0.025em; color: var(--text-primary); } h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.25rem; } /* Layout */ .container { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; } /* Buttons */ .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.125rem; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: var(--transition); text-decoration: none; white-space: nowrap; } .btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--shadow); } .btn:active:not(:disabled) { transform: translateY(0); } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: var(--bg-primary); box-shadow: var(--shadow-sm); font-weight: 600; } .btn-primary:hover:not(:disabled) { background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); box-shadow: 0 4px 12px rgba(194, 134, 42, 0.4); } .btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border-color: var(--border); } .btn-secondary:hover:not(:disabled) { background: var(--border-light); } .btn-success { background: var(--success); color: white; } .btn-danger { background: var(--danger); color: white; } .btn-ghost { background: transparent; color: var(--text-secondary); border-color: var(--border); } .btn-ghost:hover:not(:disabled) { background: var(--bg-tertiary); color: var(--text-primary); } .btn-icon { background: transparent; border: none; cursor: pointer; padding: 0.5rem; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: var(--transition); } .btn-icon:hover { background: var(--bg-tertiary); color: var(--text-primary); } /* Cards */ .card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: var(--transition); } .card:hover { border-color: var(--border-light); } .card-elevated { background: var(--bg-elevated); box-shadow: var(--shadow-lg); } /* Inputs */ .input, textarea, select { width: 100%; padding: 0.625rem 0.875rem; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.875rem; color: var(--text-primary); transition: var(--transition); font-family: inherit; } .input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(194, 134, 42, 0.15); } .input::placeholder { color: var(--text-muted); } textarea { resize: vertical; min-height: 100px; } select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238c8472' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-position: right 0.5rem center; background-repeat: no-repeat; background-size: 1.5em 1.5em; padding-right: 2.5rem; } .label { display: block; margin-bottom: 0.5rem; font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; } /* Grid */ .grid { display: grid; gap: 1.5rem; } .grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } .grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } /* States */ .loading { display: flex; justify-content: center; align-items: center; min-height: 300px; color: var(--text-muted); } .error { color: var(--danger); padding: 1rem; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: var(--radius); margin: 1rem 0; } /* Badges */ .badge { display: inline-flex; align-items: center; padding: 0.25rem 0.625rem; font-size: 0.75rem; font-weight: 500; border-radius: 9999px; white-space: nowrap; } .badge-primary { background: rgba(194, 134, 42, 0.2); color: var(--primary-light); } .badge-success { background: rgba(34, 197, 94, 0.2); color: var(--success); } /* Champion Badges */ .badge-champion { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.55rem; font-size: 0.7rem; font-weight: 700; border-radius: 9999px; background: linear-gradient(135deg, rgba(212,160,23,0.25) 0%, rgba(155,58,16,0.2) 100%); color: var(--champion-gold); border: 1px solid rgba(212, 160, 23, 0.45); box-shadow: 0 0 6px var(--champion-glow); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; } .badge-bloodline { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.55rem; font-size: 0.7rem; font-weight: 700; border-radius: 9999px; background: linear-gradient(135deg, rgba(176,96,16,0.2) 0%, rgba(139,37,0,0.15) 100%); color: var(--bloodline-amber); border: 1px solid rgba(176, 96, 16, 0.4); box-shadow: 0 0 6px var(--bloodline-glow); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; } /* Modal */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; animation: fadeIn 0.2s ease-out; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .modal-content { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); max-width: 800px; width: 100%; max-height: 90vh; overflow-y: auto; animation: slideUp 0.3s ease-out; } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--border); } .modal-header h2 { font-size: 1.25rem; font-weight: 600; } .modal-body { padding: 1.5rem; } .modal-footer { display: flex; justify-content: flex-end; gap: 0.75rem; padding: 1.5rem; border-top: 1px solid var(--border); } /* Forms */ .form-group { margin-bottom: 1.25rem; } .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; } /* Divider */ .divider { height: 1px; background: var(--border); margin: 1.5rem 0; } /* Info row */ .info-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 0; border-bottom: 1px solid var(--border); } .info-row:last-child { border-bottom: none; } .info-label { font-size: 0.8125rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; min-width: 120px; font-weight: 500; } .info-value { color: var(--text-primary); font-weight: 500; } /* Stats card */ .stat-card { text-align: center; padding: 2rem 1.5rem; } .stat-icon { margin: 0 auto 1rem; width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--bg-tertiary); } .stat-value { font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: 0.5rem; } .stat-label { font-size: 0.875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; } /* Risk Badge - Pairing Simulator */ .risk-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.25rem; border-radius: var(--radius); font-size: 0.9375rem; font-weight: 600; } .risk-low { background: rgba(34, 197, 94, 0.15); color: var(--success); border: 1px solid rgba(34, 197, 94, 0.3); } .risk-med { background: rgba(245, 158, 11, 0.15); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.3); } .risk-high { background: rgba(239, 68, 68, 0.15); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.3); }