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

/* Base Styles */
body {
    background-color: #000000;
    color: #2a9de0;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem 0;  /* Adjusted to remove top padding, kept horizontal padding */
    padding-bottom: 4rem; /* Added bottom padding (adjust 4rem as needed) */
    /* overflow-x: hidden; */ /* Removed to allow table scrollbar */
}

/* Global link styles for content areas */
p a, 
.content a,
.description a {
    color: #4da8e8;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(77, 168, 232, 0.3);
}

p a:hover,
.content a:hover,
.description a:hover {
    color: #6cb5ec;
    border-bottom-color: rgba(108, 181, 236, 0.6);
    text-shadow: 0 0 8px rgba(42, 157, 224, 0.5);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    text-align: center;
    /* overflow: hidden; */ /* Removed to allow table to scroll properly */
}

/* Typography */
h1, h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    line-height: 1.35; /* Added for consistent line spacing */
}

/* Links List */
.links {
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

.links li {
    margin: 15px 0;
}

.links a {
    color: #4da8e8;
    text-decoration: none;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.links a:hover {
    color: #6cb5ec;
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(42, 157, 224, 0.5);
}

.links img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

/* Introduction Text */
.intro-text {
    max-width: 800px;
    margin: 10px auto;
    text-align: left;
    line-height: 1.6;
    color: #FFFFFF;
}

.intro-text a {
    color: #4da8e8;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(77, 168, 232, 0.3);
}

.intro-text a:hover {
    color: #6cb5ec;
    border-bottom-color: rgba(108, 181, 236, 0.6);
    text-shadow: 0 0 8px rgba(42, 157, 224, 0.5);
}

/* Platform Features */
.platform-features {
    margin: 20px 0;
    text-align: left;
}

.platform-features h3 {
    color: #2a9de0;
    margin-bottom: 10px;
}

.platform-features ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.platform-features li {
    margin: 8px 0;
    color: #FFFFFF;
}

.platform-features a {
    color: #4da8e8;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(77, 168, 232, 0.3);
}

.platform-features a:hover {
    color: #6cb5ec;
    border-bottom-color: rgba(108, 181, 236, 0.6);
    text-shadow: 0 0 8px rgba(42, 157, 224, 0.5);
}

/* API Table Styles */
.table-container {
    position: relative;
    overflow-x: auto;
    width: 100%; /* Reverted to 100% for general case */
    margin: 0; /* Reverted to 0 for general case */
    padding: 0 2px;
    box-sizing: content-box;
    /* Styles for custom scrollbar (primarily for desktop) */
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #2a9de0 #000000; /* For Firefox - thumb and track */
}

/* Custom scrollbar for WebKit browsers (Chrome, Safari, new Edge) */
.table-container::-webkit-scrollbar {
    height: 12px; /* Height of horizontal scrollbar */
    /* display: none; */ /* We want it on desktop, hide it via media query for mobile if needed */
}

.table-container::-webkit-scrollbar-track {
    background: #000000; /* Track color */
    border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb {
    background-color: #2a9de0; /* Thumb color */
    border-radius: 10px;
    border: 2px solid #000000; /* Creates padding around thumb */
}

.table-container::-webkit-scrollbar-thumb:hover {
    background-color: #1e7dab; /* Thumb color on hover */
}

/* Hide scrollbar for Webkit browsers (used generally, but desktop will show if needed) */
/* .table-container::-webkit-scrollbar {
    display: none; 
}
*/

/* For IE and Edge (older versions) - though Edge is Chromium now */
.table-container {
    -ms-overflow-style: none; 
}

.api-table {
    /* width: 100%; */ /* Removed to allow table to expand beyond container if needed */
    min-width: 1300px; /* Adjusted min-width after merging columns */
    margin: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.api-table th,
.api-table td {
    border: 1px solid #2a9de0;
    padding: 8px 6px;
    text-align: center;
    color: #FFFFFF;
    white-space: nowrap;
}

.api-table th {
    color: #2a9de0;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 3;
    background-color: #000000;
}

.api-table tr:hover {
    background-color: rgba(76, 175, 80, 0.1);
}


.api-table img {
    max-height: 30px;
    width: auto;
}

/* Sticky Column - API column */
.api-table th:nth-child(1),
.api-table td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: #000000;
    border-right: 1px solid #2a9de0;
    min-width: 100px;
}

.api-table thead th:nth-child(1) {
    z-index: 11;
}

/* Table Links */
.api-table a {
    color: #4da8e8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.api-table a:hover {
    color: #6cb5ec;
    transform: scale(1.05);
    display: inline-block;
    text-shadow: 0 0 8px rgba(42, 157, 224, 0.5);
}

/* Footer Styles */
footer a {
    color: #4da8e8;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #6cb5ec !important;
    transform: scale(1.05);
    display: inline-flex;
    text-shadow: 0 0 8px rgba(42, 157, 224, 0.5);
}

footer img {
    transition: all 0.3s ease;
}

footer a:hover img {
    transform: scale(1.1);
}

/* Accessibility */
a:focus, 
button:focus,
a:focus-visible {
    outline: 2px solid #2a9de0;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Media Queries */
@media (max-width: 768px) {
    /* Typography */
    h1, h2 {
        font-size: 2em;
    }

    /* Links */
    .links a {
        font-size: 1em;
    }

    .links img {
        height: 30px;
        margin-right: 8px;
    }

    /* Content */
    .intro-text {
        font-size: 1em;
        padding: 10px;
    }

    .platform-features ul {
        padding-left: 10px;
    }

    /* Table Styles */
    .table-container {
        width: 100vw; /* This is for mobile to enable full-width scroll */
        margin: 10px calc(-50vw + 50%); /* This is for mobile */
        /* Removed rules that were hiding scrollbars on mobile */
        /* scrollbar-width: none; */ /* Firefox - Was: hide on mobile */
        /* -ms-overflow-style: none; */ /* IE/Edge - Was: hide on mobile */
    }

    .api-table {
        min-width: 1000px; /* Keep a specific min-width for mobile */
        /* width: 100%; */ /* Ensure this is not overriding expansion if present */
    }

    /* Scroll Indicator */
    .table-container::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 50px;
        background: linear-gradient(to right, transparent, rgba(76, 175, 80, 0.1));
        pointer-events: none;
        opacity: 1;
        animation: pulseGradient 2s ease-in-out infinite;
    }

    @keyframes pulseGradient {
        0% { opacity: 0.3; }
        50% { opacity: 0.8; }
        100% { opacity: 0.3; }
    }

    /* Footer */
    footer {
        padding: 10px;
        margin-bottom: 20px;
    }

    footer div {
        flex-direction: column;
        gap: 10px;
    }

    footer span {
        display: none;
    }

    footer a {
        padding: 5px 0;
        width: 100%;
        justify-content: center;
    }

    footer img {
        height: 16px;
        margin-right: 8px;
    }

    /* Show scroll indicator on mobile */
    .scroll-indicator {
        display: block;
    }
    
    /* Partner badge responsive */
    .partner-badge {
        font-size: 0.65em;
        padding: 1px 6px;
        margin-left: 4px;
        letter-spacing: 0.3px;
    }
    
    /* Partner row mobile adjustments */
    .partner-row {
        border-left-width: 2px;
        box-shadow: 0 1px 3px rgba(42, 157, 224, 0.08);
    }
    
    .partner-row:hover {
        transform: translateX(1px);
    }
    
    /* Featured partner row mobile adjustments */
    .partner-row.featured {
        border-left-width: 3px;
        box-shadow: 0 1px 4px rgba(255, 215, 0, 0.12);
    }
    
    .partner-row.featured:hover {
        transform: translateX(1px);
    }
    
    /* Partner tooltip mobile */
    .partner-tooltip {
        font-size: 0.8em;
        padding: 6px 10px;
        max-width: 200px;
        white-space: normal;
    }
    
    /* Partner badges container mobile */
    .partner-badges-container {
        gap: 4px;
    }
    
    /* Partner icon mobile */
    .partner-icon {
        width: 12px;
        height: 12px;
    }
    
    /* Disclosure banner responsive */
    .partner-disclosure-banner {
        padding: 12px 16px;
        margin: 15px 10px;
        border-radius: 10px;
    }
    
    .partner-disclosure-banner > p {
        gap: 8px;
    }
    
    .info-icon {
        width: 14px;
        height: 14px;
    }
    
    .disclosure-text {
        font-size: 0.85em;
    }
    
    .sparkle {
        font-size: 1em;
    }
    
    .disclosure-toggle-btn {
        font-size: 0.8em;
        padding: 5px 12px;
    }
    
    .chevron-icon {
        width: 10px;
        height: 10px;
    }
    
    .disclosure-content h4 {
        font-size: 1em;
        margin-bottom: 10px;
    }
    
    .disclosure-content li {
        font-size: 0.85em;
        margin-bottom: 8px;
        padding-left: 20px;
    }
    
    .disclosure-footer {
        font-size: 0.8em;
        padding-top: 12px;
    }
    
    .disclosure-details[aria-hidden="false"] {
        max-height: 600px;
    }
}

/* Large screen styles */
@media (min-width: 1040px) {
    .container {
        width: 100%;
        max-width: 1800px; /* Increased max-width for wider screens */
        padding: 0 10px;
    }

    .table-container {
        width: 100%;
        margin: 0;
        padding: 0 2px; /* Match padding from above */
    }

    .api-table {
        /* min-width: unset; */ /* Removed to allow general min-width to apply */
        /* width: calc(100% - 4px); */ /* Removed to allow general min-width to apply */
        margin: 0 auto; /* Center the table within its container */
    }
}

/* Update scroll indicator styles - removed animations */
.scroll-indicator {
    display: none;
    text-align: center;
    color: #2a9de0;
    font-size: 1.1em;
    margin: 15px 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #2a9de0;
    border-radius: 4px;
}

@media (max-width: 768px) {
    /* ... other mobile styles ... */

    /* Force display of scroll indicator on mobile */
    .scroll-indicator {
        display: block !important;
    }

    /* Table container modifications */
    .table-container {
        margin-top: 10px;
    }
}

/* Partner Row Styling */
.api-table .partner-row {
    background: linear-gradient(90deg, rgba(42, 157, 224, 0.05) 0%, transparent 100%);
    position: relative;
    box-shadow: 0 2px 4px rgba(42, 157, 224, 0.1);
    transition: all 0.3s ease;
}

/* Apply border to first cell for partner rows */
.api-table .partner-row td:first-child {
    border-left: 3px solid #2a9de0;
}

/* Featured Partner Row Styling - Only in API cell */
.api-table tr.partner-row.featured td:first-child {
    background: #1a1300 !important; /* Solid dark gold background instead of transparent gradient */
    border-left: 4px solid #ffd700 !important;
    box-shadow: inset 0 0 8px rgba(255, 215, 0, 0.2) !important;
}

/* Partner Row Links - Extra Special */
.partner-row a {
    color: #6cb5ec !important;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.partner-row a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2a9de0, #6cb5ec);
    transition: width 0.3s ease;
}

.partner-row a:hover::after {
    width: 100%;
}

.partner-row a:hover {
    color: #8cc8f0 !important;
    text-shadow: 0 0 12px rgba(42, 157, 224, 0.8);
    transform: scale(1.05);
}

.partner-row:hover {
    background: linear-gradient(90deg, rgba(42, 157, 224, 0.08) 0%, rgba(76, 175, 80, 0.05) 100%);
    box-shadow: 0 4px 8px rgba(42, 157, 224, 0.15);
    transform: translateX(2px);
}

/* Featured Partner API Cell Hover State */
.api-table tr.partner-row.featured:hover td:first-child {
    background: #1f1700 !important; /* Slightly lighter solid gold on hover */
    box-shadow: inset 0 0 12px rgba(255, 215, 0, 0.3) !important;
}

.partner-row td {
    position: relative;
}

/* Partner Badge Styling */
.partner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.75em;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2a9de0 0%, #1e7dab 100%);
    margin-left: 8px;
    cursor: help;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 2px 6px rgba(42, 157, 224, 0.4);
    animation: none;
}

.partner-badge:hover {
    background: linear-gradient(135deg, #3ba8e5 0%, #2a9de0 100%);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(42, 157, 224, 0.6);
}

/* Premium Partner Differentiation */
.partner-premium .partner-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    border: 1px solid rgba(255, 215, 0, 0.6);
    color: #1a1a1a;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.6);
    animation: premiumShine 3s ease-in-out infinite;
}

.partner-premium .partner-badge:hover {
    background: linear-gradient(135deg, #ffe033 0%, #ffd700 100%);
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.8);
    animation-play-state: paused;
}

@keyframes premiumShine {
    0% { 
        box-shadow: 0 2px 12px rgba(255, 215, 0, 0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.9);
        transform: scale(1.04);
    }
    100% { 
        box-shadow: 0 2px 12px rgba(255, 215, 0, 0.6);
        transform: scale(1);
    }
}

.partner-premium.partner-row {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.03) 0%, transparent 100%);
    border-left-color: #ffd700;
    border-left-width: 4px;
}

