/* ===== FAST MONEY DESIGN VARIABLES - WHITE THEME ===== */
:root {
    /* FAST MONEY Brand Colors - Purple Theme */
    --primary-color: #8B5CF6;  /* Purple - primary brand color */
    --primary-dark: #7C3AED;   /* Darker purple - darker shade for hover */
    --primary-light: #A78BFA;  /* Lighter purple */
    --accent-color: #9333EA;   /* Medium purple - accent color */
    --accent-dark: #7C3AED;    /* Darker purple */
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    
    /* FAST MONEY Backgrounds - Clean White Theme */
    --background-color: #ffffff;
    --background-solid: #ffffff;
    --background-secondary: #F3F4F6;
    --surface-color: #ffffff;
    --surface-hover: #F3F4F6;
    --surface-accent: #F3F4F6;
    --overlay-color: rgba(0, 0, 0, 0.4);
    
    /* FAST MONEY Typography */
    --text-primary: #2D3748;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    --text-accent: #8B5CF6;
    
    /* FAST MONEY Borders - Clean & Subtle */
    --border-color: #e2e8f0;
    --border-hover: #cbd5e0;
    --border-accent: rgba(139, 92, 246, 0.3);
    --border-radius: 0.75rem;
    --border-radius-sm: 0.375rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.25rem;
    
    /* FAST MONEY Shadows - Clean & Modern */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Размеры */
    --container-max-width: 1200px;
    --sidebar-width: 280px;
    --navbar-height: 80px;
    
    /* Переходы */
    --transition: all 0.2s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.3s ease;
    
    /* FAST MONEY Typography - Modern and readable */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-display: 'Inter', system-ui, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    /* FAST MONEY Animation & Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    color: var(--text-primary);
    background: var(--background-color);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* ===== ТИПОГРАФИЯ ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    user-select: none;
}

.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Размеры кнопок */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Варианты кнопок - Clean White Theme */
.btn-primary {
    color: var(--text-inverse);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    font-weight: var(--font-weight-semibold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-inverse);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    color: var(--text-primary);
    background-color: var(--surface-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--surface-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
    text-decoration: none;
}

.btn-success {
    color: var(--text-inverse);
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-warning {
    color: var(--text-inverse);
    background-color: var(--warning-color);
    border-color: var(--warning-color);
}

.btn-error {
    color: var(--text-inverse);
    background-color: var(--error-color);
    border-color: var(--error-color);
}

.btn-link {
    color: var(--primary-color);
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    text-decoration: underline;
}

.btn-link:hover {
    color: var(--primary-dark);
}

/* ===== ФОРМЫ ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.form-control {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: var(--font-weight-medium);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
    background-color: var(--surface-accent);
    transform: translateY(-1px);
}

.form-control:hover:not(:focus) {
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.form-control:disabled {
    background-color: var(--surface-hover);
    opacity: 0.6;
    cursor: not-allowed;
}

.form-control-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
}

.form-help {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Группы полей ввода */
.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-control {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border-right: 0;
}

.input-group .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.input-group select {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border-left: 0;
}

/* ===== КАРТОЧКИ - Clean White Theme ===== */
.card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.card-header h2,
.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background-color: var(--surface-hover);
    border-top: 1px solid var(--border-color);
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
    padding: 0 1.5rem;
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.navbar-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: var(--text-secondary);
}

.back-link:hover {
    background-color: var(--surface-hover);
    color: var(--text-primary);
    text-decoration: none;
}

.page-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

/* ===== ИКОНКИ ===== */
.logo-icon {
    color: var(--primary-color);
}

.user-icon {
    color: var(--text-secondary);
}

/* ===== УТИЛИТЫ ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-error { color: var(--error-color); }

.hidden { display: none !important; }
.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;
}

/* ===== КОНТЕЙНЕРЫ ===== */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding: 2rem 1.5rem;
    max-width: var(--container-max-width);
    width: 100%;
    margin: 0 auto;
}

/* ===== СЕТКИ ===== */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== ЗАГРУЗКА ===== */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: var(--text-secondary);
    background: var(--background-color);
    position: relative;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== СОСТОЯНИЯ ===== */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

.empty-state svg {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--border-radius);
    color: var(--error-color);
    font-size: 0.875rem;
}

.success-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: var(--border-radius);
    color: var(--success-color);
    font-size: 0.875rem;
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
}

