:root {
    --primary-color: #6366f1;
    --text-color: #f3f4f6;
    --background-color: #18181b;
    --card-background: #23232b;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    background-image: linear-gradient(120deg, #18181b 60%, #23232b 100%);
    background-attachment: scroll;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 0.2rem;
    padding-top: 0.1rem;
}

h1 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.2;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon {
    font-size: 1rem;
    color: #6b7280;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.15),
        0 2px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: 0.25rem auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.25rem;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 12px 40px rgba(99, 102, 241, 0.25),
        0 4px 20px rgba(0, 0, 0, 0.15);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    line-height: 1.3;
    font-weight: 600;
}

.card p {
    color: #6b7280;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}


.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    color: #fff;
    padding: 1rem 2.25rem;
    border-radius: 1.5rem;
    border: none;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 
        0 8px 24px rgba(139, 92, 246, 0.3),
        0 4px 12px rgba(6, 182, 212, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(139, 92, 246, 0.4),
        0 6px 16px rgba(6, 182, 212, 0.3);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button .cta-icon {
    font-size: 1.2rem;
    display: inline-block;
    animation: rocketPulse 2s ease-in-out infinite;
}

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

.secondary-cta {
    background-color: rgba(99, 102, 241, 0.1) !important;
    color: #fff !important;
    border: 2px solid rgba(99, 102, 241, 0.4) !important;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.15) !important;
    font-weight: 600 !important;
}

.secondary-cta:hover {
    background-color: rgba(99, 102, 241, 0.2) !important;
    color: #fff !important;
    border-color: rgba(99, 102, 241, 0.6) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3) !important;
}

/* User Stats Styles */
.user-stats {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    opacity: 0.9;
}

.stats-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #6b7280;
}

.stats-icon {
    font-size: 1rem;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.user-count {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.user-count::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: underlineGlow 3s infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.7; }
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.5rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.live-text {
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dark Mode Styles for User Stats */
body.dark-mode .user-stats {
    border-top-color: #374151;
}

body.dark-mode .stats-content {
    color: #9ca3af;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }

    /* Mobile Topbar Styles */
    .topbar {
        padding: 0.5rem 1rem;
    }
    
    .logo-area {
        justify-content: center;
        flex: 2;
    }
    
    .bot-name {
        font-size: 1.25rem;
        margin-left: 0.1rem;
    }
    
    .logo {
        width: 44px;
        height: 44px;
    }

    .donate-heart-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        margin-left: 0.5rem;
    }
    
    .dark-mode-section {
        justify-content: center;
        flex: 1;
        gap: 0.8rem;
    }
    
    .guide-link {
        padding: 0.4rem 0.75rem;
        gap: 0.4rem;
    }
    
    .guide-label {
        font-size: 0.85rem;
    }
    
    .guide-link svg {
        width: 18px;
        height: 18px;
    }
    
    .dark-mode-toggle {
        min-height: 40px;
        padding: 0.4rem 0.75rem;
        gap: 0.4rem;
        display: none !important; /* Hidden but functionality remains */
    }
    
    .dark-mode-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .dark-mode-label {
        display: none;
    }

    header {
        margin-bottom: 3rem;
        padding-top: 0.5rem;
    }

    h1 {
        font-size: 2.125rem;
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
        padding: 0 0.5rem;
    }

    .coming-soon {
        font-size: 0.95rem;
    }

    .card {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }

    /* Improve touch targets */
    .cta-button {
        padding: 1.125rem 2.25rem;
        font-size: 1.05rem;
        min-height: 48px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .feature-item {
        padding: 1.5rem 1.25rem;
    }

    .features h2 {
        font-size: 1.875rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    /* Mobile donation styles - removed topbar-actions since it no longer exists */
    .donation-popup-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .copy-feedback {
        right: 1rem;
        left: 1rem;
        right: auto;
        text-align: center;
    }

    /* Improved mobile footer */
    footer {
        padding: 0 1rem;
        margin-top: 3rem;
    }
    
    .donate-btn {
        padding: 0.875rem 1.75rem;
        min-height: 48px;
        font-size: 0.95rem;
    }

    /* Scroll-to-top button positioning */
    .scroll-to-top {
        bottom: 2rem;
        right: 2rem;
        width: 48px;
        height: 48px;
        z-index: 999;
    }

    /* Reduce motion for mobile devices */
    .fade-in,
    .fade-in-delayed,
    .slide-up {
        transition-duration: 0.5s;
    }

    .feature-item {
        transition-delay: 0.1s !important;
    }
    
    /* Disable backdrop-filter on mobile for better performance */
    * {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Reduce hover effects on mobile for better touch experience */
    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 16px -5px rgb(0 0 0 / 0.08), 0 6px 6px -5px rgb(0 0 0 / 0.03);
    }

    .feature-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 12px -5px rgb(0 0 0 / 0.1), 0 5px 5px -5px rgb(0 0 0 / 0.03);
    }

    /* Mobile dark mode hover effects */
    body.dark-mode .card:hover {
        box-shadow: 0 12px 16px -5px rgb(0 0 0 / 0.2), 0 6px 6px -5px rgb(0 0 0 / 0.08);
    }

    body.dark-mode .feature-item:hover {
        box-shadow: 0 10px 12px -5px rgb(0 0 0 / 0.18), 0 5px 5px -5px rgb(0 0 0 / 0.06);
    }

    .user-stats {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }
    
    .stats-content {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }
    
    .live-indicator {
        margin-left: 0;
        margin-top: 0.5rem;
        display: flex !important; /* Ensure it's displayed as flex on mobile */
        flex-wrap: nowrap !important; /* Prevent wrapping */
        white-space: nowrap !important; /* Prevent text breaking */
        width: auto !important;
        min-width: fit-content !important;
    }
    
    /* Fix LIVE indicator on whale page header for mobile */
    h1 .live-indicator,
    h2 .live-indicator,
    h3 .live-indicator {
        display: inline-flex !important;
        margin-left: 0.5rem !important;
        margin-top: 0 !important;
        vertical-align: middle !important;
    }
    
    /* Ensure header with LIVE indicator doesn't break on mobile */
    header h1,
    header h2,
    header h3 {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    /* Make LIVE indicator smaller on mobile if needed */
    .live-indicator .live-text {
        font-size: 0.75rem !important;
    }
    
    .live-indicator .live-dot {
        width: 6px !important;
        height: 6px !important;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .fade-in-delayed,
    .slide-up {
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    .feature-item {
        transition-delay: 0s !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .card:hover,
    .feature-item:hover {
        transform: none;
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    }
    
    body.dark-mode .card:hover,
    body.dark-mode .feature-item:hover {
        box-shadow: 0 4px 16px 0 #0002;
    }
}

.topbar {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: padding 0.3s ease;
    will-change: padding;
}

/* Compact header on scroll */
.topbar.scrolled {
    padding: 0.4rem 2rem;
}

.topbar.scrolled .logo {
    width: 36px;
    height: 36px;
    transition: width 0.3s ease, height 0.3s ease;
}

.topbar.scrolled .bot-name {
    font-size: 1.1rem;
    transition: font-size 0.3s ease;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    justify-content: flex-start;
    min-width: 0;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px 1px #22c55e66;
}

.logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    transition: none;
}

.logo:hover {
    transform: none;
    box-shadow: none;
}

.bot-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-left: 0.2rem;
}

.donate-heart-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.donate-heart-btn:hover {
    background: rgba(245, 158, 11, 0.1);
    transform: scale(1.1);
}

.dark-mode-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    gap: 0.5rem;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.guide-link {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    flex-shrink: 0;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

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

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

.guide-link:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
    opacity: 1;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.guide-link:active {
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.guide-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1px;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.guide-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.guide-link:hover svg {
    transform: scale(1.1);
}

/* Products dropdown – matches guide-link styling */
.products-dropdown {
    position: relative;
    flex-shrink: 0;
}
.products-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 0.75rem;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    opacity: 0.9;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: visible;
    appearance: none;
    margin: 0;
    line-height: inherit;
}
.products-dropdown-trigger:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
    opacity: 1;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}
.products-dropdown-trigger:active {
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}
.products-dropdown-trigger svg.chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.products-dropdown.open .products-dropdown-trigger svg.chevron {
    transform: rotate(180deg);
}
.products-dropdown-menu {
    position: fixed;
    margin-top: 0.35rem;
    min-width: 200px;
    background: rgba(17, 24, 39, 0.98);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1100;
}
.products-dropdown.open .products-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.products-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.products-dropdown-menu a:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #c7d2fe;
}
.products-dropdown-menu a.products-dropdown-solana {
    justify-content: space-between;
    gap: 0.75rem;
}
.nav-new-badge {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.2em 0.5em;
    border-radius: 999px;
    background: linear-gradient(135deg, #9945ff, #14f195);
    color: #0f172a;
    flex-shrink: 0;
    line-height: 1.2;
    animation: nav-new-badge-pulse 2s ease-in-out infinite;
}
@keyframes nav-new-badge-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.35);
    }
    50% {
        opacity: 1;
        transform: scale(1.06);
        box-shadow: 0 0 14px rgba(153, 69, 255, 0.5);
    }
}
body.light-mode .products-dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
body.light-mode .products-dropdown-menu a {
    color: #374151;
}
body.light-mode .products-dropdown-menu a:hover {
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
}
body.light-mode .products-dropdown-trigger {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}
body.light-mode .products-dropdown-trigger:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}
body.dark-mode .products-dropdown-trigger {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
}
body.dark-mode .products-dropdown-trigger:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.45);
    color: #c7d2fe;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.dark-mode-toggle {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    cursor: pointer;
    padding: 0.5rem 0.85rem;
    border-radius: 0.75rem;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
    display: none !important; /* Hidden but functionality remains */
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Hide mobile dark mode toggle button */
.mobile-dark-mode-toggle {
    display: none !important; /* Hidden but functionality remains */
}

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

.dark-mode-toggle:hover::before {
    left: 100%;
}

.dark-mode-toggle:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.dark-mode-toggle:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.dark-mode-toggle svg {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.dark-mode-toggle:hover svg {
    transform: rotate(15deg) scale(1.1);
}

.dark-mode-label {
    font-size: 0.95rem;
    color: var(--primary-color);
    opacity: 0.9;
    font-weight: 600;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
}

/* Light mode стилове */
body.light-mode {
    --primary-color: #6366f1;
    --text-color: #1f2937;
    --background-color: #f9fafb;
    --card-background: #ffffff;
    background: var(--background-color);
    color: var(--text-color);
    background-image: linear-gradient(120deg, #f9fafb 60%, #e0e7ff 100%);
}

/* Dark mode стилове (по подразбиране) */
body.dark-mode {
    --primary-color: #6366f1;
    --text-color: #f3f4f6;
    --background-color: #18181b;
    --card-background: #23232b;
    background: var(--background-color);
    color: var(--text-color);
    background-image: linear-gradient(120deg, #18181b 60%, #23232b 100%);
}

/* Light mode стилове за компоненти */
body.light-mode .features {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

body.light-mode .feature-item {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 
        0 4px 16px rgba(99, 102, 241, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08);
}

body.light-mode .card:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
}

body.light-mode .feature-item:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 12px 32px rgba(99, 102, 241, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.12);
}

body.light-mode .blockchain-list li,
body.light-mode .command-list li,
body.light-mode .benefits-list li {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .blockchain-list li:hover,
body.light-mode .command-list li:hover,
body.light-mode .benefits-list li:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
}

body.light-mode .features-list-clean div {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .features-list-clean div:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
}

body.light-mode .cta-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    color: #fff;
}

body.light-mode .cta-button:hover {
    box-shadow: 
        0 12px 32px rgba(139, 92, 246, 0.4),
        0 6px 16px rgba(6, 182, 212, 0.3);
}

body.light-mode .secondary-cta {
    background-color: rgba(99, 102, 241, 0.12) !important;
    color: #fff !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.2) !important;
    font-weight: 600 !important;
}

body.light-mode .secondary-cta:hover {
    background-color: rgba(99, 102, 241, 0.25) !important;
    color: #fff !important;
    border-color: rgba(99, 102, 241, 0.7) !important;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35) !important;
}

body.light-mode .topbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

body.light-mode .coming-soon {
    color: #6b7280;
}

body.light-mode .bot-name {
    color: var(--primary-color);
}

body.light-mode .guide-link {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .guide-link:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

body.light-mode .dark-mode-toggle {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .dark-mode-toggle:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

body.light-mode .feature-item,
body.light-mode .feature-item p,
body.light-mode .feature-item ul,
body.light-mode .feature-item li {
    color: #1f2937;
}

body.light-mode .feature-item hr {
    border-top-color: #e5e7eb;
}

/* Dark mode стилове за компоненти */
body.dark-mode .features {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(139, 92, 246, 0.04) 100%);
    border-color: rgba(99, 102, 241, 0.12);
}

body.dark-mode .card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.2),
        0 2px 16px rgba(0, 0, 0, 0.2);
}

body.dark-mode .feature-item {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 
        0 4px 16px rgba(99, 102, 241, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 
        0 12px 40px rgba(99, 102, 241, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.3);
}

body.light-mode .card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.2),
        0 2px 16px rgba(0, 0, 0, 0.08);
}

body.light-mode .card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 12px 40px rgba(99, 102, 241, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.12);
}

body.dark-mode .feature-item:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 12px 32px rgba(99, 102, 241, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode .blockchain-list li,
body.dark-mode .command-list li,
body.dark-mode .benefits-list li {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

body.dark-mode .blockchain-list li:hover,
body.dark-mode .command-list li:hover,
body.dark-mode .benefits-list li:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
}

body.dark-mode .features-list-clean div {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

body.dark-mode .features-list-clean div:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
}

body.dark-mode .cta-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    color: #fff;
}

body.dark-mode .cta-button:hover {
    box-shadow: 
        0 12px 32px rgba(139, 92, 246, 0.4),
        0 6px 16px rgba(6, 182, 212, 0.3);
}

body.dark-mode .secondary-cta {
    background-color: rgba(139, 92, 246, 0.15) !important;
    color: #fff !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.2) !important;
    font-weight: 600 !important;
}

body.dark-mode .secondary-cta:hover {
    background-color: rgba(139, 92, 246, 0.25) !important;
    color: #fff !important;
    border-color: rgba(139, 92, 246, 0.7) !important;
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35) !important;
}

body.dark-mode .topbar {
    background: #23232b;
    border-bottom: 1px solid #23232b;
}

body.dark-mode .topbar.scrolled {
    background: rgba(35, 35, 43, 0.95);
    backdrop-filter: blur(10px);
}

body.light-mode .topbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

body.dark-mode .coming-soon {
    color: #a1a1aa;
}

body.dark-mode .bot-name {
    color: var(--primary-color);
}

body.dark-mode .dark-mode-toggle {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

body.dark-mode .dark-mode-toggle:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.45);
    color: #c7d2fe;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

body.dark-mode .dark-mode-label {
    color: #a5b4fc;
    opacity: 0.95;
}

body.dark-mode .guide-link {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

body.dark-mode .guide-link:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.45);
    color: #c7d2fe;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

body.dark-mode .feature-item,
body.dark-mode .feature-item p,
body.dark-mode .feature-item ul,
body.dark-mode .feature-item li {
    color: #e5e7eb;
}

body.dark-mode .feature-item hr {
    border-top-color: #374151;
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    box-shadow: 0 2px 8px 0 #6366f122;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, background 0.2s;
    z-index: 200;
}

.scroll-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    background: #4f46e5;
}

.features-list {
    max-width: 600px;
    margin: 2.5rem auto 0 auto;
    background: var(--card-background);
    border-radius: 1rem;
    box-shadow: 0 4px 16px 0 #6366f111;
    padding: 2rem 2.5rem;
    text-align: left;
}

.features-list h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-size: 1.08rem;
    margin-bottom: 1.1rem;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.6;
}

body.dark-mode .features-list {
    background: #23232b;
    box-shadow: 0 4px 16px 0 #0002;
}

body.dark-mode .features-list li {
    color: #e5e7eb;
}

.features-list-clean div {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: #222;
    line-height: 1.7;
    padding-left: 0.25rem;
}

body.dark-mode .features-list-clean div {
    color: #e5e7eb;
}

/* Donation Popup Styles */
.donation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.donation-popup-content {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
}

.close-popup:hover {
    color: var(--text-color);
}

.donation-popup-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.crypto-addresses {
    margin: 2rem 0;
    text-align: left;
}

.address-item {
    margin-bottom: 1.5rem;
}

.crypto-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.address-container {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    padding: 0.75rem;
    border-radius: 0.5rem;
    gap: 0.5rem;
}

.address {
    flex: 1;
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--primary-color);
    background: none;
    border: none;
}

.copy-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.875rem;
}

.copy-btn:hover {
    background: #4f46e5;
}

.donation-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
}

.copy-feedback {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    z-index: 1001;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(100%); }
    15% { opacity: 1; transform: translateX(0); }
    85% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(100%); }
}

/* Dark mode popup styles */
body.dark-mode .donation-popup-content {
    background: #1f2937;
    color: #f9fafb;
}

body.dark-mode .address-container {
    background: #374151;
}

body.dark-mode .close-popup {
    color: #9ca3af;
}

body.dark-mode .close-popup:hover {
    color: #f9fafb;
}

/* Page Load Animations - Optimized */
.fade-in {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    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);
}

.fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.fade-in-delayed {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-delayed.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.slide-up {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    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);
}