.partner-premium.partner-row:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.06) 0%, rgba(42, 157, 224, 0.05) 100%);
}

/* Standard Partner Badge */
.partner-standard .partner-badge {
    background: linear-gradient(135deg, #2a9de0 0%, #1e7dab 100%);
    border: 1px solid rgba(42, 157, 224, 0.4);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(42, 157, 224, 0.4);
    animation: none;
}

.partner-standard .partner-badge:hover {
    background: linear-gradient(135deg, #3ba8e5 0%, #2a9de0 100%);
    border-color: rgba(42, 157, 224, 0.6);
    box-shadow: 0 4px 12px rgba(42, 157, 224, 0.6);
}

/* Partner Tooltip Styling */
.partner-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #2a9de0;
    font-size: 0.85em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.partner-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2a9de0;
}

.partner-badge:hover + .partner-tooltip,
.partner-tooltip:hover {
    opacity: 1;
    visibility: visible;
}

/* Partner Icon */
.partner-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* Multiple Partner Badges */
.partner-badges-container {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Partner Row Animations */
@keyframes partnerGlow {
    0% { box-shadow: 0 2px 4px rgba(42, 157, 224, 0.1); }
    50% { box-shadow: 0 4px 12px rgba(42, 157, 224, 0.2); }
    100% { box-shadow: 0 2px 4px rgba(42, 157, 224, 0.1); }
}

@keyframes partnerPulse {
    0% { 
        box-shadow: 0 2px 6px rgba(42, 157, 224, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 4px 12px rgba(42, 157, 224, 0.6);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 2px 6px rgba(42, 157, 224, 0.4);
        transform: scale(1);
    }
}

.partner-row.featured {
    animation: partnerGlow 3s ease-in-out infinite;
}

/* Partner Badge Colors for Different Types */
.partner-badge.verified {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    color: #ffffff;
    border: 1px solid rgba(76, 175, 80, 0.5);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.5);
    font-weight: 700;
    animation: none;
}

.partner-badge.verified:hover {
    background: linear-gradient(135deg, #5cbf60 0%, #4caf50 100%);
    border-color: rgba(76, 175, 80, 0.7);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.7);
    transform: scale(1.05);
}

.partner-badge.exclusive {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    color: #ffffff;
    border: 1px solid rgba(156, 39, 176, 0.5);
    box-shadow: 0 2px 10px rgba(156, 39, 176, 0.6);
    font-weight: 700;
    animation: exclusivePulse 2.8s ease-in-out infinite;
}

.partner-badge.exclusive:hover {
    background: linear-gradient(135deg, #ab47bc 0%, #9c27b0 100%);
    border-color: rgba(156, 39, 176, 0.7);
    box-shadow: 0 4px 18px rgba(156, 39, 176, 0.8);
    animation-play-state: paused;
}

@keyframes exclusivePulse {
    0% { 
        box-shadow: 0 2px 10px rgba(156, 39, 176, 0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 4px 18px rgba(156, 39, 176, 0.9);
        transform: scale(1.03);
    }
    100% { 
        box-shadow: 0 2px 10px rgba(156, 39, 176, 0.6);
        transform: scale(1);
    }
}

/* Partner Disclosure Banner */
.partner-disclosure-banner {
    background: linear-gradient(135deg, rgba(42, 157, 224, 0.08) 0%, rgba(42, 157, 224, 0.04) 100%);
    border: 1px solid rgba(42, 157, 224, 0.15);
    border-radius: 12px;
    padding: 16px 24px;
    margin: 25px auto;
    max-width: 800px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.partner-disclosure-banner:hover {
    border-color: rgba(42, 157, 224, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.partner-disclosure-banner > p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.info-icon {
    color: #2a9de0;
    flex-shrink: 0;
}

.disclosure-text {
    color: #e0e0e0;
    font-size: 0.95em;
    line-height: 1.4;
}

.disclosure-text a {
    color: #6cb5ec;
    text-decoration: underline;
    text-decoration-color: rgba(108, 181, 236, 0.4);
    transition: all 0.3s ease;
}

.disclosure-text a:hover {
    color: #8cc8f0;
    text-decoration-color: rgba(108, 181, 236, 0.8);
    text-shadow: 0 0 6px rgba(42, 157, 224, 0.6);
}

.sparkle {
    font-size: 1.1em;
    margin-right: 4px;
}

.disclosure-toggle-btn {
    background: none;
    border: 1px solid rgba(42, 157, 224, 0.3);
    color: #2a9de0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    white-space: nowrap;
}

.disclosure-toggle-btn:hover {
    background: rgba(42, 157, 224, 0.1);
    border-color: rgba(42, 157, 224, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(42, 157, 224, 0.2);
}

.disclosure-toggle-btn:focus {
    outline: 2px solid #2a9de0;
    outline-offset: 2px;
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.disclosure-toggle-btn[aria-expanded="true"] .chevron-icon {
    transform: rotate(180deg);
}

.disclosure-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.disclosure-details[aria-hidden="false"] {
    max-height: 500px;
    padding-top: 20px;
    opacity: 1;
}

.disclosure-content {
    text-align: left;
    line-height: 1.6;
    border-top: 1px solid rgba(42, 157, 224, 0.15);
    padding-top: 20px;
}

.disclosure-content h4 {
    color: #2a9de0;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.disclosure-content ul {
    margin: 0 0 16px 0;
    padding-left: 0;
    list-style: none;
}

.disclosure-content li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    color: #e0e0e0;
    font-size: 0.9em;
}

.disclosure-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2a9de0;
    font-weight: bold;
}

.disclosure-footer {
    margin: 16px 0 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(42, 157, 224, 0.1);
    font-size: 0.85em;
    color: #cccccc;
    font-style: italic;
}

/* Rich Partner Tooltip Styles */
.partner-tooltip-rich {
    position: fixed;
    background: #1a1a1a;
    color: #ffffff;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #2a9de0;
    font-size: 0.85em;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    min-width: 280px;
    max-width: 350px;
    white-space: normal;
}

.partner-tooltip-rich.tooltip-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.partner-tooltip-rich.tooltip-below {
    /* Positioning handled by JavaScript */
}

/* Tooltip Arrow */
.partner-tooltip-rich::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #2a9de0;
}

.partner-tooltip-rich::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1a1a1a;
}

.partner-tooltip-rich.tooltip-below::before {
    bottom: auto;
    top: -7px;
    border-top: none;
    border-bottom: 7px solid #2a9de0;
}

.partner-tooltip-rich.tooltip-below::after {
    bottom: auto;
    top: -6px;
    border-top: none;
    border-bottom: 6px solid #1a1a1a;
}

/* Tooltip Content Styling */
.tooltip-header {
    background: linear-gradient(135deg, rgba(42, 157, 224, 0.2) 0%, rgba(42, 157, 224, 0.1) 100%);
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    color: #2a9de0;
    text-align: center;
    border-bottom: 1px solid rgba(42, 157, 224, 0.2);
}

.tooltip-section {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(42, 157, 224, 0.1);
    line-height: 1.5;
}

.tooltip-section:last-of-type {
    border-bottom: none;
}

.tooltip-section strong {
    color: #2a9de0;
    display: block;
    margin-bottom: 4px;
    font-size: 0.9em;
}

.tooltip-strengths {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.tooltip-strengths li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 0.9em;
    color: #e0e0e0;
}

.tooltip-strengths li:last-child {
    margin-bottom: 0;
}

.tooltip-strengths li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.tooltip-note {
    background: rgba(42, 157, 224, 0.05);
    font-style: italic;
    color: #e0e0e0;
}

.tooltip-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 16px;
    font-size: 0.8em;
    color: #cccccc;
    text-align: center;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid rgba(42, 157, 224, 0.1);
}

/* Premium Partner Tooltip Styling */
.partner-premium .partner-tooltip-rich .tooltip-header {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(42, 157, 224, 0.1) 100%);
    color: #ffd700;
}

.partner-premium .partner-tooltip-rich {
    border-color: rgba(255, 215, 0, 0.4);
}

.partner-premium .partner-tooltip-rich::before {
    border-top-color: rgba(255, 215, 0, 0.4);
}

.partner-premium .partner-tooltip-rich.tooltip-below::before {
    border-bottom-color: rgba(255, 215, 0, 0.4);
}

/* Mobile Tooltip Adjustments */
@media (max-width: 768px) {
    .partner-tooltip-rich {
        min-width: 240px;
        max-width: 280px;
        font-size: 0.8em;
    }
    
    .tooltip-header {
        padding: 10px 14px;
    }
    
    .tooltip-section {
        padding: 8px 14px;
    }
    
    .tooltip-footer {
        padding: 8px 14px;
        font-size: 0.75em;
    }
    
    .tooltip-strengths li {
        font-size: 0.85em;
        padding-left: 16px;
        margin-bottom: 4px;
    }
}

/* Partner Badge Position Fix */
.partner-badge {
    position: relative;
}

/* Tooltip Animation Enhancements */
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(-5px);
    }
}

@keyframes tooltipFadeInBelow {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(5px);
    }
}

