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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow-x: hidden;
    padding-bottom: 80px; /* Add padding to prevent content from being hidden behind sticky banner */
    /* Mobile viewport fix */
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

/* Global Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007BFF, #00C851);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3, #00A843);
}

/* Dashboard Container */
.dashboard-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.dashboard-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

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

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

.logo-icon {
    font-size: 2rem;
    color: #00ff88;
    filter: drop-shadow(0 2px 4px rgba(0, 255, 136, 0.3));
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Main Content */
.dashboard-main {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Metrics Row */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: linear-gradient(135deg, #2c3e50, #3a4a5c);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.metric-label {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-family: 'Roboto Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.metric-trend {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Color Classes */
.bullish {
    color: #00C851;
}

.bearish {
    color: #FF4444;
}

.neutral {
    color: #6C757D;
}

/* Dashboard Content Grid */
.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    min-height: 600px;
}

/* Panel Styles */
.left-panel, .center-panel, .right-panel {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

/* Tweet Feed */
.tweet-feed {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #4a5568 #2d3748;
}

.tweet-feed::-webkit-scrollbar {
    width: 6px;
}

.tweet-feed::-webkit-scrollbar-track {
    background: #2d3748;
    border-radius: 3px;
}

.tweet-feed::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007BFF, #00C851);
    border-radius: 3px;
}

.tweet-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tweet-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
}

.tweet-item.bullish {
    border-left-color: #00C851;
}

.tweet-item.bearish {
    border-left-color: #FF4444;
}

.tweet-item.neutral {
    border-left-color: #6C757D;
}

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

.tweet-user {
    font-weight: 500;
    color: #007BFF;
}

.tweet-time {
    font-size: 0.8rem;
    color: #b0b0b0;
}

.tweet-content {
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.tweet-sentiment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.sentiment-score {
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
}

/* Refresh Indicator */
.refresh-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00C851;
    font-size: 0.9rem;
}

.refresh-dot {
    width: 8px;
    height: 8px;
    background-color: #00C851;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Sentiment Gauge */
.sentiment-gauge-container {
    text-align: center;
    margin-bottom: 2rem;
}

.gauge-wrapper {
    position: relative;
    display: inline-block;
}

#sentimentGauge {
    max-width: 100%;
    height: auto;
}

.gauge-value {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Roboto Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.gauge-label {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #e0e0e0;
}

/* Keyword Cloud */
.keyword-cloud-container h3 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.1rem;
}

.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.keyword-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.keyword-tag:hover {
    transform: scale(1.05);
}

.keyword-tag.bullish {
    background-color: rgba(0, 200, 81, 0.2);
    color: #00C851;
    border: 1px solid rgba(0, 200, 81, 0.3);
}

.keyword-tag.bearish {
    background-color: rgba(255, 68, 68, 0.2);
    color: #FF4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.keyword-tag.neutral {
    background-color: rgba(108, 117, 125, 0.2);
    color: #6C757D;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

/* Time Selector */
.time-selector {
    display: flex;
    gap: 0.5rem;
}

.time-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.time-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.time-btn.active {
    background-color: #007BFF;
    border-color: #007BFF;
    color: #ffffff;
}

/* Chart Container */
.chart-container {
    height: 400px;
    position: relative;
}

/* Control Panel */
.control-panel {
    position: fixed;
    right: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 2rem;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 200;
    overflow-y: auto;
}

.control-panel.open {
    right: 0;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.control-header h3 {
    color: #ffffff;
    font-size: 1.2rem;
}

.toggle-panel {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.toggle-panel:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.control-group {
    margin-bottom: 2rem;
}

.control-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-weight: 500;
}

/* Slider Styles */
.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #4a5568;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007BFF;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007BFF;
    cursor: pointer;
    border: none;
}

.slider-value {
    display: inline-block;
    margin-left: 1rem;
    font-family: 'Roboto Mono', monospace;
    color: #007BFF;
    font-weight: 600;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4a5568;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #007BFF;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #6C757D;
}

.status-dot.active {
    background-color: #00C851;
    animation: pulse 2s infinite;
}

/* Refresh Button */
.refresh-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #007BFF, #0056b3);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 4px;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: scale(1.05);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #00ff88;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Component Loading States */
.component-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.component-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-left: 2px solid #007BFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

.refresh-indicator.loading {
    animation: pulse-loading 1.5s ease-in-out infinite;
}

@keyframes pulse-loading {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.metric-card.loading {
    background: linear-gradient(135deg, #2c3e50, #3a4a5c);
    position: relative;
    overflow: hidden;
}

.metric-card.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.tweet-feed.loading {
    position: relative;
}

.tweet-feed.loading::before {
    content: '';
    position: absolute;
    top: 0;
    right: 10px;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 200, 81, 0.3);
    border-top: 2px solid #00C851;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 5;
}

.chart-container.loading {
    position: relative;
}

.chart-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-left: 3px solid #007BFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

.gauge-wrapper.loading {
    position: relative;
}

.gauge-wrapper.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-left: 3px solid #007BFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Status indicator for data refresh */
.data-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #b0b0b0;
    margin-left: 1rem;
}

.data-status.updating {
    color: #007BFF;
}

.data-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #6C757D;
    transition: all 0.3s ease;
}

.data-status.updating .data-status-dot {
    background-color: #007BFF;
    animation: pulse 1s infinite;
}

/* Page Navigation */
.page-navigation {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    color: #b0b0b0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(0, 255, 136, 0.05);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #007BFF;
    border-bottom-color: #007BFF;
    background: rgba(0, 123, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.nav-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.nav-link:hover .nav-icon {
    transform: scale(1.1);
}

.nav-text {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .center-panel {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .page-navigation {
        padding: 0 1rem;
        overflow-x: auto;
    }
    
    .nav-link {
        white-space: nowrap;
        padding: 1rem;
    }
    
    .dashboard-main {
        padding: 1rem;
    }
    
    .metrics-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .dashboard-title {
        font-size: 1.4rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .control-panel {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .metrics-row {
        grid-template-columns: 1fr;
    }
    
    .header-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .dashboard-title {
        font-size: 1.2rem;
    }
}



/* Ad Container Styles */
.ad-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 50;
    background: rgba(42, 42, 42, 0.9);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 136, 0.4),
        0 0 40px rgba(0, 255, 136, 0.2),
        0 0 60px rgba(0, 255, 136, 0.1),
        inset 0 0 20px rgba(0, 255, 136, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 255, 136, 0.6);
    animation: green-glow-pulse 3s ease-in-out infinite alternate;
}

.ad-container.left {
    left: 20px;
}

.ad-container.right {
    right: 20px;
}

.ad-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Main content padding to accommodate ads */
.dashboard-container {
    padding-left: 200px;
    padding-right: 200px;
}

/* Responsive design for ads */
@media (max-width: 1400px) {
    .dashboard-container {
        padding-left: 180px;
        padding-right: 180px;
    }
    
    .ad-container {
        width: 140px;
    }
    
    .ad-container.left {
        left: 15px;
    }
    
    .ad-container.right {
        right: 15px;
    }
}

@media (max-width: 1200px) {
    .dashboard-container {
        padding-left: 160px;
        padding-right: 160px;
    }
    
    .ad-container {
        width: 120px;
        height: 500px;
    }
    
    .ad-container.left {
        left: 10px;
    }
    
    .ad-container.right {
        right: 10px;
    }
}

@media (max-width: 1024px) {
    .dashboard-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .ad-container {
        display: none;
    }
}

/* Hide ads on mobile devices */
@media (max-width: 768px) {
    .ad-container {
        display: none;
    }
    
    .dashboard-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Header responsive */
    .dashboard-header {
        padding: 0.75rem 1rem;
    }
    
    .logo-icon {
        font-size: 1.75rem;
    }
    
    .dashboard-title {
        font-size: 1.25rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile Navigation */
    .page-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #1a1a2e, #16213e);
        transition: left 0.3s ease;
        z-index: 1001;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
        border-right: 2px solid rgba(0, 255, 136, 0.3);
    }
    
    .page-navigation.active {
        left: 0;
    }
    
    .nav-container {
        flex-direction: column;
        padding: 2rem 0;
        height: 100%;
        overflow-y: auto;
    }
    
    .nav-link {
        padding: 1.5rem 2rem;
        border-bottom: 1px solid rgba(0, 255, 136, 0.1);
        border-left: 3px solid transparent;
        justify-content: flex-start;
    }
    
    .nav-link.active {
        border-left-color: #007BFF;
        border-bottom-color: transparent;
        background: rgba(0, 255, 136, 0.15);
    }
    
    .nav-link:hover {
        transform: translateX(5px);
        background: rgba(0, 255, 136, 0.1);
    }
    
    .nav-icon {
        font-size: 1.5rem;
    }
    
    .nav-text {
        font-size: 1rem;
    }
}


/* CSS Variables for banner height */
:root {
    --banner-height: 60px;
}

/* Streaming Banner Styles */
.streaming-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0; /* Add right: 0 for better mobile support */
    width: 100%;
    height: var(--banner-height);
    background: linear-gradient(90deg, #1a1a2e, #16213e, #0f3460);
    color: #00ff88;
    overflow: hidden;
    z-index: 9999; /* Increased z-index to ensure it's always on top */
    border-top: 3px solid #00ff88;
    box-shadow: 0 -5px 20px rgba(0, 255, 136, 0.4);
    backdrop-filter: blur(10px);
    display: block; /* Ensure it's always displayed */
    visibility: visible; /* Ensure it's always visible */
    /* Mobile fixes */
    -webkit-transform: translateZ(0); /* Force hardware acceleration */
    transform: translateZ(0);
    will-change: transform; /* Optimize for animations */
    /* Additional mobile support */
    bottom: env(safe-area-inset-bottom, 0); /* Respect mobile safe areas */
}

.streaming-content {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
    font-size: 18px;
    font-weight: 600;
    padding-left: 0;
}

.promo-item {
    margin-right: 120px;
    display: inline-flex;
    align-items: center;
}

.promo-site {
    color: #ffffff;
    font-weight: bold;
    margin-right: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.promo-code {
    background: linear-gradient(135deg, #00ff88, #00C851);
    color: #1a1a2e;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    margin: 0 6px;
    box-shadow: 0 3px 10px rgba(0, 255, 136, 0.4);
}

.promo-discount {
    color: #ffd700;
    font-weight: bold;
    margin-left: 10px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@keyframes scroll-left {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-25%);
    }
}

@keyframes green-glow-pulse {
    0% {
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(0, 255, 136, 0.4),
            0 0 40px rgba(0, 255, 136, 0.2),
            0 0 60px rgba(0, 255, 136, 0.1),
            inset 0 0 20px rgba(0, 255, 136, 0.1);
        border-color: rgba(0, 255, 136, 0.6);
    }
    100% {
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(0, 255, 136, 0.6),
            0 0 60px rgba(0, 255, 136, 0.4),
            0 0 90px rgba(0, 255, 136, 0.2),
            inset 0 0 30px rgba(0, 255, 136, 0.2);
        border-color: rgba(0, 255, 136, 0.9);
    }
}

/* Responsive banner styling */
@media (max-width: 768px) {
    :root {
        --banner-height: 50px;
    }
    
    .streaming-banner {
        height: var(--banner-height);
        /* Mobile-specific fixes */
        position: fixed !important;
        bottom: env(safe-area-inset-bottom, 0) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        /* Ensure it stays at bottom on mobile */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    
    .streaming-content {
        font-size: 16px;
        animation: scroll-left 15s linear infinite;
    }
    
    .promo-item {
        margin-right: 100px;
    }
    
    body {
        padding-bottom: calc(var(--banner-height) + 10px); /* Dynamic padding */
    }
}

@media (max-width: 480px) {
    :root {
        --banner-height: 45px;
    }
    
    .streaming-banner {
        height: var(--banner-height);
        /* Extra mobile fixes for small screens */
        position: fixed !important;
        bottom: env(safe-area-inset-bottom, 0) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important; /* Use viewport width */
        /* Force GPU acceleration */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
    }
    
    .streaming-content {
        font-size: 14px;
        animation: scroll-left 8s linear infinite;
    }
    
    .promo-item {
        margin-right: 80px;
    }
    
    body {
        padding-bottom: calc(var(--banner-height) + 10px); /* Dynamic padding */
    }
}


/* Warning Message Styles */
.warning-banner {
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    color: #ffffff;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 3px solid #ff4500;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    position: relative;
    z-index: 100;
    animation: pulse-warning 2s ease-in-out infinite;
}

.warning-banner .warning-icon {
    margin-right: 8px;
    font-size: 18px;
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 107, 53, 0.5);
    }
}

/* Responsive warning banner */
@media (max-width: 768px) {
    .warning-banner {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .warning-banner {
        padding: 8px 12px;
        font-size: 13px;
    }
}

