/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --accent: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Light theme colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px 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);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
}

.dark-mode {
    /* Dark theme colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border: #475569;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
}

.logo-loader .logo-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    animation: pulse 2s infinite;
}

.logo-path {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: draw 2s ease forwards;
}

.logo-inner {
    stroke-dasharray: 160;
    stroke-dashoffset: 160;
    animation: draw 2s ease forwards 0.5s;
}

.logo-dot {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 1.5s;
}

.app-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.app-tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.loading-progress {
    background: var(--bg-tertiary);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-top: 2rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    animation: loading 2s ease-in-out forwards;
}

/* Modal Styles */
.modal {
    background: transparent;
    border: none;
    padding: 0;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    overflow: hidden;
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.modal-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.close-modal svg {
    width: 20px;
    height: 20px;
}

/* Onboarding Steps */
.onboarding-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.onboarding-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.onboarding-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* App Container */
.app-container {
    opacity: 1;
    animation: fadeIn 0.5s ease forwards;
}

/* Header */
.app-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
}

.header-left, .header-right {
    flex: 1;
}

.header-center {
    flex: 2;
    max-width: 600px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Coin Selector */
.coin-selector {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.search-wrapper {
    position: relative;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
}

#coinSearch {
    width: 100%;
    padding: 0.5rem 0.5rem 0.5rem 3rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

#coinSearch:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 0.25rem;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.search-result-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background: var(--bg-secondary);
}

.selected-coin {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.coin-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.coin-info span {
    display: block;
}

#selectedSymbol {
    font-weight: 600;
    font-size: 1.1rem;
}

.coin-name {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.price-info {
    text-align: right;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.price-change {
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
}

.price-change.positive {
    color: var(--accent);
}

.price-change.negative {
    color: var(--danger);
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: var(--bg-tertiary);
    transform: translateY(-1px);
}

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

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

.dark-mode .sun-icon {
    display: none;
}

.dark-mode .moon-icon {
    display: block;
}

.language-selector {
    position: relative;
}

#languageBtn {
    width: auto;
    padding: 0 0.75rem;
    gap: 0.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 1.5rem;
    padding: 1.5rem;
    min-height: calc(100vh - 140px);
}

@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.card:last-child {
    margin-bottom: 0;
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header h3 svg {
    width: 20px;
    height: 20px;
}

.refresh-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

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

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

.card-body {
    padding: 1.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Indicators */
.indicators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.indicator {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.indicator-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.indicator-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.indicator-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.indicator-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--danger), var(--warning), var(--accent));
    border-radius: 3px;
    width: 50%;
}

/* Gainers List */
.gainers-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gainer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    cursor: pointer;
}

.gainer-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.gainer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gainer-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.gainer-details {
    display: flex;
    flex-direction: column;
}

.gainer-symbol {
    font-weight: 600;
    font-size: 0.95rem;
}

.gainer-name {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.gainer-price {
    font-weight: 600;
    font-size: 1rem;
}

.gainer-change {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.gainer-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.gainer-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Staking */
.staking-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.staking-item {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 1rem;
    transition: all 0.2s ease;
}

.staking-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.staking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.staking-name {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.staking-name svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.staking-apy {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.staking-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.staking-tvl {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.staking-tvl svg {
    width: 16px;
    height: 16px;
}

.no-staking {
    text-align: center;
    padding: 2rem;
    color: var(--text-tertiary);
}

.no-staking svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Chart */
.chart-card .card-body {
    padding: 0;
    height: 400px;
}

.chart-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.chart-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.chart-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.chart-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeframe-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.timeframe-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

.timeframe-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Recommendation */
.recommendation-card {
    border-color: var(--primary);
    border-width: 2px;
}

.confidence-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.recommendation-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.no-signal {
    text-align: center;
    padding: 2rem;
    color: var(--text-tertiary);
}

.no-signal svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.signal-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid;
    transition: all 0.3s ease;
}

.signal-card.buy {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.1));
}

.signal-card.sell {
    border-color: var(--danger);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.1));
}

.signal-card.neutral {
    border-color: var(--warning);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(245, 158, 11, 0.1));
}

.signal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.signal-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.signal-type.buy {
    color: var(--accent);
}

.signal-type.sell {
    color: var(--danger);
}

.signal-type.neutral {
    color: var(--warning);
}

.signal-type svg {
    width: 24px;
    height: 24px;
}

.signal-explanation {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.signal-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.signal-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 600;
    font-size: 1rem;
}

/* Signals List */
.signals-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.no-signals {
    text-align: center;
    padding: 1rem;
    color: var(--text-tertiary);
}

.signal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.signal-item:hover {
    transform: translateX(4px);
}

.signal-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.signal-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signal-icon.buy {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.signal-icon.sell {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.signal-icon svg {
    width: 18px;
    height: 18px;
}

.signal-desc {
    display: flex;
    flex-direction: column;
}

.signal-pair {
    font-weight: 600;
    font-size: 0.9rem;
}

.signal-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.signal-result {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.signal-result.win {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.signal-result.loss {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Risk Management */
.risk-management {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.risk-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.risk-item span:first-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.risk-item span:last-child {
    font-weight: 600;
    font-size: 1rem;
}

.risk-slider {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.risk-slider label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

#riskPercentage {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-tertiary);
    outline: none;
    -webkit-appearance: none;
}

#riskPercentage::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid var(--bg-primary);
    box-shadow: var(--shadow);
}

#riskPercentage::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid var(--bg-primary);
    box-shadow: var(--shadow);
}

/* Footer */
.app-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 1rem 2rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

/* Warning Banner */
.warning-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.warning-banner svg {
    width: 32px;
    height: 32px;
    color: var(--warning);
    flex-shrink: 0;
}

.warning-banner h3 {
    color: var(--warning);
    margin: 0;
}

/* Animations */
@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes loading {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .header-left, .header-center, .header-right {
        width: 100%;
    }
    
    .header-controls {
        justify-content: center;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }
    
    .stats-grid, .indicators-grid {
        grid-template-columns: 1fr;
    }
    
    .signal-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}