.partner-tooltip-rich.tooltip-visible {
    animation: tooltipFadeIn 0.3s ease forwards;
}

.partner-tooltip-rich.tooltip-below.tooltip-visible {
    animation: tooltipFadeInBelow 0.3s ease forwards;
}

/* Improved Partner Badge Hover State */
.partner-badge {
    cursor: help;
    user-select: none;
}

.partner-badge:focus {
    outline: 2px solid #2a9de0;
    outline-offset: 2px;
    border-radius: 12px;
}

/* Table Scroll Shadow for Better UX */
.table-container {
    position: relative;
}

.table-container::before,
.table-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.table-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent);
}

.table-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
}

/* Hide shadows when not scrollable */
.table-container.scroll-start::before {
    opacity: 0;
}

.table-container.scroll-end::after {
    opacity: 0;
}

/* Click Here link styling */
#click-here-link {
    color: #2a9de0;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #2a9de0;
    transition: all 0.3s ease;
}

#click-here-link:hover {
    color: #6cb5ec;
    border-bottom-color: #6cb5ec;
    text-shadow: 0 0 8px rgba(42, 157, 224, 0.5);
}

/* Feature Explanations Section */
.symbol-key {
    text-align: center;
    font-size: 0.9em;
    margin: 30px auto 10px auto; /* Added margin */
    color: #cccccc; /* Lighter color for the key */
    max-width: 800px;
}

