﻿/* --- BASE STYLES --- */
/* CRYPTO AGGREGATOR - Modern Horizontal Layout with Floating Cards + Theme System */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Performance optimizations */
    text-rendering: optimizeSpeed;
    -webkit-tap-highlight-color: transparent;
    /* CRITICAL: Force scroll enabled */
    overflow-y: auto !important;
    overflow-x: hidden;
    height: auto !important;
    pointer-events: auto !important;
}

/* Performance: GPU acceleration for animated elements */
.platform-card,
.premium-hero-banner,
.header {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS - SMOOTH SCROLL
   ======================================== */

/* Optimize body scrolling */
body {
    /* CRITICAL: Force scroll enabled */
    overflow-y: auto !important;
    overflow-x: hidden;
    height: auto !important;
    pointer-events: auto !important;
    /* PURE BLACK BACKGROUND */
    background: #000000 !important;
}

/* Optimize all sections for smooth scrolling */
section {
    /* GPU acceleration for sections */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Optimize rendering */
    contain: layout style paint;
    /* Improve scroll performance */
    content-visibility: auto;
    /* Transparent - let body gradient show through */
    background: transparent !important;
    /* Ensure content is above background overlays */
    position: relative;
    z-index: 10;
}

/* Optimize images for lazy loading and smooth scroll */
img {
    /* Prevent layout shifts */
    display: block;
    max-width: 100%;
    height: auto;
    /* GPU acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Smooth rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Optimize cards container scrolling */
.horizontal-scroll-container {
    /* Enable hardware acceleration */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    /* Smooth scrolling */
    -webkit-overflow-scrolling: touch;
    /* Optimize scroll performance */
    overscroll-behavior-x: contain;
}

/* Optimize card animations */
.platform-card,
.card-inner,
.card-front,
.card-back {
    /* GPU acceleration */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    /* Optimize transforms */
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* Optimize header for fixed positioning */
.header {
    /* GPU acceleration for fixed header */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Smooth transforms */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

/* Reduce paint on scroll */
* {
    /* Optimize animations */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* CSS Custom Properties for Theme System */
:root {
    /* Dark Theme (Default) - NEON / BLACK */
    --bg-body: #0a0a0a;
    --bg-primary: #0a0a0a; /* Retain for existing usage */
    --bg-secondary: #1a1a1a;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --bg-modal: #1a1a1a;
    --bg-header: #0a0a0a;
    --bg-header-scroll: rgba(10, 10, 10, 0.98);

    --text-main: #ffffff;
    --text-primary: #ffffff; /* Retain for existing usage */
    --text-secondary: #CCCCCC;
    --text-tertiary: #999999;
    --text-quaternary: #666666;
    --text-neon-green: #00ffb3; /* Neon green text */

    --card-bg: #1a1a1a;
    --card-border: #333333;
    --card-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(255, 165, 0, 0.15); /* Keep original dark theme shadow */

    --border-primary: #333333;
    --border-secondary: #444444;
    --border-accent: #FFA500;
    --border-accent-hover: #FF8C00;

    --accent-primary: #00ffb3; /* Primary accent color */
    --accent-secondary: #01dba2; /* Secondary accent color */
    --accent-gradient: linear-gradient(135deg, #00ffb3 0%, #01dba2 100%); /* Neon gradient */

    --shadow-button: 0 10px 30px rgba(0, 255, 179, 0.4);
    --shadow-button-hover: 0 15px 40px rgba(0, 255, 179, 0.5);
}

/* Light Theme - Clean SaaS Product */
[data-theme="light"] {
    /* --- Existing Base Colors (Refined) --- */
    --bg-body: #f9fafb; /* Slightly brighter gray background */
    --bg-primary: #f9fafb;
    --bg-secondary: #e5e7eb;
    --bg-card: #ffffff; /* Pure white cards */
    --bg-card-hover: #f0f4f8; /* Adjusted for contrast */
    --bg-modal: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.95);
    --bg-header-scroll: rgba(255, 255, 255, 0.98);

    --text-main: #1f2937; /* Deep charcoal for primary text (easier to read than pure black) */
    --text-primary: #1f2937;
    --text-secondary: #374151;
    --text-tertiary: #6b7280;
    --text-quaternary: #9ca3af;
    --text-neon-green: #008f6b; /* Darker green for readability */
    --text-muted: #4b5563; /* Dark Gray for descriptions inside cards */

    --card-bg: #ffffff; /* Pure white cards */
    --card-border: #e5e7eb; /* Subtle border definition */

    /* --- NEW: ENHANCED SHADOWS --- */
    /* A softer, deeper shadow designed for light backgrounds */
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --border-primary: #d1d5db;
    --border-secondary: #e5e7eb;
    --border-accent: #3b82f6;
    --border-accent-hover: #2563eb;

    --accent-primary: #3b82f6;
    --accent-secondary: #2563eb;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);

    --shadow-button: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -2px rgba(59, 130, 246, 0.06);
    --shadow-button-hover: 0 10px 15px -3px rgba(59, 130, 246, 0.1), 0 4px 6px -4px rgba(59, 130, 246, 0.08);

    /* --- FORCE HIGH CONTRAST BUTTONS FOR LIGHT MODE --- */

    /* Primary Button (Visitar Site) -> Solid Black BG + Gold Text */
    --btn-primary-bg: #000000 !important;
    --btn-primary-text: #FFD700 !important; /* Gold text pops on black */
    --btn-primary-border: #000000 !important;

    /* Secondary Button (Seguir no X) -> Transparent BG + Solid Black Outline */
    --btn-secondary-bg: transparent !important;
    --btn-secondary-text: #000000 !important; /* Black text */
    --btn-secondary-border: #000000 !important; /* Solid Black border */

    /* Hover States */
    --btn-primary-hover-bg: #333333; /* Dark Gray on hover */
    --btn-secondary-hover-bg: rgba(0,0,0,0.1); /* Slight shadow on hover */
}


    

    /* Base body background using the new variable */

    body {

        background: var(--bg-body) !important;

        color: var(--text-main);

        line-height: 1.6;

        overflow-x: hidden;

    
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Optimize rendering performance */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
    /* FALLBACK: Ensure content starts below fixed header */
    padding-top: 0 !important;
}

/* Subtle animated gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 50%,
        var(--accent-primary, #00ffb3, #3b82f6) 0%, /* Adjusted for light mode blue */
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 50%,
        var(--accent-secondary, #01dba2, #2563eb) 0%, /* Adjusted for light mode blue */
        transparent 50%
    );
    opacity: 0.03; /* Reduced opacity for subtlety */
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Update section backgrounds to use general var */
section {
    background: transparent !important; /* Should always be transparent for body gradient to show */
    position: relative;
    z-index: 10;
}

/* Card glassmorphism effect - now uses variables */
.platform-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform, box-shadow; /* Performance optimization */
    box-shadow: var(--card-shadow);
}

.platform-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(0, 255, 163, 0.2);
    box-shadow: 0 15px 35px rgba(0, 255, 163, 0.1), 0 0 0 1px rgba(0, 255, 163, 0.2); 
    z-index: 10;
}

/* Light Theme overrides for elements that need specific adjustments */
[data-theme="light"] body {
    background: var(--bg-body) !important;
    color: var(--text-main);
}

[data-theme="light"] body::before {
    background: radial-gradient(
        circle at 20% 50%,
        rgba(59, 130, 246, 0.05) 0%, /* Lighter blue for light theme */
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 50%,
        rgba(37, 99, 235, 0.04) 0%, /* Lighter blue for light theme */
        transparent 50%
    );
    opacity: 0.05;
}

/* Header Specific styles */
.header {
    background: var(--bg-header);
    border-bottom: 1px solid var(--card-border); /* Use card-border for consistency */
}

.header-content.header-single-row {
    padding: 20px 4%;
}

.logo-text {
    color: var(--text-main);
}

.logo-white {
    color: var(--text-main);
}

.logo-gradient {
    color: var(--text-neon-green);
}

.logo-icon {
    color: var(--accent-primary);
}

.nav-menu a {
    color: var(--text-secondary);
}

.nav-menu a:hover {
    color: var(--accent-primary) !important;
}

.nav-menu a::after {
    background: var(--accent-gradient);
}

.pro-button, .connect-button {
    background: var(--accent-gradient);
    color: var(--text-main);
    box-shadow: var(--shadow-button);
}

.pro-button:hover, .connect-button:hover {
    box-shadow: var(--shadow-button-hover);
}

.pro-message, .connect-message {
    color: var(--text-tertiary);
}

.header-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 20px !important; /* Space between flag group and theme button */
}

.theme-btn {
    background: transparent;
    border: none;
    color: var(--text-main, #fff); /* Use variable if available, else white */
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.theme-btn:hover {
    transform: rotate(15deg) scale(1.1);
}
.lang-btn {
    background: transparent !important;
    border: none !important;
    color: transparent !important;
}

.lang-btn.active .lang-flag {
    box-shadow: 0 0 0 3px var(--accent-primary) !important;
}

.mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.8);
}

.mobile-menu-content {
    background: var(--bg-modal);
    border-left: 1px solid var(--card-border);
}

.mobile-menu-header h3 {
    color: var(--text-main);
}

.mobile-menu-close {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    color: var(--text-main);
}

.mobile-menu-close:hover {
    background: var(--accent-primary);
    color: var(--text-main);
}

.mobile-connect-button, .mobile-pro-button {
    background: var(--accent-gradient);
    color: var(--text-main);
}

.mobile-connect-message, .mobile-pro-message {
    color: var(--text-tertiary);
}

.mobile-theme-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
}

.mobile-theme-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-main);
}

.mobile-menu-separator {
    background: var(--card-border);
}

.mobile-nav-list a {
    color: var(--text-main);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Adjusted for light mode */
}

.mobile-nav-list a:hover {
    background: rgba(59, 130, 246, 0.1) !important; /* Blue hover for light mode */
    color: var(--accent-primary) !important;
    padding-left: 2rem;
}

.mobile-nav-list a.mobile-all-platforms-button {
    background: rgba(59, 130, 246, 0.15) !important; /* Blue background for light mode */
    color: var(--accent-primary) !important;
    border-left: 3px solid var(--accent-primary) !important;
}

/* Hero Section text colors */
.hero-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

.hero-slogan, .hero-subtitle, .hero-description {
    color: var(--text-secondary);
}

.cta-button {
    background: var(--accent-gradient);
    color: var(--text-main);
    box-shadow: var(--shadow-button);
}

.cta-button:hover {
    box-shadow: var(--shadow-button-hover);
}

.crypto-icon {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.crypto-icon.bitcoin {
    color: var(--accent-primary);
}

/* Section headers */
.section-title {
    color: var(--text-main);
}

.section-subtitle {
    color: var(--text-secondary);
}

/* Premium hero banner */
.premium-hero-banner {
    background: var(--bg-card);
    border: 2px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform, box-shadow; /* Performance optimization */
}

.premium-hero-banner:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(0, 255, 163, 0.2);
    box-shadow: 0 20px 45px rgba(0, 255, 163, 0.15), 0 0 0 1px rgba(0, 255, 163, 0.2); 
    z-index: 10;
}

.premium-hero-logo {
    background: var(--bg-secondary);
    border: 3px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

.premium-hero-banner:hover .premium-hero-logo {
    transform: scale(1.08) rotate(5deg);
    border-color: var(--border-accent-hover);
    box-shadow: var(--card-shadow);
}

.premium-partner-badge {
    background: var(--accent-gradient);
    color: var(--text-main);
    box-shadow: var(--shadow-button);
}

@keyframes pulse-badge-premium {
    0%, 100% { transform: scale(1); box-shadow: var(--shadow-button); }
    50% { transform: scale(1.05); box-shadow: var(--shadow-button-hover); }
}

.premium-hero-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-hero-description {
    color: var(--text-secondary);
}

.premium-cta-button {
    background: rgba(255, 255, 255, 0.03); /* Translucent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    color: #00ffa3; /* Brand highlight color (neon green) */
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.premium-cta-button:hover {
    background: rgba(0, 255, 163, 0.1); /* Subtle neon green tint */
    border-color: rgba(0, 255, 163, 0.5); /* Illuminated border */
    color: #00ffa3;
    box-shadow: 0 0 20px rgba(0, 255, 163, 0.2), inset 0 0 10px rgba(0, 255, 163, 0.1);
    transform: translateY(-2px);
}

.feature-text {
    color: var(--text-main);
}

/* Card final grid items */
.platform-card-final {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform, box-shadow; /* Performance optimization */
}

.platform-card-final:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(0, 255, 163, 0.2);
    box-shadow: 0 15px 35px rgba(0, 255, 163, 0.1), 0 0 0 1px rgba(0, 255, 163, 0.2); 
    z-index: 10;
}

.card-final-title {
    color: var(--text-main);
}

.card-final-description {
    color: var(--text-muted);
}

.card-final-btn-primary {
    background: rgba(255, 255, 255, 0.03); /* Translucent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    color: #00ffa3; /* Brand highlight color (neon green) */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.card-final-btn-primary:hover {
    background: rgba(0, 255, 163, 0.1); /* Subtle neon green tint */
    border-color: rgba(0, 255, 163, 0.5); /* Illuminated border */
    color: #00ffa3;
    box-shadow: 0 0 15px rgba(0, 255, 163, 0.2), inset 0 0 10px rgba(0, 255, 163, 0.1);
    transform: translateY(-2px);
}

.card-final-btn-secondary {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
}

.card-final-btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent-hover);
    color: var(--accent-primary);
}

/* Security section */
.security-section {
    background: var(--bg-body);
}

.security-title {
    color: var(--text-main);
}

.security-description {
    color: var(--text-secondary);
}

.security-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform, box-shadow; /* Performance optimization */
}

.security-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(0, 255, 163, 0.2);
    box-shadow: 0 15px 35px rgba(0, 255, 163, 0.1), 0 0 0 1px rgba(0, 255, 163, 0.2); 
    z-index: 10;
}

.security-card h3 {
    color: var(--text-main);
}

.security-card p {
    color: var(--text-secondary);
}

.education-box {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
}

.education-box h4 {
    color: var(--text-main);
}

.education-box p {
    color: var(--text-secondary);
}

/* Category info section */
.category-info-title {
    color: var(--text-main);
}

.category-info-subtitle {
    color: var(--text-secondary);
}

.category-info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform, box-shadow; /* Performance optimization */
}

.category-info-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(0, 255, 163, 0.2);
    box-shadow: 0 15px 35px rgba(0, 255, 163, 0.1), 0 0 0 1px rgba(0, 255, 163, 0.2); 
    z-index: 10;
}

.category-info-card h3 {
    color: var(--text-main);
}

.category-info-card p {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--card-border);
}

.footer-logo {
    color: var(--text-main);
}

.footer-slogan {
    color: var(--text-secondary);
}

.footer-links h4 {
    color: var(--text-main);
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-newsletter h4 {
    color: var(--text-main);
}

.newsletter-description {
    color: var(--text-secondary);
}

.newsletter-input {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    color: var(--text-main);
}

.newsletter-input::placeholder {
    color: var(--text-tertiary);
}

.newsletter-button {
    background: var(--accent-gradient);
    color: var(--text-main);
}

.footer-bottom p {
    color: var(--text-secondary);
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* PURE BLACK BACKGROUND */
    background: #000000 !important;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Optimize rendering performance */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
    /* FALLBACK: Ensure content starts below fixed header */
    padding-top: 0 !important;
}

/* CRITICAL: Fix potential background blockers - CLICKS MUST PASS THROUGH */
#particles-js,
canvas,
.background,
body::before,
body::after {
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Subtle animated gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(255, 165, 0, 0.03) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 50%,
        rgba(255, 140, 0, 0.03) 0%,
        transparent 50%
    );
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Smooth scroll container optimization */
.horizontal-scroll-container,
.platform-card,
.premium-hero-banner {
    contain: layout style paint;
}

/* Optimize images for performance */
img {
    content-visibility: auto;
    contain-intrinsic-size: 100px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Reduce repaints on hover */
.platform-card,
.nav-menu a,
.lang-btn,
.theme-btn {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Desktop Layout Centering (768px and above) */
@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
    }

    /* Center header content */
    .header-content {
        max-width: 1560px;
        margin: 0 auto;
    }

    /* Center section content */
    .section-header {
        max-width: 800px;
        margin: 0 auto 3rem;
    }

    /* Center horizontal scroll containers */
    .horizontal-scroll-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0; /* Remove padding to show all items from start */
    }

    /* Desktop carousel alignment */
    .horizontal-cards-grid {
        /* Always use flex-start to allow scrolling */
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        /* Ensure full width for scrolling */
        width: 100%;
    }

    /* Center carousels when they have few items that don't need scrolling - EXCEPT specified sections */
    section:not(#banks):not(#cold-wallets):not(#p2p):not(#hot-wallets):not(#cards):not(#dexs):not(#bridges) .horizontal-cards-grid:has(.platform-card:only-child),
    section:not(#banks):not(#cold-wallets):not(#p2p):not(#hot-wallets):not(#cards):not(#dexs):not(#bridges) .horizontal-cards-grid:has(.platform-card:first-child:nth-last-child(-n+4)) {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    /* Ensure cards don't shrink on desktop */
    .platform-card {
        flex-shrink: 0;
    }

    /* ============================================
       REMOVED: Digital Banks specific CSS - Now using standard cards-final-grid
       Banks section now uses the same layout as all other sections
       ============================================ */
}

/* Header Styles */
.header {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-accent);
    z-index: 1000;
    transition: all 0.3s ease;
    /* padding: 20px 40px; */ /* Removed for inner grid container */
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Header Single Row Layout (Desktop) */
.header-content.header-single-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Left (1 part), Center (auto), Right (1 part) */
    align-items: center;
    gap: 20px; /* Add some gap between grid items */
    padding: 20px 4%; /* Generous horizontal padding */
    width: 100%;
    box-sizing: border-box;
}

/* Header Top Row (legacy - kept for compatibility) */
.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo,
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 300; /* Light weight as specified */
    font-size: 2.5rem; /* 40px - Larger for desktop */
    letter-spacing: 3px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    text-transform: uppercase;
}

.logo-white {
    color: var(--text-main); /* White for "CRYPTO" */
}

.logo-gradient {
    color: var(--text-neon-green); /* Neon green solid color for "AGGREGATOR" */
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
    animation: pulse 2s infinite;
}

.logo-svg {
    height: 40px;
    width: auto;
}

