.header-skeleton {
    height: 425px;
    background: #0a0a0a;
    border-bottom: 1px solid #e2e8f0;
    display: block;
    align-items: center;
    padding: 0 2rem;
}
.header-skeleton::before {
    content: '';
    width: 150px;
    height: 419px;
    border-radius: 8px;
}
.navmenu-skeleton {
    background: #1a1a2e;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 1px solid #2a2a3e;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.navmenu-skeleton::before {
    content: '';
    width: 150px;
    height: 272px;
    border-radius: 8px;
}
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}
.img-logo{
  display: inline-block;
  vertical-align: middle;
}

.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid #2a2a3e;
}

.header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
    font-size: 18px;
    opacity: 0.8;
    color: #b0b0b0;
}

.source-info {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 20px;
    margin-top: 20px;
    display: inline-block;
    font-size: 14px;
    color: #a0a0a0;
}

main {
    min-height: 60vh;
}

.footer {
    background: #0f0f1e;
    border-top: 1px solid #2a2a3e;
    padding: 40px 20px 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-disclaimer {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    color: #fca5a5;
    font-size: 14px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-disclaimer strong {
    color: #ef4444;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #00d4ff;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.footer-link:hover {
    color: #00d4ff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #2a2a3e;
    padding-top: 20px;
    color: #666;
    font-size: 13px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 0fr));
    gap: 5px;
    margin: 10px 0;
}

.stat-card {
    background: #1a1a2e;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #2a2a3e;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,150,255,0.2);
    border-color: #0099cc;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #808080;
}

/* Navigation Menu */
.nav-menu {
    background: #1a1a2e;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 1px solid #2a2a3e;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #0f0f1e;
    border: 1px solid #2a2a3e;
    border-radius: 8px;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-link:hover {
    background: #00d4ff;
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.nav-link.active {
    background: #0099cc;
    color: white;
    border-color: #0099cc;
}

.nav-link.spike {
    border-color: #ffc107;
}

.nav-link.spike:hover {
    background: #ffc107;
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.spike-badge {
    background: #ff4444;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: bold;
}

.controls {
    background: #1a1a2e;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid #2a2a3e;
}

.period-selector {
    display: flex;
    gap: 5px;
}

.period-btn {
    padding: 10px 20px;
    border: 1px solid #2a2a3e;
    background: #0f0f1e;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0;
    transition: all 0.2s;
}

.period-btn:hover {
    background: #1a1a2e;
    border-color: #0099cc;
}

.period-btn.active {
    background: #0099cc;
    color: white;
    border-color: #0099cc;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #2a2a3e;
    background: #0f0f1e;
    border-radius: 8px;
    font-size: 14px;
    color: #e0e0e0;
}

.search-box input:focus {
    outline: none;
    border-color: #0099cc;
}

.search-box input::placeholder {
    color: #666;
}

.table-container {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    overflow-x: auto;
    border: 1px solid #2a2a3e;
}

table {
    width: 100%;
    border-collapse: collapse;
    /* min-width: 1400px; */
}

th {
    background: #0f0f1e;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #b0b0b0;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid #2a2a3e;
}

th:hover {
    background: #1a1a2e;
    color: #e0e0e0;
}

td {
    padding: 16px;
    border-bottom: 1px solid #252538;
}

tr:hover {
    background: #16213e;
}

.symbol-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.symbol-link {
    color: #00d4ff;
    text-decoration: none;
}

.symbol-link:hover {
    text-decoration: underline;
}

.badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.badge-tuned {
    background: #00d4ff;
    color: #0a0a0a;
}

.trend-positive {
    color: #4ade80;
    font-weight: 600;
}

.trend-negative {
    color: #ef4444;
    font-weight: 600;
}

.trend-neutral {
    color: #808080;
    font-weight: 600;
}

.price {
    font-family: 'SF Mono', Monaco, monospace;
    color: #e0e0e0;
}

.confidence-range {
    font-size: 13px;
    color: #808080;
}

.metrics-cell {
    font-size: 14px;
    line-height: 1.6;
}

.metric-value {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 2px 0;
    font-size: 13px;
    font-weight: 500;
}

.mape-value {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.accuracy-value {
    background: rgba(74, 222, 128, 0.2);
    color: #86efac;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.tested-value {
    color: #666;
    font-size: 11px;
}

.sort-arrow {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    color: #666;
}

.actions {
    display: flex;
    gap: 10px;
}

.action-link {
    color: #00d4ff;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.2s;
}

.action-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
}

/* SEO Content Section */
.seo-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 20px;
    background: #1a1a2e;
    border-radius: 12px;
    border: 1px solid #2a2a3e;
}

.seo-content h2 {
    color: #00d4ff;
    margin-bottom: 20px;
    font-size: 28px;
}

.seo-content h3 {
    color: #e0e0e0;
    margin: 25px 0 15px 0;
    font-size: 20px;
}

.seo-content p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.seo-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.seo-content li {
    color: #b0b0b0;
    margin-bottom: 10px;
    line-height: 1.6;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: #1a1a2e;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #2a2a3e;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.modal h2 {
    color: #00d4ff;
    margin-bottom: 20px;
    font-size: 24px;
}

.modal h3 {
    color: #e0e0e0;
    margin: 20px 0 10px 0;
    font-size: 18px;
}

.modal p, .modal li {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 10px;
}

.modal ul {
    margin-left: 20px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #00d4ff;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-top: 1px solid #2a2a3e;
    padding: 20px;
    z-index: 999;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin: 0;
    color: #b0b0b0;
}

.cookie-text a {
    color: #00d4ff;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #0099cc;
    color: white;
}

.btn-primary:hover {
    background: #007aa3;
}

.btn-secondary {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #2a2a3e;
}

.btn-secondary:hover {
    background: #1a1a2e;
    border-color: #0099cc;
}

.alert {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #ffc107;
}

.alert-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 850px;
}

.alert-box {
    background: linear-gradient(135deg, rgba(255,193,7,0.1) 0%, rgba(255,152,0,0.1) 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    animation: pulse 2s infinite;
    font-size: 14px;
    display: inline-table;
    height: 300px;
}

.alert-symbol {
    background: rgba(0,0,0,0.3);
    border: 1px solid #00d4ff;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}
.alert-link {
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.stat-positive { color: #4ade80; }
.stat-negative { color: #ef4444; }
.stat-info { color: #00d4ff; }
.stat-warning { color: #f59e0b; }

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

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

@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
        transform: scale(1);
    }
    50% {
        transform: scale(1.005);
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
        transform: scale(1);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
        transform: scale(1);
    }
}

.spike-indicator {
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

.spike-section {
    margin-bottom: 30px;
}