.feature-explanations {
    text-align: left;
    max-width: 800px;
    margin: 20px auto 40px auto; /* Adjusted top margin */
    padding: 25px;
    background-color: #1a1a1a; /* Slightly different background */
    border-radius: 8px; /* Rounded corners */
    border: 1px solid #2a9de0; /* Border matching theme color */
    color: #FFFFFF;
}

.feature-explanations h3 {
    text-align: center;
    color: #2a9de0;
    margin-bottom: 25px; /* Increased margin */
    font-size: 1.8em; /* Slightly larger heading */
}

.feature-explanations h4 {
    color: #2a9de0; /* Match theme color */
    margin-top: 20px; /* Space above each feature title */
    margin-bottom: 5px;
    font-size: 1.1em;
}

.feature-explanations p {
    margin-bottom: 15px; /* Space below each explanation */
    line-height: 1.6; /* Improve readability */
    color: #e0e0e0; /* Slightly off-white for text */
}

.feature-explanations a {
    color: #4da8e8;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(77, 168, 232, 0.3);
}

.feature-explanations a:hover {
    color: #6cb5ec;
    border-bottom-color: rgba(108, 181, 236, 0.6);
    text-shadow: 0 0 8px rgba(42, 157, 224, 0.5);
}

/* About Our Partnerships Section */
.partnerships-section {
    max-width: 1200px;
    margin: 60px auto 40px auto;
    padding: 0 20px;
}