.modal-content {
    position: relative;
    background-color: var(--surface-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--surface-hover);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ===== FAST MONEY RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
        --border-radius: 0.75rem;
        --border-radius-lg: 1rem;
        --border-radius-xl: 1.25rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .navbar {
        padding: 0 1rem;
    }
    
    .navbar-info {
        display: none;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .card-header,
    .card-body {
        padding: 1rem;
    }
    
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    /* FAST MONEY Mobile Enhancements */
    .card {
        margin: 0.5rem;
        border-radius: var(--border-radius-lg);
    }
    
    .btn {
        border-radius: var(--border-radius);
        font-weight: var(--font-weight-semibold);
    }
    
    .form-control {
        border-radius: var(--border-radius);
        padding: 0.875rem 1rem;
    }
    
    .modal-content {
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 1rem;
    }
    
    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* ===== DEPOSITS TABLE ENHANCEMENTS ===== */
.deposits-table {
    font-size: 0.875rem;
}

.deposits-table thead th {
    padding: 1rem 0.75rem;
    font-size: 0.75rem;
    white-space: nowrap;
    vertical-align: middle;
}

.deposits-table tbody td {
    padding: 0.875rem 0.75rem;
    vertical-align: middle;
}

/* Date and time styling */
.deposit-date .date-time,
.status-date .date-time {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.deposit-date .date,
.status-date .date {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.deposit-date .time,
.status-date .time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
}

/* Amount styling */
.deposit-rub-amount .amount-value,
.deposit-original-amount .amount-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.currency-amount {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.currency-code {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(100, 116, 139, 0.1);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
}

/* Status badge enhancements */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border: 1.5px solid;
    white-space: nowrap;
    min-width: fit-content;
}

.status-icon {
    font-size: 0.875rem;
    font-weight: 700;
}

.status-success {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
    color: #047857;
    border-color: rgba(5, 150, 105, 0.3);
}

.status-pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.15) 100%);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.3);
}

.status-error {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.3);
}

.status-canceled {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(107, 114, 128, 0.15) 100%);
    color: #4b5563;
    border-color: rgba(107, 114, 128, 0.3);
}

.status-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.15) 100%);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.3);
}

/* Mobile card enhancements */
.date-time-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.time-mobile {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
}

.currency-amount-mobile {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.currency-amount-mobile .currency-code {
    font-size: 0.7rem;
}

/* Table responsive improvements */
.deposits-table-container {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    background: white;
    margin-bottom: 1rem;
}

.deposits-table {
    min-width: 800px; /* Ensure minimum width for all columns */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .deposits-table-container {
        display: none !important;
    }
    
    .deposits-cards {
        display: flex !important;
    }
    
    .deposit-details {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    
    .detail-item {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .detail-item:last-child {
        border-bottom: none;
    }
    
    .detail-label {
        flex: 0 0 40%;
        font-size: 0.75rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-weight: 600;
    }
    
    .detail-value {
        flex: 1;
        text-align: right;
        font-weight: 600;
        color: var(--text-primary);
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        gap: 0.25rem;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .deposits-table {
        font-size: 0.8rem;
        min-width: 700px;
    }
    
    .deposits-table thead th,
    .deposits-table tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* ===== ПЕЧАТЬ ===== */
@media print {
    .navbar,
    .btn,
    .modal-backdrop,
    .pagination {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
        max-width: none;
    }
    
    .card {
        border: none;
        box-shadow: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .deposits-cards {
        display: none !important;
    }
    
    .deposits-table-container {
        display: block !important;
    }
    
    .status-badge {
        border: 1px solid !important;
        background: transparent !important;
    }
}

/* ===== FAST MONEY ADDITIONAL ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
    40%, 43% { transform: translate3d(0, -8px, 0); }
    70% { transform: translate3d(0, -4px, 0); }
    90% { transform: translate3d(0, -2px, 0); }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--accent-color), 0 0 30px var(--primary-color); }
}

/* FAST MONEY Utility Classes */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-fade-in {
    animation: fadeInScale 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: var(--font-weight-bold);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fastmoney-shadow {
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15), 0 4px 16px rgba(124, 58, 237, 0.1);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--accent-color)) border-box;
}

/* FAST MONEY Focus States */
.focus-ring:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: var(--border-radius);
}

.focus-ring-inset:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
    border-radius: var(--border-radius);
}

/* FAST MONEY Scroll Enhancements */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--surface-hover);
}