/* Simple Kitco Maintenance Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f8fafc;
    color: #1f2937;
    line-height: 1.6;
}

/* Header */
.header {
    background-color: #373737;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 80px;
}

.logo {
    height: 60px;
    width: auto;
}

/* Ticker Section */
.ticker-section {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 80px;
    z-index: 40;
    min-height: 60px;
}

.ticker-section .tradingview-widget-container {
    position: relative;
    padding: 0;
}

/* CTA Button - Minimal Glow Style */
.cta-button {
    background: #EBBC4D;
    color: #2c3e50;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 800;
    text-align: center;
    border: none;
    position: relative;
    box-shadow: 
        0 0 8px rgba(235, 188, 77, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: #EBBC4D;
    transform: translateY(-2px);
    box-shadow: 
        0 0 12px rgba(235, 188, 77, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 
        0 0 6px rgba(235, 188, 77, 0.2),
        0 6px 20px rgba(0, 0, 0, 0.12);
}

.cta-text-primary {
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cta-text-secondary {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 2px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Prices Section */
.prices-section {
    margin-bottom: 3rem;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.price-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 120px;
    cursor: pointer;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #fbbf24;
}

.price-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.price-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.gold-dot { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.silver-dot { background: linear-gradient(135deg, #9ca3af, #6b7280); }
.platinum-dot { background: linear-gradient(135deg, #e5e7eb, #d1d5db); }
.palladium-dot { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }

/* Notice Section - Toned Down Red & Smaller */
.notice-section {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fca5a5;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.notice-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f87171, #fca5a5, #f87171);
}

.notice-badge {
    margin-bottom: 0.75rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #f87171, #ef4444);
    color: #ffffff;
    box-shadow: 0 2px 4px -1px rgba(248, 113, 113, 0.3);
}

.notice-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.75rem;
}

.notice-description {
    font-size: 1rem;
    color: #991b1b;
    margin-bottom: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Market Overview Section */
.market-overview-section {
    margin-bottom: 3rem;
}

.market-table-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.market-table-container .tradingview-widget-container {
    position: relative;
    padding: 0;
    min-width: 600px;
}

/* Charts Section */
.charts-section {
    margin-top: 3rem;
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.chart-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    padding: 1rem;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-bottom: 1px solid #d1d5db;
    margin: 0;
}

/* Crypto Charts Section */
.crypto-charts-section {
    margin-top: 3rem;
}

/* Indices Charts Section */
.indices-charts-section {
    margin-top: 3rem;
}

.tradingview-widget-container {
    padding: 1rem;
    position: relative;
}

/* Click Blocker - Prevents clicking on TradingView widgets */
.click-blocker {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999 !important;
    background: transparent !important;
    cursor: default !important;
    pointer-events: auto !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .price-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .ticker-section {
        top: 70px;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .logo {
        height: 50px;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .notice-title {
        font-size: 1.25rem;
    }
    
    .notice-description {
        font-size: 0.9rem;
    }
    
    .cta-text-primary {
        font-size: 0.8rem;
    }
    
    .cta-text-secondary {
        font-size: 0.7rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
    }
    
    .price-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .price-card {
        min-height: 100px;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .chart-container {
        margin-bottom: 0;
    }
    
    .notice-section {
        padding: 1rem;
    }
    
    .ticker-section {
        position: relative;
        top: 0;
    }
    
    .market-table-container {
        margin: 0 -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .market-table-container .tradingview-widget-container {
        height: 600px;
        min-width: 800px;
    }
}