/**
 * Mafia Wars - Ultimate Theme v3
 * Inspired by: Torn City, Mob Wars LCN, Downtown Mafia, Underworld Empire
 * 
 * Design Philosophy:
 * - Torn City: Clean functional layout, horizontal stats bar, left nav
 * - Mob Wars LCN: Mobile-first, prominent energy bars, card layouts
 * - Downtown Mafia: Bold colors, gradient accents, retro-modern
 * - Underworld Empire: HD feel, progress bars, dark atmospheric
 * 
 * Typography:
 * - Headers: Oswald (condensed, bold, used in many games)
 * - Body: Open Sans (clean, readable, similar to game UIs)
 */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&family=Roboto+Mono:wght@400;500&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Typography */
    --font-display: 'Oswald', Impact, sans-serif;
    --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* Layout */
    --header-height: 50px;
    --stats-bar-height: 56px;
    --sidebar-width: 220px;
    --sidebar-collapsed: 60px;
    
    /* Core Colors - Dark Theme */
    --bg-base: #0d0d0d;
    --bg-primary: #121214;
    --bg-secondary: #1a1a1f;
    --bg-tertiary: #222228;
    --bg-card: #1e1e24;
    --bg-card-hover: #252530;
    --bg-input: #0a0a0c;
    
    /* Accent Colors */
    --accent-gold: #c9a227;
    --accent-gold-light: #e0bc3f;
    --accent-gold-dark: #a68920;
    --accent-gold-glow: rgba(201, 162, 39, 0.25);
    
    /* Status Colors */
    --color-cash: #2ecc71;
    --color-cash-dark: #27ae60;
    --color-gold: #f1c40f;
    --color-energy: #3498db;
    --color-energy-dark: #2980b9;
    --color-stamina: #e67e22;
    --color-stamina-dark: #d35400;
    --color-health: #e74c3c;
    --color-health-dark: #c0392b;
    --color-xp: #9b59b6;
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --text-dim: #444444;
    
    /* Borders */
    --border-dark: #2a2a30;
    --border-light: #3a3a42;
    --border-accent: rgba(201, 162, 39, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 15px var(--accent-gold-glow);
    
    /* Transitions */
    --transition-fast: 100ms ease;
    --transition-normal: 200ms ease;
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Progress Bar Heights */
    --bar-height: 18px;
    --bar-height-sm: 14px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
}

/* ============================================
   APP CONTAINER
   ============================================ */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ============================================
   HEADER - Torn City Style
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: linear-gradient(180deg, #1f1f25 0%, #18181c 100%);
    border-bottom: 1px solid var(--border-dark);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar-content {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    gap: 10px;
}

/* Menu Button - Mobile */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    color: var(--accent-gold);
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.mobile-menu-btn svg {
    width: 20px;
    height: 20px;
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Level Indicator */
.nav-level {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-dark);
    padding: 3px 8px;
    border-radius: 4px;
    gap: 4px;
}

.level-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.level-value {
    color: var(--accent-gold);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.nav-btn svg {
    width: 18px;
    height: 18px;
}

.nav-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-white);
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    background: var(--color-health);
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* User Menu */
.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    padding: 3px;
    padding-right: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.user-menu-btn:hover {
    border-color: var(--border-accent);
}

.user-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center;
    background: var(--bg-input);
}

.username {
    display: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   STATS BAR - Unified Clean Design
   ============================================ */
.stats-bar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: var(--stats-bar-height);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.stats-bar::-webkit-scrollbar {
    display: none;
}

/* Base stat box */
.stat-box {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    min-width: fit-content;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.stat-box-icon {
    font-size: 1rem;
    line-height: 1;
}

.stat-box-icon.cash { color: var(--color-cash); }
.stat-box-icon.gold { color: var(--accent-gold); }

.stat-box-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Stat boxes with bars (Energy, Stamina, Health) */
.stat-box.energy,
.stat-box.stamina,
.stat-box.health {
    padding: 6px 12px;
    min-width: 140px;
}

.stat-box-icon-wrapper {
    cursor: help;
    display: flex;
    align-items: center;
}

.stat-box-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-right: 4px;
}

/* Stat box values colored by type */
.stat-box.energy .stat-box-value { color: var(--color-energy); }
.stat-box.stamina .stat-box-value { color: var(--color-stamina); }
.stat-box.health .stat-box-value { color: var(--color-health); }

/* Progress bar at bottom of stat box */
.stat-box-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.3);
}

.stat-box-bar-fill {
    height: 100%;
    width: 100%;
    transition: width 0.4s ease-out;
}

.stat-box-bar-fill.energy {
    background: linear-gradient(90deg, var(--color-energy-dark), var(--color-energy));
}

.stat-box-bar-fill.stamina {
    background: linear-gradient(90deg, var(--color-stamina-dark), var(--color-stamina));
}

.stat-box-bar-fill.health {
    background: linear-gradient(90deg, var(--color-health-dark), var(--color-health));
}

/* Icon animations for regenerating state */
@keyframes icon-pulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.2);
        filter: brightness(1.3);
    }
}

@keyframes icon-glow {
    0%, 100% { 
        text-shadow: 0 0 4px currentColor;
    }
    50% { 
        text-shadow: 0 0 12px currentColor, 0 0 20px currentColor;
    }
}

