/* ===================================
   Premium Precious Metals Dashboard
   Luxurious Dark Theme with Gold & Silver
   =================================== */

/* CSS Variables - Enhanced Premium Palette */
:root {
    /* Base Colors */
    --bg-primary: #050508;
    --bg-secondary: #0d0d14;
    --bg-card: rgba(20, 20, 32, 0.85);
    --bg-card-hover: rgba(30, 30, 48, 0.95);

    --text-primary: #ffffff;
    --text-secondary: #a8a8b8;
    --text-muted: #6a6a7a;

    /* Premium Metal Colors */
    --gold-primary: #ffd700;
    --gold-secondary: #ffb800;
    --gold-dark: #b8860b;
    --gold-glow: rgba(255, 215, 0, 0.3);

    --silver-primary: #c0c0c0;
    --silver-secondary: #a8a8a8;
    --silver-dark: #808080;
    --silver-glow: rgba(192, 192, 192, 0.3);

    /* Accent Colors */
    --success: #00d97e;
    --success-bg: rgba(0, 217, 126, 0.15);
    --danger: #ff4757;
    --danger-bg: rgba(255, 71, 87, 0.15);
    --warning: #ffa502;
    --info: #5b8cff;

    /* Premium Gradients */
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #ff4500 100%);
    --gradient-silver: linear-gradient(135deg, #e8e8e8 0%, #a8a8a8 50%, #7a7a7a 100%);
    --gradient-premium: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-luxury: linear-gradient(145deg, rgba(255, 215, 0, 0.1) 0%, rgba(192, 192, 192, 0.1) 100%);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Borders & Radius */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --border-radius-xs: 8px;

    /* Shadows - Enhanced */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 60px rgba(255, 215, 0, 0.15);
    --shadow-silver: 0 0 60px rgba(192, 192, 192, 0.15);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 0%, rgba(192, 192, 192, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(102, 126, 234, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.particle.gold {
    background: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
}

.particle.silver {
    background: var(--silver-primary);
    box-shadow: 0 0 10px var(--silver-glow);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.app {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========== HEADER ========== */
.header {
    background: rgba(5, 5, 8, 0.95);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 20px var(--gold-glow));
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px var(--gold-glow));
    }

    50% {
        filter: drop-shadow(0 0 30px var(--gold-glow)) brightness(1.2);
    }
}

.logo-text h1 {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--gold-primary) 50%, var(--silver-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.logo-text .subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Asset Toggle - Premium Style */
.asset-toggle {
    display: flex;
    background: var(--bg-secondary);
    border-radius: 50px;
    padding: 4px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.asset-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-luxury);
    opacity: 0.5;
}

.asset-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition-fast);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.asset-btn.active[data-asset="silver"] {
    background: var(--gradient-silver);
    color: #1a1a1a;
    box-shadow: 0 4px 20px var(--silver-glow);
}

.asset-btn.active[data-asset="gold"] {
    background: var(--gradient-gold);
    color: #1a1a1a;
    box-shadow: 0 4px 20px var(--gold-glow);
}

.asset-btn:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Data Status */
.data-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.data-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--warning);
    animation: pulse 2s infinite;
}

.data-status.current .status-dot {
    background: var(--success);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

/* Currency Toggle */
.currency-toggle {
    display: flex;
    background: var(--bg-secondary);
    border-radius: 50px;
    padding: 4px;
    border: 1px solid var(--border-color);
}

.toggle-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.toggle-btn.active {
    background: var(--gradient-premium);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.toggle-btn:hover:not(.active) {
    color: var(--text-primary);
}

/* Refresh Button */
.refresh-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--glass-bg);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.refresh-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px var(--gold-glow);
}

.refresh-btn.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ========== MAIN CONTENT ========== */
.main {
    flex: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: linear-gradient(90deg, rgba(255, 165, 2, 0.1), rgba(255, 71, 87, 0.1));
    border: 1px solid rgba(255, 165, 2, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
}

.disclaimer-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--warning);
    font-size: 0.875rem;
}

.disclaimer-content p {
    margin: 0;
}

/* ========== CARDS ========== */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-luxury);
    opacity: 0;
    transition: var(--transition-normal);
}

.card:hover {
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    opacity: 0.5;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.card-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ========== PRICE CARDS GRID ========== */
.price-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.price-card {
    position: relative;
    overflow: hidden;
}

.price-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
}

.current-price::after {
    background: linear-gradient(90deg, var(--gold-primary), var(--silver-primary));
}

.prediction-card::after {
    background: linear-gradient(90deg, var(--info), var(--success));
}

.stats-card::after {
    background: var(--gradient-premium);
}

/* Live Badge */
.live-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 10px var(--success);
}

