/* Home Page Styles */

/* Responsive Currency Card Rate Area */
.currency-rate-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0; /* allow children to shrink */
}

.currency-rate-row .target-value {
    flex: 1 1 auto;
    min-width: 40px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
    font-size: clamp(1rem, 2vw, 2rem); /* responsive font size */
    text-align: left;
    padding: 2px 6px;
    border-radius: 6px;
}

:root {
    --primary-dark: #1B1464;  /* Dark blue from logo */
    --accent: #786D3C;  /* Gold accent from logo */
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --text-color: #c1c1c1;
    --light-bg: #f8f9fa;
    --light-text: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background-color: var(--primary-dark);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.hero-video.loading {
    opacity: 0;
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/data-hero-bg.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;
    display: none;
}

.hero-fallback.active {
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 20, 100, 0.7), rgba(74, 74, 74, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    width: 100%; /* Add this line to ensure full width */
    margin: 0 auto; /* Center the content if max-width is applied */
}

.hero-text {
    max-width: 800px;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    background-color: #665c32;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
}

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

/* Market Data Section */
.market-data-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.market-data-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}

.market-data-section .section-header h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 2rem;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.update-time {
    color: #666;
    font-size: 0.875rem;
}

.currency-selector {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f0f0f0;
}

.currency-option.selected {
    background-color: var(--accent);
    color: white;
}

.currency-flag {

    object-fit: contain;
}

.product-name-cell {
    display: flex;
    flex-direction: column;
}

.product-name {
    font-weight: 600;
    color: var(--primary-dark);
}

.base-currency {
    font-size: 0.75rem;
    color: #666;
}

.price-cell {
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background-color: var(--success-color);
    color: white;
}

.status-badge.limited {
    background-color: var(--warning-color);
    color: #333;
}

.status-badge.inactive {
    background-color: var(--error-color);
    color: white;
}

.forecast-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.forecast-trend {
    font-weight: 600;
}

.forecast-trend.up {
    color: var(--success-color);
}

.forecast-trend.down {
    color: var(--error-color);
}

.action-column {
    white-space: nowrap;
}

.action-btn {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sample-btn {
    background-color: var(--primary-dark);
    color: white;
}

.sample-btn:hover {
    background-color: #15104f;
    text-decoration: none;
    color: white;
}

.quote-btn {
    background-color: var(--accent);
    color: white;
}

.quote-btn:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
    color: white;
}

/* Price Ticker */
.price-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.price-ticker {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 1rem 0;
}

.ticker-track {
    display: flex;
    animation: ticker 60s linear infinite;
    width: max-content; /* Ensures the track takes as much width as needed */
}

/* Pause animation on hover */
.price-ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    white-space: nowrap;
    color: var(--primary-dark);
    transition: all 0.3s ease;
    border-radius: 4px;
}

/* Add a subtle separator between items */
.ticker-item:not(:last-child)::after {
    content: "•";
    margin-left: 15px;
    color: var(--accent);
    opacity: 0.7;
}

/* Add this new style to fix the vertical alignment */
.ticker-item .product-name,
.ticker-item .price,
.ticker-item .price-value-ticket-item,
.ticker-item .trend-arrow {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.price-value-ticket-item {
    font-family: 'Comfortaa', sans-serif;
    min-width: 50px;
    display: inline-block;
    text-align: right;
}

.ticker-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(27, 20, 100, 0.3); /* Using primary-dark color with transparency */
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--primary-dark);
    /* padding: 0 2rem; */
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.ticker-item .product-name {
    color: var(--primary-dark);
}

.trend-arrow.up {
    color: var(--success-color);
}

.trend-arrow.down {
    color: var(--error-color);
}

/* Currency Data Section */
.currency-data-section {
    padding: 3rem 0;
    background-color: var(--light-bg);
}

.currency-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.currency-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    width: 220px;
    transition: transform 0.3s ease;
}

.currency-card:hover {
    transform: translateY(-5px);
}

.currency-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.currency-code {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.currency-rate {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.rate-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-right: 0.5rem;
}

.currency-arrow {
    color: var(--accent);
    font-size: 1.2rem;
    margin: 0 0.5rem;
}

.target-currency {
    font-size: 0.9rem;
    color: #666;
    margin-right: 0.5rem;
}

.target-value {
    flex: 1 1 auto;
    min-width: 40px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
    font-size: clamp(1rem, 2vw, 2rem); /* responsive font size */
    text-align: left;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--accent);
}

.update-time {
    font-size: 0.8rem;
    color: #999;
    display: block;
}