.partnerships-container {
    background-color: #1a1a1a;
    border: 1px solid rgba(42, 157, 224, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.partnerships-container:hover {
    border-color: rgba(42, 157, 224, 0.3);
    box-shadow: 0 4px 20px rgba(42, 157, 224, 0.1);
}

/* Partnerships Header */
.partnerships-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(42, 157, 224, 0.08) 0%, rgba(42, 157, 224, 0.04) 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.partnerships-header:hover {
    background: linear-gradient(135deg, rgba(42, 157, 224, 0.12) 0%, rgba(42, 157, 224, 0.06) 100%);
}

.partnerships-header:focus {
    outline: 2px solid #2a9de0;
    outline-offset: -2px;
}

.partnerships-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #2a9de0;
    font-size: 1.8em;
}

.partnership-icon {
    color: #2a9de0;
    flex-shrink: 0;
}

.partnerships-toggle-btn {
    background: none;
    border: 1px solid rgba(42, 157, 224, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2a9de0;
}

.partnerships-toggle-btn:hover {
    background: rgba(42, 157, 224, 0.1);
    border-color: rgba(42, 157, 224, 0.5);
    transform: translateY(-2px);
}

.partnerships-toggle-btn:focus {
    outline: 2px solid #2a9de0;
    outline-offset: 2px;
}

.toggle-chevron {
    transition: transform 0.3s ease;
}

.partnerships-header[aria-expanded="true"] .toggle-chevron {
    transform: rotate(180deg);
}

/* Partnerships Content */
.partnerships-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.3s ease;
    opacity: 0;
}

.partnerships-content[aria-hidden="false"] {
    max-height: 2000px;
    padding: 32px;
    opacity: 1;
}

.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

/* Partnership Cards */
.partnership-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(42, 157, 224, 0.15);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
    text-align: center;
}