.slide-up.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Staggered animation delays for feature cards */
.feature-item:nth-child(1) { transition-delay: 0.1s; }
.feature-item:nth-child(2) { transition-delay: 0.2s; }
.feature-item:nth-child(3) { transition-delay: 0.3s; }
.feature-item:nth-child(4) { transition-delay: 0.4s; }
.feature-item:nth-child(5) { transition-delay: 0.5s; }
.feature-item:nth-child(6) { transition-delay: 0.6s; }

/* Remove will-change after animation completes for better performance */
.fade-in.visible,
.fade-in-delayed.visible,
.slide-up.visible {
    will-change: auto;
    transform: translate3d(0, 0, 0);
}

/* Force GPU acceleration for transforms on mobile */
@media (max-width: 768px) {
    .fade-in,
    .fade-in-delayed,
    .slide-up {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    /* Use contain for better paint performance */
    .card,
    .feature-item {
        contain: layout style paint;
    }
}

/* Final state after animation - use translate3d for GPU acceleration */
.fade-in.visible,
.fade-in-delayed.visible,
.slide-up.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Demo Button and Modal Styles */
.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.demo-button {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    text-decoration: none;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.demo-button:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.15);
}

.demo-button::before {
    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.6s ease;
}

.demo-button:hover::before {
    left: 100%;
}

.demo-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.demo-button:hover .demo-icon {
    transform: scale(1.1);
    opacity: 1;
}

.demo-text {
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

/* Demo Modal */
.demo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.demo-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-modal-content {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: 1rem;
    max-width: 90vw;
    max-height: 90vh;
    width: 700px;
    position: relative;
    animation: slideInScale 0.4s ease-out;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-demo {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-demo:hover {
    color: var(--text-color);
    background: #f3f4f6;
}

.demo-modal-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    text-align: center;
}

.demo-modal-content > p {
    color: #6b7280;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.demo-video-container {
    background: #f8fafc;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e2e8f0;
}

.demo-placeholder {
    text-align: center;
    padding: 2rem;
}

.play-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.demo-placeholder .demo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    letter-spacing: normal;
}

.demo-description {
    color: #6b7280;
    line-height: 1.6;
}

.demo-description ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.demo-description li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.demo-actions {
    text-align: center;
}

.try-now-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.try-now-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

/* Dark mode styles for demo components */
body.dark-mode .demo-button {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.25);
    color: #6366f1;
}

body.dark-mode .demo-button:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.5);
    color: #818cf8;
}

body.dark-mode .demo-modal-content {
    background: #1f2937;
    color: #e5e7eb;
}

body.dark-mode .demo-video-container {
    background: #374151;
    border-color: #4b5563;
}

body.dark-mode .close-demo:hover {
    background: #374151;
    color: #e5e7eb;
}