.currency-text {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.currency-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

/* Currency Selector */
.currency-selector {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.currency-option {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    background-color: #f5f5f5;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-option:hover {
    background-color: #e9e9e9;
}

.currency-option.selected {
    background-color: var(--primary-dark);
    color: white;
}

/* Announcements Section */
.announcements-section {
    padding: 3rem 0;
}

.announcements-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 700;
}

.announcements-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.announcement-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent);
}

.announcement-card.high-priority {
    border-left-color: var(--error-color);
}

.announcement-card.medium-priority {
    border-left-color: var(--warning-color);
}

.announcement-card.low-priority {
    border-left-color: var(--accent);
}

.announcement-header {
    padding: 1.5rem 1.5rem 0.5rem;
}

.announcement-header h3 {
    margin: 0 0 0.5rem;
    color: var(--primary-dark);
}

.announcement-date {
    font-size: 0.875rem;
    color: #666;
}

.announcement-content {
    padding: 0 1.5rem 1.5rem;
}

.announcement-footer {
    padding: 0.75rem 1.5rem;
    background-color: #f8f9fa;
    display: flex;
    justify-content: flex-end;
}

.priority-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-badge.high {
    background-color: var(--error-color);
    color: white;
}

.priority-badge.medium {
    background-color: var(--warning-color);
    color: #333;
}

.priority-badge.low {
    background-color: var(--accent);
    color: white;
}

/* Connect With Us Section */
.connect-section {
    background-color: #f8f9fa;
    margin-bottom: 3rem;
}

.connect-background {
    background-color: var(--primary-dark);
    border-radius: 10px;
    padding: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.connect-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.connect-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.connect-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.highlight {
    color: var(--accent);
    font-weight: bold;
}

.features-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    width: 30%;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: white;
}