.partnership-card:hover {
    border-color: rgba(42, 157, 224, 0.3);
    box-shadow: 0 4px 16px rgba(42, 157, 224, 0.15);
    transform: translateY(-2px);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(42, 157, 224, 0.15) 0%, rgba(42, 157, 224, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    color: #2a9de0;
}

.partnership-card h3 {
    color: #2a9de0;
    margin-bottom: 12px;
    font-size: 1.3em;
}

.partnership-card p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: left;
}

.partnership-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    text-align: left;
}

.partnership-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: #e0e0e0;
    line-height: 1.5;
}

.partnership-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2a9de0;
    font-weight: bold;
}

.card-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(42, 157, 224, 0.1);
    font-size: 0.9em;
    color: #cccccc;
    font-style: italic;
}

/* CTA Card Special Styling */
.partnership-card-cta {
    background: linear-gradient(135deg, rgba(42, 157, 224, 0.08) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 2px solid rgba(42, 157, 224, 0.2);
}

.partnership-card-cta:hover {
    border-color: rgba(42, 157, 224, 0.4);
    box-shadow: 0 6px 24px rgba(42, 157, 224, 0.2);
}

.partner-requirements {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
}

.partner-requirements h4 {
    color: #2a9de0;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.cta-contact {
    text-align: center;
    margin-top: 24px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2a9de0 0%, #1e7dab 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(42, 157, 224, 0.3);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 157, 224, 0.4);
    background: linear-gradient(135deg, #3ba8e5 0%, #2a9de0 100%);
}

.cta-button:focus {
    outline: 2px solid #2a9de0;
    outline-offset: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .partnerships-section {
        margin: 40px auto 30px auto;
        padding: 0 10px;
    }
    
    .partnerships-header {
        padding: 20px 24px;
    }
    
    .partnerships-title {
        font-size: 1.4em;
    }
    
    .partnership-icon {
        width: 20px;
        height: 20px;
    }
    
    .partnerships-toggle-btn {
        width: 36px;
        height: 36px;
    }
    
    .partnerships-content[aria-hidden="false"] {
        padding: 24px 16px;
    }
    
    .partnerships-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partnership-card {
        padding: 20px;
    }
    
    .card-icon {
        width: 56px;
        height: 56px;
    }
    
    .partnership-card h3 {
        font-size: 1.2em;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* API Cell Styles */
.api-cell {
    padding: 12px;
    vertical-align: middle;
    text-align: center;
}

.api-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    gap: 4px;
}

.api-logo-wrapper {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.api-badge-wrapper {
    grid-column: 3;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 24px;
}

.api-logo-link {
    display: block;
    transition: transform 0.2s ease;
}

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

.api-logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}


/* Partner Badge Icon */
.partner-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 14px;
    line-height: 1;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(42, 157, 224, 0.1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    cursor: help;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.partner-badge-icon:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(42, 157, 224, 0.15) 100%);
    border-color: rgba(255, 215, 0, 0.5);
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.partner-badge-icon:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* Override existing partner badge styles */
.partner-badge {
    display: none; /* Hide the old text badge */
}

/* Mobile Adjustments for API Cell */
@media (max-width: 768px) {
    .api-container {
        gap: 2px;
    }
    
    .api-logo {
        height: 35px;
    }
    
    .api-badge-wrapper {
        min-width: 20px;
    }
    
    .partner-badge-icon {
        width: 20px;
        height: 20px;
        font-size: 12px;
        line-height: 1;
    }
}