/* Responsive design for demo components */
@media (max-width: 640px) {
    .cta-buttons {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .demo-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
        gap: 0.4rem;
        min-height: 44px;
        border-radius: 1.5rem;
    }
    
    .demo-icon {
        font-size: 0.85rem;
    }
    
    .demo-text {
        font-size: 0.9rem;
    }
    
    .demo-modal-content {
        padding: 1.75rem 1.25rem;
        margin: 0.75rem;
        width: auto;
        max-height: 85vh;
    }
    
    .demo-modal-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .demo-modal-content > p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .demo-video-container {
        min-height: 220px;
        margin-bottom: 1.5rem;
    }
    
    .play-icon {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }
    
    .demo-placeholder .demo-text {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
    
    .demo-description {
        font-size: 0.9rem;
    }
    
    .demo-description li {
        font-size: 0.85rem;
        padding: 0.375rem 0;
    }
    
    .try-now-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .close-demo {
        width: 44px;
        height: 44px;
        font-size: 1.75rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 640px) {
    /* Better viewport handling */
    .container {
        overflow-x: hidden;
    }
    
    /* Improve text selection on mobile */
    body {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Better line height for readability on small screens */
    p, .subtitle, .coming-soon {
        line-height: 1.6;
    }
    
    /* Improve spacing between major sections */
    .features {
        margin-top: 3.5rem;
    }
    
    /* Better modal overlay for mobile */
    .demo-modal {
        padding: 0.5rem;
    }
    
    /* Improve scroll behavior */
    html {
        scroll-padding-top: 80px; /* Account for sticky topbar */
    }
    
    /* Better focus styles for mobile accessibility */
    .cta-button:focus,
    .demo-button:focus,
    .dark-mode-toggle:focus,
    .donate-heart-btn:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Prevent zoom on input focus (if you add forms later) */
    input, textarea, select {
        font-size: 16px;
    }
    
    /* Better visual feedback for taps */
    .cta-button:active,
    .demo-button:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
}

/* Tablet responsive styles */
@media (min-width: 641px) and (max-width: 1024px) {
    .container {
        padding: 2rem 1.5rem;
    }
    
    .topbar {
        padding: 0.5rem 1.5rem;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .features h2 {
        padding: 0 1rem;
    }
    
    .cta-buttons {
        padding: 0 1rem;
    }
}

/* Large tablet/small desktop adjustments */
@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        padding: 2rem;
    }
    
    .topbar {
        padding: 0.5rem 2rem;
    }
}

/* Desktop optimizations for better above-the-fold CTA visibility */
@media (min-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    header {
        margin-bottom: 4rem;
    }
    
    /* Reduce connected platforms section */
    .connected-platforms {
        padding: 1rem 1.2rem;
        margin-bottom: 0.5rem;
        max-width: 600px;
        margin-top: -1rem; /* добавено за повдигане нагоре */
    }
    
    .platform-avatar svg {
        width: 30px;
        height: 30px;
    }

    .platforms-container {
        gap: 2rem;
    }

    .infinity-symbol {
        font-size: 1.8rem;
    }

    .connection-line {
        left: -2.5rem;
        right: -2.5rem;
    }
    
    /* Reduce main card padding */
    .card {
        padding: 2.5rem 2rem;
    }
    
    /* Reduce feature cards sizes */
    .features h2 {
        margin-bottom: 2rem;
    }
    
    .feature-grid {
        gap: 1.8rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-item p,
    .feature-item ul,
    .feature-item li,
    .features-list-clean div {
        font-size: 0.9rem;
    }
}

.features {
    padding: 3rem 0;
    margin: 3rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.features h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.25rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-item {
    background: rgba(99, 102, 241, 0.08);
    padding: 2rem 1.75rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 
        0 4px 16px rgba(99, 102, 241, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.25rem;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 
        0 12px 32px rgba(99, 102, 241, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.feature-item p,
.feature-item ul,
.feature-item li,
.features-list-clean div {
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.feature-item p,
.feature-item ul,
.feature-item li {
    color: var(--text-color);
    opacity: 0.9;
}

.blockchain-list,
.command-list,
.benefits-list {
    list-style: none;
    color: var(--text-color);
    padding-left: 0;
    opacity: 0.85;
}

.blockchain-list li,
.command-list li,
.benefits-list li {
    margin-bottom: 0.875rem;
    line-height: 1.7;
    padding: 0.5rem 0.75rem;
    background: rgba(99, 102, 241, 0.06);
    border-radius: 0.5rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.2s ease;
}

.blockchain-list li:hover,
.command-list li:hover,
.benefits-list li:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(4px);
}

.features-list-clean div {
    padding: 0.75rem 1rem;
    background: rgba(99, 102, 241, 0.06);
    border-radius: 0.5rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.features-list-clean div:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(4px);
}

.command {
    background-color: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: monospace;
    color: var(--primary-color);
}

footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto 0rem auto;
    padding: 0 2rem;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-copyright {
    margin: 0rem 0 0rem 0;
    font-size: 0.875rem;
	color: #6b7280;
    text-align: center;
    padding-top: 1.5rem;
    position: relative;
	/* subtle typographic polish */
	font-weight: 500;
	letter-spacing: 0.2px;
	/* elegant gradient text tint */
	background: linear-gradient(135deg, #cbd5e1 0%, #a78bfa 40%, #60a5fa 80%, #cbd5e1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 1px 12px rgba(99,102,241,0.15);
}

.footer-copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: #e5e7eb;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.status-text {
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 500;
}

.footer-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-link svg {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-link:hover svg {
    opacity: 1;
}

.twitter-link {
    color: #1da1f2;
}

.twitter-link:hover {
    color: #0d8bd9;
}

.twitter-link svg {
    opacity: 0.8;
}

.twitter-link:hover svg {
    opacity: 1;
}

.telegram-link {
    color: #0088cc;
}

.telegram-link:hover {
    color: #006699;
}

.telegram-link svg {
    opacity: 0.8;
}

.telegram-link:hover svg {
    opacity: 1;
}

/* Dark mode footer styles */
body.dark-mode footer {
    border-top-color: #374151;
    color: #9ca3af;
}

body.dark-mode .footer-copyright {
	color: #9ca3af;
	background: linear-gradient(135deg, #e5e7eb 0%, #c4b5fd 45%, #93c5fd 85%, #e5e7eb 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

body.dark-mode .footer-copyright::before,
body.dark-mode .powered-by::after {
    background: #374151;
}

/* Heart emoji – override gradient so it shows in red */
.footer-copyright .footer-heart {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #e74c3c !important;
    background-clip: unset !important;
}

body.dark-mode .footer-link:hover {
    color: var(--primary-color);
}

/* Mobile footer styles */
@media (max-width: 640px) {
    footer {
        margin-top: 2rem;
        padding-top: 1rem;
    }
    
    .footer-content {
        gap: 0.75rem;
        padding: 0 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-actions {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-link {
        padding: 0.5rem 0.75rem;
        min-height: 40px;
        font-size: 0.8rem;
        width: auto;
        min-width: 120px;
        text-align: center;
    }
    
    .donate-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        min-height: 40px;
        order: -1; /* Поставяме donate бутона най-отгоре */
        width: auto;
        min-width: 140px;
    }
    
    .donate-text {
        font-size: 0.75rem;
    }
    
    .donate-icon {
        font-size: 0.9rem;
    }
}

/* Donation Buttons Styles */

.donate-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, #d97706, #b45309);
}

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

/* Dark mode styles for donation buttons */
body.dark-mode .donate-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

body.dark-mode .donate-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

body.dark-mode .donate-heart-btn:hover {
    background: rgba(245, 158, 11, 0.15);
}

/* Footer Premium CTA Button (Sales Button) */
.footer-premium-cta {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    min-height: 48px;
}

.footer-premium-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.footer-premium-cta:active {
    transform: translateY(0);
}

.footer-premium-cta span:first-child {
    font-size: 1rem;
}

/* Dark mode styles for footer premium CTA */
body.dark-mode .footer-premium-cta {
    background: linear-gradient(135deg, #10b981, #059669);
}

body.dark-mode .footer-premium-cta:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

/* Mobile responsive for footer premium CTA */
@media (max-width: 768px) {
    .footer-premium-cta {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        min-height: 40px;
        order: -1; /* Поставяме бутона най-отгоре */
        width: auto;
        min-width: 140px;
    }
    
    .footer-premium-cta span:first-child {
        font-size: 0.9rem;
    }
}

/* Pricing CTA Button for New Exchange Listings page */
.pricing-cta-button-new-listings:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
}

/* Connected Platforms Styles */
.connected-platforms {
    text-align: center;
    margin: 0.25rem auto 0.75rem auto;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.15),
        0 2px 16px rgba(0, 0, 0, 0.1);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.connected-platforms:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 12px 40px rgba(99, 102, 241, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.15);
}

.platforms-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

.platforms-users-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
}

.platforms-users-count .users-icon {
    font-size: 1rem;
    line-height: 1;
}

.platforms-users-count .users-text {
    font-weight: 500;
    color: var(--text-color);
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background: rgba(99, 102, 241, 0.03);
    border-radius: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
    opacity: 0.7;
}

.platform-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1rem;
    pointer-events: none;
}

.platform-item:hover::before {
    opacity: 0;
}

.platform-item:hover {
    transform: none;
    border-color: rgba(99, 102, 241, 0.08);
    box-shadow: none;
}

.platform-avatar {
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.platform-item.telegram .platform-avatar {
    animation-delay: 0s;
}

.platform-item.discord .platform-avatar {
    animation-delay: 1.5s;
}

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

.platform-avatar svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
    width: 36px;
    height: 36px;
}

.platform-item:hover .platform-avatar svg {
    transform: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.platform-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.platform-item:hover .platform-name {
    opacity: 0.7;
    color: var(--text-color);
}

.infinity-connector {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.infinity-symbol {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-infinity 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

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

.connection-line {
    position: absolute;
    top: 50%;
    left: -2.5rem;
    right: -2.5rem;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.3) 20%, 
        rgba(139, 92, 246, 0.5) 50%, 
        rgba(99, 102, 241, 0.3) 80%, 
        transparent 100%
    );
    border-radius: 1px;
    opacity: 0.5;
    animation: flow 3s ease-in-out infinite;
}

@keyframes flow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.platforms-tagline {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Dark mode styles for connected platforms */
body.dark-mode .connected-platforms {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

body.dark-mode .platform-item {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.18);
}

body.dark-mode .platform-item:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

body.light-mode .connected-platforms {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.25);
}

body.light-mode .platform-item {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

body.light-mode .platform-item:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}


body.dark-mode .platform-name,
body.dark-mode .platforms-tagline {
    color: #e5e7eb;
}

body.dark-mode .infinity-symbol {
    text-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
}

/* Responsive design for connected platforms */
@media (max-width: 640px) {
    .connected-platforms {
        margin-bottom: 2rem;
        padding: 1rem 1.5rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .platforms-container {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .platform-avatar svg {
        width: 28px;
        height: 28px;
    }
    
    .infinity-symbol {
        font-size: 1.8rem;
    }
    
    .connection-line {
        left: -2rem;
        right: -2rem;
    }
    
    .platform-name {
        font-size: 0.8rem;
    }
    
    .platforms-tagline {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .platforms-container {
        gap: 1rem;
        justify-content: center;
    }
    
    .connection-line {
        left: -1.5rem;
        right: -1.5rem;
    }
    
    .infinity-symbol {
        font-size: 1.5rem;
    }

    .connected-platforms {
        padding: 0.9rem 1rem;
    }
    
    /* Gas Notification Demo Small Mobile */
    .gas-notification-demo {
        padding: 1.25rem;
        margin: 1.25rem 0;
    }
    
    .notification-demo-header h4 {
        font-size: 1.25rem;
    }
    
    .notification-demo-header p {
        font-size: 0.85rem;
    }
    
    .telegram-notification-preview {
        padding: 1rem;
    }
    
    .telegram-header {
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .telegram-avatar {
        width: 36px;
        height: 36px;
    }
    
    .telegram-name {
        font-size: 0.9rem;
    }
    
    .notification-message {
        padding: 0.75rem;
        gap: 0.6rem;
    }
    
    .message-icon {
        font-size: 1.1rem;
    }
    
    .message-title {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .message-text {
        font-size: 0.75rem;
    }
    
    .gas-alert-steps {
        gap: 0.875rem;
    }
    
    .alert-step {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .step-content h5 {
        font-size: 0.9rem;
    }
    
    .step-content p {
        font-size: 0.75rem;
    }
    
    .demo-alert-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Remove only the inner frames around platform items (Telegram/Discord) */
.connected-platforms .platform-item {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	overflow: visible;
}
.connected-platforms .platform-item::before {
	display: none !important;
}
.connected-platforms .platform-item:hover {
	border-color: transparent !important;
	box-shadow: none !important;
}

/* Discord Modal Styles */
.discord-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.discord-modal-content {
    background-color: #ffffff;
    margin: 3% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.close-discord {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.close-discord:hover,
.close-discord:focus {
    color: #000;
    text-decoration: none;
}

/* Hero typography refresh (text stays the same, only visuals change) */
.container header h1 {
	font-weight: 800;
	letter-spacing: 0.3px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 0.7rem;
}

.whale-header-title {
	margin-bottom: 0.7rem;
}

/* Emoji should be visible and not affected by gradient */
.container header h1 .emoji-icon {
	-webkit-text-fill-color: initial !important;
	background: none !important;
	color: inherit !important;
	font-style: normal;
	display: inline-block;
	filter: none;
	font-size: 1.875rem;
}

/* Apply gradient only to text after emoji */
.container header h1 .gradient-text {
	color: var(--primary-color); /* Fallback */
	background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 20%, #a78bfa 50%, #60a5fa 80%, #ffffff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 2px 18px rgba(99,102,241,0.15);
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
	.container header h1 .gradient-text {
		background: none;
		color: var(--primary-color);
	}
}

/* Dark mode specific styles for emoji icon */
body.dark-mode .container header h1 .emoji-icon {
	opacity: 1;
	filter: none;
	color: #6366f1; /* Blue color for dark mode visibility - same as Live Exchange Monitoring */
}

.container header .subtitle {
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	line-height: 1.4;
	color: #e5e7eb;
	opacity: 0.9;
	text-wrap: balance;
}

.whale-subtitle {
	margin-top: 0;
	line-height: 1.4;
}

/* Ensure subtitle is readable in light mode only */
body.light-mode .container header .subtitle {
	color: #374151; /* slate-700 */
	opacity: 1;
	text-shadow: none;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.25rem;
	margin-top: 2rem;
	flex-wrap: wrap;
}

.hero-cta-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 2rem;
	background: linear-gradient(135deg, #10b981, #059669);
	color: white;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1rem;
	border-radius: 0.75rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
	border: none;
	cursor: pointer;
	min-height: 52px;
}

.hero-cta-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
	background: linear-gradient(135deg, #059669, #047857);
}

.hero-cta-primary:active {
	transform: translateY(0);
}

/* Solana DEX Alpha — homepage CTA (distinct from EVM DEX Alpha) */
.hero-cta-solana {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.65rem;
	background: linear-gradient(135deg, #6d28d9 0%, #14f195 100%);
	color: #f8fafc;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.05rem;
	border-radius: 0.75rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
	border: 1px solid rgba(20, 241, 149, 0.45);
	cursor: pointer;
	min-height: 52px;
	position: relative;
	animation: hero-solana-cta-attention 3s ease-in-out infinite;
}
@keyframes hero-solana-cta-attention {
	0%, 100% {
		box-shadow: 0 4px 20px rgba(109, 40, 217, 0.35), 0 0 0 0 rgba(20, 241, 149, 0.2);
		filter: brightness(1);
	}
	45% {
		box-shadow: 0 8px 32px rgba(20, 241, 149, 0.35), 0 0 28px rgba(109, 40, 217, 0.28);
		filter: brightness(1.07);
	}
	70% {
		box-shadow: 0 6px 26px rgba(109, 40, 217, 0.42), 0 0 32px rgba(20, 241, 149, 0.22);
	}
}
.hero-cta-solana:hover {
	animation: none;
	transform: translateY(-3px);
	filter: brightness(1.1);
	box-shadow: 0 12px 36px rgba(20, 241, 149, 0.35), 0 0 40px rgba(109, 40, 217, 0.35);
}
.hero-cta-solana:active {
	transform: translateY(-1px);
}
.hero-cta-solana-icon {
	font-size: 1.15rem;
	line-height: 1;
	opacity: 0.95;
	display: inline-block;
	animation: hero-solana-icon-nudge 2.4s ease-in-out infinite;
}
@keyframes hero-solana-icon-nudge {
	0%, 100% { transform: rotate(0deg); }
	30% { transform: rotate(-10deg); }
	60% { transform: rotate(10deg); }
}
.hero-cta-solana:hover .hero-cta-solana-icon {
	animation: none;
}
.hero-new-badge {
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 0.22em 0.55em;
	border-radius: 999px;
	background: linear-gradient(135deg, #fbbf24, #f97316);
	color: #1c1917;
	flex-shrink: 0;
	line-height: 1.2;
	animation: nav-new-badge-pulse 2s ease-in-out infinite;
}

.our-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	max-width: 1100px;
	margin: 0 auto;
}
.our-products-card-solana {
	border-color: rgba(20, 241, 149, 0.28) !important;
	box-shadow: 0 0 0 1px rgba(153, 69, 255, 0.12), 0 8px 32px rgba(0, 0, 0, 0.12);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.our-products-card-solana:hover {
	box-shadow: 0 0 0 1px rgba(20, 241, 149, 0.35), 0 12px 40px rgba(109, 40, 217, 0.15);
	transform: translateY(-2px);
}
.our-products-card-solana-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 0.25rem;
}
.our-products-card-solana-head h2 {
	margin: 0;
}
.our-products-solana-cta {
	border-color: rgba(20, 241, 149, 0.45) !important;
}

@media (prefers-reduced-motion: reduce) {
	.hero-cta-solana,
	.hero-cta-solana-icon,
	.nav-new-badge,
	.hero-new-badge {
		animation: none !important;
	}
}

.hero-cta-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 2rem;
	background: transparent;
	color: var(--text-color);
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	border: 2px solid rgba(99, 102, 241, 0.4);
	border-radius: 0.75rem;
	transition: all 0.3s ease;
	cursor: pointer;
	min-height: 52px;
}

.hero-cta-secondary:hover {
	border-color: rgba(99, 102, 241, 0.7);
	background: rgba(99, 102, 241, 0.1);
	transform: translateY(-2px);
}

.hero-cta-secondary:active {
	transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
	.hero-cta-buttons {
		flex-direction: column;
		gap: 1rem;
		width: 100%;
	}
	
	.hero-cta-primary,
	.hero-cta-secondary,
	.hero-cta-solana {
		width: 100%;
		max-width: 320px;
		font-size: 1rem;
		padding: 0.875rem 1.5rem;
	}
}

/* Try the Free Bot Section */
.try-free-bot-section {
	text-align: center;
	margin: 3rem 0;
	padding: 2.5rem 2rem;
	background: rgba(99, 102, 241, 0.05);
	border: 1px solid rgba(99, 102, 241, 0.15);
	border-radius: 1.25rem;
}

.try-free-bot-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text-color);
	margin-bottom: 0.75rem;
}

.try-free-bot-description {
	font-size: 1rem;
	color: var(--text-color);
	opacity: 0.8;
	margin-bottom: 1.5rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.try-free-bot-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.try-free-bot-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 2rem;
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	color: white;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	border-radius: 0.75rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
	border: none;
	cursor: pointer;
}

.try-free-bot-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
	background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.try-free-bot-note {
	font-size: 0.85rem;
	color: var(--text-color);
	opacity: 0.6;
	margin: 0;
}

@media (max-width: 768px) {
	.try-free-bot-section {
		padding: 2rem 1.5rem;
		margin: 2rem 0;
	}
	
	.try-free-bot-title {
		font-size: 1.5rem;
	}
	
	.try-free-bot-description {
		font-size: 0.95rem;
	}
	
	.try-free-bot-button {
		width: 100%;
		max-width: 320px;
	}
}

/* Enable layered positioning inside the main container */
.container { position: relative; }

/* Big background mascot behind platforms + CTA */
.hero-mascot-bg {
	position: absolute;
	left: 2%;
	top: 150px; /* slightly more lowered to align feet with CTA */
	width: 360px;
	height: 480px;
	pointer-events: none;
	z-index: 1; /* behind content but above the container background */
	display: block;
}

.hero-mascot-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left bottom;
	filter: brightness(1.06) drop-shadow(0 12px 32px rgba(99,102,241,0.28));
	opacity: 0.98;
	/* try to blend away dark photo background and reveal only the mascot */
	mix-blend-mode: lighten;
	/* soft mask to hide outer background edges of the photo */
	-webkit-mask-image: radial-gradient(380px 520px at 60% 75%, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 85%);
	mask-image: radial-gradient(380px 520px at 60% 75%, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 85%);
}

/* Мобилна версия – мечето е махнато и от тук (като на desktop) */
@media (max-width: 640px) {
	.hero-mascot-bg { 
		display: none !important;
	}
}
/* On tablets, shrink and nudge a bit */
@media (min-width: 641px) and (max-width: 1024px) {
	.hero-mascot-bg {
		top: 120px;
		left: 1.5%;
		width: 260px;
		height: 360px;
	}
	.hero-mascot-img {
		-webkit-mask-image: radial-gradient(300px 420px at 60% 75%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 84%);
		mask-image: radial-gradient(300px 420px at 60% 75%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 84%);
	}
}

/* Make above sections float above the mascot */
.connected-platforms,
.cta-card { position: relative; z-index: 3; }

/* CTA mascot slice using CSS mask to blend with the site background */
.cta-card {
	position: relative;
}
.cta-mascot-img {
	display: none; /* replaced by big hero mascot */
	position: absolute;
	left: 3.5%;
	bottom: -10px;
	width: 300px;
	height: 300px;
	background-image: url('images/talisman.avif');
	background-repeat: no-repeat;
	background-size: 340px auto;
	background-position: 32% 60%; /* show more of the body + pointing hand */
	pointer-events: none;
	/* feather the left/top edges so only the right side (hand) remains */
	-webkit-mask-image: radial-gradient(220px 170px at 74% 56%, rgba(0,0,0,1) 62%, rgba(0,0,0,0) 86%);
	mask-image: radial-gradient(220px 170px at 74% 56%, rgba(0,0,0,1) 62%, rgba(0,0,0,0) 86%);
	filter: brightness(1.08) drop-shadow(0 14px 34px rgba(99,102,241,0.32));
	animation: mascotFloat2 4s ease-in-out infinite;
}
@keyframes mascotFloat2 {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}
@media (max-width: 1024px) {
	.cta-mascot-img { left: 2%; width: 240px; height: 240px; bottom: -12px; background-size: 280px auto; }
}
@media (max-width: 768px) {
	.cta-mascot-img { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.cta-mascot-img { animation: none; }
}

/* Whale section - token bubbles */
.whale-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.25rem 1.75rem;
	margin-top: 1.25rem;
}
@media (max-width: 1024px) {
	.whale-grid {
		gap: 1.1rem 1.4rem;
	}
}
@media (max-width: 640px) {
	.whale-grid {
		gap: 0.9rem 1.2rem;
	}
}

.whale-card {
	position: relative;
	text-align: center;
	min-width: 80px;
}

.whale-blob {
	width: 56px;
	height: 56px;
	margin: 0 auto 0.5rem auto;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1.35rem;
	color: #fff;
	background: radial-gradient(circle at 30% 30%, #8b5cf6, #6366f1 60%, #0ea5e9);
	box-shadow: 0 12px 28px rgba(99,102,241,0.35), inset 0 0 24px rgba(255,255,255,0.15);
}

.whale-token {
	font-weight: 700;
	letter-spacing: 0.6px;
	margin-bottom: 0.15rem;
}

.whale-status {
	font-size: 0.75rem;
	color: #10b981;
	letter-spacing: 1px;
	margin-bottom: 0.75rem;
}

.whale-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}
.whale-tag {
	font-size: 0.8rem;
	padding: 0.35rem 0.6rem;
	border-radius: 9999px;
	background: rgba(99,102,241,0.14);
	border: 1px solid rgba(99,102,241,0.25);
	color: #e5e7eb;
	white-space: nowrap;
}

/* Light mode tweaks for whale section */
body.light-mode .whale-card {
	background: radial-gradient(1200px 300px at -20% -20%, rgba(99,102,241,0.12), transparent 55%),
	            radial-gradient(800px 240px at 120% -10%, rgba(236,72,153,0.10), transparent 50%),
	            rgba(255,255,255,0.65);
	border-color: rgba(99,102,241,0.22);
}
body.light-mode .whale-tag {
	background: rgba(99,102,241,0.10);
	border-color: rgba(99,102,241,0.22);
	color: #374151;
}

.discord-modal h3 {
    color: #5865f2;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    text-align: center;
}

.discord-modal > p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
}

.discord-steps-container {
    margin-bottom: 2rem;
}

.discord-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 0.75rem;
    border-left: 3px solid #5865f2;
    transition: all 0.2s ease;
}

.discord-step:hover {
    background: #f0f2ff;
    transform: translateX(2px);
}

.step-number {
    background: #5865f2;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}

.step-content p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-size: 0.9rem;
}

.discord-actions {
    text-align: center;
    margin-top: 1.5rem;
}

.setup-discord-btn {
    display: inline-block;
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.setup-discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
    color: white;
}

/* Dark mode styles for Discord modal */
body.dark-mode .discord-modal-content {
    background-color: #2c2f36;
    color: #ffffff;
}

body.dark-mode .discord-step {
    background: #36393f;
    border-left-color: #7289da;
}

body.dark-mode .discord-step:hover {
    background: #3a3d44;
}

body.dark-mode .step-content h4 {
    color: #ffffff;
}

body.dark-mode .step-content p {
    color: #b9bbbe;
}

body.dark-mode .close-discord {
    color: #b9bbbe;
}

body.dark-mode .close-discord:hover {
    color: #ffffff;
}

body.dark-mode .discord-modal h3 {
    color: #7289da;
}

body.dark-mode .discord-modal > p {
    color: #b9bbbe;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .discord-modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        width: 95%;
        max-width: none;
    }

    .discord-modal h3 {
        font-size: 1.3rem;
    }

    .discord-modal > p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .discord-step {
        padding: 0.875rem;
        gap: 0.75rem;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .step-content h4 {
        font-size: 0.95rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    .setup-discord-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Discord Step Details */
.step-details {
    margin-top: 1rem;
}

.step-tip {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border: 1px solid #e1e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.tip-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.tip-content {
    flex: 1;
}

.tip-content strong {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.sub-steps {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
    color: #4a5568;
}

.sub-steps li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.sub-steps li strong {
    color: #2d3748;
    font-weight: 600;
}

.tip-note {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(72, 187, 120, 0.1);
    border-left: 3px solid #48bb78;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    color: #2f855a;
    font-weight: 500;
}

/* Dark mode styles for step details */
.dark-mode .step-tip {
    background: linear-gradient(135deg, #2a2d3a 0%, #1e2029 100%);
    border-color: #3a3f4b;
}

.dark-mode .tip-content strong {
    color: #e2e8f0;
}

.dark-mode .sub-steps {
    color: #a0aec0;
}

.dark-mode .sub-steps li strong {
    color: #e2e8f0;
}

.dark-mode .tip-note {
    background: rgba(72, 187, 120, 0.15);
    color: #68d391;
    border-left-color: #68d391;
}

.cta-card {
    margin-top: -3rem; /* по-голямо отрицателно за още по-нагоре */
}

/* Floating Progress Bar */
.scroll-progress-container {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 200px;
    width: 20px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.scroll-progress-container.visible {
    opacity: 1;
}

.scroll-progress-bar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Show the bar when scrolling */
.scroll-progress-container.is-scrolling .scroll-progress-bar {
    opacity: 1;
}

.scroll-progress-fill {
    width: 100%;
    height: 0; /* Will be set by JS */
    background: linear-gradient(180deg, #6366f1, #818cf8);
    border-radius: 2px;
    transition: height 0.15s ease-out;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
    will-change: height;
}

.scroll-progress-fill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4f46e5;
    box-shadow: 0 0 10px 2px rgba(99, 102, 241, 0.7);
}

@keyframes shimmer {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.scroll-hint {
    position: absolute;
    bottom: -40px; /* Position it below the bar */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: #6366f1;
    letter-spacing: 0.1em;
    cursor: default;
    opacity: 1; /* Initially visible */
    transition: opacity 0.4s ease;
    text-align: center;
    width: 100px; /* Give it more space */
}

/* Initially, the hint is an arrow */
.scroll-hint::before {
    content: '↓';
    display: block;
    font-size: 1.5rem; /* Larger arrow */
    line-height: 1;
    margin-bottom: 4px;
    animation: bounce 1.5s infinite;
}

/* Hide the arrow and text when scrolling */
.scroll-progress-container.is-scrolling .scroll-hint {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

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

/* No fade-out animation needed, transition is enough */

body.dark-mode .scroll-progress-bar {
    background-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .scroll-progress-fill {
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.6);
}

body.dark-mode .scroll-hint {
    color: #a5b4fc;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .scroll-progress-container {
        left: 1rem;
    }

    .scroll-progress-bar {
        width: 2px;
        height: 100px;
    }

    .scroll-hint {
        font-size: 0.65rem;
        left: 12px;
    }
}

@media (max-width: 480px) {
    .scroll-progress-container {
        left: 0.75rem;
    }

    .scroll-progress-bar {
        height: 80px;
    }

    .scroll-hint {
        font-size: 0.6rem;
        left: 10px;
    }
}

/* Hide on very small screens to avoid clutter */
@media (max-width: 360px) {
    .scroll-progress-container {
        display: none;
    }
}

/* Powered By Section */
.powered-by {
    margin-top: 0.75rem;
    margin-bottom: 0.1rem;
    padding-bottom: 0.1rem;
    text-align: center;
    position: relative;
}

.powered-by::after {
    content: none;
}

.powered-label {
    font-size: 0.75rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.service-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.service-badge {
    font-size: 0.75rem;
    color: rgba(99, 102, 241, 0.8);
    font-weight: 500;
    padding: 0.25rem 0.5rem;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
	border: 1px solid rgba(139, 92, 246, 0.22);
	border-radius: 0.5rem;
	transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
	backdrop-filter: blur(3px);
	box-shadow: 0 2px 10px rgba(99, 102, 241, 0.08);
}

.service-badge:hover {
	color: rgba(167, 139, 250, 1);
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(139, 92, 246, 0.16));
	border-color: rgba(139, 92, 246, 0.32);
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.22);
}

.service-badge:active {
    transform: translateY(0px);
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.2);
}

/* Dark mode styles for powered by section */

body.dark-mode .powered-label {
    background: linear-gradient(135deg, #a78bfa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .service-badge {
	color: rgba(167, 139, 250, 0.85);
	background: linear-gradient(135deg, rgba(167, 139, 250, 0.10), rgba(99, 102, 241, 0.10));
	border-color: rgba(167, 139, 250, 0.25);
}

body.dark-mode .service-badge:hover {
	color: #e9d5ff;
	background: linear-gradient(135deg, rgba(167, 139, 250, 0.16), rgba(99, 102, 241, 0.18));
	border-color: rgba(167, 139, 250, 0.35);
	box-shadow: 0 4px 14px rgba(167, 139, 250, 0.22);
}

body.dark-mode .service-badge:active {
    transform: translateY(0px);
    box-shadow: 0 1px 4px rgba(167, 139, 250, 0.2);
}

body.dark-mode .powered-by::after {
    background: #374151;
}

/* Mobile responsive powered by section */
@media (max-width: 640px) {
    .powered-by {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .powered-label {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
    }
    
    .service-badges {
        gap: 0.4rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.35rem;
        min-width: auto;
        flex: 0 0 auto;
    }
}

.footer-spacer {
    height: 3rem;
}

.footer-actions-spacer {
    height: 3rem;
}

.footer-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 0.5rem 0 0.5rem 0;
    width: 100%;
    max-width: 350px;
    align-self: center;
}

/* Compact footer – същият като index, използва се на всички страници */
footer.footer-compact.fade-in-delayed { opacity: 1; transform: none; }
footer.footer-compact {
    padding: 2rem 2rem 0;
    margin-top: 2rem;
    margin-bottom: 0;
}
footer.footer-compact .footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}
footer.footer-compact .footer-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}
footer.footer-compact .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem 7rem;
    align-items: start;
}
footer.footer-compact .footer-section-label { text-align: center; }
footer.footer-compact .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
footer.footer-compact .footer-section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(167, 139, 250, 0.85);
}
footer.footer-compact .footer-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
footer.footer-compact .footer-badge {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(167, 139, 250, 0.95);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    min-width: 8rem;
    text-align: center;
}
footer.footer-compact .footer-badge:hover {
    color: #fff;
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}
footer.footer-compact .footer-product .footer-links {
    align-items: stretch;
    width: fit-content;
}
footer.footer-compact .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
footer.footer-compact .footer-product .footer-links .footer-link {
    width: 100%;
    box-sizing: border-box;
}
footer.footer-compact .footer-links .footer-link {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #e5e7eb;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    min-width: 8rem;
    text-align: center;
}
footer.footer-compact .footer-links .footer-link:hover {
    color: #fff;
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}
footer.footer-compact .footer-social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
footer.footer-compact .footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #e5e7eb;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    min-width: 8rem;
}
footer.footer-compact .footer-social-link:hover {
    color: #fff;
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}
footer.footer-compact .footer-social-link svg { flex-shrink: 0; opacity: 0.9; }
footer.footer-compact .footer-stripe-trust {
    position: relative;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(203, 213, 225, 0.5);
}
footer.footer-compact .footer-stripe-trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
    opacity: 0.5;
}
footer.footer-compact .footer-copyright {
    margin: 0.5rem 0 0;
    padding-bottom: 0;
    font-size: 0.9rem;
}
footer.footer-compact .footer-copyright::before { display: none; }
@media (max-width: 700px) {
    footer.footer-compact .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    footer.footer-compact { padding: 1.5rem 1.25rem; }
}

@media (max-width: 480px) {
    html, body {
        width: 100vw;
        overflow-x: hidden;
    }
    .container {
        padding: 0.5rem !important;
        max-width: 100vw !important;
        min-width: 0 !important;
    }
    .topbar {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0.5rem !important;
        gap: 0.5rem;
    }
    .logo-area {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    .logo {
        width: 32px !important;
        height: 32px !important;
    }
    .bot-name {
        font-size: 1rem !important;
    }
    .donate-heart-btn, .dark-mode-toggle {
        min-width: 40px;
        min-height: 40px;
        font-size: 1.1rem;
    }
    .section, .card, .features-list, .features-list-clean div {
        padding: 1rem 0.5rem !important;
        margin: 0.5rem 0 !important;
        border-radius: 0.7rem !important;
        box-sizing: border-box;
        max-width: 100vw !important;
    }
    h1, h2 {
        font-size: 1.2rem !important;
        word-break: break-word;
    }
    p, .subtitle, .coming-soon {
        font-size: 1rem !important;
        word-break: break-word;
    }
    img, svg {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
    .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 !important;
    }
    .footer-content, footer {
        padding: 0.5rem !important;
        font-size: 0.95rem !important;
    }
    .scroll-to-top {
        width: 40px !important;
        height: 40px !important;
        right: 1rem !important;
        bottom: 1rem !important;
    }
}

body.dark-mode .section-contact p[style*="font-style: italic"] {
    color: #b5e3b6 !important;
}

/* ===== WHALE ALERTS DASHBOARD STYLES ===== */

/* Monitoring Info Box */
.monitoring-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 170, 0.05) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px auto 30px auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

.monitoring-info-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.3);
}

.info-icon {
    font-size: 1.2em;
    flex-shrink: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.info-label {
    font-size: 0.9em;
    font-weight: 600;
    color: #00ff88;
    text-shadow: 0 0 6px rgba(0, 255, 136, 0.3);
}

.info-tokens {
    font-size: 0.85em;
    color: #b0b0b0;
    font-weight: 500;
    line-height: 1.4;
}

/* Dark mode for monitoring info box */
body.dark-mode .monitoring-info-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 212, 170, 0.04) 100%);
    border-color: rgba(0, 255, 136, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.dark-mode .monitoring-info-box:hover {
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.25);
}

body.dark-mode .info-label {
    color: #00ff88;
}

body.dark-mode .info-tokens {
    color: #c0c0c0;
}

/* Responsive design for monitoring info box */
@media (max-width: 768px) {
    .monitoring-info-box {
        margin: 15px auto 25px auto;
        padding: 14px 16px;
        max-width: 100%;
    }
    
    .info-content {
        gap: 3px;
    }
    
    .info-label {
        font-size: 0.85em;
    }
    
    .info-tokens {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .monitoring-info-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 14px;
    }
    
    .info-icon {
        font-size: 1.1em;
    }
    
    .info-content {
        width: 100%;
    }
    
    .info-tokens {
        word-break: break-word;
    }
}

#whale-alerts-section {
    margin: 40px 0;
    padding: 20px;
    background: #1a1a2e;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 180, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

#whale-alerts-section:hover {
    border-color: rgba(0, 255, 180, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 180, 0.15);
}

.whale-movements-title {
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.whale-movements-title .emoji-icon {
    font-size: 1.3em;
    filter: brightness(1.2);
}

.whale-movements-title .gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Whale Header Title with LIVE badge */
.whale-header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.live-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.live-dot-small {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

.live-text-small {
    color: #10b981;
    font-weight: 600;
}

/* Whale Subtitle - 2 lines */
.whale-subtitle {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

.subtitle-line1,
.subtitle-line2 {
    display: block;
}

.subtitle-icon {
    display: inline-block;
    margin-right: 0.25rem;
}

/* Vertical List Container for Whale Alerts (like whale-alert.io) */
#whale-alerts-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Vertical List Whale Alert Cards (like whale-alert.io) */
.whale-alert {
    background: var(--card-background);
    border: 1px solid rgba(0, 255, 180, 0.35);
    border-radius: 8px;
    padding: 14px 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-height: auto;
}

.whale-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 255, 180, 0.35), rgba(0, 255, 180, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whale-alert:hover::before {
    opacity: 1;
}

.whale-alert:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 255, 136, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.whale-alert.new {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a4a 50%, #2a1a5a 100%);
    animation: whaleAlertSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1), whaleAlertGlow 3s ease-in-out 0.6s;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(0, 255, 136, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.whale-alert.new::before {
    background: linear-gradient(90deg, #00ff88, #00d4aa, #00ff88, #00d4aa, #00ff88);
    animation: gradientShift 2s ease-in-out infinite;
}

/* Horizontal layout for whale alerts (like whale-alert.io) */
.whale-alert .alert-header {
    display: none; /* Скриваме стария header */
}

.whale-alert .token-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Уеднаквяване на размера на вградените изображения/SVG вътре в иконата */
.whale-alert .token-icon img,
.whale-alert .token-icon svg {
    width: 28px;
    height: 28px;
}

/* Token Colors */
.whale-alert .token-name-colored[data-token="USDC"] {
    color: #2775ca;
}

.whale-alert .token-name-colored[data-token="USDT"] {
    color: #26a17b;
}

.whale-alert .token-name-colored[data-token="ETH"],
.whale-alert .token-name-colored[data-token="WETH"] {
    color: #8b5cf6;
}

.whale-alert .token-name-colored[data-token="LINK"] {
    color: #375bd2;
}

.whale-alert .token-name-colored[data-token="BTC"] {
    color: #f7931a;
}

/* Whale Type Tags */
.whale-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 4px;
    margin-bottom: 4px;
}

.whale-tag-exchange {
    background: rgba(37, 117, 202, 0.15);
    border: 1px solid rgba(37, 117, 202, 0.3);
    color: #4a9eff;
}

.whale-tag-exchange-wallet {
    background: rgba(37, 117, 202, 0.15);
    border: 1px solid rgba(37, 117, 202, 0.3);
    color: #4a9eff;
}

.whale-tag-wallet-exchange {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
}

.whale-tag-wallet {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
}

.whale-tag-unknown {
    background: rgba(107, 114, 128, 0.15);
    border: 1px solid rgba(107, 114, 128, 0.3);
    color: #9ca3af;
}

.whale-tag-icon {
    font-size: 0.75rem;
}

.whale-tag-text {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

/* Alert Amount Section */
.whale-alert .alert-amount-section {
    margin-bottom: 6px;
}

.whale-alert .alert-amount-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.whale-alert .amount-icon {
    font-size: 1rem;
}

.whale-alert .usd-value-row {
    margin-top: 2px;
}

.whale-alert .whale-indicators-row {
    margin-bottom: 6px;
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
}

.whale-alert .alert-content {
    flex: 1;
    min-width: 0;
}

.whale-alert .alert-main-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.whale-alert .alert-main-line .amount {
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-color);
}

.whale-alert .alert-main-line .token-name {
    color: #9ca3af;
}

.whale-alert .alert-main-line .usd-value {
    color: #9ca3af;
}

.whale-alert .transfer-text {
    color: #c0c0c0;
    font-size: 0.9em;
    line-height: 1.4;
}

.whale-alert .alert-footer {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.whale-alert .alert-footer .timestamp {
    color: #9ca3af;
    font-size: 0.85em;
}

.whale-alert .alert-footer .view-details {
    display: inline-block;
    padding: 5px 14px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.whale-alert .alert-footer .view-details:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.whale-alert .token-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.whale-alert .token-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: white;
}

.whale-alert .token-icon.eth {
    /* Използваме предоставеното изображение (webp) → без фон */
    background: none;
    padding: 0;
}

.whale-alert .token-icon.usdc {
    /* Използваме предоставеното изображение (webp) → без фон */
    background: none;
    padding: 0;
}

.whale-alert .token-icon.usdt {
    /* Използваме предоставеното изображение (webp) → без фон */
    background: none;
    padding: 0;
}

.whale-alert .token-icon.link {
    /* За LINK използваме вграден SVG, затова не слагаме фон */
    background: none;
    padding: 0;
}

.whale-alert .token-icon.pyusd {
    /* Използваме предоставеното изображение (webp) → без фон */
    background: none;
    padding: 0;
}

.whale-alert .token-icon.btc {
    background: linear-gradient(135deg, #f7931a, #e8821e);
}

.whale-alert .token-name {
    color: #00ff88;
    font-size: 1em;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.whale-alert .token-info .amount {
    font-size: 1.2em;
    font-weight: 700;
    color: #fff;
    margin-left: 8px;
}

.whale-alert .address-labels {
    margin: 8px 0;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.whale-alert .address-flow {
    display: flex;
    align-items: center;
    font-size: 0.85em;
}

.whale-alert .transfer-text {
    color: #b0b0b0;
    font-weight: 500;
    line-height: 1.4;
}

.whale-alert .alert-indicators {
    display: flex;
    gap: 2px;
}

.whale-alert .alert-indicator {
    font-size: 12px;
    opacity: 0.8;
}

/* Main Amount Display */
.whale-alert .amount-display {
    margin: 8px 0;
}

.whale-alert .amount {
    font-size: 1.3em;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.whale-alert .usd-value {
    color: #00d4aa;
    font-size: 1em;
    font-weight: 600;
    margin: 4px 0 0 0;
    text-shadow: 0 0 6px rgba(0, 212, 170, 0.3);
}

/* Card Footer */
.whale-alert .alert-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.whale-alert .timestamp {
    color: #888;
    font-size: 0.8em;
    font-weight: 500;
    opacity: 0.8;
}

.whale-alert .view-details {
    color: #00ff88;
    font-size: 0.8em;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 8px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 6px;
    background: rgba(0, 255, 136, 0.05);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.whale-alert .view-details:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.5);
    text-decoration: none;
    color: #00ff88;
}

/* Blurred whale alert styles */
.whale-alert.blurred {
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.whale-alert.blurred .blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.88);
    border-radius: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    padding: 20px;
    box-sizing: border-box;
}

.whale-alert.blurred .blur-content {
    text-align: center;
    padding: 0;
    max-width: 420px;
    width: 100%;
}

.whale-alert.blurred .blur-icon {
    font-size: 1.5em;
    margin-bottom: 8px;
    display: block;
}

.whale-alert.blurred .blur-title {
    color: #00ff88;
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
    line-height: 1.4;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}


.whale-alert.blurred .telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00ff88, #00d4aa);
    color: #000;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 255, 136, 0.4), 0 0 20px rgba(0, 255, 136, 0.2);
    border: none;
    cursor: pointer;
    min-width: 180px;
    justify-content: center;
}

.whale-alert.blurred .telegram-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.5), 0 0 30px rgba(0, 255, 136, 0.3);
    background: linear-gradient(135deg, #00d4aa, #00ff88);
}

.whale-alert.blurred .telegram-icon {
    font-size: 1.2em;
}

.whale-alert.blurred .button-text {
    font-weight: 700;
}




/* Live indicator next to title */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    font-size: 0.8em;
    font-weight: 600;
    white-space: nowrap; /* Prevent text from breaking */
    flex-shrink: 0; /* Prevent shrinking */
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff0000;
    animation: livePulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
}

@keyframes livePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
    }
    50% {
        transform: scale(1.4);
        opacity: 0.8;
        box-shadow: 0 0 12px rgba(255, 0, 0, 1);
    }
}

.live-text {
    color: #ff0000;
    text-shadow: 0 0 6px rgba(255, 0, 0, 0.8);
    font-weight: 700;
}

/* Whale Alert Animations */
@keyframes whaleAlertSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(-4px) scale(1.02);
    }
}

@keyframes whaleAlertGlow {
    0% {
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(0, 255, 136, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    50% {
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.4),
            0 0 40px rgba(0, 255, 136, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(0, 255, 136, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Dark Mode Support for Whale Alerts */
body.dark-mode #whale-alerts-section {
    background: #0a0a1a;
    border-color: #444;
}

body.dark-mode .whale-alert {
    background: #1a1a3a;
    border-color: #00ff88;
}

body.dark-mode .whale-alert.new {
    background: #2a1a4a;
    border-color: #00ff88;
}

body.dark-mode .whale-alert.blurred .blur-overlay {
    background: rgba(0, 0, 0, 0.9);
}


body.dark-mode #connection-status {
    background: #1a1a3a;
    border-color: #444;
}

/* Responsive Design for Whale Alerts */
@media (max-width: 1024px) {
    #whale-alerts-container {
        max-width: 100%;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    #whale-alerts-section {
        margin: 20px 0;
        padding: 15px;
    }
    
    #whale-alerts-container {
        gap: 10px;
        padding: 0;
    }
    
    .whale-alert {
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .whale-alert .token-name {
        font-size: 0.9em;
    }
    
    .whale-alert .amount {
        font-size: 1.2em;
    }
    
    .whale-alert .usd-value {
        font-size: 0.9em;
    }
    
    .whale-alert .timestamp {
        font-size: 0.75em;
    }
    
    .whale-alert .view-details {
        font-size: 0.75em;
        padding: 3px 6px;
    }
    
    .whale-alert.blurred .blur-content {
        padding: 12px;
        max-width: 100%;
        width: 100%;
    }
    
    .whale-alert.blurred .blur-icon {
        font-size: 1.3em;
        margin-bottom: 6px;
    }
    
    .whale-alert.blurred .blur-title {
        font-size: 0.9em;
        margin-bottom: 4px;
        white-space: nowrap;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    
    .whale-alert.blurred .telegram-button {
        padding: 6px 10px;
        font-size: 0.75em;
    }
}

@media (max-width: 480px) {
    #whale-alerts-container {
        gap: 8px;
    }
    
    .whale-alert {
        padding: 12px;
        min-height: 110px;
    }
    
    .whale-alert .token-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .whale-alert .token-name {
        font-size: 0.85em;
    }
    
    .whale-alert .amount {
        font-size: 1.1em;
    }
    
    .whale-alert .usd-value {
        font-size: 0.85em;
    }
    
    /* Mobile responsive for expanded cards */
    .whale-alert .transaction-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .whale-alert .addresses {
        font-size: 0.75em;
        padding: 10px;
    }
    
    .whale-alert .etherscan-link {
        font-size: 0.8em;
        padding: 6px 12px;
    }
    
    .whale-alert .expand-indicator {
        top: 12px;
        right: 12px;
        font-size: 1em;
    }
    
    .whale-alert.blurred .blur-content {
        padding: 10px;
        max-width: 100%;
        width: 100%;
    }
    
    .whale-alert.blurred .blur-icon {
        font-size: 1.2em;
        margin-bottom: 5px;
    }
    
    .whale-alert.blurred .blur-title {
        font-size: 0.85em;
        margin-bottom: 3px;
        white-space: nowrap;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    
    .whale-alert.blurred .telegram-button {
        padding: 5px 8px;
        font-size: 0.7em;
        gap: 4px;
    }
}

/* Loading Indicator */
.loading-indicator {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    margin: 20px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 255, 136, 0.2);
    border-top: 3px solid #00ff88;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.loading-indicator p {
    color: #00ff88;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

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

/* Hide loading indicator when data loads */
.whale-alerts-container.loaded .loading-indicator {
    display: none;
}

/* Skeleton Loading Styles for Whale Alerts */
.whale-alert-skeleton {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: none;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.whale-alert-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #333, #555, #333);
    opacity: 0.6;
}

.skeleton-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skeleton-token-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(90deg, #333, #555, #333);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-token-name {
    width: 60px;
    height: 16px;
    background: linear-gradient(90deg, #333, #555, #333);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    margin-left: 8px;
}

.skeleton-amount {
    width: 80px;
    height: 18px;
    background: linear-gradient(90deg, #333, #555, #333);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-usd-value {
    width: 120px;
    height: 16px;
    background: linear-gradient(90deg, #333, #555, #333);
    background-size: 200% 100%;
    border-radius: 4px;
    margin: 8px 0;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-transfer-text {
    width: 100%;
    height: 14px;
    background: linear-gradient(90deg, #333, #555, #333);
    background-size: 200% 100%;
    border-radius: 4px;
    margin: 8px 0;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.skeleton-timestamp {
    width: 60px;
    height: 12px;
    background: linear-gradient(90deg, #333, #555, #333);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-button {
    width: 50px;
    height: 24px;
    background: linear-gradient(90deg, #333, #555, #333);
    background-size: 200% 100%;
    border-radius: 6px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

@keyframes skeletonPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes skeletonShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Hide skeleton when real data loads */
.whale-alerts-container.loaded .whale-alert-skeleton {
    display: none;
}

/* No Data and Error Messages */
.no-data-message, .error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    margin: 20px 0;
}

.no-data-icon, .error-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.8;
}

.no-data-message h3, .error-message h3 {
    color: #00ff88;
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 600;
}

.no-data-message p, .error-message p {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.retry-button {
    background: linear-gradient(135deg, #00ff88, #00d4aa);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-color);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: var(--card-background);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

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

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
}

.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

.mobile-menu-link.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
}

.mobile-menu-link svg {
    flex-shrink: 0;
}

.mobile-menu-products {
    padding: 0.5rem 1.5rem 0.25rem;
}
.mobile-menu-products-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    display: block;
    margin-bottom: 0.5rem;
}
.mobile-menu-sublink {
    padding-left: 2rem !important;
    font-size: 0.95rem;
}
.mobile-menu-solana-new {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    gap: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
        position: absolute !important;
        top: 0.5rem !important;
        right: 1rem !important;
        z-index: 1001 !important;
    }
    
    .dark-mode-section {
        display: none !important;
    }
    
    .topbar {
        justify-content: flex-start !important;
        position: relative !important;
    }
    
    .logo-area {
        flex: 1 !important;
    }
}

@media (min-width: 1025px) {
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .dark-mode-section {
        display: flex !important;
    }
}

/* Active Navigation Link */
.guide-link.active {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    color: var(--primary-color);
}

body.dark-mode .guide-link.active {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

/* Bot name link styling - remove underline and keep visual appearance */
.bot-name-link {
    text-decoration: none !important;
    color: inherit;
}

.bot-name-link:hover {
    text-decoration: none !important;
    color: inherit;
}

.bot-name-link:visited {
    text-decoration: none !important;
    color: inherit;
}

.bot-name-link:focus {
    text-decoration: none !important;
    color: inherit;
}

.bot-name-link:active {
    text-decoration: none !important;
    color: inherit;
}

/* Extra small mobile footer optimizations */
@media (max-width: 480px) {
    .footer-content, footer {
        padding: 0.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .footer-actions {
        gap: 0.5rem !important;
        flex-direction: column !important;
    }
    
    .footer-link {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.75rem !important;
        min-width: 100px !important;
    }
    
    .donate-btn {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.7rem !important;
        min-width: 120px !important;
    }
    
    .donate-text {
        font-size: 0.7rem !important;
    }
    
    .donate-icon {
        font-size: 0.8rem !important;
    }
    
    .service-badges {
        gap: 0.3rem !important;
    }
    
    .service-badge {
        font-size: 0.6rem !important;
        padding: 0.1rem 0.3rem !important;
    }
    
    .powered-label {
        font-size: 0.6rem !important;
    }
    
    .footer-copyright {
        font-size: 0.75rem !important;
        padding-top: 1rem !important;
    }
    
    .scroll-to-top {
        width: 40px !important;
        height: 40px !important;
        right: 1rem !important;
        bottom: 1rem !important;
    }
}

/* Exchange Monitoring Visualization Styles */
.exchange-monitoring-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.monitoring-header {
    text-align: center;
    margin-bottom: 2rem;
}

.monitoring-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Emoji should be visible and not affected by gradient */
.monitoring-header h3 .emoji-icon {
    -webkit-text-fill-color: initial !important;
    background: none !important;
    color: inherit !important;
    font-style: normal;
    display: inline-block;
    filter: none;
}

/* Apply gradient only to text after emoji */
.monitoring-header h3 .gradient-text {
    color: var(--primary-color); /* Fallback */
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .monitoring-header h3 .gradient-text {
        background: none;
        color: var(--primary-color);
    }
}

/* Dark mode specific styles for emoji icons */
body.dark-mode .monitoring-header h3 .emoji-icon {
    opacity: 1;
    filter: none;
    color: #6366f1; /* Blue color for dark mode visibility */
}

body.dark-mode .monitoring-header h3 {
    color: #f3f4f6; /* Fallback for dark mode */
}

.monitoring-subtitle {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Monitoring CTA Button */
.monitoring-cta {
    margin-top: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.monitoring-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #10b981 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.75rem;
    box-shadow: 
        0 4px 20px rgba(99, 102, 241, 0.4),
        0 0 30px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.monitoring-view-listings-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #6366f1 100%);
    box-shadow: 
        0 4px 20px rgba(16, 185, 129, 0.4),
        0 0 30px rgba(99, 102, 241, 0.3);
}

.monitoring-view-listings-btn:hover {
    box-shadow: 
        0 8px 30px rgba(16, 185, 129, 0.5),
        0 0 40px rgba(99, 102, 241, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.monitoring-cta-button::before {
    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;
}

.monitoring-cta-button:hover::before {
    left: 100%;
}

.monitoring-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(99, 102, 241, 0.5),
        0 0 40px rgba(16, 185, 129, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.cta-icon {
    font-size: 1.25rem;
    animation: rocketPulse 2s ease-in-out infinite;
}

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

.cta-text {
    letter-spacing: 0.02em;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 2rem;
    margin-top: 0.5rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulseExchange 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

@keyframes livePulseExchange {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
        box-shadow: 0 0 12px rgba(16, 185, 129, 1);
    }
}

.live-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.exchanges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.exchange-card {
    position: relative;
    padding: 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.exchange-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0.75rem;
}

.exchange-card:hover::before {
    opacity: 1;
}

.exchange-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.exchange-card.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    animation: newTokenAlert 1s ease-out;
}

@keyframes newTokenAlert {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(16, 185, 129, 0);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    }
}

.exchange-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.exchange-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.monitoring-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: monitoringPulse 2s ease-in-out infinite;
}

@keyframes monitoringPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.exchange-card.active .monitoring-pulse {
    border-color: rgba(16, 185, 129, 0.6);
    animation: activePulse 1s ease-out;
}

@keyframes activePulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        border-color: rgba(16, 185, 129, 0.6);
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
        border-color: rgba(16, 185, 129, 0.2);
    }
}

.exchange-status {
    font-size: 0.7rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    opacity: 0.8;
}

.exchange-card.active .exchange-status {
    color: #10b981;
    opacity: 1;
    font-weight: 700;
}

.exchange-card.active::after {
    content: '🆕 NEW TOKEN';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: badgePulse 0.5s ease-out;
    z-index: 2;
}

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

/* Listing Notification Demo */
.listing-notification-demo {
    margin: 2.5rem 0;
    padding: 0;
}

.notification-demo-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.notification-demo-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.notification-demo-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.notification-preview-container {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
}

.telegram-notification-message {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(55, 65, 81, 0.8);
    border-radius: 0.75rem;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideInNotification 0.5s ease-out;
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.telegram-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc 0%, #005599 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.telegram-avatar-small svg {
    width: 18px;
    height: 18px;
}

.notification-content {
    flex: 1;
    position: relative;
}

.notification-line {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.notification-line:last-of-type {
    margin-bottom: 0.5rem;
}

.notification-text {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 400;
}

.notification-timestamp {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

@media (max-width: 768px) {
    .notification-preview-container {
        padding: 1rem;
    }
    
    .telegram-notification-message {
        max-width: 100%;
    }
    
    .notification-demo-header h4 {
        font-size: 1.1rem;
    }
}

.detection-info {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1.25rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.detection-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    animation: shimmer 3s infinite;
}

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

/* Speed Badge Container */
.speed-badge-container {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

/* Speed badge in header - smaller and centered */
header .speed-badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 2rem auto 0;
    text-align: center;
}

header .speed-badge {
    padding: 0.4rem 1rem;
    gap: 0.5rem;
}

header .speed-icon {
    font-size: 1rem;
}

header .speed-number {
    font-size: 1.2rem;
}

header .speed-unit {
    font-size: 0.75rem;
}

header .speed-label {
    font-size: 0.65rem;
}

/* Enhanced header subtitle for listings page */
.header-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    margin: 0.75rem auto 0.5rem;
    max-width: 800px;
    line-height: 1.5;
}

.subtitle-small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 0 auto 0.75rem;
    max-width: 700px;
    line-height: 1.4;
}

/* Better centering for header group */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header h1,
header h3,
header p,
header .speed-badge-container {
    text-align: center;
    width: 100%;
}

/* Enhanced speed badge */
.speed-badge-enhanced {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3), 0 0 40px rgba(16, 185, 129, 0.15);
}

.speed-badge-enhanced .speed-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    font-size: 0.7rem;
    line-height: 1.2;
}

.speed-label-line1,
.speed-label-line2 {
    display: block;
}

/* Listings CTA Button */
.listings-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1rem;
    max-width: 600px;
    gap: 0.25rem;
}

.listings-cta-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 14px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.listings-cta-button:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    border-color: rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.listings-cta-button .cta-icon {
    font-size: 1rem;
}

.listings-cta-button .cta-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.listings-cta-button .cta-subtext {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.cta-users-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin: 0;
    font-weight: 400;
}

/* Enhanced Live Indicator */
.listings-live-enhanced {
    font-size: 1.1em;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.21), 0 0 30px rgba(16, 185, 129, 0.105);
    position: sticky;
    top: 1rem;
    z-index: 100;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    backdrop-filter: blur(10px);
}

.listings-live-enhanced .live-dot {
    width: 12px;
    height: 12px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.56);
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.listings-live-enhanced .live-text {
    animation: livePulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .header-subtitle {
        font-size: 1rem;
        margin: 0.5rem auto 0.4rem;
    }
    
    .subtitle-small {
        font-size: 0.8rem;
    }
    
    .listings-cta-button {
        padding: 0.5rem 1.2rem;
    }
    
    .listings-cta-button .cta-text {
        font-size: 0.85rem;
    }
}

/* Speed Badge - Main Element - Horizontal Layout */
.speed-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    min-width: auto;
    transition: none;
    cursor: default;
    box-shadow: none;
    animation: none;
    backdrop-filter: blur(8px);
}

.speed-badge:hover {
    transform: none;
    box-shadow: none;
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 8px 32px rgba(16, 185, 129, 0.35),
            0 0 40px rgba(99, 102, 241, 0.25),
            inset 0 1px 8px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.01);
        box-shadow: 
            0 10px 36px rgba(16, 185, 129, 0.4),
            0 0 45px rgba(99, 102, 241, 0.3),
            inset 0 1px 8px rgba(255, 255, 255, 0.25);
    }
}

/* Speed Icon */
.speed-icon {
    font-size: 1.25rem;
    animation: none;
    filter: none;
    flex-shrink: 0;
    opacity: 0.9;
}

@keyframes lightningFlash {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
    }
    50% {
        transform: scale(1.08) rotate(-3deg);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9));
    }
}

/* Speed Content - Horizontal Layout */
.speed-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

/* Speed Value */
.speed-value {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.speed-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    text-shadow: none;
    line-height: 1;
    letter-spacing: -0.5px;
}

.speed-unit {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(16, 185, 129, 0.85);
    text-shadow: none;
}

/* Speed Label */
.speed-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(16, 185, 129, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: none;
}

/* Pulse Rings - Animated Background Effect - Subtle */
.speed-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 1rem;
    animation: pulseRing 2.5s ease-out infinite;
    z-index: 1;
}

.speed-pulse-ring.delay-1 {
    animation-delay: 1.25s;
    border-color: rgba(99, 102, 241, 0.3);
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 0;
    }
}

/* Detection Text */
.detection-text {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.detection-text strong {
    color: #10b981;
    font-weight: 700;
    font-size: 1.05em;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Dark mode adjustments */
body.dark-mode .exchange-monitoring-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

/* Whale Alerts section - same enclosing border as Smart Money Tracker */
.whale-monitoring-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Wallet Monitoring Section Styles */
.wallet-monitoring-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Wallet Badge - Same style as speed badge */
.wallet-badge-container {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.wallet-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(139, 92, 246, 0.12);
    border-radius: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.25);
    min-width: auto;
    transition: none;
    cursor: default;
    box-shadow: none;
    animation: none;
    backdrop-filter: blur(8px);
}

.wallet-badge:hover {
    transform: none;
    box-shadow: none;
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.25);
}

.wallet-icon {
    font-size: 1.25rem;
    animation: none;
    filter: none;
    flex-shrink: 0;
    opacity: 0.9;
}

.wallet-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.wallet-value {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.wallet-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b5cf6;
    text-shadow: none;
    line-height: 1;
    letter-spacing: -0.5px;
}

.wallet-unit {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(139, 92, 246, 0.8);
    text-shadow: none;
}

.wallet-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(139, 92, 246, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: none;
}

/* Blockchains Grid */
.blockchains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Blockchain Card */
.blockchain-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.blockchain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1rem;
}

.blockchain-card:hover::before {
    opacity: 1;
}

.blockchain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.blockchain-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.blockchain-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.blockchain-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    animation: monitoringPulse 2s ease-in-out infinite;
}

.blockchain-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.blockchain-features {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.blockchain-features .feature-item {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    opacity: 0.9;
    line-height: 1.5;
    text-align: center;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 0.5rem;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

/* Wallet Notification Demo */
.wallet-notification-demo {
    margin: 2.5rem 0;
    padding: 0;
}

.wallet-notification-demo .notification-demo-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.wallet-notification-demo .notification-demo-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.wallet-notification-demo .notification-demo-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.wallet-notifications-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.wallet-notification-wrapper {
    display: flex;
    justify-content: center;
}

.wallet-notification-preview-container {
    display: flex;
    justify-content: center;
    padding: 0;
}

.wallet-telegram-notification {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(55, 65, 81, 0.8);
    border-radius: 0.75rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideInNotification 0.5s ease-out;
    transition: opacity 0.5s ease-out, transform 0.3s ease;
}

.wallet-telegram-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc 0%, #005599 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wallet-telegram-avatar svg {
    width: 18px;
    height: 18px;
}

.wallet-notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.wallet-notif-line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.wallet-notif-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.wallet-notif-text {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 400;
    word-break: break-word;
}

.wallet-address {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 1.3rem;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wallet-notif-line .link-style {
    color: #60a5fa;
    text-decoration: underline;
    cursor: pointer;
}

.wallet-notif-line .link-style:hover {
    color: #93c5fd;
}

@media (max-width: 768px) {
    .wallet-notifications-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .wallet-notifications-container {
        padding: 1rem;
    }
    
    .wallet-telegram-notification {
        max-width: 100%;
    }
    
    .wallet-notification-demo .notification-demo-header h4 {
        font-size: 1.1rem;
    }
    
    .wallet-notif-text {
        font-size: 0.8rem;
    }
}

/* Dark mode for whale & wallet monitoring */
body.dark-mode .whale-monitoring-section,
body.dark-mode .wallet-monitoring-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-color: rgba(139, 92, 246, 0.15);
}

body.dark-mode .wallet-badge {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

body.dark-mode .wallet-number {
    color: #a78bfa;
}

body.dark-mode .wallet-unit {
    color: rgba(167, 139, 250, 0.85);
}

body.dark-mode .wallet-label {
    color: rgba(167, 139, 250, 0.9);
}

body.dark-mode .wallet-icon {
    opacity: 1;
}

body.light-mode .wallet-badge {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

/* Whale Notification Demo */
.whale-notification-demo {
    margin: 2.5rem 0;
    padding: 0;
}

.whale-notification-demo .notification-demo-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.whale-notification-demo .notification-demo-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.whale-notification-demo .notification-demo-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.whale-notification-preview-container {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
}

.whale-telegram-notification {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(55, 65, 81, 0.8);
    border-radius: 0.75rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideInNotification 0.5s ease-out;
    transition: opacity 0.5s ease-out, transform 0.3s ease;
}

.whale-telegram-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc 0%, #005599 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whale-telegram-avatar svg {
    width: 18px;
    height: 18px;
}

.whale-notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.whale-notif-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
}

.whale-notif-title {
    color: #60a5fa;
    font-size: 0.95rem;
    font-weight: 700;
}

.whale-notif-usd {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 400;
}

.whale-notif-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.whale-notif-line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.whale-notif-text {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 400;
    word-break: break-word;
}

.whale-notif-text .link-style {
    color: #60a5fa;
    text-decoration: underline;
    cursor: pointer;
}

.whale-notif-text .link-style:hover {
    color: #93c5fd;
}

@media (max-width: 768px) {
    .whale-notification-preview-container {
        padding: 1rem;
    }
    
    .whale-telegram-notification {
        max-width: 100%;
    }
    
    .whale-notification-demo .notification-demo-header h4 {
        font-size: 1.1rem;
    }
    
    .whale-notif-text {
        font-size: 0.8rem;
    }
}

/* DEX Notification Demo */
.dex-notification-demo {
    margin: 2.5rem 0;
    padding: 0;
}

.dex-notification-demo .notification-demo-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.dex-notification-demo .notification-demo-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.dex-notification-demo .notification-demo-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.dex-notifications-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dex-notification-wrapper {
    display: flex;
    justify-content: center;
}

.dex-telegram-notification {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(55, 65, 81, 0.8);
    border-radius: 0.75rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideInNotification 0.5s ease-out;
    transition: opacity 0.5s ease-out, transform 0.3s ease;
}

.dex-telegram-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc 0%, #005599 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dex-telegram-avatar svg {
    width: 18px;
    height: 18px;
}

.dex-notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dex-notif-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.dex-notif-title {
    color: #60a5fa;
    font-size: 0.95rem;
    font-weight: 700;
}

.dex-notif-section {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
}

.dex-notif-line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.dex-notif-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.dex-notif-text {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 400;
    word-break: break-word;
}

.dex-notif-text .link-style {
    color: #60a5fa;
    text-decoration: underline;
    cursor: pointer;
}

.dex-notif-text .link-style:hover {
    color: #93c5fd;
}

@media (max-width: 1024px) {
    .dex-notifications-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dex-telegram-notification {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .dex-notification-demo .notification-demo-header h4 {
        font-size: 1.1rem;
    }
    
    .dex-notif-text {
        font-size: 0.75rem;
    }
}

body.dark-mode .blockchain-card {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.15);
}

body.dark-mode .blockchain-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

body.dark-mode .blockchain-features .feature-item {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

body.dark-mode .exchange-monitoring-section .monitoring-header h3 .emoji-icon,
body.dark-mode .wallet-monitoring-section .monitoring-header h3 .emoji-icon {
    color: #8b5cf6; /* Purple color for dark mode visibility */
}

/* Gas Monitoring Section Styles */
.gas-monitoring-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(251, 191, 36, 0.08) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Gas Badge - Similar to wallet badge but with orange/yellow gradient */
.gas-badge-container {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.gas-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(245, 158, 11, 0.12);
    border-radius: 2rem;
    border: 1px solid rgba(245, 158, 11, 0.25);
    min-width: auto;
    transition: none;
    cursor: default;
    box-shadow: none;
    animation: none;
    backdrop-filter: blur(8px);
}

.gas-badge:hover {
    transform: none;
    box-shadow: none;
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
}

.gas-icon {
    font-size: 1.25rem;
    animation: none;
    filter: none;
    flex-shrink: 0;
    opacity: 0.9;
}

.gas-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.gas-value {
    display: inline;
    color: #10b981;
    font-weight: 600;
}

.gas-label-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f59e0b;
    text-shadow: none;
    line-height: 1;
    letter-spacing: -0.3px;
}

.gas-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(245, 158, 11, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: none;
}

/* Gas Levels Grid */
/* Gas Notification Demo Styles */
.gas-notification-demo {
    margin: 2.5rem 0;
    padding: 2rem;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 1.25rem;
    backdrop-filter: blur(10px);
}

.notification-demo-header {
    text-align: center;
    margin-bottom: 2rem;
}

.notification-demo-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.notification-demo-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.notification-demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

/* Telegram Notification Preview */
.telegram-notification-preview {
    background: #212121;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.telegram-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.telegram-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0088cc;
    flex-shrink: 0;
}

.telegram-avatar svg {
    width: 20px;
    height: 20px;
    display: block;
}

.telegram-info {
    flex: 1;
}

.telegram-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.telegram-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.notification-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-message {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border-left: 3px solid;
    animation: slideIn 0.5s ease-out;
    transition: opacity 0.5s ease-out, transform 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.notification-message[style*="display: flex"] {
    opacity: 1;
    transform: translateX(0);
}

.notification-message.alert-low {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.notification-message.alert-medium {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.notification-message.alert-high {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

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

.message-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
}

.message-title {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.message-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.6;
}

.threshold-value {
    color: #f59e0b;
    font-weight: 600;
}

.savings-text {
    color: #10b981;
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

.message-timestamp {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

/* Gas Alert Steps */
.gas-alert-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.alert-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.alert-step:hover {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateX(5px);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.notification-demo-cta {
    text-align: center;
    margin-top: 1.5rem;
}

.demo-alert-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border: none;
    border-radius: 0.75rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.demo-alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.demo-alert-btn:active {
    transform: translateY(0);
}

.gas-levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Gas Level Card */
.gas-level-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.gas-level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1rem;
}

.gas-level-card:hover::before {
    opacity: 1;
}

.gas-level-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
}

.gas-level-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.gas-level-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.gas-level-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    animation: monitoringPulse 2s ease-in-out infinite;
}

.gas-level-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.gas-level-features {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.gas-level-features .feature-item {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    opacity: 0.9;
    line-height: 1.5;
    text-align: center;
    background: rgba(245, 158, 11, 0.08);
    border-radius: 0.5rem;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

/* Dark mode for gas monitoring */
body.dark-mode .gas-monitoring-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
    border-color: rgba(245, 158, 11, 0.15);
}

body.dark-mode .gas-level-card {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.15);
}

body.dark-mode .gas-level-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

body.dark-mode .gas-level-features .feature-item {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

body.dark-mode .gas-monitoring-section .monitoring-header h3 .emoji-icon {
    color: #f59e0b; /* Orange color for gas section in dark mode */
}

body.dark-mode .gas-badge {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

body.dark-mode .gas-label-text {
    color: #fbbf24;
}

body.dark-mode .gas-label {
    color: rgba(251, 191, 36, 0.9);
}

body.dark-mode .gas-icon {
    opacity: 1;
}

body.light-mode .gas-badge {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

/* DEX Monitoring Section Styles */
.dex-monitoring-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.dex-badge-container {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.dex-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
    min-width: auto;
    transition: none;
    cursor: default;
    box-shadow: none;
    animation: none;
    backdrop-filter: blur(8px);
}

.dex-badge:hover {
    transform: none;
    box-shadow: none;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
}

.dex-icon {
    font-size: 1.25rem;
    animation: none;
    filter: none;
    flex-shrink: 0;
    opacity: 0.9;
}

.dex-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.dex-value {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.dex-label-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b82f6;
    text-shadow: none;
    line-height: 1;
    letter-spacing: -0.3px;
}

.dex-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(59, 130, 246, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: none;
}

.dex-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.dex-platform-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.dex-platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1rem;
}

.dex-platform-card:hover::before {
    opacity: 1;
}

.dex-platform-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.dex-platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.dex-platform-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.dex-platform-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: monitoringPulse 2s ease-in-out infinite;
}

.dex-platform-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.dex-platform-features {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.dex-platform-features .feature-item {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    opacity: 0.9;
    line-height: 1.5;
    text-align: center;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 0.5rem;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

body.dark-mode .dex-monitoring-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.15);
}

body.dark-mode .dex-platform-card {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
}

body.dark-mode .dex-platform-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

body.dark-mode .dex-platform-features .feature-item {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Solana card — optional web preview (DEX Alpha Alerts grid) */
.dex-platform-features .dex-solana-demo-cta {
    display: block;
    margin-top: 0.35rem;
    margin-bottom: 0;
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    color: #c4b5fd;
    background: rgba(99, 102, 241, 0.1);
    border: 1px dashed rgba(167, 139, 250, 0.45);
    border-radius: 0.5rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, border-style 0.2s ease;
}
.dex-platform-features .dex-solana-demo-cta:hover {
    color: #ede9fe;
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(20, 241, 149, 0.45);
    border-style: solid;
}
.dex-platform-features .dex-solana-demo-cta:focus-visible {
    outline: 2px solid rgba(20, 241, 149, 0.7);
    outline-offset: 2px;
}
body.dark-mode .dex-platform-features .dex-solana-demo-cta {
    color: #ddd6fe;
    background: rgba(124, 58, 237, 0.14);
    border-color: rgba(20, 241, 149, 0.28);
}
body.light-mode .dex-platform-features .dex-solana-demo-cta {
    color: #5b21b6;
    background: rgba(237, 233, 254, 0.95);
    border-color: rgba(124, 58, 237, 0.35);
}
body.light-mode .dex-platform-features .dex-solana-demo-cta:hover {
    color: #4c1d95;
    background: rgba(221, 214, 254, 0.98);
    border-color: rgba(16, 185, 129, 0.45);
}

body.dark-mode .dex-monitoring-section .monitoring-header h3 .emoji-icon {
    color: #3b82f6;
}

body.dark-mode .dex-badge {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

body.dark-mode .dex-label-text {
    color: #60a5fa;
}

body.dark-mode .dex-label {
    color: rgba(96, 165, 250, 0.9);
}

body.dark-mode .dex-icon {
    opacity: 1;
}

body.light-mode .dex-badge {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

body.dark-mode .exchange-card {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

body.dark-mode .exchange-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

body.dark-mode .detection-info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

body.dark-mode .speed-badge {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.35);
}

body.dark-mode .speed-number {
    color: #34d399;
}

body.dark-mode .speed-unit {
    color: rgba(52, 211, 153, 0.9);
}

body.dark-mode .speed-label {
    color: rgba(52, 211, 153, 0.95);
}

body.dark-mode .speed-icon {
    opacity: 1;
}

body.light-mode .speed-badge {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .exchange-monitoring-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .exchanges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .exchange-card {
        padding: 1rem;
    }
    
    .monitoring-header h3 {
        font-size: 1.25rem;
    }
    
    .monitoring-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .monitoring-cta {
        margin-top: 1.25rem;
    }
    
    .monitoring-cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
        gap: 0.6rem;
    }
    
    .cta-icon {
        font-size: 1.1rem;
    }
    
    /* Whale Alerts & Wallet Monitoring Tablet */
    .whale-monitoring-section,
    .wallet-monitoring-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .blockchains-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .blockchain-card {
        padding: 1.75rem 1.25rem;
    }
    
    .blockchain-icon {
        font-size: 2.5rem;
    }
    
    .blockchain-features .feature-item {
        font-size: 0.85rem;
    }
    
    .detection-info {
        padding: 1.5rem 1rem;
    }
    
    .speed-badge {
        padding: 0.4rem 1rem;
        gap: 0.6rem;
    }
    
    .speed-content {
        gap: 0.5rem;
    }
    
    .speed-number {
        font-size: 1.25rem;
    }
    
    .speed-unit {
        font-size: 0.75rem;
    }
    
    .speed-icon {
        font-size: 1.1rem;
    }
    
    .speed-label {
        font-size: 0.65rem;
    }
    
    .detection-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .exchanges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .exchange-name {
        font-size: 0.85rem;
    }
    
    .exchange-status {
        font-size: 0.65rem;
    }
    
    .header-content {
        gap: 1.25rem;
    }
    
    .detection-info {
        padding: 1.25rem 0.75rem;
        margin-top: 1.5rem;
    }
    
    .speed-badge {
        padding: 0.4rem 1rem;
        gap: 0.6rem;
    }
    
    .speed-content {
        gap: 0.4rem;
    }
    
    .speed-number {
        font-size: 1.1rem;
    }
    
    .speed-unit {
        font-size: 0.7rem;
    }
    
    .speed-icon {
        font-size: 1.1rem;
    }
    
    .speed-label {
        font-size: 0.6rem;
        letter-spacing: 0.08em;
    }
    
    /* Gas Monitoring Mobile */
    .gas-levels-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .gas-level-card {
        padding: 1.5rem 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .gas-level-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .gas-level-name {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .gas-level-status {
        font-size: 0.7rem;
        margin-bottom: 1.25rem;
    }
    
    .gas-level-features {
        margin-top: 1.25rem;
    }
    
    .gas-level-features .feature-item {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gas-badge {
        padding: 0.4rem 1rem;
        gap: 0.6rem;
    }
    
    .gas-label-text {
        font-size: 0.95rem;
    }
    
    .gas-label {
        font-size: 0.6rem;
    }
    
    .gas-icon {
        font-size: 1.1rem;
    }
    
    .detection-text {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }
    
    .monitoring-cta {
        margin-top: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .monitoring-cta-button {
        padding: 0.75rem 1.75rem;
        font-size: 0.9rem;
        gap: 0.5rem;
        width: 100%;
        max-width: 300px;
    }
    
    .cta-icon {
        font-size: 1rem;
    }
    
    /* Whale Alerts & Wallet Monitoring Responsive */
    .whale-monitoring-section,
    .wallet-monitoring-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .blockchains-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .blockchain-card {
        padding: 1.5rem 1.25rem;
    }
    
    .wallet-badge {
        padding: 0.4rem 1rem;
        gap: 0.6rem;
    }
    
    .wallet-number {
        font-size: 1.25rem;
    }
    
    .wallet-unit {
        font-size: 0.75rem;
    }
    
    .wallet-icon {
        font-size: 1.1rem;
    }
    
    .wallet-label {
        font-size: 0.65rem;
    }
    
    .blockchain-icon {
        font-size: 2.5rem;
    }
    
    .blockchain-features .feature-item {
        font-size: 0.85rem;
    }
    
    /* Gas Monitoring Responsive */
    .gas-monitoring-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .gas-levels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .gas-level-card {
        padding: 1.5rem 1rem;
        min-width: 0;
    }
    
    .gas-level-features .feature-item {
        font-size: 0.8rem;
        padding: 0.45rem 0.65rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* DEX Monitoring Tablet */
    .dex-platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .dex-platform-card {
        padding: 1.5rem 1rem;
        min-width: 0;
    }
    
    .dex-platform-features .feature-item {
        font-size: 0.8rem;
        padding: 0.45rem 0.65rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gas-badge {
        padding: 0.4rem 1rem;
        gap: 0.6rem;
    }
    
    /* Gas Notification Demo Mobile */
    .gas-notification-demo {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .notification-demo-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .telegram-notification-preview {
        padding: 1.25rem;
    }
    
    .notification-message {
        padding: 0.875rem;
    }
    
    .message-icon {
        font-size: 1.25rem;
    }
    
    .message-title {
        font-size: 0.9rem;
    }
    
    .message-text {
        font-size: 0.8rem;
    }
    
    .gas-alert-steps {
        gap: 1rem;
    }
    
    .alert-step {
        padding: 1rem;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .step-content h5 {
        font-size: 0.95rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
    
    .demo-alert-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    
    /* DEX Monitoring Mobile */
    .dex-monitoring-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .dex-platforms-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .dex-platform-card {
        padding: 1.5rem 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .dex-platform-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .dex-platform-name {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .dex-platform-status {
        font-size: 0.7rem;
        margin-bottom: 1.25rem;
    }
    
    .dex-platform-features {
        margin-top: 1.25rem;
    }
    
    .dex-platform-features .feature-item {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .dex-badge {
        padding: 0.4rem 1rem;
        gap: 0.6rem;
    }
    
    .dex-label-text {
        font-size: 0.95rem;
    }
    
    .dex-label {
        font-size: 0.6rem;
    }
    
    .dex-icon {
        font-size: 1.1rem;
    }
    
    .gas-label-text {
        font-size: 1rem;
    }
    
    .gas-label {
        font-size: 0.65rem;
    }
    
    .gas-icon {
        font-size: 1.1rem;
    }
    
    .gas-level-icon {
        font-size: 2.5rem;
    }
    
    .gas-level-features .feature-item {
        font-size: 0.85rem;
    }
}

/* ============================================
   BLOG STYLES
   ============================================ */

.blog-header {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-header h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Emoji should be visible and not affected by gradient */
.blog-header h1 .emoji-icon {
    -webkit-text-fill-color: initial !important;
    background: none !important;
    color: inherit !important;
    font-style: normal;
    display: inline-block;
    filter: none;
    font-size: 2rem;
}

/* Apply gradient only to text after emoji */
.blog-header h1 .gradient-text {
    color: var(--primary-color); /* Fallback */
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .blog-header h1 .gradient-text {
        background: none;
        color: var(--primary-color);
    }
}

/* Dark mode specific styles for emoji icon */
body.dark-mode .blog-header h1 .emoji-icon {
    opacity: 1;
    filter: none;
    color: #6366f1; /* Blue color for dark mode visibility - same as Live Exchange Monitoring */
}

.blog-header .subtitle {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Blog Search */
.blog-search-container {
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.blog-search-box:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.blog-search-icon {
    color: #a78bfa;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.blog-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
}

.blog-search-input::placeholder {
    color: #9ca3af;
}

.blog-search-clear {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 0.25rem;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.blog-search-clear:hover {
    color: #ef4444;
}

.blog-search-results {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af;
}

.blog-search-results span {
    color: #a78bfa;
    font-weight: 600;
}

/* Light mode search */
body.light-mode .blog-search-box {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .blog-search-box:focus-within {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.08);
}

body.light-mode .blog-search-input {
    color: #1f2937;
}

body.light-mode .blog-search-input::placeholder {
    color: #6b7280;
}

/* Dark mode search */
body.dark-mode .blog-search-box {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
}

body.dark-mode .blog-search-box:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.18);
}

.blog-main {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* Blog Articles Container */
.blog-articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

/* Blog Article Card */
.blog-article-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px rgba(99, 102, 241, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

.blog-article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.25rem;
    pointer-events: none;
}

.blog-article-card:hover::before {
    opacity: 1;
}

.blog-article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 8px 24px rgba(99, 102, 241, 0.2),
        0 3px 12px rgba(0, 0, 0, 0.12);
}

.blog-article-header {
    margin-bottom: 0.75rem;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.blog-article-date {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.blog-article-category {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.4rem;
    color: #a78bfa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.blog-article-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.blog-article-content {
    flex: 1;
    margin-bottom: 1rem;
}

.blog-article-excerpt {
    color: #9ca3af;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.blog-article-footer {
    margin-top: auto;
}

.blog-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    color: #fff;
    padding: 0.5rem 1.125rem;
    border-radius: 0.6rem;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 3px 12px rgba(139, 92, 246, 0.25),
        0 1px 6px rgba(6, 182, 212, 0.18);
    position: relative;
    overflow: hidden;
}

.blog-read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-read-more-btn:hover::before {
    opacity: 1;
}

.blog-read-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 16px rgba(139, 92, 246, 0.35),
        0 2px 8px rgba(6, 182, 212, 0.25);
}

.blog-read-more-btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.blog-read-more-btn:hover svg {
    transform: translateX(4px);
}

.blog-read-more-btn span,
.blog-read-more-btn svg {
    position: relative;
    z-index: 1;
}

/* Blog Loading State */
.blog-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #9ca3af;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(99, 102, 241, 0.2);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Blog Empty State */
.blog-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.blog-empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Blog Error State */
.blog-error {
    text-align: center;
    padding: 4rem 2rem;
    color: #ef4444;
}

.blog-error a {
    color: #6366f1;
    text-decoration: none;
    margin-top: 1rem;
    display: inline-block;
}

.blog-error a:hover {
    text-decoration: underline;
}

/* Article Detail Page */
.article-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Blog article layout with sidebar */
.blog-article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.blog-article-main {
    min-width: 0; /* Prevents overflow */
}

.blog-article-sidebar {
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

/* Responsive: stack on mobile */
@media (max-width: 1024px) {
    .blog-article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-article-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.blog-back-link:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(-4px);
}

.blog-back-link-bottom {
    margin-top: 3rem;
    margin-bottom: 0;
    display: inline-flex;
}

.blog-article-full {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1.25rem;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.15),
        0 2px 16px rgba(0, 0, 0, 0.1);
}

.blog-article-full-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.blog-article-full-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-article-full-date {
    font-size: 0.9rem;
    color: #9ca3af;
    font-weight: 500;
}

.blog-article-full-category {
    font-size: 0.8rem;
    padding: 0.3rem 0.85rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.5rem;
    color: #a78bfa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-article-full-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Emoji icon in article title - separate from gradient text */
.blog-article-full-title .emoji-icon {
    -webkit-text-fill-color: initial !important;
    background: none !important;
    color: inherit !important;
    font-style: normal;
    display: inline-block;
    filter: none;
    font-size: 2.5rem;
}

/* Apply gradient only to text after emoji */
.blog-article-full-title .gradient-text {
    color: var(--primary-color); /* Fallback */
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .blog-article-full-title .gradient-text {
        background: none;
        color: var(--primary-color);
    }
}

/* Dark mode specific styles for emoji icon */
body.dark-mode .blog-article-full-title .emoji-icon {
    opacity: 1;
    color: var(--text-color);
}

.blog-article-full-body {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-article-full-body p {
    margin-bottom: 1.5rem;
    color: #e5e7eb;
}

.blog-article-full-body p:last-child {
    margin-bottom: 0;
}

.blog-article-full-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-article-full-body h2:first-of-type {
    margin-top: 0;
}

.blog-article-full-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-article-full-body ul,
.blog-article-full-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: #e5e7eb;
}

.blog-article-full-body ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

.blog-article-full-body ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.blog-article-full-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: bold;
    font-size: 1.2rem;
}

.blog-article-full-body ol {
    list-style-type: decimal;
}

/* Dark mode: keep headings, bullets and emojis visible (no transparent gradient on h2) */
body.dark-mode .blog-article-full-body h2 {
    -webkit-text-fill-color: initial;
    color: #c4b5fd;
    background: none;
    background-clip: unset;
}

body.dark-mode .blog-article-full-body ul li::before {
    color: #c4b5fd;
}

body.dark-mode .blog-article-full-body ol li::marker {
    color: #c4b5fd;
}

/* Daily briefing / multi-source roundup layout */
.blog-bulletin-lead {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border-left: 4px solid #06b6d4;
    background: rgba(6, 182, 212, 0.08);
}

.blog-bulletin-section {
    margin-top: 2.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.blog-bulletin-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.blog-bulletin-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.35);
    color: var(--text-color);
    background: none;
    -webkit-text-fill-color: initial;
}

body.dark-mode .blog-bulletin-section-title {
    color: #e5e7eb;
}

.blog-bulletin-item {
    margin-bottom: 2.25rem;
    padding: 1.35rem 1.5rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.blog-bulletin-item:last-child {
    margin-bottom: 0;
}

.blog-bulletin-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    line-height: 1.35;
    color: var(--text-color);
}

body.dark-mode .blog-bulletin-item-title {
    color: #f3f4f6;
}

.blog-bulletin-item p {
    margin-bottom: 1rem;
}

.blog-bulletin-item p:last-of-type {
    margin-bottom: 0;
}

.blog-bulletin-why {
    margin-top: 1rem !important;
    margin-bottom: 1.25rem !important;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid #8b5cf6;
    font-size: 0.98rem;
}

.blog-bulletin-why strong {
    color: #c4b5fd;
}

body.light-mode .blog-bulletin-item {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(148, 163, 184, 0.35);
}

body.light-mode .blog-bulletin-lead {
    background: rgba(6, 182, 212, 0.06);
    color: #1e293b;
}

body.light-mode .blog-bulletin-why {
    background: rgba(139, 92, 246, 0.08);
}

body.light-mode .blog-bulletin-why strong {
    color: #5b21b6;
}

.blog-bulletin-source-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-bulletin-source-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.45);
    color: #fff !important;
}

.blog-bulletin-outro {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    font-style: italic;
    opacity: 0.95;
}

/* CTA Block for Telegram Bot */
.blog-cta-block {
    margin: 3rem 0;
    padding: 0;
}

.blog-cta-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 1.25rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.2),
        0 2px 16px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.blog-cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Emoji should be visible and not affected by gradient */
.blog-cta-title .blog-cta-emoji {
    -webkit-text-fill-color: initial !important;
    background: none !important;
    color: inherit !important;
    font-style: normal;
    display: inline-block;
    filter: none;
    font-size: 1.75rem;
}

/* Apply gradient only to text after emoji */
.blog-cta-title .blog-cta-title-text {
    color: var(--primary-color); /* Fallback */
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark mode specific styles for emoji icons */
body.dark-mode .blog-cta-title .blog-cta-emoji {
    opacity: 1;
    filter: none;
    color: #6366f1; /* Blue color for dark mode visibility */
}

.blog-cta-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e5e7eb;
    margin: 0 0 1.5rem 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-cta-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto 2rem auto;
    max-width: 600px;
    text-align: left;
}

.blog-cta-benefits li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: #e5e7eb;
    font-size: 1rem;
    line-height: 1.6;
}

.blog-cta-benefits li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

.blog-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
    border: none;
    cursor: pointer;
}

.blog-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

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

.blog-cta-button-icon {
    font-size: 1.3rem;
}

.blog-cta-button-text {
    font-size: 1.1rem;
}

/* Light mode CTA */
body.light-mode .blog-cta-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

body.light-mode .blog-cta-description {
    color: #374151;
}

body.light-mode .blog-cta-benefits li {
    color: #374151;
}

/* Dark mode CTA */
body.dark-mode .blog-cta-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Internal Links Section for SEO */
.blog-internal-links {
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.blog-internal-links-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-internal-links-content p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.blog-internal-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-internal-links-list li {
    margin-bottom: 1rem;
    padding: 0;
}

.blog-internal-links-list li::before {
    display: none;
}

.blog-internal-links-list li a {
    display: block;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 0.75rem;
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.blog-internal-links-list li a:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(4px);
}

.blog-internal-links-list li a strong {
    display: block;
    color: #a78bfa;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

body.dark-mode .blog-internal-links {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

body.dark-mode .blog-internal-links-content p {
    color: #9ca3af;
}

body.dark-mode .blog-internal-links-list li a {
    background: rgba(99, 102, 241, 0.1);
    color: #f3f4f6;
}

body.dark-mode .blog-internal-links-list li a:hover {
    background: rgba(99, 102, 241, 0.2);
}

.blog-article-full-body ol li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    padding-left: 0.5rem;
}

.blog-article-full-body strong {
    font-weight: 600;
    color: var(--text-color);
}

/* Blog Article Tables - Simple and Clean */
.blog-table-wrapper {
    margin: 2.5rem 0;
    overflow-x: auto;
    background: transparent;
    width: 100%;
    max-width: 100%;
}

.blog-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: transparent;
    table-layout: fixed;
}

.blog-table col:nth-child(1) {
    width: 18%;
}

.blog-table col:nth-child(2) {
    width: 11%;
}

.blog-table col:nth-child(3) {
    width: 11%;
}

.blog-table col:nth-child(4) {
    width: 14%;
}

.blog-table col:nth-child(5) {
    width: 14%;
}

.blog-table col:nth-child(6) {
    width: 32%;
}

.blog-table th {
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-color);
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: normal;
    word-wrap: break-word;
    background: rgba(99, 102, 241, 0.1);
}

.blog-table th:first-child {
    text-align: left;
    padding-left: 0.75rem;
}

.blog-table td {
    padding: 0.625rem 0.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--text-color);
    vertical-align: middle;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    background: transparent;
    font-size: 0.8rem;
}

.blog-table td:first-child {
    text-align: left;
    padding-left: 0.75rem;
    font-weight: 600;
    color: #a78bfa;
}

/* Responsive table */
@media (max-width: 768px) {
    .blog-table-wrapper {
        margin: 2rem 0;
    }
    
    .blog-table {
        font-size: 0.75rem;
    }
    
    .blog-table th {
        padding: 0.625rem 0.375rem;
        font-size: 0.7rem;
    }
    
    .blog-table td {
        padding: 0.5rem 0.375rem;
        font-size: 0.7rem;
    }
    
    .blog-table th:first-child,
    .blog-table td:first-child {
        padding-left: 0.5rem;
    }
}

/* Light mode table styles */
body.light-mode .blog-table th {
    border-color: rgba(99, 102, 241, 0.25);
    color: #1f2937;
    background: rgba(99, 102, 241, 0.08);
}

body.light-mode .blog-table td {
    color: #374151;
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .blog-table td:first-child {
    color: #6366f1;
}

/* Dark mode table styles */
body.dark-mode .blog-table th {
    border-color: rgba(99, 102, 241, 0.35);
    background: rgba(99, 102, 241, 0.12);
}

body.dark-mode .blog-table td {
    border-color: rgba(99, 102, 241, 0.25);
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-articles-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .blog-article-card {
        padding: 1rem;
    }
    
    .blog-article-title {
        font-size: 1.05rem;
    }
    
    .blog-article-excerpt {
        font-size: 0.8rem;
    }
    
    .blog-article-full {
        padding: 1.5rem 1.25rem;
    }
    
    .blog-article-full-title {
        font-size: 1.75rem;
    }
    
    .blog-article-full-title .emoji-icon {
        font-size: 1.75rem;
    }
    
    .blog-header h1 {
        font-size: 1.75rem;
    }
    
    .blog-header .subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .blog-articles-container {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .blog-article-card {
        padding: 0.875rem;
    }
    
    .blog-article-title {
        font-size: 1rem;
    }
    
    .blog-article-excerpt {
        font-size: 0.75rem;
    }
    
    .blog-read-more-btn {
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
    }
    
    .blog-article-full {
        padding: 1.25rem 1rem;
    }
    
    .blog-article-full-title {
        font-size: 1.5rem;
    }
    
    .blog-article-full-title .emoji-icon {
        font-size: 1.5rem;
    }
    
    .blog-article-full-body {
        font-size: 0.95rem;
    }
    
    .blog-header h1 {
        font-size: 1.5rem;
    }
    
    .blog-cta-content {
        padding: 1.5rem 1.25rem;
    }
    
    .blog-cta-title {
        font-size: 1.5rem;
    }
    
    .blog-cta-description {
        font-size: 0.95rem;
    }
    
    .blog-cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Light Mode Blog Styles */
body.light-mode .blog-article-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .blog-article-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
}

body.light-mode .blog-article-excerpt {
    color: #6b7280;
}

body.light-mode .blog-article-full {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .blog-article-full-body p {
    color: #374151;
}

body.light-mode .blog-article-full-body ul,
body.light-mode .blog-article-full-body ol {
    color: #374151;
}

body.light-mode .blog-article-full-header {
    border-bottom-color: rgba(99, 102, 241, 0.15);
}

/* Dark Mode Blog Styles */
body.dark-mode .blog-article-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.25);
}

body.dark-mode .blog-article-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
}

body.dark-mode .blog-article-full {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.25);
}

body.dark-mode .blog-article-full-header {
    border-bottom-color: rgba(99, 102, 241, 0.25);
}

/* Blog Sidebar Styles */
.blog-sidebar-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1.25rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.15),
        0 2px 16px rgba(0, 0, 0, 0.1);
}

.blog-sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-sidebar-article-card {
    display: block;
    text-decoration: none;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.blog-sidebar-article-card:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.blog-sidebar-article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.blog-sidebar-article-date {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.blog-sidebar-article-category {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.375rem;
    color: #a78bfa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-sidebar-article-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-sidebar-article-excerpt {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-sidebar-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    min-height: 200px;
}

/* Light mode sidebar styles */
body.light-mode .blog-sidebar-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .blog-sidebar-title {
    color: #1f2937;
    border-bottom-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .blog-sidebar-article-card {
    background: rgba(99, 102, 241, 0.03);
    border-color: rgba(99, 102, 241, 0.1);
}

body.light-mode .blog-sidebar-article-card:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

body.light-mode .blog-sidebar-article-title {
    color: #1f2937;
}

body.light-mode .blog-sidebar-article-excerpt {
    color: #6b7280;
}

body.light-mode .blog-sidebar-article-date {
    color: #6b7280;
}

/* ============================================
   CRYPTO PRICES PAGE STYLES
   ============================================ */

/* Market Overview Cards */
.market-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}

.market-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
}

.market-card-label {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.market-card-value {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.market-card-change {
    font-size: 0.875rem;
    font-weight: 600;
}

.market-card-change.positive {
    color: #10b981;
}

.market-card-change.negative {
    color: #ef4444;
}

/* Chart Section */
.chart-section {
    margin-bottom: 2rem;
}

.chart-subtitle-wrapper {
    margin-bottom: 0.75rem;
    text-align: center;
}

.chart-subtitle {
    font-size: 0.8125rem;
    color: rgba(156, 163, 175, 0.7);
    margin: 0;
    font-weight: 400;
}

/* Sticky Chart Controls */
.chart-sticky-controls {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.75rem 0;
    margin-bottom: 1rem;
    display: none;
    justify-content: center;
    transition: all 0.3s ease;
}

.chart-sticky-controls.visible {
    display: flex;
}

body.dark-mode .chart-sticky-controls {
    background: rgba(17, 24, 39, 0.95);
}

.chart-container {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 1.25rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    overflow: visible;
    width: 100%;
    min-height: 500px;
    position: relative;
    box-shadow: 
        inset 0 1px 2px rgba(99, 102, 241, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

#tradingview-widget {
    width: 100% !important;
    min-width: 100% !important;
    min-height: 500px !important;
    height: 500px !important;
    overflow: visible !important;
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Ensure chart container is visible at all zoom levels */
.chart-container > div {
    width: 100% !important;
    min-width: 100% !important;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.chart-controls {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.chart-btn {
    padding: 0.4rem 0.85rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.chart-btn.active {
    background: rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
    color: #a78bfa;
}

.chart-fullscreen-btn {
    padding: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.chart-fullscreen-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

.chart-fullscreen-btn svg {
    width: 18px;
    height: 18px;
}

/* Fullscreen mode styles */
.chart-container.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 99999 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: #18181b !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    margin: 0 !important;
    transform: none !important;
}

.chart-container.fullscreen .chart-header {
    display: none !important;
}

.chart-container.fullscreen #tradingview-widget {
    flex: 1;
    height: 100% !important;
    min-height: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    position: relative;
}

.chart-container.fullscreen .chart-fullscreen-btn svg {
    transform: rotate(45deg);
}

/* Fullscreen exit button - floating in top right corner of chart */
.chart-container.fullscreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

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

.chart-container.fullscreen .chart-exit-fullscreen-btn {
    position: fixed !important;
    top: 0.5rem;
    right: 3.5rem;
    z-index: 100000 !important;
    background: rgba(24, 24, 27, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.375rem;
    padding: 0.375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 28px;
    height: 28px;
}

.chart-container.fullscreen .chart-exit-fullscreen-btn svg {
    width: 14px;
    height: 14px;
}

.chart-container.fullscreen .chart-exit-fullscreen-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: scale(1.05);
}

.chart-container.fullscreen .chart-exit-fullscreen-btn svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
    stroke-width: 2;
}

body.light-mode .chart-container.fullscreen .chart-exit-fullscreen-btn {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(99, 102, 241, 0.2);
}

body.light-mode .chart-container.fullscreen .chart-exit-fullscreen-btn svg {
    color: #1f2937;
}

/* Ensure body and html don't interfere with fullscreen */
body:has(.chart-container.fullscreen),
html:has(.chart-container.fullscreen) {
    overflow: hidden !important;
    position: relative !important;
}

/* Alternative for browsers that don't support :has() */
body.fullscreen-chart-active,
html.fullscreen-chart-active {
    overflow: hidden !important;
    position: relative !important;
}

/* SEO Content Section */
.seo-content-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.seo-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.seo-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.seo-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.seo-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.seo-content li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.9;
}

.seo-content li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
}

.seo-content strong {
    color: var(--text-color);
    font-weight: 600;
    opacity: 1;
}

.seo-content a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.seo-content a:hover {
    color: #a78bfa;
    border-bottom-color: #a78bfa;
}

body.light-mode .seo-content a {
    color: #4f46e5;
}

body.light-mode .seo-content a:hover {
    color: #6366f1;
    border-bottom-color: #6366f1;
}

body.light-mode .seo-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    border-color: rgba(99, 102, 241, 0.1);
}

body.light-mode .seo-content p,
body.light-mode .seo-content li {
    color: #1f2937;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .seo-content {
        padding: 1.5rem;
    }
    
    .seo-content h2 {
        font-size: 1.5rem;
    }
    
    .seo-content h3 {
        font-size: 1.125rem;
    }
    
    .seo-content p,
    .seo-content li {
        font-size: 0.9375rem;
    }
}

/* Prices Section */
.prices-section {
    margin-bottom: 0;
}

.prices-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.prices-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.search-box {
    flex: 1;
    max-width: 300px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.15);
}

.search-input::placeholder {
    color: #6b7280;
}

/* Crypto Table */
.table-container {
    overflow-x: auto;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.crypto-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.crypto-table thead {
    background: rgba(99, 102, 241, 0.1);
}

.crypto-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    white-space: nowrap;
}

.crypto-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--text-color);
}

.crypto-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

.crypto-table tbody tr:last-child td {
    border-bottom: none;
}

.crypto-name-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.crypto-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.crypto-symbol {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.crypto-table .positive {
    color: #10b981;
}

.crypto-table .negative {
    color: #ef4444;
}

.sparkline-cell {
    padding: 0.5rem !important;
}

/* Tools Section */
.tools-section {
    margin-bottom: 2rem;
}

.tools-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

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

.tool-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Converter */
.converter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.converter-input-group {
    display: flex;
    gap: 0.5rem;
}

.converter-input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.converter-input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.15);
}

.converter-select {
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    min-width: 100px;
}

.converter-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: #6366f1;
    font-weight: bold;
}

.converter-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.converter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Calculator */
.calculator {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-input-group label {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 600;
}

.calc-input {
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.calc-input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.15);
}

.calc-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.calc-result {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.calc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.calc-result-item:last-child {
    border-bottom: none;
}

.calc-result-item.positive strong {
    color: #10b981;
}

.calc-result-item.negative strong {
    color: #ef4444;
}

/* Light mode styles */
body.light-mode .market-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .chart-container {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .chart-container.fullscreen {
    background: #ffffff;
}

body.light-mode .table-container {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .tool-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .crypto-table th,
body.light-mode .crypto-table td {
    color: #1f2937;
}

body.light-mode .search-input,
body.light-mode .converter-input,
body.light-mode .calc-input {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.15);
    color: #1f2937;
}

/* Responsive */
@media (max-width: 768px) {
    .market-overview {
        grid-template-columns: 1fr;
        gap: 0.75rem !important; /* Smaller gap between cards */
        margin-bottom: 1rem !important; /* Less margin */
    }
    
    .market-card {
        padding: 0.75rem !important; /* Smaller padding */
        border-radius: 0.75rem !important; /* Slightly smaller radius */
    }
    
    .market-card-label {
        font-size: 0.7rem !important; /* Smaller label */
        margin-bottom: 0.25rem !important;
    }
    
    .market-card-value {
        font-size: 1.25rem !important; /* Smaller value */
        margin-bottom: 0.25rem !important;
    }
    
    .market-card-change {
        font-size: 0.75rem !important; /* Smaller change text */
    }
    
    .chart-section {
        margin-bottom: 1.5rem;
    }
    
    .chart-container {
        padding: 1rem;
        min-height: 400px;
    }
    
    .chart-container.fullscreen {
        padding: 1rem;
    }
    
    #tradingview-widget {
        min-height: 400px !important;
        height: 400px !important;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .prices-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .crypto-table {
        font-size: 0.85rem;
    }
    
    .crypto-table th,
    .crypto-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* ===== NEW LISTINGS PAGE STYLES ===== */

/* Listings Filters - Clean & Organized */
.listings-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.03);
    border-radius: 0.75rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.filter-btn {
    padding: 0.5rem 1.75rem 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

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

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    border: 2px solid #6366f1;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 
        0 0 0 2px rgba(99, 102, 241, 0.2),
        0 4px 12px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.filter-btn.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Live Indicator */
.listings-live-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-radius: 0.75rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    width: fit-content;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

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

.live-text {
    font-weight: 700;
    color: #10b981;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.live-update-time {
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Exchange Grid Structure - 5 columns, 2 rows */
.listings-table-wrapper {
    margin-bottom: 2rem;
}

.listings-info-note {
    margin-top: 2rem;
    text-align: center;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 0.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Error and Empty States */
.error-message,
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 0.75rem;
    margin: 2rem auto;
    max-width: 500px;
}

.error-message p,
.empty-state p {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.retry-button {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

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

.info-note-text {
    color: var(--text-color);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.85;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.info-icon {
    font-size: 1rem;
    animation: lockPulse 2s ease-in-out infinite;
}

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

.blur-locked-text {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 500;
    text-align: center;
}

body.light-mode .listings-info-note {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

@media (max-width: 768px) {
    .listings-info-note {
        margin-top: 1.5rem;
        padding: 0.875rem;
        border-radius: 0.5rem;
    }
    
    .info-note-text {
        font-size: 0.8rem;
    }
}

.exchange-grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.exchange-column {
    display: flex;
    flex-direction: column;
    background: rgba(99, 102, 241, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.exchange-column:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

/* Exchange Header - Same style as homepage exchange cards */
.exchange-header-listing {
    position: relative;
    padding: 0.875rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.exchange-header-listing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exchange-column:hover .exchange-header-listing::before {
    opacity: 1;
}

.exchange-icon-listing {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.exchange-name-listing {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.monitoring-pulse-listing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: monitoringPulse 2s ease-in-out infinite;
}

.exchange-status-listing {
    font-size: 0.7rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    opacity: 0.8;
}

.listings-column {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 200px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar for listings column */
.listings-column::-webkit-scrollbar {
    width: 6px;
}

.listings-column::-webkit-scrollbar-track {
    background: rgba(99, 102, 241, 0.05);
    border-radius: 3px;
}

.listings-column::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}

.listings-column::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

.no-listings {
    color: var(--text-color);
    opacity: 0.4;
    font-size: 0.875rem;
    font-style: italic;
}

/* Listing Item - Clean & Minimal */
.listing-item {
    position: relative;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 0.5rem;
    padding: 0;
    width: 100%;
    transition: all 0.2s ease;
    overflow: hidden;
    flex-shrink: 0; /* Prevent items from shrinking */
    min-height: fit-content;
}

/* Locked placeholder – no real listing data in DOM, only overlay */
.listing-item-locked {
    min-height: 5rem;
}

.listing-item-link {
    display: block;
    padding: 0.75rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.listing-item-link:hover {
    background: rgba(99, 102, 241, 0.1);
}

.listing-item-link.blurred-link {
    pointer-events: none;
    cursor: default;
}

.listing-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.listing-item:hover .listing-item-link {
    background: transparent;
}

.listing-item-content {
    position: relative;
    z-index: 1;
}

.listing-item-content.blurred {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

.listing-pair-small {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.listing-meta-small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.listing-time-small {
    font-size: 0.7rem;
    color: var(--text-color);
    opacity: 0.6;
}

.listing-badge-small {
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.listing-badge-small.new {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.listing-badge-small.relisted {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

/* Blur Overlay Small */
.listing-blur-overlay-small {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    z-index: 10;
    transition: all 0.3s ease;
    cursor: pointer;
}

.listing-blur-overlay-small:hover {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.listing-blur-overlay-small:hover .blur-cta-small {
    transform: scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 136, 204, 0.6),
        0 0 30px rgba(0, 136, 204, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.blur-message-small {
    text-align: center;
    padding: 0.5rem;
}

.blur-text {
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    opacity: 0.9;
    line-height: 1.4;
}

.blur-cta-small {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #0088cc 0%, #00a8e8 50%, #0088cc 100%);
    background-size: 200% 200%;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 
        0 4px 16px rgba(0, 136, 204, 0.5),
        0 0 24px rgba(0, 136, 204, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: telegramPulse 2s ease-in-out infinite, telegramShine 3s linear infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blur-cta-small::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: telegramShimmer 2s ease-in-out infinite;
}

.blur-cta-small:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 24px rgba(0, 136, 204, 0.6),
        0 0 32px rgba(0, 136, 204, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #00a8e8 0%, #0088cc 50%, #00a8e8 100%);
    background-size: 200% 200%;
}

.blur-cta-small:active {
    transform: translateY(0) scale(1);
}

@keyframes telegramPulse {
    0%, 100% {
        box-shadow: 
            0 4px 16px rgba(0, 136, 204, 0.5),
            0 0 24px rgba(0, 136, 204, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 4px 20px rgba(0, 136, 204, 0.7),
            0 0 32px rgba(0, 136, 204, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes telegramShine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes telegramShimmer {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 0;
    }
}

/* Staggered animation for cards */
#listings-container .listing-card:nth-child(1) { --card-index: 0; }
#listings-container .listing-card:nth-child(2) { --card-index: 1; }
#listings-container .listing-card:nth-child(3) { --card-index: 2; }
#listings-container .listing-card:nth-child(4) { --card-index: 3; }
#listings-container .listing-card:nth-child(5) { --card-index: 4; }
#listings-container .listing-card:nth-child(6) { --card-index: 5; }
#listings-container .listing-card:nth-child(7) { --card-index: 6; }
#listings-container .listing-card:nth-child(8) { --card-index: 7; }
#listings-container .listing-card:nth-child(9) { --card-index: 8; }
#listings-container .listing-card:nth-child(10) { --card-index: 9; }

/* Listing Card - Abstract & Dynamic Design */
.listing-card {
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.06) 50%, rgba(236, 72, 153, 0.06) 100%);
    border: none;
    border-radius: 1.25rem;
    padding: 1rem;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(20px);
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 95% 100%, 0% 100%);
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--card-index, 0) * 0.2s);
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(0.5deg);
    }
}

/* Abstract geometric shapes in background */
.listing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotateShape 20s linear infinite;
    z-index: 0;
}

@keyframes rotateShape {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.listing-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: floatTriangle 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes floatTriangle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Animated gradient border effect */
.listing-card {
    background-image: 
        linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.06) 50%, rgba(236, 72, 153, 0.06) 100%),
        linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    background-size: 100% 100%, 200% 100%;
    background-position: center, -200% center;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: center, -200% center;
    }
    50% {
        background-position: center, 200% center;
    }
    100% {
        background-position: center, -200% center;
    }
}

.listing-card:hover {
    transform: translateY(-12px) rotate(-1deg) scale(1.05);
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 90% 100%, 0% 100%);
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.3),
        0 0 40px rgba(139, 92, 246, 0.2),
        inset 0 0 30px rgba(236, 72, 153, 0.1);
    animation: cardFloatHover 2s ease-in-out infinite;
}

@keyframes cardFloatHover {
    0%, 100% {
        transform: translateY(-12px) rotate(-1deg) scale(1.05);
    }
    50% {
        transform: translateY(-16px) rotate(-0.5deg) scale(1.06);
    }
}

.listing-card:hover::before {
    width: 250px;
    height: 250px;
    opacity: 0.25;
}

.listing-card:hover::after {
    width: 180px;
    height: 180px;
    opacity: 1;
}

.listing-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Abstract decorative lines */
.listing-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.5), transparent);
    animation: lineFlow 3s ease-in-out infinite;
}

@keyframes lineFlow {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

.listing-card-content.blurred {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

/* Exchange Badge - Abstract Design */
.listing-exchange-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 1.25rem;
    font-weight: 600;
    font-size: 0.7rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform: rotate(-1deg);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.listing-exchange-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: badgeShine 3s infinite;
}

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

.listing-card:hover .listing-exchange-badge {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

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

.exchange-name {
    color: var(--text-color);
}

/* Exchange-specific colors */
.exchange-binance { background: rgba(240, 185, 11, 0.15); border-color: rgba(240, 185, 11, 0.3); }
.exchange-coinbase { background: rgba(0, 82, 255, 0.15); border-color: rgba(0, 82, 255, 0.3); }
.exchange-kucoin { background: rgba(19, 193, 123, 0.15); border-color: rgba(19, 193, 123, 0.3); }
.exchange-okx { background: rgba(0, 0, 0, 0.15); border-color: rgba(0, 0, 0, 0.3); }
.exchange-mexc { background: rgba(0, 183, 238, 0.15); border-color: rgba(0, 183, 238, 0.3); }
.exchange-bybit { background: rgba(255, 242, 0, 0.15); border-color: rgba(255, 242, 0, 0.3); }
.exchange-bitget { background: rgba(0, 0, 0, 0.15); border-color: rgba(0, 0, 0, 0.3); }
.exchange-kraken { background: rgba(87, 113, 137, 0.15); border-color: rgba(87, 113, 137, 0.3); }
.exchange-crypto\.com { background: rgba(0, 0, 0, 0.15); border-color: rgba(0, 0, 0, 0.3); }
.exchange-gate { background: rgba(0, 0, 0, 0.15); border-color: rgba(0, 0, 0, 0.3); }

/* Pair Info */
.listing-pair-info {
    margin-bottom: 0.5rem;
}

.listing-pair {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: textGlow 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.2));
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.4));
    }
}

.listing-card:hover .listing-pair {
    animation: textPulse 1s ease-in-out infinite;
    transform: scale(1.05);
}

@keyframes textPulse {
    0%, 100% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1.08);
    }
}

.listing-symbol {
    font-size: 0.75rem;
    color: var(--text-color);
    opacity: 0.6;
    font-family: 'Courier New', monospace;
    position: relative;
    padding-left: 0.85rem;
}

.listing-symbol::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: rgba(99, 102, 241, 0.6);
    animation: symbolBlink 2s ease-in-out infinite;
}

@keyframes symbolBlink {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(3px);
    }
}

/* Meta Info */
.listing-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.listing-time {
    font-size: 0.75rem;
    color: var(--text-color);
    opacity: 0.7;
    position: relative;
    padding-left: 1rem;
}

.listing-time::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: rgba(16, 185, 129, 0.6);
    border-radius: 50%;
    animation: timeDotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

@keyframes timeDotPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50%) scale(1.3);
        opacity: 1;
    }
}

.listing-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.listing-badge.new {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.3) 100%);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
    }
}

.listing-badge.relisted {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Blur Overlay - Abstract Design */
.listing-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    z-index: 10;
    animation: fadeIn 0.5s ease, overlayPulse 4s ease-in-out infinite;
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 95% 100%, 0% 100%);
}

@keyframes overlayPulse {
    0%, 100% {
        background: 
            radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
            rgba(15, 23, 42, 0.92);
    }
    50% {
        background: 
            radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 20% 70%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
            rgba(15, 23, 42, 0.92);
    }
}

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

.blur-message {
    text-align: center;
    padding: 2rem;
    max-width: 280px;
}

.blur-message svg {
    color: #6366f1;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite, svgRotate 8s linear infinite;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.5));
}

@keyframes svgRotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

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

.blur-message p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.blur-cta-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.blur-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

/* Skeleton Loading */
.listing-card-skeleton {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 180px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.skeleton-exchange-badge,
.skeleton-pair,
.skeleton-symbol,
.skeleton-timestamp {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-exchange-badge {
    width: 120px;
    height: 32px;
}

.skeleton-pair {
    width: 150px;
    height: 32px;
}

.skeleton-symbol {
    width: 100px;
    height: 20px;
}

.skeleton-timestamp {
    width: 80px;
    height: 20px;
}

/* Responsive Design for Listings */
@media (max-width: 1200px) {
    .exchange-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .listings-filters {
        gap: 0.4rem;
        padding: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.4rem 1.5rem 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .filter-btn.active::after {
        right: 0.4rem;
        font-size: 0.8rem;
    }
    
    .exchange-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .exchange-header {
        padding: 0.75rem;
    }
    
    .listings-column {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .listing-item {
        padding: 0;
    }
    
    .listing-item-link {
        padding: 0.6rem;
    }
    
    .listing-pair-small {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .exchange-grid-container {
        grid-template-columns: 1fr;
    }
}

body.light-mode .listing-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .listing-blur-overlay {
    background: rgba(255, 255, 255, 0.95);
}

/* View Live Demo Bubble */
.view-live-demo-bubble {
    display: inline-block;
    color: var(--text-color);
    font-size: 0.85rem;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
    animation: bubbleFloat 3s ease-in-out infinite;
}

.view-live-demo-bubble::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: bubbleShine 4s ease-in-out infinite;
}

.view-live-demo-bubble:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

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

@keyframes bubbleShine {
    0%, 100% {
        transform: rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg);
        opacity: 0.6;
    }
}