@media (max-width: 992px) {
    .feature-card {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .feature-card {
        width: 100%;
    }
    
    .connect-content h1 {
        font-size: 2rem;
    }
}

/* Experience Section */
.experience-section {
    padding: 3rem 0;
    text-align: center;
}

.experience-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.experience-section h3 {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.partners-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.partners-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Partners Section updated */
.partners-section .section-header h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.partners-section .section-header h3 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Partners Section */
.partners-section {
    padding: 5rem 0 0;
    text-align: center;
}

.partners-section .section-header {
    margin-bottom: 3rem;
}

.gradient-text {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.partners-section .section-header h3 {
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    margin-top: 1rem;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.partner-logo {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 991.98px) {
    .gradient-text {
        font-size: 2.2rem;
    }
    
    .partners-section .section-header h3 {
        font-size: 1.6rem;
    }
    
    .partners-grid {
        gap: 2rem;
    }
    
    .partner-logo {
        width: 150px;
        height: 80px;
    }
}

@media (max-width: 575.98px) {
    .gradient-text {
        font-size: 1.8rem;
    }
    
    .partners-section .section-header h3 {
        font-size: 1.4rem;
    }
    
    .partners-grid {
        gap: 1.5rem;
    }
    
    .partner-logo {
        width: 120px;
        height: 70px;
    }
}

/* Loading and Error States */
.loading-container, .error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 2rem;
    text-align: center;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.error-container h2 {
    color: var(--error-color);
    margin-bottom: 1rem;
}

.error-container button {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.error-container button:hover {
    background-color: #15104f;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        padding: 0.6rem 1.8rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 90vh;
    }
    
    .hero-video {
        width: 90vw;
        height: 90%;
        object-fit: cover;
        object-position: 80% center;
        left: 0;
        transform: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-cta {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 80vh;
        min-height: 400px;
    }
    
    .hero-video {
        width: 90%;
        min-width: 90vw;
        object-position: 80% center;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-cta {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Dark Mode Market Data Section */
[data-theme="dark"] .market-data-section {
    background-color: var(--bg-color);
    color: var(--text-dark);
    padding: 3rem 0;
}

[data-theme="dark"] .market-data-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

[data-theme="dark"] .market-data-section .section-header h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

[data-theme="dark"] .market-data-section .update-time {
    color: var(--text-dark);
    font-size: 0.875rem;
}

/* Dark Mode Market Table Container */
[data-theme="dark"] .market-table-container {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow-x: auto;
    border: 1px solid var(--border-color);
    margin: 0 1.5rem;
    position: relative;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--card-bg);
}

[data-theme="dark"] .market-table-container::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

[data-theme="dark"] .market-table-container::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

[data-theme="dark"] .market-table-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

[data-theme="dark"] .market-table-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Dark Mode Market Table */
[data-theme="dark"] .market-table {
    width: 100%;
    min-width: 800px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

[data-theme="dark"] .market-table th,
[data-theme="dark"] .market-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    color: var(--text-dark);
}

[data-theme="dark"] .market-table th {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .market-table th:first-child,
[data-theme="dark"] .market-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
}

[data-theme="dark"] .market-table th:first-child {
    z-index: 11;
    background-color: var(--primary-dark);
}

[data-theme="dark"] .market-table td:first-child {
    background-color: var(--card-bg);
}

[data-theme="dark"] .market-table tr:nth-child(even) td:first-child {
    background-color: rgba(30, 30, 30, 0.9);
}

[data-theme="dark"] .market-table tr:nth-child(odd) td:first-child {
    background-color: rgba(18, 18, 18, 0.9);
}

[data-theme="dark"] .market-table tr:nth-child(even) {
    background-color: rgba(30, 30, 30, 0.8);
}

[data-theme="dark"] .market-table tr:nth-child(odd) {
    background-color: rgba(18, 18, 18, 0.9);
}

[data-theme="dark"] .market-table tr:hover td {
    background-color: var(--hover-color);
    box-shadow: inset 0 0 8px rgba(74, 74, 74, 0.3);
}

[data-theme="dark"] .market-table tr:hover td:first-child {
    background-color: var(--hover-color);
}

/* Dark Mode Product Name */
[data-theme="dark"] .product-name {
    color: var(--text-light);
    font-weight: 600;
}

[data-theme="dark"] .base-currency {
    color: var(--gray-medium);
    font-size: 0.75rem;
}

/* Dark Mode Status Badges */
[data-theme="dark"] .status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .status-badge.active {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.2), rgba(25, 135, 84, 0.4));
    color: #2ecc71;
    border: 1px solid rgba(25, 135, 84, 0.5);
    text-shadow: 0 0 3px rgba(46, 204, 113, 0.3);
}

[data-theme="dark"] .status-badge.limited {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.4));
    color: #f1c40f;
    border: 1px solid rgba(255, 193, 7, 0.5);
    text-shadow: 0 0 3px rgba(241, 196, 15, 0.3);
}

[data-theme="dark"] .status-badge.inactive {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.4));
    color: #e74c3c;
    border: 1px solid rgba(220, 53, 69, 0.5);
    text-shadow: 0 0 3px rgba(231, 76, 60, 0.3);
}

/* Dark Mode Forecast Trends */
[data-theme="dark"] .forecast-trend {
    font-weight: 600;
}

[data-theme="dark"] .forecast-trend.up {
    color: #2ecc71;
    text-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
}

[data-theme="dark"] .forecast-trend.down {
    color: #e74c3c;
    text-shadow: 0 0 5px rgba(231, 76, 60, 0.3);
}

/* Dark Mode Action Buttons */
[data-theme="dark"] .action-btn {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .sample-btn {
    background-color: var(--primary-dark);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .sample-btn:hover {
    background-color: var(--accent);
    box-shadow: 0 0 10px rgba(74, 74, 74, 0.5);
    transform: translateY(-2px);
}

/* Dark Mode Hero Section */
[data-theme="dark"] .hero-section {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    z-index: 1;
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(135deg, rgba(27, 20, 100, 0.377), rgba(74, 74, 74, 0.386));
}

[data-theme="dark"] .hero-content {
    color: var(--text-light);
}

[data-theme="dark"] .hero-title {
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .hero-subtitle {
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Dark Mode Connect Section */
[data-theme="dark"] .connect-section {
    background-color: var(--bg-color);
}

[data-theme="dark"] .connect-background {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 3rem;
    color: var(--text-light);
    box-shadow: var(--neon-shadow);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .connect-content h1 {
    color: var(--text-light);
    text-shadow: var(--neon-text-shadow);
}

[data-theme="dark"] .connect-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .highlight {
    color: var(--accent-light);
}

[data-theme="dark"] .feature-card {
    background-color: rgba(45, 45, 45, 0.3);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-glow);
}

[data-theme="dark"] .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-shadow);
}

[data-theme="dark"] .feature-card h3 {
    color: var(--text-light);
}

/* Responsive adjustments for dark mode */
@media (max-width: 768px) {
    [data-theme="dark"] .market-table-container {
        margin: 0 0.5rem;
    }
    
    [data-theme="dark"] .market-table th,
    [data-theme="dark"] .market-table td {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    [data-theme="dark"] .status-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    [data-theme="dark"] .market-table th,
    [data-theme="dark"] .market-table td {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    [data-theme="dark"] .action-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
        margin-right: 0.25rem;
    }
}

/* Connect with us section styles */
.connect-with-us-title {
    color: white;
}

[data-theme="dark"] .section-header {
    border-bottom-color: #333;
}