/* Regenerating state */
.stat-box.energy.regenerating .stat-box-icon,
.stat-box.stamina.regenerating .stat-box-icon,
.stat-box.health.regenerating .stat-box-icon {
    animation: icon-pulse 1.5s ease-in-out infinite;
}

/* Full state - glowing icons */
.stat-box.energy.full .stat-box-icon {
    animation: icon-glow 2s ease-in-out infinite;
    color: #fde047;
}

.stat-box.stamina.full .stat-box-icon {
    animation: icon-glow 2s ease-in-out infinite;
    color: #fbbf24;
}

.stat-box.health.full .stat-box-icon {
    animation: icon-glow 2s ease-in-out infinite;
    color: #f87171;
}

/* Tooltip styling */
.stat-tooltip {
    position: fixed;
    padding: 8px 12px;
    background: var(--bg-card);
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 6px;
    border: 2px solid var(--accent-gold);
    z-index: 99999;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
    display: none;
}

.stat-tooltip.visible {
    display: block;
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.main-container {
    display: flex;
    flex: 1;
    padding-top: calc(var(--header-height) + var(--stats-bar-height));
}

/* ============================================
   SIDEBAR - Torn City Style
   ============================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-dark);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-dark);
}

.sidebar-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.sidebar-close:hover {
    background: var(--bg-card);
    color: var(--text-white);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 2px;
}

.nav-section {
    margin-bottom: 8px;
}

.nav-section-title {
    padding: 8px 12px 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    margin-bottom: 2px;
}

.nav-item:hover {
    background: var(--bg-card);
    color: var(--text-white);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.15) 0%, transparent 100%);
    color: var(--accent-gold);
    border-left: 3px solid var(--accent-gold);
    margin-left: -3px;
    padding-left: 15px;
}

.nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
    opacity: 1;
}

.nav-divider {
    height: 1px;
    background: var(--border-dark);
    margin: 8px 12px;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    flex: 1;
    width: 100%;
    padding: 12px;
    min-height: calc(100vh - var(--header-height) - var(--stats-bar-height));
}

.page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   CARDS - Game Panel Style
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-dark);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body {
    padding: 16px;
}

/* ============================================
   BUTTONS - Downtown Mafia Style
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(180deg, var(--accent-gold-light) 0%, var(--accent-gold) 50%, var(--accent-gold-dark) 100%);
    color: #000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #e8c94a 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(180deg, #3a3a42 0%, #2a2a30 100%);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: linear-gradient(180deg, #444450 0%, #3a3a42 100%);
}

.btn-danger {
    background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

.btn-success {
    background: linear-gradient(180deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* ============================================
   PROGRESS BARS - Underworld Empire Style
   ============================================ */
.progress {
    width: 100%;
    height: var(--bar-height);
    background: var(--bg-input);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
}

.progress-bar.energy {
    background: linear-gradient(90deg, var(--color-energy-dark), var(--color-energy));
}

.progress-bar.health {
    background: linear-gradient(90deg, var(--color-health-dark), var(--color-health));
}

.progress-bar.stamina {
    background: linear-gradient(90deg, var(--color-stamina-dark), var(--color-stamina));
}

.progress-bar.xp {
    background: linear-gradient(90deg, #8e44ad, var(--color-xp));
}

.progress-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ============================================
   LISTS & TABLES
   ============================================ */
.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    margin-bottom: 8px;
    transition: var(--transition-fast);
}

.list-item:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-light);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-dark);
}

.table th {
    background: var(--bg-tertiary);
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.table tr:hover td {
    background: var(--bg-secondary);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px var(--accent-gold-glow);
}

/* ============================================
   TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .navbar-content {
        padding: 0 16px;
    }
    
    .nav-logo {
        font-size: 1.5rem;
    }
    
    .username {
        display: block;
    }
    
    .stats-bar {
        padding: 0 16px;
        gap: 12px;
    }
    
    .stat-content {
        min-width: 80px;
    }
    
    .sidebar {
        width: 280px;
    }
    
    .main-content {
        padding: 16px;
    }
}

/* ============================================
   DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    /* Hide mobile menu button */
    .mobile-menu-btn {
        display: none;
    }
    
    /* Sidebar always visible */
    .sidebar {
        position: fixed;
        top: calc(var(--header-height) + var(--stats-bar-height));
        left: 0;
        width: var(--sidebar-width);
        height: calc(100vh - var(--header-height) - var(--stats-bar-height));
        height: calc(100dvh - var(--header-height) - var(--stats-bar-height));
        transform: translateX(0);
        z-index: 100;
    }
    
    .sidebar-header {
        display: none;
    }
    
    .sidebar-overlay {
        display: none !important;
    }
    
    /* Content offset */
    .main-content {
        margin-left: var(--sidebar-width);
        padding: 20px;
    }
    
    .stats-bar {
        padding: 0 20px;
    }
    
    .navbar-content {
        padding: 0 20px;
    }
}

/* ============================================
   LARGE DESKTOP (1440px+)
   ============================================ */
@media (min-width: 1440px) {
    html {
        font-size: 15px;
    }
    
    :root {
        --sidebar-width: 240px;
    }
    
    .main-content {
        padding: 24px 32px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { 
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

.slide-in-up {
    animation: slideInUp 0.3s ease;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--bg-tertiary) var(--bg-primary);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gold { color: var(--accent-gold); }
.text-green { color: var(--color-cash); }
.text-red { color: var(--color-health); }
.text-blue { color: var(--color-energy); }
.text-orange { color: var(--color-stamina); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