/* Hover effect for text logo */
.logo:hover .logo-text {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Responsive logo - Orbitron Light with dynamic sizing */
@media (max-width: 768px) {
    .logo-text {
        font-family: 'Orbitron', sans-serif;
        font-weight: 300; /* Light weight */
        font-size: clamp(14px, 4vw, 18px); /* Dynamic sizing to prevent truncation */
        letter-spacing: 0px; /* Tight spacing on mobile to fit full text */
        text-transform: uppercase;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-family: 'Orbitron', sans-serif;
        font-weight: 300; /* Light weight */
        font-size: clamp(12px, 3.5vw, 16px); /* Smaller dynamic sizing for small screens */
        letter-spacing: 0px; /* No letter spacing to maximize fit */
        text-transform: uppercase;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Header Bottom Row - Navigation */
.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

/* Navigation Menu Items - Minimalist Text Style */
.nav-menu a {
    /* Clean text appearance */
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.35rem;
    padding: 8px 4px;
    border-radius: 0;
    transition: color 0.2s ease;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    text-shadow: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.nav-menu a:hover {
    background: transparent !important;
    color: var(--accent-primary) !important;
    transform: none;
    box-shadow: none !important;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

/* Header Buttons Container - PRO + Connect */
.header-buttons-container {
    display: flex;
    gap: 16px;
    margin-left: 40px;
    align-items: center;
}

/* PRO Button Container */
.pro-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* PRO Button - Turquoise Gradient */
.pro-button {
    background: var(--accent-gradient);
    color: var(--text-main);
    border: none;
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pro-button:hover {
    background: var(--accent-gradient); /* Keep same gradient on hover */
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover);
}

.pro-button:active {
    transform: translateY(0);
}

/* PRO Message - Appears below button */
.pro-message {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.pro-container:hover .pro-message {
    opacity: 1;
    visibility: visible;
}

/* Connect Button Container - Desktop Header */
.connect-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Connect Button - Desktop Header */
.connect-button {
    background: var(--accent-gradient);
    color: var(--text-main);
    border: none;
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.connect-button:hover {
    background: var(--accent-gradient); /* Keep same gradient on hover */
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover);
}

.connect-button:active {
    transform: translateY(0);
}

/* "Todas as Plataformas" Button - Subtle CTA Style */
.nav-menu a.all-platforms-button {
    background: transparent !important;
    color: var(--accent-primary) !important;
    border: 1px solid var(--border-secondary) !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    letter-spacing: 0.3px !important;
}

.nav-menu a.all-platforms-button:hover {
    background: var(--bg-secondary) !important;
    color: var(--accent-primary) !important;
    border-color: var(--accent-primary) !important;
    transform: none;
    box-shadow: none;
}

.nav-menu a.all-platforms-button:active {
    background: var(--bg-secondary) !important;
}

.nav-menu a.all-platforms-button::after {
    display: none !important;
}

/* Connect Message - Appears below button */
.connect-message {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    pointer-events: none;
}

.connect-message.show {
    opacity: 1;
    visibility: visible;
}

/* Header Controls Container (Theme + Language) */
.header-controls {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

/* Single-row header - Logo styling */
.header-single-row .logo {
    flex-shrink: 0;
    justify-self: start;
}



/* Single-row header - Navigation centering */
.header-single-row .navigation {
    justify-self: center;
}

/* Ensure the right group is justified to the end on desktop */
.header-single-row .header-right-group {
    justify-self: end;
}

/* Responsive: Shrink nav gaps on smaller screens */
@media (max-width: 1200px) {
    .header-single-row .nav-menu {
        gap: 16px;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .header-single-row .nav-menu {
        gap: 12px;
    }

    .nav-menu a {
        font-size: 0.8rem;
    }

    /* Hide "TODAS AS PLATAFORMAS" on smaller screens to save space */
    .header-single-row .all-platforms-button {
        display: none !important;
    }
}

/* Desktop Theme Toggle */
.desktop-theme-toggle {
    display: flex;
    align-items: center;
}

.theme-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.theme-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #000000;
    transform: scale(1.05);
}

.theme-btn .theme-icon {
    position: absolute;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* Theme icon states for mobile menu */
.theme-icon {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.theme-icon-light {
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
}

.theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Light theme icon states */
[data-theme="light"] .theme-icon-light {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-icon-dark {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
}

.language-toggle {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    color: transparent !important;
    padding: 0 !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0; /* Hide any residual text */
    font-weight: normal; /* Reset font weight */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover,
.lang-btn.active {
    /* Visual effects moved to .lang-flag */
}

.lang-flag {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block; /* Added */
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-flag:hover {
    transform: scale(1.1);
    box-shadow: none !important; /* Removed */
}

.lang-btn.active .lang-flag {
    box-shadow: none !important; /* Removed */
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Menu Button Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-modal);
    backdrop-filter: blur(30px);
    border-left: 1px solid var(--border-primary);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-primary);
}

.mobile-menu-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-menu-close {
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    pointer-events: auto;
    user-select: none;
}

.mobile-menu-close:hover {
    background: var(--accent-primary);
    color: #000000;
    transform: scale(1.05);
}

/* Mobile Connect Button Container */
.mobile-connect-container {
    position: relative;
    width: calc(100% - 3rem);
    margin: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mobile Connect Button */
.mobile-connect-button {
    background: linear-gradient(90deg, #01dba2 0%, #a9d9df 100%);
    color: #ffffff;
    border: none;
    width: 100%;
    height: 50px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 600;
}

.mobile-connect-button:hover {
    background: linear-gradient(90deg, #a9d9df 0%, #01dba2 100%);
    box-shadow: 0 8px 20px rgba(1, 219, 162, 0.4);
}

.mobile-connect-button:active {
    transform: scale(0.98);
}

/* Mobile Connect Message */
.mobile-connect-message {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 10px 0 0 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    text-align: center;
    pointer-events: none;
}

.mobile-connect-message.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile PRO Button Container */
.mobile-pro-container {
    position: relative;
    width: calc(100% - 3rem);
    margin: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mobile PRO Button */
.mobile-pro-button {
    background: linear-gradient(90deg, #01dba2 0%, #a9d9df 100%);
    color: #ffffff;
    border: none;
    width: 100%;
    height: 50px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 600;
}

.mobile-pro-button:hover {
    background: linear-gradient(90deg, #a9d9df 0%, #01dba2 100%);
    box-shadow: 0 8px 20px rgba(1, 219, 162, 0.4);
}

.mobile-pro-button:active {
    transform: scale(0.98);
}

/* Mobile PRO Message */
.mobile-pro-message {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 10px 0 0 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    text-align: center;
    pointer-events: none;
}

.mobile-pro-message.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Theme Toggle */
.mobile-theme-toggle {
    padding: 1.5rem 1.5rem 1rem;
}

.mobile-theme-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    color: var(--text-primary);
    width: 100%;
    height: 50px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

.mobile-theme-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #000000;
}

/* Mobile Language Selector */
.mobile-language-selector {
    padding: 0 1.5rem 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.mobile-language-selector .lang-btn {
    flex: 1;
    max-width: 150px;
}

.mobile-theme-btn .theme-icon {
    position: relative;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin-right: 0.5rem;
}

.mobile-theme-btn .theme-text {
    font-weight: 500;
    font-size: 1rem;
}

.mobile-menu-separator {
    height: 1px;
    background: var(--border-primary);
    margin: 0 1.5rem 1rem;
}

.mobile-menu-nav {
    padding: 1rem 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin: 0;
}

.mobile-nav-list a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-list a:hover {
    background: linear-gradient(90deg, rgba(1, 219, 162, 0.1) 0%, rgba(169, 217, 223, 0.1) 100%);
    color: #01dba2;
    padding-left: 2rem;
}

.mobile-nav-list a:last-child {
    border-bottom: none;
}

/* Mobile "Todas as Plataformas" Special Styling */
.mobile-nav-list a.mobile-all-platforms-button {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(90deg, rgba(1, 219, 162, 0.15) 0%, rgba(169, 217, 223, 0.15) 100%) !important;
    color: #01dba2 !important;
    font-weight: 600 !important;
    border-left: 3px solid #01dba2 !important;
    padding-left: 2rem !important;
}

/* Hero Section - CRITICAL: Must start below fixed header */
.hero {
    min-height: 60vh !important;
    display: flex !important;
    align-items: flex-start !important;
    position: relative !important;
    overflow: visible !important;
    background: radial-gradient(ellipse at top, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    padding: 100px 0; /* Changed to uniform padding */
    margin-top: 0 !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 1200px !important;
}

.hero-content {
    /* animation: fadeInUp 1s ease-out; */ /* DISABLED: Can cause positioning issues */
    width: 100% !important;
    max-width: 900px !important;
    padding: 3rem 20px 0 !important;
    margin-top: 0 !important;
    opacity: 1 !important;
    transform: none !important;
}

.hero-title {
    font-size: 4.5rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    padding-top: 0 !important;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-slogan {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary); /* Muted neutral gray */
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    text-align: center;
    opacity: 0.9;
    line-height: 1.4;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.85;
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary); /* Muted neutral gray */
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-align: center;
    opacity: 0.85;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Center hero text on all devices */
.hero-title,
.hero-slogan,
.hero-subtitle {
    text-align: center;
}

.hero-content {
    text-align: center;
}

/* Ensure centering on desktop */
@media (min-width: 768px) {
    .hero-title,
    .hero-slogan,
    .hero-subtitle {
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
}

.cta-button {
    background: var(--accent-gradient);
    color: var(--text-main);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-button);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.crypto-icons {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.crypto-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-secondary);
}

.crypto-icon.bitcoin {
    color: var(--accent-primary);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 3s ease-in-out infinite;
}

.crypto-icon.ethereum {
    color: #627eea;
    top: 120px;
    left: 0;
    animation: bounce 3s ease-in-out infinite 1s;
}

.crypto-icon.cardano {
    color: #0033ad;
    top: 120px;
    right: 0;
    animation: bounce 3s ease-in-out infinite 2s;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

/* Section Styles */
.platform-section {
    padding: 6rem 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.platform-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Hero Banner Section */
.premium-hero-section {
    padding: 4rem 0 6rem;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.08) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.premium-hero-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.premium-hero-banner {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 450px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
                0 15px 40px rgba(255, 215, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    /* Hardware acceleration */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.premium-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 179, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.premium-hero-banner:hover::before {
    opacity: 1;
}

.premium-hero-banner:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
                0 20px 50px rgba(255, 215, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.premium-hero-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Side - Logo and Badge */
.premium-hero-left {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.premium-hero-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 10px 20px rgba(255, 215, 0, 0.2);
    transition: all 0.4s ease;
}

.premium-hero-banner:hover .premium-hero-logo {
    transform: scale(1.08) rotate(5deg);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
                0 15px 30px rgba(255, 215, 0, 0.3);
}

.premium-hero-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 16px;
    filter: brightness(1.1);
    opacity: 0;
    transition: opacity 0.5s ease;
    /* Hardware acceleration */
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.premium-hero-logo img.loaded {
    opacity: 1;
}

.premium-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-gradient);
    color: var(--text-main);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-button);
    animation: pulse-badge-premium 2.5s infinite;
}

.badge-icon {
    font-size: 1.25rem;
    animation: rotate-badge 3s linear infinite;
}

@keyframes rotate-badge {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    50% { transform: rotate(10deg) scale(1); }
    75% { transform: rotate(-10deg) scale(1.1); }
}

@keyframes pulse-badge-premium {
    0%, 100% { transform: scale(1); box-shadow: var(--shadow-button); }
    50% { transform: scale(1.05); box-shadow: var(--shadow-button-hover); }
}

/* Right Side - Description and CTA */
.premium-hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.premium-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    letter-spacing: -0.02em;
}

.premium-hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.premium-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--accent-gradient);
    color: var(--text-main);
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-button);
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--shadow-button-hover);
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.premium-cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

.premium-hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Horizontal Scroll Container */
.horizontal-scroll-container {
    position: relative;
    width: 100%;
    overflow: visible; /* Changed from hidden to visible for desktop scrolling */
}

.horizontal-cards-grid {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity; /* Changed from mandatory to proximity for better desktop UX */
    scrollbar-width: none; /* Hide scrollbar completely */
    -ms-overflow-style: none; /* Hide scrollbar on IE/Edge */
    /* Enable momentum scrolling on iOS */
    -webkit-overflow-scrolling: touch;
    /* Ensure the container takes full width */
    width: 100%;
    /* Allow both horizontal carousel scroll and vertical page scroll */
    touch-action: pan-x pan-y;
    /* Add padding for better edge visibility - ensure all cards are visible when scrolled */
    padding-right: calc(100vw - 420px);
    /* Ensure carousel starts at beginning */
    padding-left: 0;
    margin-left: 0;
}

/* Hide scrollbar on all browsers - FORCE HIDE COMPLETELY */
.horizontal-cards-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.horizontal-cards-grid::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

.horizontal-cards-grid::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}

/* Also hide on sections */
section::-webkit-scrollbar,
.platform-section::-webkit-scrollbar,
.horizontal-scroll-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ============================================
   FIX: DIGITAL BANKS CAROUSEL - REMOVED (NOW IN MEDIA QUERIES)
   These rules are now defined within @media queries for better specificity
   ============================================ */

/* ============================================
   CARD FLIP SYSTEM - COMPLETE REWRITE
   ============================================ */

/* Platform Card Container */
.platform-card {
    min-width: 420px;
    max-width: 480px;
    min-height: 480px;
    scroll-snap-align: start;
    position: relative;
    cursor: pointer;
    /* 3D perspective for flip effect */
    perspective: 1000px;
    -webkit-perspective: 1000px;
    /* Glassmorphism effect - Dark grey background with orange border */
    background: #1a1a1a;
    border: 1px solid #333333;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reflection effect on cards */
.platform-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 100%
    );
    border-radius: 24px 24px 0 0;
    pointer-events: none;
    z-index: 1;
}

/* Enhanced hover effect */
.platform-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow:
        0 16px 48px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Card Inner Container - This is what rotates */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
    /* Smooth rotation transition */
    transition: transform 0.6s ease-in-out;
    /* Enable 3D transforms */
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* When card has .flipped class, rotate 180deg */
.platform-card.flipped .card-inner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

/* CRITICAL FIX: Ensure all buttons/links work when card is flipped */
.platform-card.flipped .card-back {
    pointer-events: auto !important;
    z-index: 10 !important;
}

.platform-card.flipped .card-back a,
.platform-card.flipped .card-back button,
.platform-card.flipped .card-back .card-btn-primary,
.platform-card.flipped .card-back .card-btn-secondary,
.platform-card.flipped .card-back .card-back-buttons,
.platform-card.flipped .card-back .card-back-buttons a,
.platform-card.flipped .card-back .card-back-buttons button {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    position: relative !important;
}

/* CRITICAL: Push card-front BEHIND when flipped */
.platform-card.flipped .card-front {
    pointer-events: none !important;
    z-index: -1 !important;
    visibility: hidden !important;
    transform: translateZ(-100px) !important;
}

/* ============================================
   CARD FACES - FRONT AND BACK
   ============================================ */

/* Common styles for both faces */
.card-front,
.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    /* CRITICAL: Hide the back of each face */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* FRONT FACE */
.card-front {
    /* Face forward (0deg) */
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    /* Styling */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Rating Badge - Top Left Corner */
.rating-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    backdrop-filter: blur(10px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Hide badges when card is flipped */
.platform-card.flipped .rating-badge,
.platform-card.flipped .kyc-badge {
    opacity: 0;
    pointer-events: none;
}

.rating-badge .stars {
    color: #FFD700;
    font-size: 14px;
}

.rating-badge .score {
    color: white;
    font-size: 15px;
    font-weight: 700;
}

[data-theme="light"] .rating-badge {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(180, 160, 140, 0.18);
}

[data-theme="light"] .rating-badge .score {
    color: #0f0f0f;
}

/* Platform Tags - Below Name */
.platform-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
    padding: 0 15px;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
    color: #FFD700;
}

[data-theme="light"] .tag {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(180, 160, 140, 0.22);
    color: #4a4a4a;
}

[data-theme="light"] .tag:hover {
    background: rgba(255, 215, 0, 0.16);
    border-color: rgba(255, 215, 0, 0.38);
    color: #FFD700;
}

/* KYC Badges */
.kyc-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    backdrop-filter: blur(10px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.kyc-required {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
}

.kyc-free {
    background: rgba(46, 213, 115, 0.2);
    border: 1px solid rgba(46, 213, 115, 0.5);
    color: #2ED573;
}

[data-theme="light"] .kyc-required {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #d45a2a;
}

[data-theme="light"] .kyc-free {
    background: rgba(46, 213, 115, 0.15);
    border: 1px solid rgba(46, 213, 115, 0.4);
    color: #25a85a;
}

.platform-card:hover .card-front {
    border-color: var(--accent-primary-30);
    box-shadow: var(--shadow-large);
}

.card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFD700);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.platform-card:hover .card-front::before {
    transform: scaleX(1);
}

/* BACK FACE */
.card-back {
    /* Face backward (180deg) - so when card flips, it faces forward */
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    /* Styling */
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

[data-theme="light"] .card-back {
    background: linear-gradient(135deg, rgba(255, 254, 252, 0.98) 0%, rgba(252, 250, 247, 0.96) 100%);
    border: 2px solid rgba(255, 215, 0, 0.38);
}

.card-back-header {
    text-align: center;
    margin-bottom: 20px;
}

.card-back-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.card-back-description {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 28px;
    text-align: center;
    overflow-y: auto;
    max-height: 180px;
}

.card-back-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Button Styles for Card Back */
.card-btn-primary {
    background: rgba(255, 255, 255, 0.03); /* Translucent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    color: #00ffa3; /* Brand highlight color (neon green) */
    padding: 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-btn-primary:hover {
    background: rgba(0, 255, 163, 0.1); /* Subtle neon green tint */
    border-color: rgba(0, 255, 163, 0.5); /* Illuminated border */
    color: #00ffa3;
    box-shadow: 0 0 15px rgba(0, 255, 163, 0.2), inset 0 0 10px rgba(0, 255, 163, 0.1);
    transform: translateY(-2px);
}

.card-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .card-btn-primary {
    background: var(--btn-primary-bg) !important;
    color: var(--btn-primary-text) !important;
    border: 1px solid var(--btn-primary-border) !important; /* Adding border for consistency */
    font-weight: 800;
}

[data-theme="light"] .card-btn-primary:hover {
    background: var(--btn-primary-hover-bg) !important; /* Apply hover background from var */
}

[data-theme="light"] .card-btn-secondary {
    background: var(--btn-secondary-bg) !important;
    color: var(--btn-secondary-text) !important;
    border: 1px solid var(--btn-secondary-border) !important; /* Changed to 1px for consistency with primary border */
}

[data-theme="light"] .card-btn-secondary:hover {
    background: var(--btn-secondary-hover-bg) !important;
    border-color: var(--btn-secondary-border) !important; /* Use solid black border on hover */
}

/* Hide original card styling that's now on card-front */
.platform-card-old {
    min-width: 280px;
    max-width: 320px;
    scroll-snap-align: start;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    /* Hardware acceleration - optimized */
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Performance optimization */
    contain: layout style paint;
}

/* Old styles removed - now using card-front and card-back */

.featured-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.2);
}

.featured-card:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.card-content {
    text-align: center;
    position: relative;
}

.platform-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.platform-card:hover .platform-logo {
    transform: scale(1.1);
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}



.platform-logo-full {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Crucial: stretches image to fill, cropping excess */
    border-radius: 50% !important;
    margin: 0 !important;
    display: block !important;
}



.platform-logo img.loaded {
    opacity: 1;
}

.platform-name {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.platform-card:hover .platform-name {
    color: var(--accent-primary);
}

.platform-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-badge {
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Carousel Navigation Container */
.carousel-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 20px auto 0;
    padding-bottom: 2rem;
    gap: 20px;
}

/* Carousel Arrow Buttons */
.carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-arrow:hover:not(:disabled) {
    transform: scale(1.1);
    background: rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.8);
}

.carousel-arrow:active:not(:disabled) {
    transform: scale(1.05);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Scroll Indicators (Dots) */
/* HIDE scroll indicators - only show arrows */
.scroll-indicator {
    display: none !important;
}

.scroll-dot {
    display: none !important;
}

.scroll-dot.active {
    display: none !important;
}

.scroll-dot:hover {
    display: none !important;
}

/* Hide arrows on mobile, keep dots centered */
@media (max-width: 768px) {
    .carousel-arrow {
        display: none;
    }

    .carousel-navigation {
        justify-content: center;
    }
}

/* ============================================
   MODAL SYSTEM - CLEAN IMPLEMENTATION
   ============================================ */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
}

.modal-overlay.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 0;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    min-width: 400px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #ff4444;
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.modal-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 140, 0, 0.3);
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.2);
}

.modal-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.modal-description {
    color: #ccc;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    margin: 0 0 36px 0;
    padding: 0 10px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-btn {
    padding: 18px 32px;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: inherit;
}

.modal-btn-twitter {
    background: #000;
    color: #fff;
    border: 2px solid #1DA1F2;
}

.modal-btn-twitter:hover {
    background: #1DA1F2;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.4);
}

.modal-btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    font-weight: 700;
}

.modal-btn-primary:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

.modal-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 90vh;
        min-width: unset;
    }

    .modal-content {
        padding: 35px 25px;
        border-radius: 20px;
        min-width: unset;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }

    .modal-logo {
        width: 90px;
        height: 90px;
    }

    .modal-title {
        font-size: 26px;
    }

    .modal-description {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 5px;
    }

    .modal-btn {
        padding: 16px 24px;
        font-size: 16px;
    }

    .modal-btn-twitter svg {
        width: 19px;
        height: 19px;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 96%;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-logo {
        width: 85px;
        height: 85px;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-description {
        font-size: 14px;
    }

    .modal-btn {
        padding: 15px 22px;
        font-size: 15px;
    }
}

/* Footer */
.footer {
    background: var(--footer-background);
    border-top: 1px solid var(--border-primary);
    padding: 4rem 0 1.5rem;
    position: relative;
    z-index: 10;
}

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

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFD700 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', sans-serif;
}

.footer-slogan {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Links Column */
.footer-links {
    display: flex;
    justify-content: center;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
}

/* Newsletter Section */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-newsletter h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.newsletter-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid var(--border-primary);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    width: 100%;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #00ffb3;
    box-shadow: 0 0 0 2px rgba(0, 255, 179, 0.2);
}

.newsletter-button {
    background: linear-gradient(135deg, #00ffb3 0%, #00cc8f 100%);
    color: #000;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    width: 100%;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.newsletter-button:hover {
    background: linear-gradient(135deg, #00cc8f 0%, #00ffb3 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 179, 0.3);
}

.newsletter-button:active {
    transform: scale(0.98);
}

.newsletter-success {
    margin-top: 0.75rem;
    padding: 8px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    border-radius: 4px;
    color: #10b981;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.3s ease;
}

.newsletter-success.hidden {
    display: none;
}

/* Mobile responsive styles for footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-newsletter {
        text-align: center;
    }

    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-section ul li {
        margin-bottom: 0;
    }

    .newsletter-description {
        margin-bottom: 1rem;
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        min-height: 50vh !important;
        padding-top: 8rem !important; /* Increased for better spacing */
        padding-bottom: 3rem !important;
        margin-top: 0 !important;
    }

    .hero .container {
        text-align: center !important;
    }

    .hero-content {
        max-width: 800px !important;
        padding-top: 2rem !important;
    }

    .hero-title {
        font-size: 3rem !important;
    }

    .hero-slogan {
        font-size: 1.3rem;
        padding: 0 20px;
    }

    .horizontal-cards-grid {
        padding: 1rem 20px;
    }

    .platform-card {
        min-width: 340px;
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Hide desktop navigation on mobile */
    .navigation {
        display: none !important;
    }

    /* Hide desktop buttons (PRO + Connect) on mobile */
    .header-buttons-container {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile header adjustments */
    .header {
        padding: 10px 12px !important; /* Reduced padding to maximize logo space */
        gap: 8px !important; /* Reduced gap */
    }

    .header-content {
        gap: 0;
    }

    /* Mobile: Single-row header becomes row with logo, controls, menu btn */
    .header-content.header-single-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .header-top-row {
        width: 100%;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important; /* Add gap between logo, controls, and menu */
    }

    /* FIX: Logo spacing - allow shrinking to prevent truncation */
    .logo {
        flex-shrink: 1 !important; /* Allow logo to shrink if needed */
        min-width: 0 !important; /* Allow flex item to shrink below content size */
        max-width: 65% !important; /* Leave 35% for buttons/menu */
        overflow: visible !important; /* Changed from hidden to prevent truncation */
    }

    /* FIX: Language toggle spacing */
    .language-toggle {
        margin-left: auto !important;
        margin-right: 12px !important;
    }

    /* Mobile logo - smaller font size to fit complete name */
    .logo h1 {
        font-size: 0.95rem;
        white-space: nowrap;
        letter-spacing: -0.03em;
    }

    .logo-icon {
        font-size: 1.1rem;
    }

    .logo-svg {
        height: 32px;
    }

    /* FIX: Force logo visibility on mobile - CRITICAL */
    .logo {
        display: flex !important;
        position: relative !important;
        z-index: 1001 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .logo h1,
    .logo-text {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-family: 'Orbitron', sans-serif !important; /* Ensure Orbitron Light on mobile */
        font-weight: 300 !important; /* Light weight */
        font-size: clamp(14px, 4vw, 18px) !important; /* Dynamic sizing to prevent truncation */
        letter-spacing: 0px !important; /* Tighten spacing to save horizontal space */
        white-space: nowrap !important;
        text-transform: uppercase !important;
    }

    /* Force logo text colors to be visible */
    .logo-white {
        color: #FFFFFF !important; /* White for "CRYPTO" */
        opacity: 1 !important;
    }

    .logo-gradient {
        color: #00ffb3 !important; /* Cyan/green for "AGGREGATOR" */
        opacity: 1 !important;
    }

    /* Premium Hero Banner Mobile */
    .premium-hero-section {
        padding: 3rem 0 4rem;
    }

    .premium-hero-banner {
        width: 95%;
        min-height: 350px;
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }

    .premium-hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    .premium-hero-left {
        flex: 1;
        width: 100%;
    }

    .premium-hero-logo {
        width: 140px;
        height: 140px;
    }

    .premium-hero-logo img {
        width: 90px;
        height: 90px;
    }

    .premium-partner-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }

    .premium-hero-right {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .premium-hero-title {
        font-size: 2rem;
    }

    .premium-hero-description {
        font-size: 1rem;
    }

    .premium-cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .premium-hero-features {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .feature-item {
        justify-content: center;
    }

    /* Mobile header spacing fixes */
    .header-content {
        gap: 1rem;
        padding: 0.75rem 0;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .header-controls {
        gap: 0.5rem !important; /* Reduced gap */
        flex-shrink: 0 !important;
        align-items: center !important;
        transform: scale(0.85) !important; /* Scale down entire controls section */
        transform-origin: center right !important; /* Scale from right side */
    }

    /* Hide desktop theme toggle on mobile */
    .desktop-theme-toggle {
        display: none !important;
    }

    .language-toggle {
        margin-left: 0 !important;
    }

    /* Ensure Flags appear in mobile too */
    .language-selector {
        display: flex !important; /* Added */
        gap: 10px !important; /* Changed from 4px to 10px */
        padding: 3px !important; /* Keep existing padding */
        flex-shrink: 0 !important; /* Keep existing flex-shrink */
        align-items: center !important; /* Added to ensure vertical alignment */
    }

    .lang-btn {
        padding: 6px 12px !important; /* Reduced button padding */
        font-size: 0.75rem !important; /* Smaller font */
    }

    .hero {
        min-height: 45vh !important;
        padding-top: 4rem !important;
        padding-bottom: 2.5rem !important;
        margin-top: 100px !important; /* CRITICAL: Account for fixed header on mobile */
    }

    .hero-content {
        padding-top: 1.5rem !important;
    }

    .hero-title {
        font-size: 2.5rem !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .hero-slogan {
        font-size: 1.2rem;
        padding: 0 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .featured-section,
    .platform-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.6rem;
    }

    /* Enhanced mobile horizontal scrolling */
    .horizontal-scroll-container {
        margin: 0 -15px; /* Extend to screen edges */
        padding: 0 15px;
    }

    .horizontal-cards-grid {
        padding: 1rem 15px;
        gap: 1.25rem;
        /* Ensure proper scrolling on mobile */
        overflow-x: scroll;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* Allow both horizontal carousel and vertical page scroll */
        touch-action: pan-x pan-y;
        overscroll-behavior-x: contain;
        /* Hide scrollbar on mobile */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .horizontal-cards-grid::-webkit-scrollbar {
        display: none;
    }

    .platform-card {
        /* Optimized mobile card size */
        min-width: 300px;
        max-width: 340px;
        padding: 1.75rem;
        /* Ensure cards snap properly */
        scroll-snap-align: start;
        /* Prevent card shrinking */
        flex-shrink: 0;
    }

    .platform-logo {
        width: 110px;
        height: 110px;
    }

    

    .platform-name {
        font-size: 1.6rem;
    }

    .tag {
        font-size: 13px;
        padding: 7px 14px;
    }

    /* Enhanced scroll indicators for mobile */
    .scroll-indicator {
        display: none !important;
    }

    .scroll-dot {
        display: none !important;
    }

    .scroll-dot.active {
        display: none !important;
    }

    .crypto-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .crypto-icon.ethereum {
        top: 90px;
    }

    .crypto-icon.cardano {
        top: 90px;
    }

    /* ========================================
       MOBILE CARD OPTIMIZATION
       ======================================== */

    /* PART 1: Compact Rating Badge - 1 Star + Score */
    .rating-badge {
        padding: 6px 12px;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .rating-badge .stars {
        display: none; /* Hide all 5 stars */
    }

    /* Show only ONE star before score */
    .rating-badge::before {
        content: "â­";
        font-size: 16px;
    }

    .rating-badge .score {
        font-size: 15px;
        font-weight: 700;
    }

    /* PART 2: Reduce Card Height - More Compact */
    .platform-card {
        height: 320px;
        max-height: 320px;
        min-height: 320px;
    }

    .card-front,
    .card-back {
        padding: 16px;
    }

    /* Logo smaller */
    .platform-logo {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 12px;
    }

    

    /* Platform name */
    .platform-name {
        font-size: 18px !important;
        margin-bottom: 10px;
    }

    /* Tags container */
    .platform-tags {
        gap: 6px;
        margin-top: 10px;
    }

    .platform-tags .tag {
        padding: 4px 10px;
        font-size: 11px;
    }

    /* KYC badge */
    .kyc-badge {
        padding: 5px 10px;
        font-size: 11px;
    }

    /* Card back description */
    .card-back p,
    .card-back-description {
        font-size: 13px !important;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    /* CTA buttons */
    .card-back button,
    .card-back a,
    .card-btn-primary,
    .card-btn-secondary {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }

    /* PART 3: Proportional Spacing */
    .platforms-grid {
        gap: 16px;
        padding: 16px 12px;
    }

    /* Ensure cards fill width properly */
    .platform-card {
        width: 100%;
        max-width: 100%;
    }

    /* Card inner content alignment */
    .card-front {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Back card content spacing */
    .card-back {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

}

@media (max-width: 480px) {
    /* Extra small screens - dynamic sizing to prevent truncation */
    .logo h1,
    .logo-text {
        font-family: 'Orbitron', sans-serif !important;
        font-weight: 300 !important; /* Keep Light weight */
        font-size: clamp(12px, 3.5vw, 16px) !important; /* Dynamic sizing for small screens */
        letter-spacing: 0px !important; /* No letter spacing to maximize fit */
        text-transform: uppercase !important;
    }

    /* Scale down header controls even more */
    .header-controls {
        transform: scale(0.75) !important; /* Scale down more on small screens */
    }

    .lang-btn {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }

    .mobile-menu-btn {
        width: 32px !important;
        height: 32px !important;
    }

    .hero {
        min-height: 40vh !important;
        padding-top: 3.5rem !important;
        padding-bottom: 2rem !important;
        margin-top: 90px !important; /* CRITICAL: Account for fixed header on small mobile */
    }

    .hero-content {
        padding-top: 1rem !important;
    }

    .hero-title {
        font-size: 2rem !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .hero-slogan {
        font-size: 1.1rem;
        padding: 0 12px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    /* Extra small screens - ensure full logo text visible */
    .logo h1 {
        font-size: 0.85rem;
        letter-spacing: -0.04em;
    }

    .logo-icon {
        font-size: 1rem;
    }

    /* Small mobile optimized scrolling */
    .horizontal-scroll-container {
        margin: 0 -15px;
        padding: 0 10px;
    }

    .horizontal-cards-grid {
        padding: 1rem 10px;
        gap: 1rem;
        /* Force horizontal scroll on small screens */
        overflow-x: scroll !important;
        scroll-behavior: smooth;
    }

    .platform-card {
        /* Smaller cards for tiny screens but still swipeable */
        min-width: 280px;
        max-width: 310px;
        padding: 1.5rem;
        /* Critical: prevent shrinking */
        flex-shrink: 0;
        /* Ensure smooth snapping */
        scroll-snap-align: start;
    }

    .platform-logo {
        width: 100px;
        height: 100px;
    }

    

    .platform-name {
        font-size: 1.5rem;
    }

    .tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .section-title {
        font-size: 2.3rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-icon {
        font-size: 2rem;
    }

    /* More visible scroll indicators on small screens */
    .scroll-indicator {
        display: none !important;
    }

    .scroll-dot {
        display: none !important;
    }

    .scroll-dot.active {
        display: none !important;
    }

    /* ========================================
       SMALL MOBILE CARD OPTIMIZATION (480px)
       ======================================== */

    /* Compact Rating Badge - 1 Star + Score */
    .rating-badge {
        padding: 5px 10px;
        font-size: 13px;
    }

    .rating-badge .stars {
        display: none;
    }

    .rating-badge::before {
        content: "â­";
        font-size: 15px;
    }

    .rating-badge .score {
        font-size: 14px;
        font-weight: 700;
    }

    /* Reduce Card Height */
    .platform-card {
        height: 300px !important;
        max-height: 300px !important;
        min-height: 300px !important;
    }

    .card-front,
    .card-back {
        padding: 14px;
    }

    /* Logo smaller for tiny screens */
    .platform-logo {
        width: 65px !important;
        height: 65px !important;
        margin-bottom: 10px;
    }

    

    /* Platform name */
    .platform-name {
        font-size: 17px !important;
        margin-bottom: 8px;
    }

    /* Tags */
    .platform-tags .tag {
        padding: 3px 8px;
        font-size: 10px;
    }

    /* KYC badge */
    .kyc-badge {
        padding: 4px 8px;
        font-size: 10px;
    }

    /* Card back */
    .card-back p,
    .card-back-description {
        font-size: 12px !important;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    /* Buttons */
    .card-back button,
    .card-back a,
    .card-btn-primary,
    .card-btn-secondary {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
}

/* Stop animations during resize */
.resize-animation-stopper * {
    animation: none !important;
    transition: none !important;
}

/* Optimize scrolling performance */
.is-scrolling .platform-card {
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
button:focus,
a:focus,
.platform-card:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .platform-card {
        border-color: rgba(255, 255, 255, 0.3);
    }

    .nav-menu a:hover {
        background: transparent;
        color: #01dba2;
    }

    .modal-content {
        background: rgba(0, 0, 0, 0.95);
        border-color: rgba(255, 255, 255, 0.3);
    }
}

/* Touch optimization for mobile */
@media (hover: none) and (pointer: coarse) {
    .platform-card:hover {
        transform: none;
    }

    .platform-card:active {
        transform: scale(0.98);
    }

    /* Force horizontal scrolling on touch devices */
    .horizontal-cards-grid {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        touch-action: pan-x pan-y !important;
        /* Ensure content doesn't get cut off */
        padding-right: 20px !important;
    }

    /* Ensure cards are properly sized for touch scrolling */
    .platform-card {
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
    }
}

/* Additional mobile scroll fixes */
@media (max-width: 768px) {
    /* Force mobile browsers to show scrollable content */
    .horizontal-cards-grid {
        /* Create enough width to force horizontal scroll */
        width: 100%;
        min-width: 100%;
        /* Add extra padding to ensure all cards are visible when scrolled */
        padding-right: calc(100vw - 280px);
    }

    /* Remove any margin-right from last card - padding handles it now */
    .platform-card:last-child {
        margin-right: 0;
    }

    /* Prevent iOS Safari from hiding content */
    .horizontal-scroll-container {
        position: relative;
        overflow: visible;
    }

    /* ============================================
       REMOVED: Digital Banks Mobile specific CSS - Now using standard cards-final-grid
       Banks section now uses the same layout as all other sections on mobile too
       ============================================ */
}

/* Desktop Carousel Drag Cursor */
.horizontal-cards-grid {
    cursor: grab;
    user-select: none;
}

.horizontal-cards-grid.dragging {
    cursor: grabbing;
}

.horizontal-cards-grid:active {
    cursor: grabbing;
}


/* ============================================
   PREMIUM DESIGN - HERO SECTION
   ============================================ */

.hero-section {
    padding: 120px 20px 80px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent !important;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.gradient-text-full {
    background: linear-gradient(90deg, #01dba2 0%, #a9d9df 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   PREMIUM DESIGN - LANGUAGE SELECTOR
   ============================================ */

.language-selector {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-btn.active {
    background: linear-gradient(90deg, #01dba2 0%, #a9d9df 100%) !important;
    color: white !important;
}

.lang-btn:hover:not(.active) {
    color: rgba(255, 255, 255, 0.9) !important;
    background: linear-gradient(90deg, rgba(1, 219, 162, 0.2) 0%, rgba(169, 217, 223, 0.2) 100%) !important;
}

/* ============================================
   PREMIUM DESIGN - SECURITY SECTION
   ============================================ */

.security-section {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.security-content {
    text-align: center;
}

.security-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
}

.security-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 900px;
    margin: 0 auto 60px;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.security-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    transition: all 0.3s;
}

.security-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 16px 48px rgba(255, 215, 0, 0.15);
}

.security-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.security-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.security-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.education-box {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.education-box h4 {
    color: #FFD700;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.education-box p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px 60px;
    }
    
    .security-section {
        padding: 60px 20px;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .education-box {
        padding: 30px 20px;
    }
}

.hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.125rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 800px;
    margin: 20px auto 0;
}

/* ============================================
   LIGHT THEME - SECURITY SECTION
   ============================================ */

[data-theme="light"] .security-title {
    color: #0f0f0f;
}

[data-theme="light"] .security-description {
    color: #4a4a4a;
}

[data-theme="light"] .security-card {
    background: rgba(255, 254, 252, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(180, 160, 140, 0.2);
    box-shadow: 0 4px 16px rgba(100, 85, 70, 0.08);
}

[data-theme="light"] .security-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.15);
}

[data-theme="light"] .security-card h3 {
    color: #0f0f0f;
}

[data-theme="light"] .security-card p {
    color: #4a4a4a;
}

/* ============================================
   CATEGORY EXPLANATION CARDS SECTION
   ============================================ */

.category-info-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-info-container {
    text-align: center;
    margin-bottom: 60px;
}

.category-info-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.category-info-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.category-info-subtitle::before {
    content: "âœ“";
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 16px 48px rgba(255, 215, 0, 0.15);
}

.category-icon {
    font-size: 60px;
    margin-bottom: 20px;
    filter: grayscale(0.3);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.category-card p {
    font-size: 1.0rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-info-section {
        padding: 60px 20px;
    }

    .category-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   LIGHT THEME - CATEGORY CARDS
   ============================================ */

[data-theme="light"] .category-info-title {
    color: #0f0f0f;
}

[data-theme="light"] .category-info-subtitle {
    color: #4a4a4a;
}

[data-theme="light"] .category-card {
    background: rgba(255, 254, 252, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(180, 160, 140, 0.2);
    box-shadow: 0 4px 16px rgba(100, 85, 70, 0.08);
}

[data-theme="light"] .category-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.15);
}

[data-theme="light"] .category-card h3 {
    color: #0f0f0f;
}

[data-theme="light"] .category-card p {
    color: #4a4a4a;
}

[data-theme="light"] .education-box {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%);
    border: 2px solid rgba(168, 85, 247, 0.25);
}

[data-theme="light"] .education-box h4 {
    color: #7c3aed;
}

[data-theme="light"] .education-box p {
    color: #2a2a2a;
}

/* ============================================
   LIGHT THEME - HERO SECTION
   ============================================ */

[data-theme="light"] .hero-section .hero-title {
    color: #0f0f0f;
}

[data-theme="light"] .hero-section .hero-subtitle {
    color: #4a4a4a;
}

[data-theme="light"] .hero-section .hero-description {
    color: #4a4a4a;
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #00a868 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* ============================================
   MOBILE CARDS - FIX 3D PERSPECTIVE & DISPLAY
   ============================================ */

@media (max-width: 768px) {
    /* Remove 3D issues on mobile - prevents double background */
    .platform-card {
        perspective: none !important;
        height: auto !important;
        min-height: fit-content !important;
    }

    /* Flatten card inner - fix 3D transform issues */
    .card-inner {
        transform-style: flat !important;
        transform: none !important;
        height: auto !important;
        min-height: 400px !important;
        position: relative !important;
    }

    /* CRITICAL: Prevent card-inner from rotating on mobile */
    .platform-card.flipped .card-inner {
        transform: none !important;
        -webkit-transform: none !important;
    }

    /* Card front - default visible */
    .card-front {
        position: relative !important;
        backface-visibility: visible !important;
        transform: none !important;
        padding: 24px !important;
        height: auto !important;
        min-height: 380px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-around !important;
        opacity: 1 !important;
        transition: opacity 0.3s ease !important;
    }

    /* FIX: Card back - absolutely positioned, full size */
    .card-back {
        transform: rotateY(0deg) !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        padding: 24px !important;
        min-height: 380px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-around !important;
        backface-visibility: visible !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease !important;
    }

    /* FIX: When flipped - show back with higher z-index */
    .platform-card.flipped .card-back {
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 10 !important;
    }

    /* CRITICAL: Force all buttons and links in card-back to be clickable */
    .platform-card.flipped .card-back a,
    .platform-card.flipped .card-back button,
    .platform-card.flipped .card-back .card-btn-primary,
    .platform-card.flipped .card-back .card-btn-secondary,
    .platform-card.flipped .card-back .card-back-buttons,
    .platform-card.flipped .card-back .card-back-buttons a,
    .platform-card.flipped .card-back .card-back-buttons button {
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 1000 !important;
        position: relative !important;
    }

    .platform-card.flipped .card-front {
        opacity: 0 !important;
        pointer-events: none !important;
        z-index: -1 !important;
        visibility: hidden !important;
        transform: translateZ(-100px) !important;
    }

    /* FIX: Enable horizontal carousel scrolling */
    .horizontal-scroll-container {
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .horizontal-cards-grid {
        display: flex !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        /* Allow both horizontal scroll AND vertical page scroll */
        touch-action: pan-x pan-y !important;
    }

    /* FIX: Allow page scroll when touching cards */
    .platform-card {
        touch-action: pan-x pan-y !important;
    }

    /* Proper spacing for content */
    .platform-card img {
        margin: 16px auto !important;
    }

    .platform-tags {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
    }

    /* Ensure dark mode background works - Force black background on mobile */
    body:not([data-theme="light"]),
    body:not([data-theme="light"]) .hero-section,
    body:not([data-theme="light"]) section {
        background: #000000 !important;
        background-attachment: fixed !important;
    }

    /* Section backgrounds - ensure all sections are black in dark mode */
    body:not([data-theme="light"]) .p2p-section,
    body:not([data-theme="light"]) .exchanges-section,
    body:not([data-theme="light"]) .featured-section {
        background: #000000 !important;
    }
}

/* ============================================
   DESKTOP HEADER ALIGNMENT - SINGLE ROW
   ============================================ */

@media (min-width: 769px) {
    /* Main header container */
    .header {
        padding: 16px 40px !important;
    }

    /* CRITICAL: Single row layout for header (GRID as per new instruction) */
    .header-content.header-single-row { /* Specificity for header-single-row */
        display: grid !important;
        /* Column 1 (Logo), Column 2 (Nav - takes available space), Column 3 (Flags) */
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        width: 100% !important;
        padding: 15px 4% !important;
        box-sizing: border-box !important; /* Added */
        gap: 0 !important; /* Explicitly set to 0 for clarity, as not defined in instruction */
        flex-direction: unset !important; /* Remove flex direction */
        justify-content: unset !important; /* Remove flex justify */
        flex-wrap: unset !important; /* Remove flex wrap */
        max-width: unset !important; /* Remove max-width */
        margin: unset !important; /* Remove margin */
    }
    /* POSITION 1: LOGO (Left) */
    .header-single-row .logo {
        justify-self: start !important;
    }

    /* POSITION 2: NAV MENU (Center) */
    .nav-menu {
        justify-self: center !important;
        /* Ensure it's visible and horizontal on desktop */
        display: flex !important;
        flex-direction: row !important;
        gap: 30px !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: center !important; /* Added !important */
    }

    /* POSITION 3: FLAGS (Right) */
    .header-single-row .header-right-group,
    .header-single-row .header-controls,
    .header-single-row .language-selector {
        justify-self: end !important;
        display: flex !important;
        gap: 15px !important;
    }

    /* Mobile menu button - hidden on desktop */
    .mobile-menu-btn {
        display: none !important;
    }

    /* Ensure all elements same height (40px) */
    .theme-btn {
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .lang-btn {
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px 16px !important;
    }

    /* Connect and PRO buttons same height */
    .header-buttons-container .connect-btn,
    .header-buttons-container .pro-btn {
        height: 40px !important;
        padding: 10px 24px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}





/* ========================================
   EMERGENCY FIX: FORCE INTERACTION ON KEY ELEMENTS
   Force all interactive elements to sit ABOVE any background layer
   ======================================== */

main,
section,
header,
footer,
.container,
.platform-card,
.platform-card-final,
.card-final-btn,
.card-final-btn-primary,
.card-final-btn-secondary,
a,
button {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

/* Force clicks to work on all interactive elements */
a,
button,
.carousel-arrow,
.nav-menu a,
input,
textarea,
select {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* =====================================================
   FORCE UPDATE MODAL - Sistema de atualizaÃ§Ã£o forÃ§ada
   ===================================================== */

.force-update-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.force-update-overlay.show {
    opacity: 1;
}

.force-update-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #00ffb3;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 255, 179, 0.3);
    animation: slideUp 0.4s ease;
    overflow: hidden;
}

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

.force-update-header {
    background: linear-gradient(135deg, #00ffb3 0%, #00dca5 100%);
    padding: 30px 20px;
    text-align: center;
    color: #000;
}

.force-update-icon {
    font-size: 60px;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.force-update-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #000;
}

.force-update-body {
    padding: 30px;
    color: #fff;
}

.force-update-version {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    color: #00ffb3;
}

.force-update-version strong {
    font-size: 24px;
    font-weight: 800;
}

.force-update-message {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.force-update-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.force-update-benefits li {
    padding: 10px;
    font-size: 15px;
    background: rgba(0, 255, 179, 0.1);
    margin-bottom: 8px;
    border-radius: 8px;
    border-left: 3px solid #00ffb3;
}

.force-update-footer {
    padding: 20px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.force-update-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.force-update-btn-primary {
    background: linear-gradient(135deg, #00ffb3 0%, #00dca5 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 255, 179, 0.4);
}

.force-update-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 179, 0.6);
}

.force-update-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.force-update-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #555;
}

.force-update-btn-secondary:hover {
    border-color: #00ffb3;
    color: #00ffb3;
}

/* Responsive para mobile */
@media (max-width: 768px) {
    .force-update-modal {
        max-width: 90%;
    }

    .force-update-header h2 {
        font-size: 22px;
    }

    .force-update-icon {
        font-size: 50px;
    }

    .force-update-body {
        padding: 20px;
    }

    .force-update-message {
        font-size: 14px;
    }

    .force-update-benefits li {
        font-size: 13px;
        padding: 8px;
    }

    .force-update-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* BotÃ£o de fechar (X) no modal de atualizaÃ§Ã£o */
.force-update-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1000000;
}

.force-update-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Garantir que o modal esteja acima de tudo */
.force-update-overlay {
    z-index: 999999 !important;
}

.force-update-modal {
    position: relative;
    z-index: 1000000 !important;
}

/* =====================================================
   UPDATE BADGE - NotificaÃ§Ã£o discreta de atualizaÃ§Ã£o
   ===================================================== */

.update-badge {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #01dba2, #a9d9df);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(1, 219, 162, 0.3);
    z-index: 999999;
    animation: slideIn 0.3s ease;
    opacity: 0;
}

.update-badge.show {
    opacity: 1;
}

.update-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.update-icon {
    font-size: 18px;
}

.update-text {
    color: #000;
    font-weight: 600;
    font-size: 14px;
}

.update-btn {
    background: #000;
    color: #01dba2;
    padding: 6px 16px;
    border-radius: 20px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.update-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.update-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile responsivo */
@media (max-width: 768px) {
    .update-badge {
        top: 70px;
        right: 10px;
        padding: 10px 16px;
    }
    
    .update-text {
        font-size: 12px;
    }
    
    .update-btn {
        padding: 5px 12px;
        font-size: 11px;
    }
}

/* TEMPORARIAMENTE DESABILITADO - Badge escondido para usar auto-refresh silencioso */
.update-badge {
    display: none !important;
}

@media (max-width: 768px) {
    .header-content.header-single-row {
        display: flex !important; /* Override any Grid settings */
        justify-content: space-between !important; /* Push items to edges */
        align-items: center !important;
        padding: 15px 20px !important;
        gap: 0; /* Remove gap from desktop grid */
        width: auto; /* Reset width to allow flex to manage it */
        box-sizing: content-box; /* Reset box-sizing if necessary */
    }
    .nav-menu { display: none !important; } /* Hide desktop menu on mobile */

    /* Group 1: Logo (Left) */
    .header-single-row .logo {
        flex: 0 0 auto; /* Do not shrink */
        justify-self: auto; /* Reset justify-self from grid */
    }

    /* Group 2: Controls (Right) - Flags + Hamburger */
    .header-right-group {
        display: flex;
        align-items: center;
        gap: 15px; /* Space between flags and hamburger */
        margin-left: auto; /* Push to right */
    }

    /* Ensure Flags are visible and aligned */
    .header-controls {
        display: flex; /* Ensure it's a flex container for the flags */
        gap: 10px; /* Space between individual flags */
        justify-self: auto; /* Reset justify-self from grid */
    }

    /* Ensure Hamburger is visible */
    .mobile-menu-btn {
        display: block !important; /* Make hamburger visible */
        margin-left: 10px; /* Space between flags and hamburger */
    }

    /* Hide Desktop Nav */
    .navigation {
        display: none !important; /* Hide desktop navigation */
    }

    /* TAME Mobile Typography Layout */
    .hero {
        padding: 60px 20px !important; /* Reduce vertical "air" and add horizontal padding */
        text-align: center;
    }
    .hero-title {
        font-size: 2.2rem !important; /* Much smaller than desktop 4.5rem */
        line-height: 1.2 !important;
    }
    .hero-slogan,
    .hero-description {
        font-size: 1rem !important;
        max-width: 100% !important; /* Allow it to take full width on mobile */
        margin-left: 0 !important; /* Remove auto margins */
        margin-right: 0 !important; /* Remove auto margins */
    }
}

/* Ensure list items don't block width */
.nav-menu li {
    display: inline-block;
}



/* Custom rule to center single button in .card-final-buttons */
.card-final-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px; /* Maintain existing gap for multiple buttons if they are ever added */
}

/* Ensure platform-card-final uses flexbox for balanced content distribution */
.platform-card-final {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ensure all platform-card-final elements have equal height */
.horizontal-cards-grid .platform-card-final {
    height: 100%;
}

/* Ensure content wrapper takes available space and centers its content */
.card-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally within the wrapper */
    justify-content: flex-start; /* Align content to the top within the wrapper */
}

#p2p .card-logo-container { /* Targeting the specific container in the P2P section */
    padding: 0 !important;
    display: flex !important; /* Ensure these are overriding if needed */
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important; /* Clip anything outside boundary */
}
















/* Global rule for icon containers */
.card-icon {
    padding: 0 !important; /* CRITICAL: Ensure no padding shrinks the image */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Global rule for all platform logo images */
.platform-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Force fill and crop if necessary */
    border-radius: 50%;
    margin: 0 !important;
    display: block;
}
/* ========================================= */
/* FORCED LIGHT MODE BUTTON FIX (NUCLEAR)    */
/* ========================================= */

/* Force Primary Button (Visitar Site) to be BLACK with GOLD text in Light Mode */
[data-theme="light"] .card-final-btn-primary,
[data-theme="light"] .featured-button-primary {
    background-color: #000000 !important;
    color: #FFD700 !important; /* Gold text */
    border: 1px solid #000000 !important;
}

/* Force Secondary Button (Seguir no X) to be TRANSPARENT with BLACK text/border */
[data-theme="light"] .card-final-btn-secondary,
[data-theme="light"] .featured-button-secondary {
    background-color: transparent !important;
    color: #000000 !important; /* Black text */
    border: 1px solid #000000 !important;
}

/* Add hover effects for these specific overrides */
[data-theme="light"] .card-final-btn-primary:hover,
[data-theme="light"] .featured-button-primary:hover {
    background-color: #333333 !important; /* Dark grey hover */
    transform: translateY(-2px);
}

[data-theme="light"] .card-final-btn-secondary:hover,
[data-theme="light"] .featured-button-secondary:hover {
    background-color: rgba(0,0,0,0.1) !important; /* Light grey tint hover */
    transform: translateY(-2px);
}
/* ========================================= */

/* ====================================================== */
/* LIGHT MODE BUTTON FIX: MATCH TITLE COLOR PALETTE       */
/* ====================================================== */

/* 1. Primary Button (Visitar Site) - Standard Cards */
/* Exclude featured card if it has a specific class like .featured-card, otherwise apply to all */
[data-theme="light"] .card:not(.featured) .btn-primary,
[data-theme="light"] .platform-card:not(.featured) .btn-primary {
    /* Use the site's main brand color (Green/Teal) */
    /* If --primary-color exists, use it. If not, use the hex code for the title color */
    background-color: #00ffa3 !important; /* Adjust this HEX to match your exact title color */
    color: #000000 !important; /* Black text for contrast on neon green */
    border: 1px solid #00ffa3 !important;
    font-weight: 700 !important;
}

/* 2. Secondary Button (Seguir no X) - Standard Cards */
[data-theme="light"] .card:not(.featured) .btn-secondary,
[data-theme="light"] .platform-card:not(.featured) .btn-secondary {
    background-color: transparent !important;
    /* Outline color matches the title color */
    color: #008f5d !important; /* Slightly darker green for text readability on white */
    border: 2px solid #00ffa3 !important;
    font-weight: 600 !important;
}

/* Hover effects */
[data-theme="light"] .card:not(.featured) .btn-primary:hover {
    filter: brightness(0.9);
    box-shadow: 0 4px 10px rgba(0, 255, 163, 0.4);
}
/* ============================================================ */
/* LIGHT MODE FIX: MAKE BUTTONS SOLID & VISIBLE                 */
/* ============================================================ */

/* 1. PRIMARY BUTTON (Visitar Site) -> FILL IT WITH COLOR */
[data-theme="light"] .card:not(.featured) .btn-primary,
[data-theme="light"] .platform-card:not(.featured) .btn-primary {
    /* Make the button look like a solid block */
    background-color: #00ffa3 !important; /* REPLACE with exact Brand Green */
    color: #000000 !important; /* Black text for contrast */
    border: 1px solid #00ffa3 !important;
    
    /* Box Shadow to give it "height" / 3D feel */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    opacity: 1 !important;
}

/* 2. SECONDARY BUTTON (Seguir no X) -> THICK VISIBLE OUTLINE */
[data-theme="light"] .card:not(.featured) .btn-secondary,
[data-theme="light"] .platform-card:not(.featured) .btn-secondary {
    background-color: transparent !important;
    /* Visible border defining the button shape */
    border: 2px solid #00ffa3 !important; /* Brand Green Border */
    color: #005f3d !important; /* Darker green text for readability */
    
    /* Ensure shape is visible */
    box-shadow: none !important;
}

/* Hover Effects to confirm it's clickable */
[data-theme="light"] .card:not(.featured) .btn-primary:hover {
    background-color: #00d488 !important; /* Slightly darker green */
    transform: translateY(-2px);
}
/* --- PROFESSIONAL REFINED --- */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CRYPTO AGGREGATOR - PROFESSIONAL REFINED DESIGN
   Premium fintech aesthetic with sophisticated polish
   Inspired by: Apple, Stripe, Linear, Mercury
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   REFINED COLOR PALETTE - Professional Tones
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');


/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   TYPOGRAPHY - Professional & Refined
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.011em;
}

/* Display headings - DM Sans for elegance */
h1, h2, h3,
.hero-title,
.section-title,
.premium-hero-title {
    font-family: 'DM Sans', 'Inter', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
}

/* Subtitle with default font */
.hero-subtitle,
.premium-hero-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-style: normal;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
}

/* Platform names and card titles */
.platform-name,
.card-back-title,
.modal-title {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
}

/* Technical elements stay clean */
.rating-badge,
.kyc-badge,
.tag {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   BACKGROUND - Clean & Minimal (Remove Cyber Effects)
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Remove ALL background effects */
body::after,
body::before,
.hero-section::before,
.hero-section::after,
section::before,
section::after {
    display: none !important;
    background: none !important;
}

body {
    background: var(--bg-body) !important;
    background-attachment: fixed !important;
    background-image: none !important;
}

[data-theme="light"] body {
    background: var(--bg-body) !important;
    background-color: var(--bg-body) !important;
    background-image: none !important;
}
/* Subtle paper texture overlay for luxury feel */
[data-theme="light"] body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.008) 2px, rgba(0, 0, 0, 0.008) 4px); /* Using black with low opacity for subtle effect */
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: multiply;
    opacity: 0.5;
}
/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   HEADER - Refined Navigation
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.header {
    background: var(--bg-header) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid var(--border-medium) !important; /* Use border-medium for dark theme */
    box-shadow: var(--card-shadow) !important; /* Use appropriate unified shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .header {
    background: var(--bg-header) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 1px solid var(--card-border) !important; /* Use card-border for light theme */
    box-shadow: var(--card-shadow) !important; /* Use appropriate unified shadow */
    z-index: 100;
}
/* Logo - subtle elegance */
.logo-text {
    text-shadow: none !important;
    color: var(--text-main) !important;
    transition: all 0.3s ease;
}

/* Logo text stays white on hover */
.logo:hover .logo-text {
    color: var(--text-main) !important;
}

.logo-svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2)); /* Using black for general drop shadow, might need adjustment */
    transition: filter 0.3s ease;
}

.logo:hover .logo-svg {
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.3)); /* Using black for general drop shadow, might need adjustment */
}
/* Navigation - minimalist text style */
.nav-menu a {
    position: relative;
    overflow: visible;
    transition: color 0.2s ease;
    border-radius: 0;
    padding: 8px 4px;
    background: transparent !important;
    color: var(--text-secondary) !important;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-menu a::before {
    display: none;
}

.nav-menu a:hover::before {
    display: none;
}

.nav-menu a:hover {
    transform: none;
    box-shadow: none !important;
    color: var(--accent-primary) !important;
}
/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   HERO SECTION - Sophisticated Entrance
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.hero-section {
    padding: 60px 0 80px;
    min-height: auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: var(--accent-gradient) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    filter: none !important;
}
.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-description {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   PREMIUM HERO BANNER - Glassmorphism
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.premium-hero-banner {
    background: var(--bg-card) !important; /* Use bg-card */
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid var(--card-border) !important; /* Use card-border */
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-hero-banner::before {
    display: none !important;
}

.premium-hero-banner:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
    border-color: var(--border-accent-hover) !important; /* Use border-accent-hover */
}

/* Premium logo - clean elevation and even larger for better visibility */
.premium-hero-logo {
    width: 108px;
    height: 108px;
    border-radius: 24px;
    background: var(--bg-card); /* Use bg-card */
    border: 1px solid var(--card-border) !important; /* Use card-border */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.premium-hero-banner:hover .premium-hero-logo {
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
    border-color: var(--border-accent-hover) !important; /* Use border-accent-hover */
}
/* CTA button - refined gradient */
.premium-cta-button {
    background: var(--accent-gradient) !important;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-main) !important;
    box-shadow: var(--shadow-button) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-cta-button:hover::before {
    opacity: 1;
}

.premium-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover) !important;
}
/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   SECTION TITLES - Refined Hierarchy
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.section-title {
    position: relative;
    display: inline-block;
    padding: 0;
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 48px;
}

.section-title::before,
.section-title::after {
    display: none !important;
}

/* Section titles - white in dark mode, orange in light mode */
.section-title,
.section-title span {
    text-shadow: none !important;
    color: var(--text-main) !important;
}

[data-theme="light"] .section-title,
[data-theme="light"] .section-title span {
    color: var(--accent-primary) !important;
}
.section-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    margin-top: -40px;
    margin-bottom: 40px;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   PLATFORM CARDS - Premium Glassmorphism
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.platform-card {
    background: var(--bg-card) !important; /* Use bg-card */
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid var(--card-border) !important; /* Use card-border */
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger */
.platform-card:nth-child(1) { animation-delay: 0.05s; }
.platform-card:nth-child(2) { animation-delay: 0.1s; }
.platform-card:nth-child(3) { animation-delay: 0.15s; }
.platform-card:nth-child(4) { animation-delay: 0.2s; }
.platform-card:nth-child(5) { animation-delay: 0.25s; }
.platform-card:nth-child(6) { animation-delay: 0.3s; }

/* Remove holographic effect */
.platform-card::before {
    display: none !important;
}

.platform-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
    border-color: var(--border-accent-hover) !important; /* Use border-accent-hover */
}
/* Click to flip cards - Desktop and Mobile */
.platform-card {
    cursor: pointer;
}

/* Ensure card-back is ALWAYS interactive */
.card-back,
.card-back *,
.card-back a,
.card-back button,
.card-back-buttons,
.card-back-buttons * {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.platform-card.flipped .card-back {
    pointer-events: auto !important;
    z-index: 100;
}

.platform-card.flipped .card-back a,
.platform-card.flipped .card-back button {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 101;
}

/* Platform logo - refined and even larger for better visibility */
.platform-logo {
    width: 104px;
    height: 104px;
    border-radius: 20px;
    background: var(--bg-card); /* Use bg-card */
    border: 1px solid var(--card-border) !important; /* Use card-border */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    transition: all 0.3s ease;
}

.platform-card:hover .platform-logo {
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
    border-color: var(--border-accent-hover) !important; /* Use border-accent-hover */
}
/* Rating badge - elegant */
.rating-badge {
    background: var(--accent-gradient) !important;
    border: none !important;
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: var(--shadow-button) !important;
    text-shadow: none !important;
    color: var(--text-main) !important;
    font-size: 13px;
    font-weight: 600;
}
/* KYC badges - refined colors */
.kyc-badge {
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.kyc-free {
    background: rgba(0, 255, 179, 0.1) !important; /* Use neon green with opacity */
    border: 1px solid var(--accent-primary) !important; /* Use accent-primary */
    color: var(--accent-primary) !important; /* Use accent-primary */
    text-shadow: none !important;
}

.kyc-required {
    background: rgba(255, 165, 0, 0.1) !important; /* Use orange with opacity */
    border: 1px solid var(--accent-primary) !important; /* Use accent-primary */
    color: var(--accent-primary) !important; /* Use accent-primary */
    text-shadow: none !important;
}
/* Tags - minimalist */
.tag {
    background: var(--bg-secondary) !important; /* Use bg-secondary */
    border: 1px solid var(--card-border) !important; /* Use card-border */
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary) !important;
    text-shadow: none !important;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--bg-card-hover) !important; /* Use bg-card-hover */
    border-color: var(--border-accent-hover) !important; /* Use border-accent-hover */
}
/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   CARD FRONT - LOGO ONLY REDESIGN
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Hide rating badge, KYC badge, and tags on front */
.card-front .rating-badge,
.card-front .kyc-badge,
.card-front .platform-tags {
    display: none !important;
}

/* Card front - centered logo + name only */
.card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px !important;
    gap: 20px;
}

.card-front .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

/* Logo - clean, no circle background */
.card-front .platform-logo {
    width: 120px !important;
    height: 120px !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-front .platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Platform name - centered */
.card-front .platform-name {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: var(--text-primary);
    margin: 0 !important;
    text-align: center;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   CARD BACK - Refined CTAs
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Ensure card back is fully functional */
.card-back {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    pointer-events: auto !important;
}

/* Enable interactions when card is flipped */
.platform-card.flipped .card-back {
    pointer-events: auto !important;
}

.card-back a,
.card-back button {
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none;
    position: relative;
    z-index: 1000;
    display: inline-block;
}

.card-back-buttons {
    pointer-events: auto !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1001;
}

.card-back-buttons a,
.card-back-buttons button {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.card-btn-primary {
    background: var(--accent-gradient) !important;
    border: none !important;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    color: var(--text-main) !important;
    box-shadow: var(--shadow-button) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    text-align: center;
}

.card-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-btn-primary:hover::after {
    opacity: 1;
}

.card-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover) !important;
}
.card-btn-secondary {
    background: transparent !important;
    border: 1px solid var(--card-border) !important; /* Use card-border */
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 500;
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
}

.card-btn-secondary:hover {
    background: var(--bg-card-hover) !important; /* Use bg-card-hover */
    border-color: var(--border-accent-hover) !important; /* Use border-accent-hover */
    color: var(--text-main) !important; /* Use text-main */
}
/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   CAROUSEL CONTROLS - Minimalist
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.carousel-arrow {
    width: 40px;
    height: 40px;
    background: var(--bg-card) !important; /* Use bg-card */
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border) !important; /* Use card-border */
    border-radius: 10px;
    color: var(--text-main) !important; /* Use text-main */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: var(--bg-card-hover) !important; /* Use bg-card-hover */
    border-color: var(--border-accent-hover) !important; /* Use border-accent-hover */
    transform: scale(1.05);
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}
/* HIDE scroll indicators - only keep arrows */
.scroll-dot {
    display: none !important;
}

.scroll-dot.active {
    display: none !important;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   BUTTONS - Professional Polish
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.theme-btn, .lang-btn {
    background: var(--bg-card) !important; /* Use bg-card */
    border: 1px solid var(--card-border) !important; /* Use card-border */
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-btn::before,
.lang-btn::before {
    display: none !important;
}

.theme-btn:hover,
.lang-btn:hover {
    background: var(--bg-card-hover) !important; /* Use bg-card-hover */
    border-color: var(--border-accent-hover) !important; /* Use border-accent-hover */
    transform: translateY(-1px);
    box-shadow: var(--card-shadow); /* Use card-shadow */
}

.lang-btn.active {
    background: var(--accent-gradient) !important;
    color: var(--text-main) !important;
    border-color: transparent !important;
}
/* Connect and PRO buttons */
.connect-button, .pro-button,
.mobile-connect-button, .mobile-pro-button {
    background: var(--accent-gradient) !important;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    color: var(--text-main) !important;
    box-shadow: var(--shadow-button) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.connect-button:hover, .pro-button:hover,
.mobile-connect-button:hover, .mobile-pro-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover) !important;
}
/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   PREMIUM ELEMENTS - Refined Versions
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Trust badges - professional */
.trust-badge {
    background: var(--bg-card) !important; /* Use bg-card */
    backdrop-filter: blur(20px) !important;
    border: 1px solid var(--card-border) !important; /* Use card-border */
    border-radius: 16px;
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}

.trust-badge::before {
    display: none !important;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
    border-color: var(--border-accent-hover) !important; /* Use border-accent-hover */
}
.badge-title {
    color: var(--text-primary) !important;
    text-shadow: none !important;
}

.badge-icon {
    filter: none !important;
    font-size: 42px;
}

/* FAB - refined */
.fab-button {
    background: var(--accent-gradient) !important;
    box-shadow: var(--shadow-button) !important;
}

.fab-button:hover {
    box-shadow: var(--shadow-button-hover) !important;
}
.fab-menu-item {
    background: var(--bg-card) !important; /* Use bg-card */
    backdrop-filter: blur(20px) !important;
    border: 1px solid var(--card-border) !important; /* Use card-border */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}
/* Toast - refined */
.toast {
    background: var(--bg-card) !important; /* Use bg-card */
    backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid var(--card-border) !important; /* Use card-border */
    border-radius: 12px;
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}
.toast-title {
    text-shadow: none !important;
}

/* Modal - glassmorphism */
.premium-modal {
    background: var(--bg-modal) !important; /* Use bg-modal */
    backdrop-filter: blur(32px) saturate(200%) !important;
    border: 1px solid var(--card-border) !important; /* Use card-border */
    border-radius: 24px;
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}
.premium-modal::before {
    display: none !important;
}

.premium-modal-title {
    color: var(--text-primary) !important;
    text-shadow: none !important;
}

/* Tooltips - minimal */
[data-tech-tooltip]::before {
    background: var(--bg-card) !important; /* Use bg-card */
    backdrop-filter: blur(20px) !important;
    border: 1px solid var(--card-border) !important; /* Use card-border */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
    text-shadow: none !important;
    color: var(--text-main) !important; /* Use text-main */
}
/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   RESPONSIVE REFINEMENTS
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .premium-hero-banner {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .section-title {
        margin-bottom: 32px;
    }
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   SMOOTH MICRO-INTERACTIONS
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Smooth all transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states - accessible and beautiful */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--orange-500);
    outline-offset: 2px;
}

/* Selection colors */
::selection {
    background: rgba(255, 107, 53, 0.2);
    color: var(--text-primary);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   FEATURED CARDS - PREMIUM REFINED ELEVATION
   Sophisticated premium cards that showcase site quality
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Featured section - elegant spacing */
.featured-section {
    position: relative;
    padding: 80px 20px 100px;
    margin-bottom: 60px;
}

/* Featured cards grid - 3 columns responsive */
.featured-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 245, 160, 0.3) rgba(255, 255, 255, 0.1);
}

.featured-cards-grid::-webkit-scrollbar {
    height: 8px;
}

.featured-cards-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.featured-cards-grid::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

.featured-cards-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary); /* Use a slightly darker accent on hover */
}
/* Featured card - premium elevation */
.featured-card {
    width: 100%;
    max-width: 400px;
    min-height: 500px;
    margin: 0 auto;
    transform-origin: center;
    position: relative;
    animation: featuredCardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.featured-card:nth-child(1) { animation-delay: 0.1s; }
.featured-card:nth-child(2) { animation-delay: 0.2s; }
.featured-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes featuredCardEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.featured-section .platform-card {
    margin: 0;
}

/* Premium card inner - layered sophistication */
.featured-card .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 28px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* Featured card faces - proper 3D flip structure */
.featured-card .card-front,
.featured-card .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 28px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Front face - default position */
.featured-card .card-front {
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    background: var(--bg-card); /* Use bg-card */

    /* Layered premium shadows */
    box-shadow: var(--card-shadow); /* Use card-shadow */

    transition: box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Refined gradient border on front face */
.featured-card .card-front::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: var(--accent-gradient); /* Use accent-gradient */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
/* Subtle inner glow on front face */
.featured-card .card-front::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 100%);
    border-radius: 28px 28px 0 0;
    pointer-events: none;
}

/* Back face - rotated 180deg */
.featured-card .card-back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    background: var(--bg-card); /* Use bg-card */
    border: 2px solid var(--card-border); /* Use card-border */
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* Fix featured section links - ensure they work */
.featured-card .card-back a,
.featured-card .card-back button {
    pointer-events: auto !important;
    z-index: 1000;
    cursor: pointer !important;
}

.featured-card.flipped .card-back {
    pointer-events: auto !important;
}

/* When flipped, rotate the entire card-inner */
.featured-card.flipped .card-inner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

/* Hide badges when card is flipped */
.featured-card.flipped .rating-badge,
.featured-card.flipped .kyc-badge {
    opacity: 0;
    pointer-events: none;
}

/* Premium hover state - elegant lift (only when not flipped) */
.featured-card:not(.flipped):hover .card-front {
    box-shadow: var(--card-shadow); /* Use card-shadow */
}
.featured-card:not(.flipped):hover .card-front::before {
    opacity: 1;
    background: var(--accent-gradient); /* Use accent-gradient */
}
/* Featured card logo - clean, no background */
.featured-card .card-front .platform-logo {
    width: 120px !important;
    height: 120px !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* Featured cards - click to flip */
.featured-card {
    cursor: pointer;
}

/* Ensure featured card-back is ALWAYS interactive */
.featured-card .card-back,
.featured-card .card-back *,
.featured-card .card-back a,
.featured-card .card-back button,
.featured-card .card-back-buttons,
.featured-card .card-back-buttons * {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.featured-card.flipped .card-back {
    pointer-events: auto !important;
    z-index: 100;
}

.featured-card.flipped .card-back a,
.featured-card.flipped .card-back button {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 101;
}

/* Featured card name - refined typography */
.featured-card .platform-name {
    font-size: 24px;
    margin-top: 18px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Featured card tags - elegant spacing */
.featured-card .platform-tags {
    margin-top: 16px;
    gap: 10px;
}

.featured-card .tag {
    font-size: 11px;
    padding: 6px 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.featured-card:hover .tag {
    border-color: var(--border-medium);
    background: rgba(255, 255, 255, 0.05);
}

/* Featured rating badge - premium elevation */
.featured-card .rating-badge {
    font-size: 15px;
    padding: 9px 16px;
    box-shadow: var(--shadow-button); /* Use shadow-button */
    transition: all 0.3s ease;
}

.featured-card:hover .rating-badge {
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover); /* Use shadow-button-hover */
}
/* Featured KYC badge - refined */
.featured-card .kyc-badge {
    font-size: 12px;
    padding: 8px 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Featured Navigation Arrows */
.featured-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.featured-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary); /* Use bg-secondary */
    border: 2px solid var(--accent-primary); /* Use accent-primary */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: var(--accent-primary); /* Use accent-primary */
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.featured-arrow:hover {
    background: var(--accent-primary); /* Use accent-primary */
    color: var(--text-main); /* Use text-main */
    transform: scale(1.1);
    box-shadow: var(--shadow-button); /* Use shadow-button */
}
.featured-arrow:active {
    transform: scale(0.95);
}

/* Mobile responsiveness - featured cards premium */
@media (max-width: 768px) {
    .featured-section {
        padding: 60px 16px 80px;
    }

    .featured-cards-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 16px;
    }

    .featured-card {
        min-height: 480px;
        max-width: 100%;
        margin: 0 auto;
    }

    .featured-card .card-inner,
    .featured-card .card-front,
    .featured-card .card-back {
        min-height: 480px;
    }

    .featured-card .platform-logo {
        width: 110px;
        height: 110px;
        padding: 18px;
    }

    .featured-card .platform-name {
        font-size: 22px;
        margin-top: 16px;
    }

    .featured-card .platform-tags {
        margin-top: 14px;
        gap: 8px;
    }

    .featured-card .tag {
        font-size: 10px;
        padding: 5px 12px;
    }

    .featured-badge {
        font-size: 11px;
        padding: 8px 18px;
        top: -12px;
    }

    .featured-card:not(.flipped):hover .card-front {
        box-shadow:
            0 1px 2px rgba(0, 0, 0, 0.05),
            0 8px 20px rgba(255, 107, 53, 0.15),
            0 12px 36px rgba(255, 140, 66, 0.1),
            0 16px 60px rgba(139, 92, 246, 0.06);
    }

    .featured-navigation {
        margin-top: 24px;
    }

    .featured-arrow {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   LIGHT THEME ENHANCEMENTS - Luxury Details
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Featured cards - light theme */
[data-theme="light"] .featured-card .card-front {
    background: var(--bg-card) !important; /* Use bg-card */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}
[data-theme="light"] .featured-card .card-back {
    background: var(--bg-card) !important; /* Use bg-card */
    border: 2px solid var(--card-border) !important; /* Use card-border */
}
[data-theme="light"] .featured-card:not(.flipped):hover .card-front {
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}
/* Platform cards - luminous with soft inner glow */
[data-theme="light"] .platform-card {
    background: var(--bg-card) !important; /* Use bg-card */
    border: 1px solid var(--card-border) !important; /* Use card-border */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}

[data-theme="light"] .platform-card:hover {
    background: var(--bg-card-hover) !important; /* Use bg-card-hover */
    border-color: var(--border-accent-hover) !important; /* Use border-accent-hover */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}
/* Premium hero banner - radiant luxury */
[data-theme="light"] .premium-hero-banner {
    background: var(--bg-card) !important; /* Use bg-card */
    border: 1px solid var(--card-border) !important; /* Use card-border */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}

[data-theme="light"] .premium-hero-banner:hover {
    background: var(--bg-card-hover) !important; /* Use bg-card-hover */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}
/* Modals and overlays - luminous glass */
[data-theme="light"] .premium-modal {
    background: var(--bg-modal) !important; /* Use bg-modal */
    border: 1px solid var(--card-border) !important; /* Use card-border */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}
/* Trust badges - refined with subtle glow */
[data-theme="light"] .trust-badge {
    background: var(--bg-card) !important; /* Use bg-card */
    border: 1px solid var(--card-border) !important; /* Use card-border */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}

[data-theme="light"] .trust-badge:hover {
    background: var(--bg-card-hover) !important; /* Use bg-card-hover */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}
/* Logo containers - premium elevation */
[data-theme="light"] .platform-logo,
[data-theme="light"] .premium-hero-logo {
    background: var(--bg-card) !important; /* Use bg-card */
    border: 1px solid var(--card-border) !important; /* Use card-border */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}

[data-theme="light"] .platform-card:hover .platform-logo,
[data-theme="light"] .premium-hero-banner:hover .premium-hero-logo {
    background: var(--bg-card-hover) !important; /* Use bg-card-hover */
    box-shadow: var(--card-shadow) !important; /* Use card-shadow */
}
/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   SCROLL FIX - Smooth scroll without white scrollbar
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Ensure page scrolls smoothly */
body {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Remove forced scrollbar */
html {
    overflow-y: auto !important;
    scroll-behavior: smooth;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   CRITICAL CARD BUTTON FIX - Ensure buttons always work
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Maximum priority fix to ensure ALL card buttons work when flipped */
.platform-card.flipped .card-back,
.featured-card.flipped .card-back {
    pointer-events: auto !important;
    z-index: 100 !important;
}

.platform-card.flipped .card-back a,
.platform-card.flipped .card-back button,
.platform-card.flipped .card-back .card-btn-primary,
.platform-card.flipped .card-back .card-btn-secondary,
.platform-card.flipped .card-back .card-back-buttons,
.platform-card.flipped .card-back .card-back-buttons a,
.platform-card.flipped .card-back .card-back-buttons button,
.featured-card.flipped .card-back a,
.featured-card.flipped .card-back button,
.featured-card.flipped .card-back .card-btn-primary,
.featured-card.flipped .card-back .card-btn-secondary,
.featured-card.flipped .card-back .card-back-buttons,
.featured-card.flipped .card-back .card-back-buttons a,
.featured-card.flipped .card-back .card-back-buttons button {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 1001 !important;
    position: relative !important;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   LIGHT MODE BUTTON VISIBILITY FIX
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Light mode button fixes - ensure visibility on cards */
[data-theme="light"] .platform-card button,
[data-theme="light"] .platform-card a.button,
[data-theme="light"] .platform-card .card-btn-primary,
[data-theme="light"] .platform-card .card-btn-secondary,
[data-theme="light"] .featured-card button,
[data-theme="light"] .featured-card a.button,
[data-theme="light"] .featured-card .card-btn-primary,
[data-theme="light"] .featured-card .card-btn-secondary {
    background: #FF6B35 !important;
    color: #FFFFFF !important;
    border: 2px solid #FF6B35 !important;
}

[data-theme="light"] .platform-card button:hover,
[data-theme="light"] .platform-card a.button:hover,
[data-theme="light"] .platform-card .card-btn-primary:hover,
[data-theme="light"] .platform-card .card-btn-secondary:hover,
[data-theme="light"] .featured-card button:hover,
[data-theme="light"] .featured-card a.button:hover,
[data-theme="light"] .featured-card .card-btn-primary:hover,
[data-theme="light"] .featured-card .card-btn-secondary:hover {
    background: #E85A28 !important;
    border-color: #E85A28 !important;
}

/* Ensure text is readable on cards */
[data-theme="light"] .platform-card {
    color: #000000;
}

[data-theme="light"] .platform-card h3,
[data-theme="light"] .platform-card p,
[data-theme="light"] .featured-card h3,
[data-theme="light"] .featured-card p {
    color: #1a1a1a !important;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   END OF PROFESSIONAL REFINED DESIGN
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* --- CARDS FINAL --- */
/* ============================================
   PREMIUM CARDS - Black/Orange Brutalist Theme
   Vibrant crypto platform design
   ============================================ */

/* Card Container - Dark Grey with Orange Border */
.platform-card-final {
  background: #1a1a1a;
  border: 1.5px solid #333333;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: visible;
  flex: 0 0 350px;
  min-width: 350px;
  height: auto;
  min-height: 500px;
  scroll-snap-align: center;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 8px 32px rgba(0, 0, 0, 0.3);
}

.platform-card-final::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg,
    rgba(255, 165, 0, 0.15) 0%,
    rgba(255, 140, 0, 0.1) 50%,
    rgba(255, 165, 0, 0.05) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.platform-card-final:hover {
  border-color: #FFA500;
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 16px 48px rgba(255, 165, 0, 0.2),
    0 0 80px rgba(255, 165, 0, 0.12);
}

.platform-card-final:hover::before {
  opacity: 1;
}

/* Logo Container - Orange Accent Depth */
.card-logo-container {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-radius: 18px;
  padding: 20px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid rgba(255, 107, 53, 0.15);
  box-shadow:
    0 0 0 1px rgba(255, 107, 53, 0.08) inset,
    0 4px 16px rgba(255, 107, 53, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
  position: relative;
}

.card-logo-container::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(135deg,
    rgba(255, 107, 53, 0.25) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.platform-card-final:hover .card-logo-container {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 107, 53, 0.2) inset,
    0 6px 20px rgba(255, 107, 53, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
}

.platform-card-final:hover .card-logo-container::after {
  opacity: 1;
}

.card-logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* Card Title - Bold White Typography */
.card-final-title {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.3;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.92) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

/* Card Description - Light Grey Readability */
.card-final-description {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: #B0B0B0;
  text-align: center;
  flex: 1;
  margin: 0 0 28px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  letter-spacing: 0.2px;
}

/* Light Theme - WHITE text on CYAN background for visibility */
[data-theme="light"] .card-final-title {
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .card-final-description {
  color: #ffffff !important;
  opacity: 0.95 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* Light Theme - Button adjustments for cyan card background */
[data-theme="light"] .card-final-btn-primary {
  background: #ffffff !important;
  color: #00ffb3 !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3) !important;
}

[data-theme="light"] .card-final-btn-primary:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #00cc8f !important;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.4) !important;
}

[data-theme="light"] .card-final-btn-secondary {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .card-final-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2) !important;
}

/* Buttons Container - Perfect Spacing */
.card-final-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

/* Button Base - Vibrant Interaction */
.card-final-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.card-final-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 11px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card-final-btn:hover::before {
  opacity: 1;
}

/* Primary Button - Orange Gradient */
.card-final-btn-primary {
  background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
  color: #000000;
  box-shadow:
    0 4px 16px rgba(255, 165, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  position: relative;
  overflow: hidden;
}

.card-final-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.card-final-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 24px rgba(255, 165, 0, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 0 40px rgba(255, 165, 0, 0.3);
  filter: brightness(1.12);
}

.card-final-btn-primary:hover::after {
  left: 100%;
}

.card-final-btn-primary:active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 16px rgba(255, 165, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

/* Secondary Button - Transparent with White Border */
.card-final-btn-secondary {
  background: transparent;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-final-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 4px 16px rgba(255, 255, 255, 0.15),
    0 8px 32px rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.card-final-btn-secondary:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.08);
}

/* Responsive - Mobile Optimization */
@media (max-width: 480px) {
  .platform-card-final {
    padding: 28px 24px;
    min-height: 480px;
  }

  .card-logo-container {
    width: 84px;
    height: 84px;
    padding: 18px;
    margin-bottom: 20px;
  }

  .card-final-title {
    font-size: 21px;
    margin-bottom: 14px;
  }

  .card-final-description {
    font-size: 13px;
    margin-bottom: 24px;
    -webkit-line-clamp: 5;
  }

  .card-final-btn {
    padding: 12px 20px;
    font-size: 12.5px;
  }
}

/* Horizontal Carousel Layout for Cards */
.cards-final-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 24px 20px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Orange Scrollbar */
.cards-final-grid::-webkit-scrollbar {
  height: 6px;
}

.cards-final-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin: 0 20px;
}

.cards-final-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #FF6B35, #FF8C42);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
}

.cards-final-grid::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #FF8C42, #FF6B35);
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

/* Mobile - One Card Per View */
@media (max-width: 768px) {
  .platform-card-final {
    flex: 0 0 85%;
    min-width: 85%;
  }

  .cards-final-grid {
    gap: 16px;
    padding: 20px 16px;
  }
}

/* Accessibility - Orange Focus States */
.card-final-btn:focus-visible {
  outline: 2px solid #FF6B35;
  outline-offset: 3px;
  box-shadow:
    0 0 0 4px rgba(255, 107, 53, 0.25),
    0 6px 24px rgba(255, 107, 53, 0.5);
}

/* ============================================
   CAROUSEL NAVIGATION - Orange Controls
   ============================================ */

.carousel-navigation,
.featured-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.carousel-arrow,
.carousel-arrow-left,
.carousel-arrow-right,
.featured-arrow,
.featured-arrow-left,
.featured-arrow-right {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg,
    rgba(255, 107, 53, 0.12) 0%,
    rgba(255, 140, 66, 0.08) 100%
  );
  border: 1.5px solid rgba(255, 107, 53, 0.3);
  color: #FF6B35;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(255, 107, 53, 0.1) inset,
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-arrow:hover,
.carousel-arrow-left:hover,
.carousel-arrow-right:hover,
.featured-arrow:hover,
.featured-arrow-left:hover,
.featured-arrow-right:hover {
  background: linear-gradient(135deg,
    rgba(255, 107, 53, 0.2) 0%,
    rgba(255, 140, 66, 0.15) 100%
  );
  border-color: rgba(255, 107, 53, 0.5);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 107, 53, 0.15) inset,
    0 6px 20px rgba(255, 107, 53, 0.3),
    0 0 40px rgba(255, 107, 53, 0.15);
}

.carousel-arrow:active,
.carousel-arrow-left:active,
.carousel-arrow-right:active,
.featured-arrow:active,
.featured-arrow-left:active,
.featured-arrow-right:active {
  transform: translateY(0);
  box-shadow:
    0 0 0 1px rgba(255, 107, 53, 0.12) inset,
    0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicators (Dots) - Orange Accent */
/* HIDE scroll indicators - only keep arrows */
.scroll-indicator {
  display: none !important;
}

.scroll-dot {
  display: none !important;
}

.scroll-dot.active {
  display: none !important;
}

@media (max-width: 768px) {
  .carousel-arrow,
  .carousel-arrow-left,
  .carousel-arrow-right,
  .featured-arrow,
  .featured-arrow-left,
  .featured-arrow-right {
    width: 44px;
    height: 44px;
    font-size: 16px;
    border-radius: 10px;
  }

  .carousel-navigation,
  .featured-navigation {
    margin-top: 20px;
    gap: 12px;
  }

  .scroll-dot {
    display: none !important;
  }

  .scroll-dot.active {
    display: none !important;
  }
}

/* --- FEATURED GOLDEN --- */
/* ============================================
   FEATURED CARD - GOLDEN LUXURIOUS DESIGN
   Beautiful golden premium design that stands out
   ============================================ */

/* Featured Section Container */
.featured-section .premium-hero-banner {
  background: linear-gradient(135deg, rgba(139, 105, 20, 0.3) 0%, rgba(184, 134, 11, 0.2) 100%) !important;
  border: 3px solid #DAA520 !important;
  border-radius: 20px !important;
  padding: 36px !important;
  box-shadow: 0 15px 40px rgba(218, 165, 32, 0.3) !important;
  max-width: 500px !important;
  margin: 40px auto !important;
  position: relative;
  overflow: hidden;
}

/* Remove any conflicting backgrounds */
.featured-section .premium-hero-banner::before {
  display: none !important;
}

/* Featured Badge - PARCEIRO OFICIAL */
.featured-badge {
  background: linear-gradient(135deg, #FFA500, #FF8C00) !important;
  color: #000000 !important;
  padding: 10px 28px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 6px 16px rgba(255, 165, 0, 0.3) !important;
  position: relative;
  top: 0;
  left: 0;
  transform: none;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Logo Container */
.featured-section .premium-hero-logo {
  width: 100px !important;
  height: 100px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border-radius: 50% !important;
  border: 2px solid #DAA520 !important;
  padding: 18px !important;
  margin: 0 auto 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.1) !important;
}

.featured-section .premium-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Featured Content Layout */
.featured-section .premium-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 0;
}

.featured-section .premium-hero-text {
  width: 100%;
  text-align: center;
}

/* Featured Title */
.featured-section .premium-hero-title {
  font-size: 36px !important;
  font-weight: 700 !important;
  color: #FFA500 !important;
  text-align: center !important;
  margin-bottom: 12px !important;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 165, 0, 0.3) !important;
  letter-spacing: -0.02em;
}

/* Featured Subtitle */
.featured-section .premium-hero-subtitle {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  text-align: center !important;
  margin-bottom: 16px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  opacity: 0.95;
}

/* Featured Description */
.featured-section .premium-hero-description {
  font-size: 16px !important;
  color: #FFFFFF !important;
  text-align: center !important;
  line-height: 1.6 !important;
  margin-bottom: 24px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Buttons Container */
.featured-section .premium-hero-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-bottom: 24px !important;
  width: 100%;
}

/* Featured CTA Button Primary */
.featured-section .premium-cta-button,
.featured-section .featured-button-primary {
  background: linear-gradient(135deg, #FFA500, #FF8C00) !important;
  color: #000000 !important;
  padding: 16px 40px !important;
  border-radius: 50px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  box-shadow:
    0 6px 20px rgba(255, 165, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none !important;
  text-decoration: none;
  width: 100%;
}

.featured-section .premium-cta-button:hover,
.featured-section .featured-button-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow:
    0 8px 25px rgba(255, 165, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  background: linear-gradient(135deg, #FF8C00, #FFA500) !important;
}

.featured-section .premium-cta-button:active,
.featured-section .featured-button-primary:active {
  transform: translateY(-1px) !important;
}

/* Featured CTA Button Secondary - X Button */
.featured-section .featured-button-secondary {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  color: #FFFFFF !important;
  padding: 14px 40px !important;
  border-radius: 50px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.featured-section .featured-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.2) !important;
}

.featured-section .featured-button-secondary:active {
  transform: translateY(0) !important;
}

/* Featured Security Badges */
.featured-section .premium-hero-features {
  display: flex !important;
  justify-content: center !important;
  gap: 24px !important;
  margin-bottom: 0 !important;
  flex-wrap: wrap;
}

.featured-section .feature-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  background: rgba(0, 0, 0, 0.2) !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  border: 2px solid rgba(255, 165, 0, 0.4) !important;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.featured-section .feature-icon {
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Glow effect on hover */
.featured-section .premium-hero-banner:hover {
  box-shadow:
    0 25px 70px rgba(255, 165, 0, 0.5),
    0 15px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 100px rgba(255, 165, 0, 0.3) !important;
  transform: translateY(-2px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shine effect */
.featured-section .premium-hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shine 3s infinite;
  pointer-events: none;
}

@keyframes shine {
  0%, 100% {
    left: -100%;
  }
  50% {
    left: 200%;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .featured-section .premium-hero-banner {
    padding: 36px 24px !important;
    max-width: 95% !important;
    margin: 24px auto !important;
  }

  .featured-badge {
    font-size: 14px !important;
    padding: 10px 24px !important;
    top: -18px;
  }

  .featured-section .premium-hero-logo {
    width: 100px !important;
    height: 100px !important;
    padding: 16px !important;
    margin-bottom: 20px !important;
  }

  .featured-section .premium-hero-title {
    font-size: 36px !important;
  }

  .featured-section .premium-hero-subtitle {
    font-size: 18px !important;
  }

  .featured-section .premium-hero-description {
    font-size: 16px !important;
    margin-bottom: 24px !important;
  }

  .featured-section .premium-cta-button {
    padding: 16px 40px !important;
    font-size: 16px !important;
    width: 100%;
    max-width: 300px;
  }

  .featured-section .premium-hero-features {
    gap: 16px !important;
  }

  .featured-section .feature-badge {
    font-size: 14px !important;
    padding: 10px 20px !important;
  }
}

/* Light Theme Adjustments */
[data-theme="light"] .featured-section .premium-hero-banner {
  background: linear-gradient(135deg, #DAA520 0%, #FFD700 50%, #FFA500 100%) !important;
  border-color: #B8860B !important;
}

[data-theme="light"] .featured-section .premium-hero-title {
  color: #8B6914 !important;
  text-shadow:
    0 2px 4px rgba(255, 255, 255, 0.5),
    0 0 40px rgba(139, 105, 20, 0.3) !important;
}

[data-theme="light"] .featured-section .premium-hero-subtitle,
[data-theme="light"] .featured-section .premium-hero-description {
  color: #1a1a1a !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

[data-theme="light"] .featured-section .feature-badge {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(139, 105, 20, 0.5) !important;
  color: #1a1a1a !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

[data-theme="light"] .featured-section .premium-hero-logo {
  background: rgba(255, 255, 255, 0.4) !important;
  border-color: #B8860B !important;
}

/* --- CARDS MODAL --- */
/* ============================================
   CARD + MODAL SYSTEM
   Cards show preview, click opens modal with full info
   ============================================ */

/* ============================================
   CARD PREVIEW - ONLY LOGO
   ============================================ */

.platform-card-modal {
  background: linear-gradient(135deg, rgba(20, 25, 35, 0.95) 0%, rgba(15, 20, 30, 0.97) 100%);
  border: 1px solid rgba(0, 245, 160, 0.2);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  min-height: 240px;
  aspect-ratio: 1 / 1;
}

.platform-card-modal:hover {
  border-color: rgba(0, 245, 160, 0.5);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 245, 160, 0.25);
}

/* Click hint */
.platform-card-modal::after {
  content: 'Clique para mais detalhes';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.platform-card-modal:hover::after {
  opacity: 1;
}

/* Card logo - ONLY THING VISIBLE */
.card-preview-logo {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 245, 160, 0.15);
  transition: all 0.3s ease;
}

.platform-card-modal:hover .card-preview-logo {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 245, 160, 0.3);
  transform: scale(1.05);
}

.card-preview-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hide everything else on card */
.card-header-badges,
.card-preview-title,
.card-preview-tags {
  display: none !important;
}

/* ============================================
   MODAL OVERLAY
   ============================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   MODAL CONTENT
   ============================================ */

.modal-content {
  background: linear-gradient(135deg, rgba(15, 20, 30, 0.98) 0%, rgba(20, 25, 35, 0.98) 100%);
  border: 2px solid rgba(0, 245, 160, 0.3);
  border-radius: 24px;
  padding: 40px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.6);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.4);
  color: #ff4444;
  transform: rotate(90deg);
}

/* Modal header */
.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 245, 160, 0.2);
}

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

.modal-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Modal description */
.modal-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 32px;
  padding: 0 10px;
}

/* Modal buttons */
.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-btn {
  padding: 18px 28px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #00f5a0 0%, #00d9ff 100%);
  color: #0a0a0f;
  box-shadow: 0 8px 24px rgba(0, 245, 160, 0.4);
}

.modal-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 245, 160, 0.6);
}

.modal-btn-secondary {
  background: rgba(0, 245, 160, 0.1);
  border: 2px solid rgba(0, 245, 160, 0.4);
  color: #00f5a0;
}

.modal-btn-secondary:hover {
  background: rgba(0, 245, 160, 0.2);
  border-color: rgba(0, 245, 160, 0.6);
  transform: translateY(-2px);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .modal-content {
    padding: 32px 24px;
    margin: 10px;
  }

  .modal-close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .modal-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
  }

  .modal-title {
    font-size: 26px;
  }

  .modal-description {
    font-size: 15px;
  }

  .modal-btn {
    padding: 16px 24px;
    font-size: 16px;
  }

  .platform-card-modal {
    min-height: 200px;
    padding: 30px;
  }

  .card-preview-logo {
    width: 100px;
    height: 100px;
    padding: 16px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

/* Disable body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* --- CARDS SIMPLE --- */
/* ============================================
   SIMPLE CARD SYSTEM - NO FLIP, JUST WORKS
   100% Functional buttons, no complications
   ============================================ */

/* Card Container */
.platform-card-simple {
  background: linear-gradient(135deg, rgba(20, 25, 35, 0.95) 0%, rgba(15, 20, 30, 0.97) 100%);
  border: 1px solid rgba(0, 245, 160, 0.2);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  min-height: 420px;
}

.platform-card-simple:hover {
  border-color: rgba(0, 245, 160, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 245, 160, 0.2);
}

/* Badges */
.card-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-rating {
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-kyc {
  background: rgba(0, 245, 160, 0.2);
  color: #00f5a0;
  border: 1px solid rgba(0, 245, 160, 0.3);
}

/* Logo */
.card-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Title */
.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin: 0;
}

/* Tags */
.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.card-tag {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

/* Description */
.card-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  flex: 1;
  margin: 0;
}

/* Buttons */
.card-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.card-btn {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 10;
}

.card-btn-primary {
  background: linear-gradient(135deg, #00f5a0 0%, #00d9ff 100%);
  color: #0a0a0f;
  box-shadow: 0 4px 16px rgba(0, 245, 160, 0.3);
}

.card-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 245, 160, 0.5);
}

.card-btn-secondary {
  background: rgba(0, 245, 160, 0.1);
  border: 2px solid rgba(0, 245, 160, 0.4);
  color: #00f5a0;
}

.card-btn-secondary:hover {
  background: rgba(0, 245, 160, 0.2);
  border-color: rgba(0, 245, 160, 0.6);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .platform-card-simple {
    padding: 20px;
    min-height: 380px;
  }

  .card-logo {
    width: 70px;
    height: 70px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-description {
    font-size: 13px;
  }

  .card-btn {
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* --- CRYPTO ENHANCED --- */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CRYPTO AGGREGATOR - ENHANCED CYBER/TECH DESIGN
   Ultra-modern blockchain aesthetic with neon accents
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   TYPOGRAPHY - Tech-Forward Fonts
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');

/* Override body font - Space Grotesk is perfect for crypto/tech */
body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Tech headers with Orbitron */
h1, h2, h3, .hero-title, .section-title, .premium-hero-title {
    font-family: 'Orbitron', 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

/* Platform names get the tech treatment */
.platform-name, .card-back-title, .modal-title {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 600 !important;
}

/* Monospace for technical elements */
.rating-badge, .kyc-badge, .tag {
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 500 !important;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   CYBER BACKGROUND EFFECTS - Grid + Scan Lines
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Animated grid background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 245, 160, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 160, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    animation: gridPulse 20s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Scan line effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: linear-gradient(
        180deg,
        rgba(0, 245, 160, 0.03) 0%,
        transparent 3%,
        transparent 97%,
        rgba(0, 245, 160, 0.03) 100%
    );
    pointer-events: none;
    z-index: -1;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   HEADER ENHANCEMENTS - Futuristic Navigation
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.header {
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 245, 160, 0.2) !important;
    box-shadow:
        0 4px 20px rgba(0, 245, 160, 0.1),
        0 0 80px rgba(0, 245, 160, 0.05),
        inset 0 -1px 0 rgba(0, 245, 160, 0.3);
}

/* Neon glow on logo */
.logo-text {
    text-shadow:
        0 0 10px rgba(0, 245, 160, 0.5),
        0 0 20px rgba(0, 245, 160, 0.3),
        0 0 30px rgba(0, 245, 160, 0.2);
    transition: all 0.3s ease;
}

.logo:hover .logo-text {
    text-shadow:
        0 0 15px rgba(0, 245, 160, 0.8),
        0 0 30px rgba(0, 245, 160, 0.5),
        0 0 45px rgba(0, 245, 160, 0.3);
}

/* Enhanced logo SVG glow */
.logo-svg {
    filter: drop-shadow(0 0 8px rgba(0, 245, 160, 0.4));
    transition: filter 0.3s ease;
}

.logo:hover .logo-svg {
    filter: drop-shadow(0 0 12px rgba(0, 245, 160, 0.6));
}

/* Navigation links - minimalist text style */
.nav-menu a {
    position: relative;
    overflow: visible;
    transition: color 0.2s ease;
}

.nav-menu a::before {
    display: none;
}

.nav-menu a:hover::before {
    display: none;
}

.nav-menu a:hover {
    box-shadow: none;
    transform: none;
    color: #01dba2 !important;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   HERO SECTION - Dramatic Entrance
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.hero-section {
    position: relative;
    overflow: hidden;
}

/* Animated particles background */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(0, 245, 160, 0.08) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 30% 40%,
        rgba(168, 85, 247, 0.06) 0%,
        transparent 40%
    );
    animation: heroParticles 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroParticles {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, 50px) rotate(180deg); }
}

/* Hero title with intense glow */
.hero-title {
    animation: heroTitleEntry 1s ease-out;
    position: relative;
}

@keyframes heroTitleEntry {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.gradient-text {
    background: linear-gradient(
        135deg,
        #00f5a0 0%,
        #00d9ff 50%,
        #a855f7 100%
    ) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    filter: drop-shadow(0 0 20px rgba(0, 245, 160, 0.5));
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle, .hero-description {
    animation: heroTextEntry 1s ease-out 0.2s both;
}

@keyframes heroTextEntry {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   PREMIUM HERO BANNER - Spotlight Effect
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.premium-hero-banner {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 245, 160, 0.3) !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(0, 245, 160, 0.2),
        inset 0 0 60px rgba(0, 245, 160, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 245, 160, 0.1),
        transparent
    );
    transition: left 0.8s ease;
}

.premium-hero-banner:hover::before {
    left: 100%;
}

.premium-hero-banner:hover {
    border-color: rgba(0, 245, 160, 0.6) !important;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(0, 245, 160, 0.3),
        inset 0 0 80px rgba(0, 245, 160, 0.08);
    transform: translateY(-4px);
}

/* Premium logo with intense glow */
.premium-hero-logo {
    position: relative;
    box-shadow:
        0 0 30px rgba(0, 245, 160, 0.4),
        0 0 60px rgba(0, 245, 160, 0.2),
        inset 0 0 20px rgba(0, 245, 160, 0.1);
    border: 3px solid rgba(0, 245, 160, 0.4) !important;
    transition: all 0.3s ease;
}

.premium-hero-banner:hover .premium-hero-logo {
    box-shadow:
        0 0 40px rgba(0, 245, 160, 0.6),
        0 0 80px rgba(0, 245, 160, 0.3),
        inset 0 0 30px rgba(0, 245, 160, 0.15);
    border-color: rgba(0, 245, 160, 0.7) !important;
}

/* CTA button with cyberpunk glow */
.premium-cta-button {
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 245, 160, 0.4),
        0 0 60px rgba(0, 245, 160, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

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

.premium-cta-button:hover {
    box-shadow:
        0 15px 60px rgba(0, 245, 160, 0.5),
        0 0 100px rgba(0, 245, 160, 0.3);
    transform: translateY(-3px) scale(1.03);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   SECTION TITLES - Tech Dividers
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.section-title {
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 245, 160, 0.6),
        rgba(0, 245, 160, 0.3)
    );
}

.section-title::before {
    right: 100%;
    margin-right: 10px;
}

.section-title::after {
    left: 100%;
    margin-left: 10px;
    background: linear-gradient(
        90deg,
        rgba(0, 245, 160, 0.3),
        rgba(0, 245, 160, 0.6),
        transparent
    );
}

.section-title span {
    text-shadow:
        0 0 20px rgba(0, 245, 160, 0.5),
        0 0 40px rgba(0, 245, 160, 0.3);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   PLATFORM CARDS - Holographic Effect
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.platform-card {
    position: relative;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 245, 160, 0.2) !important;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 245, 160, 0.1),
        inset 0 0 40px rgba(0, 245, 160, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardEntry 0.6s ease-out both;
}

@keyframes cardEntry {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Stagger animation for cards */
.platform-card:nth-child(1) { animation-delay: 0.1s; }
.platform-card:nth-child(2) { animation-delay: 0.2s; }
.platform-card:nth-child(3) { animation-delay: 0.3s; }
.platform-card:nth-child(4) { animation-delay: 0.4s; }
.platform-card:nth-child(5) { animation-delay: 0.5s; }
.platform-card:nth-child(6) { animation-delay: 0.6s; }

/* Holographic shimmer effect */
.platform-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 245, 160, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(0deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.platform-card:hover::before {
    transform: rotate(180deg);
}

.platform-card:hover {
    border-color: rgba(0, 245, 160, 0.5) !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(0, 245, 160, 0.2),
        inset 0 0 60px rgba(0, 245, 160, 0.05);
    transform: translateY(-8px) scale(1.02);
}

/* Platform logo with glow */
.platform-logo {
    position: relative;
    box-shadow:
        0 0 20px rgba(0, 245, 160, 0.3),
        0 0 40px rgba(0, 245, 160, 0.15);
    border: 2px solid rgba(0, 245, 160, 0.3) !important;
    transition: all 0.3s ease;
}

.platform-card:hover .platform-logo {
    box-shadow:
        0 0 30px rgba(0, 245, 160, 0.5),
        0 0 60px rgba(0, 245, 160, 0.25);
    border-color: rgba(0, 245, 160, 0.6) !important;
}

/* Rating badge with neon effect */
.rating-badge {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 215, 0, 0.4) !important;
    box-shadow:
        0 0 15px rgba(255, 215, 0, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.4);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* KYC badges with distinctive colors */
.kyc-badge {
    font-family: 'JetBrains Mono', monospace !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.kyc-free {
    background: rgba(0, 245, 160, 0.2) !important;
    border: 1px solid rgba(0, 245, 160, 0.5) !important;
    color: #00f5a0 !important;
    text-shadow: 0 0 10px rgba(0, 245, 160, 0.6);
}

.kyc-required {
    background: rgba(255, 159, 58, 0.2) !important;
    border: 1px solid rgba(255, 159, 58, 0.5) !important;
    color: #ff9f3a !important;
    text-shadow: 0 0 10px rgba(255, 159, 58, 0.6);
}

/* Tags with tech aesthetic */
.tag {
    background: rgba(0, 245, 160, 0.1) !important;
    border: 1px solid rgba(0, 245, 160, 0.3) !important;
    color: #00f5a0 !important;
    text-shadow: 0 0 8px rgba(0, 245, 160, 0.4);
    transition: all 0.2s ease;
}

.tag:hover {
    background: rgba(0, 245, 160, 0.2) !important;
    border-color: rgba(0, 245, 160, 0.5) !important;
    box-shadow: 0 0 15px rgba(0, 245, 160, 0.3);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   CARD BACK - Enhanced CTA Buttons
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.card-btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00f5a0 0%, #00d9ff 100%) !important;
    box-shadow:
        0 10px 30px rgba(0, 245, 160, 0.4),
        0 0 40px rgba(0, 245, 160, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
}

.card-btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.card-btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.card-btn-primary:hover {
    box-shadow:
        0 15px 50px rgba(0, 245, 160, 0.5),
        0 0 80px rgba(0, 245, 160, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.card-btn-secondary {
    border: 2px solid rgba(0, 245, 160, 0.4) !important;
    background: rgba(0, 245, 160, 0.05) !important;
    color: #00f5a0 !important;
    transition: all 0.3s ease;
}

.card-btn-secondary:hover {
    border-color: rgba(0, 245, 160, 0.7) !important;
    background: rgba(0, 245, 160, 0.15) !important;
    box-shadow:
        0 0 20px rgba(0, 245, 160, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   CAROUSEL NAVIGATION - Cyber Controls
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.carousel-arrow {
    background: rgba(0, 245, 160, 0.1) !important;
    border: 2px solid rgba(0, 245, 160, 0.3) !important;
    color: #00f5a0 !important;
    box-shadow:
        0 0 20px rgba(0, 245, 160, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-arrow:hover {
    background: rgba(0, 245, 160, 0.2) !important;
    border-color: rgba(0, 245, 160, 0.6) !important;
    box-shadow:
        0 0 30px rgba(0, 245, 160, 0.4),
        0 6px 25px rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

/* Scroll dots with glow */
.scroll-dot {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(0, 245, 160, 0.3) !important;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: linear-gradient(135deg, #00f5a0, #00d9ff) !important;
    border-color: rgba(0, 245, 160, 0.8) !important;
    box-shadow:
        0 0 15px rgba(0, 245, 160, 0.6),
        0 0 30px rgba(0, 245, 160, 0.3);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   BUTTONS - Universal Enhancement
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.theme-btn, .lang-btn, .mobile-menu-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-btn::before,
.lang-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 245, 160, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.theme-btn:hover::before,
.lang-btn:hover::before {
    width: 200px;
    height: 200px;
}

.theme-btn:hover,
.lang-btn:hover {
    border-color: rgba(0, 245, 160, 0.5) !important;
    box-shadow: 0 0 20px rgba(0, 245, 160, 0.3);
    transform: scale(1.05);
}

/* Connect and PRO buttons with premium glow */
.connect-button, .pro-button,
.mobile-connect-button, .mobile-pro-button {
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(168, 85, 247, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.connect-button:hover, .pro-button:hover,
.mobile-connect-button:hover, .mobile-pro-button:hover {
    box-shadow:
        0 0 50px rgba(168, 85, 247, 0.6),
        0 6px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px) scale(1.05);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   LIGHT THEME OVERRIDES - Refined Adjustments
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

[data-theme="light"] body::after {
    background-image:
        linear-gradient(rgba(0, 184, 114, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 184, 114, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(
        135deg,
        #00b872 0%,
        #0088cc 50%,
        #9333ea 100%
    ) !important;
    filter: drop-shadow(0 0 15px rgba(0, 184, 114, 0.3));
}

[data-theme="light"] .platform-card {
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow:
        0 10px 30px rgba(100, 85, 70, 0.1),
        0 0 40px rgba(0, 184, 114, 0.08),
        inset 0 0 30px rgba(0, 184, 114, 0.02);
}

[data-theme="light"] .platform-card:hover {
    box-shadow:
        0 15px 50px rgba(100, 85, 70, 0.15),
        0 0 60px rgba(0, 184, 114, 0.12),
        inset 0 0 40px rgba(0, 184, 114, 0.03);
}

[data-theme="light"] .header {
    box-shadow:
        0 4px 20px rgba(100, 85, 70, 0.08),
        0 0 60px rgba(0, 184, 114, 0.05),
        inset 0 -1px 0 rgba(0, 184, 114, 0.2);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   ACCESSIBILITY & PERFORMANCE
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* GPU acceleration for smooth animations */
.platform-card,
.premium-hero-banner,
.carousel-arrow,
.card-btn-primary,
.nav-menu a {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   CUSTOM CURSOR - Tech Aesthetic (Optional)
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.platform-card,
.premium-hero-banner,
.carousel-arrow,
button,
a {
    cursor: pointer;
}

/* Hover state glows */
.platform-card:hover,
.premium-hero-banner:hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   END OF ENHANCED STYLES
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* --- PREMIUM ELEMENTS --- */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PREMIUM VISUAL ELEMENTS - Black/Orange Edition
   Badge System | FAB Menu | Toasts | Modals | Tooltips
   Paleta: #FF6B35 (orange) | #FF8C42 (light orange) | #a855f7 (purple)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   1. BADGE SYSTEM - Emblemas de ConfianÃ§a Animados
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.trust-badges-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.trust-badge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    min-width: 180px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    animation: badgeEntry 0.8s ease-out both;
}

@keyframes badgeEntry {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Stagger delays */
.trust-badge:nth-child(1) { animation-delay: 0.1s; }
.trust-badge:nth-child(2) { animation-delay: 0.2s; }
.trust-badge:nth-child(3) { animation-delay: 0.3s; }
.trust-badge:nth-child(4) { animation-delay: 0.4s; }

/* Glowing pulse effect */
.trust-badge::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #FF6B35, #FF8C42, #FF6B35);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: badgePulse 3s ease-in-out infinite;
}

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

.trust-badge:hover::before {
    opacity: 0.6;
}

.trust-badge:hover {
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(255, 107, 53, 0.3),
        inset 0 0 40px rgba(255, 107, 53, 0.05);
    transform: translateY(-8px) scale(1.05);
}

.badge-icon {
    font-size: 48px;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.badge-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FF6B35;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.badge-description {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.4;
}

.badge-verified-mark {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
    animation: verifiedSpin 4s linear infinite;
}

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

/* Badge variants - diferentes cores */
.trust-badge.badge-security {
    border-color: rgba(255, 107, 53, 0.4);
}

.trust-badge.badge-users {
    border-color: rgba(255, 140, 66, 0.4);
}

.trust-badge.badge-premium {
    border-color: rgba(168, 85, 247, 0.4);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   2. FLOATING ACTION BUTTON (FAB) - Menu Radial
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.fab-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    border: none;
    box-shadow:
        0 8px 32px rgba(255, 107, 53, 0.4),
        0 0 60px rgba(255, 107, 53, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #0a0a0a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fabPulse 2s ease-in-out infinite;
}

@keyframes fabPulse {
    0%, 100% {
        box-shadow:
            0 8px 32px rgba(0, 245, 160, 0.4),
            0 0 60px rgba(0, 245, 160, 0.2);
    }
    50% {
        box-shadow:
            0 12px 48px rgba(255, 107, 53, 0.6),
            0 0 80px rgba(255, 107, 53, 0.3);
    }
}

.fab-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fab-button:hover::before {
    opacity: 1;
}

.fab-button:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow:
        0 12px 48px rgba(255, 107, 53, 0.6),
        0 0 100px rgba(255, 107, 53, 0.4);
}

.fab-button:active {
    transform: scale(0.95) rotate(90deg);
}

.fab-button.active {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    transform: rotate(45deg);
}

/* Menu radial */
.fab-menu {
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
}

.fab-menu-item {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FF6B35;
    cursor: pointer;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: all;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 107, 53, 0.2);
}

.fab-menu.active .fab-menu-item {
    opacity: 1;
    transform: scale(1);
}

/* Positions for radial menu (5 items in arc) */
.fab-menu-item:nth-child(1) {
    bottom: 90px;
    right: 8px;
    transition-delay: 0.05s;
}

.fab-menu-item:nth-child(2) {
    bottom: 70px;
    right: 70px;
    transition-delay: 0.1s;
}

.fab-menu-item:nth-child(3) {
    bottom: 30px;
    right: 100px;
    transition-delay: 0.15s;
}

.fab-menu-item:nth-child(4) {
    bottom: -20px;
    right: 100px;
    transition-delay: 0.2s;
}

.fab-menu-item:nth-child(5) {
    bottom: -50px;
    right: 60px;
    transition-delay: 0.25s;
}

.fab-menu-item:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.8);
    box-shadow:
        0 6px 30px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(255, 107, 53, 0.4);
    transform: scale(1.15);
}

/* Tooltip para FAB items */
.fab-menu-item::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.95);
    color: #FF6B35;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.fab-menu-item:hover::after {
    opacity: 1;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   3. TOAST NOTIFICATIONS - Sistema de NotificaÃ§Ãµes
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: 12px;
    padding: 16px 24px;
    min-width: 320px;
    max-width: 420px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(255, 107, 53, 0.2);
    pointer-events: all;
    animation: toastSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

@keyframes toastSlideIn {
    0% {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.toast.removing {
    animation: toastSlideOut 0.3s ease-in forwards;
}

@keyframes toastSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
}

/* Progress bar */
.toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35, #FF8C42);
    width: 100%;
    transform-origin: left;
    animation: toastProgress 5s linear forwards;
}

@keyframes toastProgress {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

.toast-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px currentColor);
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.toast-message {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #FF6B35;
    transform: scale(1.2);
}

/* Toast variants */
.toast.toast-success {
    border-color: rgba(255, 107, 53, 0.6);
}

.toast.toast-success .toast-icon {
    color: #FF6B35;
}

.toast.toast-info {
    border-color: rgba(255, 140, 66, 0.6);
}

.toast.toast-info .toast-icon {
    color: #FF8C42;
}

.toast.toast-warning {
    border-color: rgba(255, 159, 58, 0.6);
}

.toast.toast-warning .toast-icon {
    color: #ff9f3a;
}

.toast.toast-error {
    border-color: rgba(239, 68, 68, 0.6);
}

.toast.toast-error .toast-icon {
    color: #ef4444;
}

.toast.toast-premium {
    border-color: rgba(255, 140, 66, 0.6);
}

.toast.toast-premium .toast-icon {
    color: #FF8C42;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   4. MODAL OVERLAYS - Modais com Blur e AnimaÃ§Ãµes
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

.premium-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.premium-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.premium-modal {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(30px) saturate(200%);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.8),
        0 0 120px rgba(255, 107, 53, 0.2),
        inset 0 0 80px rgba(255, 107, 53, 0.05);
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.premium-modal-overlay.active .premium-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Animated border glow */
.premium-modal::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #FF6B35, #FF8C42, #FF6B35, #FF8C42);
    background-size: 300% 300%;
    border-radius: 24px;
    opacity: 0;
    z-index: -1;
    animation: modalBorderGlow 4s ease infinite;
}

@keyframes modalBorderGlow {
    0%, 100% { background-position: 0% 50%; opacity: 0.3; }
    50% { background-position: 100% 50%; opacity: 0.6; }
}

.premium-modal:hover::before {
    opacity: 0.8;
}

.premium-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.premium-modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #FF6B35;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    margin: 0;
}

.premium-modal-close {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.premium-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.6);
    color: #ef4444;
    transform: rotate(90deg) scale(1.1);
}

.premium-modal-body {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.premium-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.premium-modal-button {
    padding: 12px 32px;
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.premium-modal-button-primary {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: #0a0a0a;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.premium-modal-button-primary:hover {
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.6);
    transform: translateY(-2px) scale(1.05);
}

.premium-modal-button-secondary {
    background: transparent;
    border: 2px solid rgba(255, 107, 53, 0.4);
    color: #FF6B35;
}

.premium-modal-button-secondary:hover {
    background: rgba(0, 245, 160, 0.1);
    border-color: rgba(255, 107, 53, 0.6);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   5. TOOLTIPS - Tech-Style Tooltips Personalizados
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

[data-tech-tooltip] {
    position: relative;
    cursor: help;
}

[data-tech-tooltip]::before {
    content: attr(data-tech-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    color: #FF6B35;
    padding: 12px 20px;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(255, 107, 53, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 107, 53, 0.3);
    z-index: 10001;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
}

[data-tech-tooltip]::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid rgba(255, 107, 53, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10001;
}

[data-tech-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

[data-tech-tooltip]:hover::after {
    opacity: 1;
}

/* Tooltip positions */
[data-tech-tooltip][data-tooltip-position="top"]::before {
    bottom: calc(100% + 12px);
    top: auto;
}

[data-tech-tooltip][data-tooltip-position="bottom"]::before {
    top: calc(100% + 12px);
    bottom: auto;
    transform: translateX(-50%) translateY(5px);
}

[data-tech-tooltip][data-tooltip-position="bottom"]:hover::before {
    transform: translateX(-50%) translateY(0);
}

[data-tech-tooltip][data-tooltip-position="bottom"]::after {
    top: calc(100% + 2px);
    bottom: auto;
    border-top: none;
    border-bottom: 10px solid rgba(255, 107, 53, 0.4);
}

[data-tech-tooltip][data-tooltip-position="left"]::before {
    left: auto;
    right: calc(100% + 12px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateX(-5px);
}

[data-tech-tooltip][data-tooltip-position="left"]:hover::before {
    transform: translateY(-50%) translateX(0);
}

[data-tech-tooltip][data-tooltip-position="right"]::before {
    left: calc(100% + 12px);
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateX(5px);
}

[data-tech-tooltip][data-tooltip-position="right"]:hover::before {
    transform: translateY(-50%) translateX(0);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   RESPONSIVE DESIGN
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

@media (max-width: 768px) {
    .trust-badges-container {
        gap: 16px;
        padding: 30px 15px;
    }

    .trust-badge {
        min-width: 150px;
        padding: 20px 24px;
    }

    .badge-icon {
        font-size: 36px;
    }

    .badge-title {
        font-size: 16px;
    }

    .fab-container {
        bottom: 20px;
        right: 20px;
    }

    .fab-button {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .fab-menu-item {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .toast-container {
        right: 10px;
        left: 10px;
        top: 80px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }

    .premium-modal {
        padding: 30px 20px;
        margin: 10px;
    }

    .premium-modal-title {
        font-size: 22px;
    }

    [data-tech-tooltip]::before {
        font-size: 12px;
        padding: 8px 14px;
    }
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   LIGHT THEME ADJUSTMENTS
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

[data-theme="light"] .trust-badge {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 107, 53, 0.4);
}

[data-theme="light"] .badge-title {
    color: #FF6B35;
}

[data-theme="light"] .badge-description {
    color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .fab-button {
    box-shadow:
        0 8px 32px rgba(255, 107, 53, 0.3),
        0 0 60px rgba(255, 107, 53, 0.15);
}

[data-theme="light"] .fab-menu-item {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 107, 53, 0.4);
    color: #FF6B35;
}

[data-theme="light"] .toast {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(255, 107, 53, 0.5);
}

[data-theme="light"] .toast-title {
    color: #0a0a0a;
}

[data-theme="light"] .toast-message {
    color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .premium-modal {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(255, 107, 53, 0.4);
}

[data-theme="light"] .premium-modal-title {
    color: #FF6B35;
}

[data-theme="light"] .premium-modal-body {
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] [data-tech-tooltip]::before {
    background: rgba(255, 255, 255, 0.98);
    color: #FF6B35;
    border-color: rgba(255, 107, 53, 0.5);
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   END OF PREMIUM ELEMENTS
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* --- CARD BACK REDESIGN --- */
/* ============================================
   CARD BACK REDESIGN - Cyber-Luxury Glass
   Bold, functional, distinctive
   ============================================ */

/* Import distinctive fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ============================================
   CARD BACK CONTAINER
   ============================================ */

.card-back {
  /* Layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 36px 28px 32px 28px;
  height: 100%;
  text-align: center;

  /* Glassmorphism Background */
  background: linear-gradient(
    135deg,
    rgba(15, 20, 30, 0.97) 0%,
    rgba(20, 25, 35, 0.95) 50%,
    rgba(15, 20, 30, 0.97) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);

  /* Border with gradient */
  border: 1px solid transparent;
  background-image:
    linear-gradient(rgba(15, 20, 30, 0.97), rgba(15, 20, 30, 0.97)),
    linear-gradient(135deg, rgba(0, 245, 160, 0.3), rgba(0, 217, 255, 0.2));
  background-origin: border-box;
  background-clip: padding-box, border-box;

  /* Subtle inner glow */
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
    inset 0 0 60px 0 rgba(0, 245, 160, 0.03),
    0 20px 60px -10px rgba(0, 0, 0, 0.5);

  /* Critical for clicks */
  pointer-events: auto !important;
  z-index: 10 !important;
  position: relative;

  /* Smooth transitions */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   CARD BACK LOGO
   ============================================ */

.card-back-logo {
  /* Size */
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 20px;

  /* Styling */
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  padding: 14px;

  /* Premium border */
  border: 1px solid rgba(0, 245, 160, 0.15);

  /* Glow effect */
  box-shadow:
    0 0 0 1px rgba(0, 245, 160, 0.1),
    0 8px 32px -8px rgba(0, 245, 160, 0.2),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);

  /* Smooth animation */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-back-logo:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(0, 245, 160, 0.25),
    0 12px 48px -8px rgba(0, 245, 160, 0.35),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

/* ============================================
   CARD BACK HEADER
   ============================================ */

.card-back-header {
  flex: 0 0 auto;
  width: 100%;
  margin-bottom: 24px;
}

/* ============================================
   CARD BACK TITLE
   ============================================ */

.card-back-title {
  /* Typography */
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;

  /* Color with gradient */
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Spacing */
  margin: 0 0 16px 0;
  padding: 0;

  /* Subtle text shadow for depth */
  filter: drop-shadow(0 2px 8px rgba(0, 245, 160, 0.1));
}

/* ============================================
   CARD BACK DESCRIPTION
   ============================================ */

.card-back-description {
  /* Typography */
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;

  /* Color */
  color: rgba(255, 255, 255, 0.75);

  /* Layout */
  margin: 0 auto 28px auto;
  padding: 0;
  max-width: 92%;

  /* Flex */
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Ensure readable */
  text-align: center;
  overflow-wrap: break-word;
}

/* ============================================
   CARD BACK BUTTONS CONTAINER
   ============================================ */

.card-back-buttons {
  /* Layout */
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;

  /* Critical for clicks */
  pointer-events: auto !important;
  z-index: 999 !important;
  position: relative;
}

/* ============================================
   PRIMARY BUTTON - Visitar Site
   ============================================ */

.card-btn-primary,
.btn-visit {
  /* Layout */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  width: 100%;

  /* Typography */
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;

  /* Gradient background */
  background: linear-gradient(
    135deg,
    #00f5a0 0%,
    #00d9ff 100%
  );
  color: #0a0a0f;

  /* Border */
  border: none;
  border-radius: 14px;

  /* Premium shadow */
  box-shadow:
    0 0 0 1px rgba(0, 245, 160, 0.3),
    0 8px 24px -6px rgba(0, 245, 160, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3);

  /* Critical for clicks */
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 9999 !important;
  position: relative;

  /* Smooth transition */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Transform origin */
  transform: translateY(0) scale(1);
  transform-origin: center;
}

.card-btn-primary:hover,
.btn-visit:hover {
  /* Lift effect */
  transform: translateY(-3px) scale(1.01);

  /* Enhanced glow */
  box-shadow:
    0 0 0 1px rgba(0, 245, 160, 0.5),
    0 16px 40px -8px rgba(0, 245, 160, 0.6),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4);

  /* Slightly brighter */
  filter: brightness(1.05);
}

.card-btn-primary:active,
.btn-visit:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow:
    0 0 0 1px rgba(0, 245, 160, 0.4),
    0 4px 16px -4px rgba(0, 245, 160, 0.5),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

/* ============================================
   SECONDARY BUTTON - Seguir no X
   ============================================ */

.card-btn-secondary:not(.card-btn-back),
.btn-social {
  /* Layout */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  width: 100%;

  /* Typography */
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;

  /* Outline style */
  background: rgba(0, 245, 160, 0.05);
  color: #00f5a0;

  /* Border with gradient */
  border: 2px solid transparent;
  border-radius: 14px;
  background-image:
    linear-gradient(rgba(15, 20, 30, 0.8), rgba(15, 20, 30, 0.8)),
    linear-gradient(135deg, #00f5a0, #00d9ff);
  background-origin: border-box;
  background-clip: padding-box, border-box;

  /* Subtle shadow */
  box-shadow:
    0 4px 16px -4px rgba(0, 245, 160, 0.15),
    inset 0 1px 0 0 rgba(0, 245, 160, 0.1);

  /* Critical for clicks */
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 9999 !important;
  position: relative;

  /* Smooth transition */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.card-btn-secondary:not(.card-btn-back):hover,
.btn-social:hover {
  /* Lift effect */
  transform: translateY(-2px);

  /* Brighter background */
  background: rgba(0, 245, 160, 0.12);

  /* Enhanced shadow */
  box-shadow:
    0 8px 24px -6px rgba(0, 245, 160, 0.25),
    inset 0 1px 0 0 rgba(0, 245, 160, 0.15);
}

.card-btn-secondary:not(.card-btn-back):active,
.btn-social:active {
  transform: translateY(0);
  background: rgba(0, 245, 160, 0.08);
}

/* ============================================
   BACK BUTTON - Voltar
   ============================================ */

.card-btn-back,
.btn-back {
  /* Layout */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 24px;
  width: auto;
  margin: 4px auto 0 auto;

  /* Typography */
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;

  /* Minimal style */
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 8px;

  /* Critical for clicks */
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 9999 !important;
  position: relative;

  /* Smooth transition */
  transition: all 0.25s ease;
}

.card-btn-back:hover,
.btn-back:hover {
  color: #00f5a0;
  background: rgba(0, 245, 160, 0.06);
  transform: translateX(-2px);
}

.card-btn-back:active,
.btn-back:active {
  color: #00d9ff;
  background: rgba(0, 217, 255, 0.08);
}

/* ============================================
   FORCE ALL INTERACTIONS TO WORK
   ============================================ */

.card-back a,
.card-back button,
.card-back .card-btn-primary,
.card-back .card-btn-secondary,
.card-back .btn-visit,
.card-back .btn-social,
.card-back .btn-back {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 9999 !important;
  position: relative !important;
}

/* Ensure card-back itself is clickable */
.platform-card.flipped .card-back,
.featured-card.flipped .card-back {
  pointer-events: auto !important;
  z-index: 10 !important;
}

/* Push card-front behind when flipped */
.platform-card.flipped .card-front,
.featured-card.flipped .card-front {
  pointer-events: none !important;
  z-index: -1 !important;
  opacity: 0 !important;
}

/* ============================================
   MOBILE RESPONSIVENESS
   ============================================ */

@media (max-width: 768px) {
  .card-back {
    padding: 30px 24px 28px 24px;
  }

  .card-back-logo {
    width: 76px;
    height: 76px;
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 18px;
  }

  .card-back-title {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .card-back-description {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 95%;
  }

  .card-btn-primary,
  .btn-visit,
  .card-btn-secondary:not(.card-btn-back),
  .btn-social {
    padding: 15px 28px;
    font-size: 15px;
  }

  .card-btn-back,
  .btn-back {
    padding: 12px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .card-back {
    padding: 26px 20px 24px 20px;
  }

  .card-back-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 14px;
    padding: 10px;
  }

  .card-back-title {
    font-size: 24px;
  }

  .card-back-description {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .card-btn-primary,
  .btn-visit,
  .card-btn-secondary:not(.card-btn-back),
  .btn-social {
    padding: 14px 24px;
    font-size: 14.5px;
    gap: 8px;
  }
}

/* ============================================
   LOADING STATE (OPTIONAL)
   ============================================ */

.card-back-loading {
  opacity: 0.6;
  pointer-events: none !important;
}

.card-back-loading .card-btn-primary,
.card-back-loading .btn-visit {
  animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

/* ============================================
   ACCESSIBILITY
   ============================================ */

.card-back a:focus-visible,
.card-back button:focus-visible {
  outline: 2px solid #00f5a0;
  outline-offset: 3px;
  border-radius: 14px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .card-back,
  .card-back *,
  .card-btn-primary,
  .card-btn-secondary,
  .btn-visit,
  .btn-social,
  .btn-back {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- THEME FIXES --- */
/* ========================================
   THEME FIXES - Critical Corrections
   1. Language buttons same style as section buttons
   2. Card descriptions visible in light theme
   3. Mobile background dark in dark theme
   ======================================== */

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   FIX 1: LANGUAGE BUTTONS - Same style as section buttons
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Desktop language buttons - Same gradient as section buttons */
.language-selector .lang-btn {
    background: var(--accent-gradient) !important;
    border: none !important;
    color: var(--text-main) !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: var(--shadow-button) !important;
}

.language-selector .lang-btn:hover {
    background: var(--accent-gradient) !important; /* Keep same gradient on hover */
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-button-hover) !important;
}

.language-selector .lang-btn.active {
    background: var(--accent-gradient) !important;
    color: var(--text-main) !important;
    box-shadow: var(--shadow-button-hover) !important;
}

/* Mobile language buttons - Same style */
.mobile-language-selector .lang-btn {
    background: var(--accent-gradient) !important;
    border: none !important;
    color: var(--text-main) !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: var(--shadow-button) !important;
}

.mobile-language-selector .lang-btn:hover {
    background: var(--accent-gradient) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-button-hover) !important;
}

.mobile-language-selector .lang-btn.active {
    background: var(--accent-gradient) !important;
    color: var(--text-main) !important;
    box-shadow: var(--shadow-button-hover) !important;
}

/* Light theme - Keep same gradient */
[data-theme="light"] .language-selector .lang-btn,
[data-theme="light"] .mobile-language-selector .lang-btn {
    background: var(--accent-gradient) !important;
    color: var(--text-main) !important;
}

[data-theme="light"] .language-selector .lang-btn:hover,
[data-theme="light"] .mobile-language-selector .lang-btn:hover {
    background: var(--accent-gradient) !important;
    color: var(--text-main) !important;
}

/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   FIX 2: CARD TEXT - Visible in light theme (Titles + Descriptions)
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* MAXIMUM PRIORITY - Card titles WHITE on cyan background */
[data-theme="light"] .card-final-title,
[data-theme="light"] h3.card-final-title,
[data-theme="light"] .platform-card-final .card-final-title,
[data-theme="light"] .cards-final-grid .card-final-title {
    color: var(--text-main) !important; /* Use text-main for readability in light mode */
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: var(--text-main) !important; /* Use text-main for readability in light mode */
    font-weight: 600 !important;
    text-shadow: none !important; /* No text-shadow in light mode for clean look */
    opacity: 1 !important;
    visibility: visible !important;
}

/* MAXIMUM PRIORITY - Card descriptions WHITE on cyan background */
[data-theme="light"] .card-final-description,
[data-theme="light"] p.card-final-description,
[data-theme="light"] .platform-card-final .card-final-description,
[data-theme="light"] .cards-final-grid .card-final-description {
    color: var(--text-secondary) !important; /* Use text-secondary for descriptions in light mode */
    font-weight: 400 !important;
    text-shadow: none !important; /* No text-shadow in light mode for clean look */
    opacity: 0.95 !important;
    visibility: visible !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 5 !important;
    -webkit-box-orient: vertical !important;
}
/* CRITICAL: Card backgrounds use BRAND CYAN COLOR in light theme */
[data-theme="light"] .platform-card-final,
[data-theme="light"] .cards-final-grid .platform-card-final {
    background: var(--card-bg) !important;
    background-color: var(--card-bg) !important;
    border: 1.5px solid var(--card-border) !important;
    box-shadow: var(--card-shadow) !important;
}
[data-theme="light"] .platform-card-final:hover {
    border-color: var(--border-accent-hover) !important;
    box-shadow: var(--card-shadow) !important; /* Keep the subtle shadow on hover */
    transform: translateY(-6px) !important;
}
/* Logo container in light mode - White background for contrast */
[data-theme="light"] .card-logo-container {
    background: var(--card-bg) !important;
    border-color: var(--card-border) !important;
    box-shadow: var(--card-shadow) !important;
}
/* Platform card descriptions in light theme - WHITE on cyan */
[data-theme="light"] .platform-card .card-description,
[data-theme="light"] .featured-card .card-description {
    color: var(--text-secondary) !important;
    font-weight: 400 !important;
    text-shadow: none !important;
    opacity: 0.95 !important;
    visibility: visible !important;
}
/* Modal descriptions in light theme */
[data-theme="light"] .modal-description {
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}
/* ALL paragraphs in cards in light theme - WHITE on cyan */
[data-theme="light"] .platform-card-final p,
[data-theme="light"] .cards-final-grid p {
    color: var(--text-secondary) !important; /* Use text-secondary for paragraphs in light mode */
    opacity: 0.95 !important;
    visibility: visible !important;
    text-shadow: none !important;
}
/* COMPREHENSIVE: ALL text elements in cards WHITE on cyan in light theme */
[data-theme="light"] .platform-card-final h1,
[data-theme="light"] .platform-card-final h2,
[data-theme="light"] .platform-card-final h3,
[data-theme="light"] .platform-card-final h4,
[data-theme="light"] .platform-card-final h5,
[data-theme="light"] .platform-card-final h6,
[data-theme="light"] .platform-card-final span,
[data-theme="light"] .platform-card-final li,
[data-theme="light"] .cards-final-grid h1,
[data-theme="light"] .cards-final-grid h2,
[data-theme="light"] .cards-final-grid h3,
[data-theme="light"] .cards-final-grid h4,
[data-theme="light"] .cards-final-grid h5,
[data-theme="light"] .cards-final-grid h6,
[data-theme="light"] .cards-final-grid span,
[data-theme="light"] .cards-final-grid li {
    color: var(--text-main) !important; /* Use text-main for all text elements in light mode */
    opacity: 0.95 !important;
    visibility: visible !important;
    text-shadow: none !important;
}
/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   FIX 3: MOBILE BACKGROUND - Dark in dark theme
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* CRITICAL: Ensure body is PURE BLACK in dark theme - ALL DEVICES */
body {
    background: var(--bg-body) !important;
    background-color: var(--bg-body) !important;
    background-image: none !important;
}
/* CRITICAL: Ensure ALL sections are transparent */
section,
.hero-section,
.platform-section,
.featured-section,
.p2p-section,
.exchanges-section,
.hot-wallets-section,
.crypto-cards-section,
.digital-banks-section,
.cold-wallets-section,
.dexs-section,
.bridges-section {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Remove any gradient overlays */
body::before,
body::after,
section::before,
section::after {
    display: none !important;
}

/* Mobile menu in dark theme - Should be dark */
.mobile-menu-overlay {
    background: var(--bg-primary) !important; /* Use primary background for overlay */
}

.mobile-menu-content {
    background: var(--bg-modal) !important; /* Use modal background for content */
    backdrop-filter: blur(30px) !important;
}
/* Light theme - Override only when light theme is active */
[data-theme="light"] body {
    background: var(--bg-body) !important;
    background-attachment: fixed !important;
}
[data-theme="light"] section,
[data-theme="light"] .hero-section,
[data-theme="light"] .platform-section,
[data-theme="light"] .featured-section {
    background: transparent !important;
}

[data-theme="light"] .mobile-menu-overlay {
    background: var(--bg-primary) !important;
}

[data-theme="light"] .mobile-menu-content {
    background: var(--bg-modal) !important;
}
/* Light theme - restore gradient overlays */
[data-theme="light"] body::before {
    display: block !important;
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(59, 130, 246, 0.05) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 50%,
        rgba(37, 99, 235, 0.04) 0%,
        transparent 50%
    ) !important;
    pointer-events: none !important;
    z-index: -1 !important;
}
/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   MOBILE SPECIFIC FIXES
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

@media (max-width: 768px) {
    /* CRITICAL: Force dark background on mobile in dark theme */
    body {
        background: #000000 !important;
        background-color: #000000 !important;
    }

    /* Ensure all sections are transparent */
    section,
    .platform-section,
    .featured-section,
    .hero-section {
        background: transparent !important;
        background-color: transparent !important;
    }

    /* Light theme mobile */
    [data-theme="light"] body {
        background: var(--bg-body) !important;
        background-attachment: fixed !important;
    }

    /* Mobile cards - Keep proper backgrounds */
    .platform-card-final {
        background: var(--bg-card) !important;
    }

    [data-theme="light"] .platform-card-final {
        background: var(--card-bg) !important;
    }
}
/* â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”
   ADDITIONAL CONSISTENCY FIXES
   â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” */

/* Connect and Pro buttons - Ensure they match section buttons */
.connect-button,
.pro-button,
.mobile-connect-button,
.mobile-pro-button {
    background: var(--accent-gradient) !important;
    color: var(--text-main) !important;
    border: none !important;
    font-weight: 600 !important;
}

.connect-button:hover,
.pro-button:hover,
.mobile-connect-button:hover,
.mobile-pro-button:hover {
    background: var(--accent-gradient) !important;
    color: var(--text-main) !important;
}

/* Light theme - All buttons keep same gradient */
[data-theme="light"] .connect-button,
[data-theme="light"] .pro-button,
[data-theme="light"] .mobile-connect-button,
[data-theme="light"] .mobile-pro-button {
    background: var(--accent-gradient) !important;
    color: var(--text-main) !important;
}

[data-theme="light"] .connect-button:hover,
[data-theme="light"] .pro-button:hover,
[data-theme="light"] .mobile-connect-button:hover,
[data-theme="light"] .mobile-pro-button:hover {
    background: var(--accent-gradient) !important;
    color: var(--text-main) !important;
}

/* --- CARD BUTTONS FIX --- */
/* ============================================
   CRITICAL FIX: Card Buttons Not Clickable
   ============================================ */

/* Ensure card back is fully interactive when flipped */
.platform-card .card-back {
  pointer-events: auto !important;
  z-index: 2;
}

.platform-card.flipped .card-back,
.platform-card:hover .card-back {
  pointer-events: auto !important;
  z-index: 10;
}

/* Ensure all links and buttons are clickable */
.card-back a,
.card-back button,
.card-back .platform-link,
.card-back .social-link,
.card-back .card-btn-primary,
.card-back .card-btn-secondary,
.card-back .card-back-buttons,
.card-back .card-back-buttons a,
.card-back .card-back-buttons button {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 100;
}

/* Remove any blocking overlays */
.card-inner {
  pointer-events: none;
}

.card-front,
.card-back {
  pointer-events: auto;
}

/* Featured cards same fix */
.featured-card .card-back,
.featured-card .card-back a,
.featured-card .card-back button {
  pointer-events: auto !important;
  z-index: 100 !important;
}

/* Ensure card-front doesn't block when flipped */
.platform-card.flipped .card-front,
.featured-card.flipped .card-front {
  pointer-events: none !important;
  z-index: -1 !important;
}

/* --- CARD CONTENT FIX --- */
/* ============================================
   EMERGENCY FIX: Ensure All Card Content Visible
   ============================================ */

/* FORCE all card content to be visible */
.card-front *,
.card-back * {
  visibility: visible !important;
}

/* FORCE logos to show */
.platform-logo,
.platform-logo img,
.card-back-logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* FORCE card content containers to show */
.card-content,
.card-back-header,
.card-back-buttons {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* FORCE text content to show */
.platform-name,
.card-back-title,
.card-back-description {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* FORCE buttons to show */
.card-btn-primary,
.card-btn-secondary,
.btn-visit,
.btn-social,
.btn-back,
.card-back-buttons a,
.card-back-buttons button {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* FORCE platform tags to show */
.platform-tags,
.platform-tags .tag {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* FORCE rating and KYC badges to show */
.rating-badge,
.kyc-badge {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Fix: backface-visibility must be HIDDEN so back faces don't show */
.card-front,
.card-back {
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

/* Fix: Ensure card-front is visible when NOT flipped/hovered */
.platform-card:not(:hover):not(.flipped) .card-front,
.featured-card:not(:hover):not(.flipped) .card-front {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}

/* Fix: Ensure card-back is hidden when NOT flipped/hovered */
.platform-card:not(:hover):not(.flipped) .card-back,
.featured-card:not(:hover):not(.flipped) .card-back {
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Fix: Ensure card-back is visible when flipped/hovered */
.platform-card:hover .card-back,
.platform-card.flipped .card-back,
.featured-card:hover .card-back,
.featured-card.flipped .card-back {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}

/* Fix: Ensure card-front is hidden when flipped/hovered */
.platform-card:hover .card-front,
.platform-card.flipped .card-front,
.featured-card:hover .card-front,
.featured-card.flipped .card-front {
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* --- MOUSE FIX CRITICAL --- */
/* ============================================
   CRITICAL FIX: Mouse/Trackpad Interaction
   NUCLEAR OPTION - FORCE ALL INTERACTIONS
   ============================================ */

/* CRITICAL: Ensure body and html allow scrolling */
html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    pointer-events: auto !important;
    touch-action: auto !important;
}

body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    pointer-events: auto !important;
    touch-action: auto !important;
}

/* NUCLEAR: All background overlays MUST be behind content */
body::before,
body::after,
html::before,
html::after,
[data-theme="light"] body::before,
[data-theme="light"] body::after,
[data-theme="dark"] body::before,
[data-theme="dark"] body::after {
    z-index: -999 !important;
    pointer-events: none !important;
}

/* NUCLEAR: All interactive content MUST be above backgrounds */
* {
    -webkit-user-select: auto !important;
    user-select: auto !important;
}

header,
.header,
main,
section,
.platform-section,
.hero-section,
.featured-section,
.container,
.footer,
nav,
.navigation,
.security-section,
.category-info-section {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

/* NUCLEAR: Force ALL links and buttons to be clickable */
a,
button,
.card-final-btn,
.card-final-btn-primary,
.card-final-btn-secondary,
.carousel-arrow,
.nav-menu a,
.mobile-menu-btn,
.theme-btn,
.lang-btn,
.connect-button,
.pro-button,
input,
textarea,
select {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 100 !important;
}

/* NUCLEAR: Ensure cards are interactive */
.platform-card,
.platform-card-final,
.card-logo-container,
.card-final-title,
.card-final-description,
.premium-hero-banner {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 50 !important;
}

/* NUCLEAR: Fix for any overlay that might be blocking */
.mobile-menu-overlay:not(.active),
.modal-overlay:not(.active) {
    display: none !important;
    pointer-events: none !important;
    z-index: -999 !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Active overlays should be on top */
.mobile-menu-overlay.active,
.modal-overlay.active {
    z-index: 9999 !important;
    pointer-events: auto !important;
    display: block !important;
}

/* NUCLEAR: Ensure header is always on top but doesn't block */
.header {
    z-index: 1000 !important;
    pointer-events: auto !important;
}

/* NUCLEAR: Fix scroll containers */
.horizontal-scroll-container,
.cards-final-grid,
.horizontal-cards-grid {
    pointer-events: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
}

/* NUCLEAR: Ensure page content is scrollable */
body,
html {
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: auto !important;
}

/* DESKTOP SPECIFIC: Ensure desktop interactions work */
@media (min-width: 769px) {
    html, body {
        overflow-y: auto !important;
        pointer-events: auto !important;
    }

    * {
        cursor: auto;
    }

    a, button {
        cursor: pointer !important;
    }
}

/* EMERGENCY: Remove any element that might be invisibly blocking */
body > div:empty:not([id]):not([class]) {
    display: none !important;
    pointer-events: none !important;
}

/* --- CARD FIX NUCLEAR --- */
/* ============================================
   NUCLEAR FIX: Remove ALL Click Blockers
   This file MUST be loaded LAST
   ============================================ */

/* CRITICAL: Remove transform-style that breaks clicks */
.platform-card,
.featured-card,
.card-inner {
  transform-style: flat !important;
  -webkit-transform-style: flat !important;
}

/* CRITICAL: card-inner must allow clicks through */
.card-inner {
  pointer-events: auto !important;
}

/* CRITICAL: Both faces must be clickable */
.card-front,
.card-back {
  pointer-events: auto !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

/* ============================================
   DESKTOP: Hover to flip
   ============================================ */

@media (min-width: 769px) {
  /* Default state - show front */
  .platform-card .card-inner {
    transform: rotateY(0deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .platform-card .card-front {
    opacity: 1;
    z-index: 2;
    pointer-events: auto !important;
  }

  .platform-card .card-back {
    opacity: 0;
    z-index: 1;
    pointer-events: none !important;
  }

  /* Hover state - show back */
  .platform-card:hover .card-inner {
    transform: rotateY(180deg);
  }

  .platform-card:hover .card-front {
    opacity: 0;
    z-index: 1;
    pointer-events: none !important;
  }

  .platform-card:hover .card-back {
    opacity: 1;
    z-index: 2;
    pointer-events: auto !important;
  }

  /* Featured cards - same behavior */
  .featured-card .card-inner {
    transform: rotateY(0deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .featured-card:hover .card-inner {
    transform: rotateY(180deg);
  }

  .featured-card:hover .card-front {
    opacity: 0;
    pointer-events: none !important;
  }

  .featured-card:hover .card-back {
    opacity: 1;
    pointer-events: auto !important;
  }
}

/* ============================================
   MOBILE: Click to flip
   ============================================ */

@media (max-width: 768px) {
  /* Default state - show front */
  .platform-card .card-inner {
    transform: rotateY(0deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .platform-card .card-front {
    opacity: 1;
    z-index: 2;
    pointer-events: auto !important;
  }

  .platform-card .card-back {
    opacity: 0;
    z-index: 1;
    pointer-events: none !important;
  }

  /* Flipped state - show back */
  .platform-card.flipped .card-inner {
    transform: rotateY(180deg);
  }

  .platform-card.flipped .card-front {
    opacity: 0;
    z-index: 1;
    pointer-events: none !important;
  }

  .platform-card.flipped .card-back {
    opacity: 1;
    z-index: 2;
    pointer-events: auto !important;
  }

  /* Featured cards */
  .featured-card.flipped .card-inner {
    transform: rotateY(180deg);
  }

  .featured-card.flipped .card-front {
    opacity: 0;
    pointer-events: none !important;
  }

  .featured-card.flipped .card-back {
    opacity: 1;
    pointer-events: auto !important;
  }
}

/* ============================================
   FORCE ALL BUTTONS TO BE CLICKABLE
   ============================================ */

.card-back {
  pointer-events: auto !important;
  z-index: 10 !important;
}

.card-back a,
.card-back button,
.card-back .card-btn-primary,
.card-back .card-btn-secondary,
.card-back .btn-visit,
.card-back .btn-social,
.card-back .btn-back,
.card-back .card-btn-back,
.card-back .card-back-buttons,
.card-back .card-back-buttons a,
.card-back .card-back-buttons button {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  position: relative !important;
  display: flex !important;
}

/* Featured cards */
.featured-card .card-back,
.featured-card .card-back a,
.featured-card .card-back button {
  pointer-events: auto !important;
  z-index: 99999 !important;
}

/* ============================================
   ENSURE FRONT FACE DOESN'T BLOCK
   ============================================ */

.platform-card:hover .card-front,
.platform-card.flipped .card-front,
.featured-card:hover .card-front,
.featured-card.flipped .card-front {
  pointer-events: none !important;
  z-index: -1 !important;
  opacity: 0 !important;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #e0e0e0;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}

/* Language Dropdown */
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 160px;
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.lang-dropdown.hidden {
    display: none;
    opacity: 0;
}
.lang-dropdown-title {
    font-size: 0.75rem;
    color: #888;
    padding: 0 15px 5px 15px;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 5px;
    text-align: left;
}
.lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lang-option {
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #e0e0e0;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}
.lang-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
.lang-option.active {
    color: #00ffa3; /* Brand highlight color */
    font-weight: 500;
}

/* Clickable Coupon Styles */

.clickable-coupon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 255, 163, 0.1);
    color: #00ffa3;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px dashed rgba(0, 255, 163, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: monospace;
    font-size: 0.95em;
}
.clickable-coupon:hover {
    background: rgba(0, 255, 163, 0.2);
    border-color: #00ffa3;
    transform: translateY(-1px);
}

/* Toast Notification Styles */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #1a1a1a;
    border: 1px solid rgba(0, 255, 163, 0.3);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 163, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}
.toast-icon {
    font-size: 1.2rem;
}
.toast-message {
    font-size: 0.9rem;
    font-weight: 500;
}



/* ==========================================================================
   MOBILE LAYOUT HARMONIZATION (Optimized for Compactness & Proportions)
   Target: Fixes 'elastic' look, massive text, and disproportionate cards
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. HERO SECTION COMPACTION */
    .hero-section, .hero {
        padding: 40px 0 !important;
        min-height: auto !important;
    }

    .hero-title, .hero h1, h1.hero-title {
        font-size: 2rem !important; 
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        padding: 0 15px !important;
    }

    .hero-subtitle, .hero-description, .hero p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        padding: 0 20px !important;
    }

    .hero-badge {
        font-size: 0.7rem !important;
        padding: 4px 12px !important;
        margin-bottom: 15px !important;
    }

    /* 2. CARD PROPORTIONS (Fixing the 'elastic' tall look) */
    .platform-card, .platform-card-final, .card, .security-card, .category-info-card {
        padding: 20px 15px !important;
        min-height: auto !important;
        gap: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
    }
    
    .card-logo-container {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 10px !important;
        flex-shrink: 0 !important;
    }

    .card-logo-container img {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }

    .card-final-title, .card-title, .security-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 5px !important;
    }

    .card-final-description, .card-description, .card-desc, .security-card p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }

    /* 3. BUTTON COMPACTION */
    .btn-primary, .btn-secondary, .card-btn, .card-final-btn, .card-final-btn-primary, .card-final-btn-secondary, .cta-button {
        padding: 10px 15px !important;
        font-size: 0.85rem !important;
        width: 100% !important;
        margin-bottom: 8px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .card-final-buttons, .premium-hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }

    /* 4. SECTION HEADER COMPACTION */
    .section-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important; /* Forced gap between Title and Subtitle */
        margin-bottom: 30px !important; /* Space before the cards start */
    }

    .section-title, section h3.section-title {
        font-size: 1.5rem !important;
        margin-bottom: 0 !important; /* Using container gap for spacing */
        line-height: 1.2 !important;
    }

    .section-subtitle, .section-header p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 15px !important;
    }

    /* 5. FINE-TUNED FEATURED CARD (DESTAQUE) */
    .featured-compact-mobile {
        padding: 18px 12px !important;
        gap: 8px !important;
        min-height: auto !important;
        width: 100% !important;
        border-radius: 16px !important;
    }
    
    .featured-compact-mobile .premium-hero-content {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }

    /* 1. COMPACT TOP BADGE (Parceiro Oficial) */
    .featured-compact-mobile .featured-badge {
        font-size: 0.7rem !important;
        padding: 4px 10px !important;
        margin: 0 auto 8px !important;
        width: auto !important;
        display: inline-block !important;
        position: static !important;
    }

    /* 2. SHRINK LOGO TO PROPORTIONAL SIZE */
    .featured-compact-mobile .premium-hero-logo {
        width: 65px !important;
        height: 65px !important;
        margin: 0 auto 8px !important;
        padding: 8px !important;
    }

    .featured-compact-mobile .premium-hero-logo img {
        width: 100% !important;
        height: 100% !important;
    }

    /* 3. FINE-TUNE TYPOGRAPHY HIERARCHY */
    .featured-compact-mobile .premium-hero-title {
        font-size: 1.35rem !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }
    
    .featured-compact-mobile .premium-hero-subtitle,
    .featured-compact-mobile .premium-hero-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
        padding: 0 5px !important;
    }

    /* 4. COMPACT MAIN BUTTONS (Acessar Agora) */
    .featured-compact-mobile .premium-hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .featured-compact-mobile .premium-cta-button,
    .featured-compact-mobile .featured-button-secondary {
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
        margin: 0 !important;
        width: 100% !important;
    }

    /* 5. AGGRESSIVE COMPACTION OF PERKS (100% Seguro, Ultra RÃ¡pido) */
    .featured-compact-mobile .premium-hero-features {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 100% !important;
        margin-top: 5px !important;
    }
    
    .featured-compact-mobile .feature-badge {
        flex: 0 1 auto !important;
        margin: 0 !important;
        padding: 6px 10px !important;
        font-size: 0.7rem !important;
        white-space: nowrap !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}
@media (max-width: 768px) {
    /* FORCE TRADINGVIEW TICKER VISIBILITY ON MOBILE */
    .tradingview-widget-container {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important; /* Forces exact screen width */
        max-width: 100% !important;
        z-index: 999999 !important;
        overflow: hidden !important; /* Prevents horizontal scroll bugs */
    }

    /* Ensure body has enough padding so the ticker doesn't hide content */
    body {
        padding-bottom: 45px !important; /* Reduced padding for the thinner ticker */
    }
}