/* Trend Badge */
.trend-badge {
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.trend-badge.up {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(0, 217, 126, 0.3);
}

.trend-badge.down {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(255, 71, 87, 0.3);
}

/* Card Value - Large Price Display */
.card-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

.card-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.card-change {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.change-value,
.change-percent {
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
}

.change-value.positive,
.change-percent.positive {
    background: var(--success-bg);
    color: var(--success);
}

.change-value.negative,
.change-percent.negative {
    background: var(--danger-bg);
    color: var(--danger);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-xs);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.stat-item:hover {
    border-color: var(--gold-primary);
    background: rgba(255, 215, 0, 0.05);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ========== CHART SECTION ========== */
.charts-section {
    margin-bottom: 2rem;
}

.chart-card {
    padding: 1.5rem;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.period-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.period-btn.active {
    background: var(--gradient-premium);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.period-btn:hover:not(.active) {
    border-color: var(--gold-primary);
    color: var(--text-primary);
}

.chart-container {
    height: 420px;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

/* ========== PREDICTION TABLE ========== */
.prediction-section {
    margin-bottom: 2rem;
}

.table-card {
    overflow: hidden;
}

.table-container {
    overflow-x: auto;
}

.prediction-table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
    z-index: 1;
}

.prediction-table th,
.prediction-table td {
    padding: 1.1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.prediction-table th {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(0, 0, 0, 0.3);
}

.prediction-table td {
    font-size: 0.95rem;
    font-weight: 500;
}

.prediction-table tbody tr {
    transition: var(--transition-fast);
}

.prediction-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

.prediction-table .trend-up {
    color: var(--success);
    font-weight: 700;
}

.prediction-table .trend-down {
    color: var(--danger);
    font-weight: 700;
}

.last-update {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.loading-cell {
    text-align: center;
    color: var(--text-muted);
    padding: 2.5rem !important;
}

/* ========== MODEL SECTION ========== */
.model-section {
    margin-bottom: 2rem;
}

.model-card {
    background: linear-gradient(145deg, rgba(50, 50, 80, 0.4), rgba(20, 20, 35, 0.8));
}

.model-badge {
    padding: 0.35rem 1rem;
    background: var(--gradient-gold);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a1a1a;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.model-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
    position: relative;
    z-index: 1;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.metric-item:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.metric-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* ========== ACCURACY SECTION ========== */
.accuracy-section {
    margin-bottom: 2rem;
}

.accuracy-card {
    background: linear-gradient(145deg, rgba(0, 217, 126, 0.1), rgba(20, 20, 35, 0.8));
}

.accuracy-badge {
    padding: 0.4rem 1rem;
    background: var(--success-bg);
    color: var(--success);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(0, 217, 126, 0.3);
}

.accuracy-content {
    position: relative;
    z-index: 1;
}

/* ========== NEWS SECTION ========== */
.news-section {
    margin-bottom: 2rem;
}

.news-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

.refresh-news-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.refresh-news-btn:hover {
    color: var(--text-primary);
    border-color: var(--gold-primary);
}

.news-list {
    position: relative;
    z-index: 1;
}

.news-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.news-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.news-item:hover {
    padding-left: 0.5rem;
    border-left: 2px solid var(--gold-primary);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.news-item a:hover {
    color: var(--gold-primary);
}

.news-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ========== SUBSCRIBE SECTION ========== */
.subscribe-section {
    margin-bottom: 2rem;
}

.subscribe-card {
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.15), rgba(20, 20, 35, 0.9));
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.subscribe-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.subscribe-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subscribe-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.subscribe-form {
    display: flex;
    gap: 0.75rem;
}

.subscribe-form input {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 280px;
    transition: var(--transition-fast);
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px var(--gold-glow);
}

.subscribe-form input::placeholder {
    color: var(--text-muted);
}

.subscribe-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    background: var(--gradient-gold);
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--gold-glow);
}

.subscribe-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.footer-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-content p:first-child {
    font-weight: 600;
    color: var(--text-secondary);
}

.disclaimer {
    margin-top: 0.75rem;
    font-size: 0.75rem !important;
    color: var(--warning) !important;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-primary);
}

/* ========== LOADING OVERLAY ========== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loader {
    width: 56px;
    height: 56px;
    border: 3px solid var(--border-color);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
}

.toast {
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.success {
    border-left: 3px solid var(--success);
}

.toast.error {
    border-left: 3px solid var(--danger);
}

.toast.info {
    border-left: 3px solid var(--info);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .price-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-card {
        grid-column: span 2;
    }

    .model-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .subscribe-content {
        flex-direction: column;
        text-align: center;
    }

    .subscribe-form {
        width: 100%;
        max-width: 400px;
    }

    .subscribe-form input {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.5rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo {
        justify-content: center;
        margin-bottom: 0;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .logo-text h1 {
        font-size: 1.1rem;
        text-align: center;
    }

    .logo-text .subtitle {
        display: none;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .data-status {
        display: none;
    }

    .asset-btn,
    .toggle-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .main {
        padding: 1rem;
    }

    .price-cards {
        grid-template-columns: 1fr;
    }

    .stats-card {
        grid-column: auto;
    }

    .card-value {
        font-size: 2.25rem;
    }

    .chart-container {
        height: 280px;
    }

    .model-metrics {
        grid-template-columns: 1fr;
    }

    .chart-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-actions {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .asset-btn,
    .toggle-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .card {
        padding: 1.25rem;
    }

    .card-value {
        font-size: 1.9rem;
    }

    .prediction-table th,
    .prediction-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input {
        width: 100%;
    }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-primary), var(--silver-primary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* ========== SELECTION ========== */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: var(--text-primary);
}

/* ========== INFO & MARKET ANALYSIS SECTIONS ========== */
.info-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    height: 100%;
}

.info-content {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-content p {
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
    position: relative;
}

.info-list li::before {
    content: '•';
    color: var(--gold-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.factor-item {
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: var(--border-radius-xs);
    border-left: 3px solid var(--gold-dark);
}

.factor-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.factor-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    margin-bottom: 2rem;
}

.center-header {
    justify-content: center;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.faq-question {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========== MODALS ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background: var(--bg-card);
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.modal-body {
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-body h3 {
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
}

.contact-email {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin: 1rem 0;
    text-align: center;
    background: rgba(255, 215, 0, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .info-section {
        grid-template-columns: 1fr;
    }

    .price-cards {
        grid-template-columns: 1fr;
    }

    .model-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
}/ *   B l o g   S p e c i f i c   S t y l e s   * /  
 . b l o g - c o n t a i n e r   {  
         m a x - w i d t h :   8 0 0 p x ;  
         m a r g i n :   4 r e m   a u t o ;  
         p a d d i n g :   0   1 . 5 r e m ;  
 }  
  
 . b l o g - p o s t   {  
         b a c k g r o u n d :   v a r ( - - b g - c a r d ) ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r - c o l o r ) ;  
         b o r d e r - r a d i u s :   v a r ( - - b o r d e r - r a d i u s ) ;  
         p a d d i n g :   2 r e m ;  
         m a r g i n - b o t t o m :   2 r e m ;  
 }  
  
 . b l o g - t i t l e   {  
         f o n t - s i z e :   2 r e m ;  
         b a c k g r o u n d :   v a r ( - - g r a d i e n t - g o l d ) ;  
         - w e b k i t - b a c k g r o u n d - c l i p :   t e x t ;  
         - w e b k i t - t e x t - f i l l - c o l o r :   t r a n s p a r e n t ;  
         m a r g i n - b o t t o m :   1 r e m ;  
 }  
  
 . b l o g - m e t a   {  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
         f o n t - s i z e :   0 . 9 r e m ;  
         m a r g i n - b o t t o m :   2 r e m ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r - c o l o r ) ;  
         p a d d i n g - b o t t o m :   1 r e m ;  
 }  
  
 . b l o g - c o n t e n t   h 2   {  
         c o l o r :   v a r ( - - g o l d - p r i m a r y ) ;  
         m a r g i n - t o p :   2 r e m ;  
         m a r g i n - b o t t o m :   1 r e m ;  
         f o n t - s i z e :   1 . 5 r e m ;  
 }  
  
 . b l o g - c o n t e n t   p   {  
         l i n e - h e i g h t :   1 . 8 ;  
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ;  
         m a r g i n - b o t t o m :   1 . 5 r e m ;  
         f o n t - s i z e :   1 . 0 5 r e m ;  
 }  
  
 . b l o g - c o n t e n t   u l   {  
         m a r g i n - b o t t o m :   1 . 5 r e m ;  
         p a d d i n g - l e f t :   1 . 5 r e m ;  
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ;  
 }  
  
 . b l o g - c o n t e n t   l i   {  
         m a r g i n - b o t t o m :   0 . 5 r e m ;  
 }  
  
 . b r e a d c r u m b   {  
         m a r g i n - b o t t o m :   2 r e m ;  
         c o l o r :   v a r ( - - t e x t - m u t e d ) ;  
 }  
  
 . b r e a d c r u m b   a   {  
         c o l o r :   v a r ( - - g o l d - p r i m a r y ) ;  
         t e x t - d e c o r a t i o n :   n o n e ;  
 }  
  
 . b r e a d c r u m b   a : h o v e r   {  
         t e x t - d e c o r a t i o n :   u n d e r l i n e ;  
 }  
 