/* ============================================
   SOLvage - Web3 Version Styles
   Modern, Clean, Crypto-Native Design
   ============================================ */

:root {
    /* Solana Gradient Colors */
    --sol-green: #00FFA3;
    --sol-cyan: #03E1FF;
    --sol-purple: #DC1FFF;
    --sol-pink: #FF6B6B;

    /* Dark Theme */
    --bg-primary: #0D0D0F;
    --bg-secondary: #141418;
    --bg-card: #1A1A1F;
    --bg-card-hover: #222228;
    --bg-elevated: #252530;

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #00FFA3 0%, #03E1FF 50%, #DC1FFF 100%);
    --gradient-button: linear-gradient(135deg, #00FFA3 0%, #03E1FF 100%);
    --gradient-glow: radial-gradient(circle, rgba(0, 255, 163, 0.15) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 60px rgba(0, 255, 163, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Layout */
    --container-width: 1200px;
    --section-padding: 100px;
    --border-radius: 16px;
}

/* ============================================
   Recovery Popup Notifications (Top-Left)
   ============================================ */

.recovery-popup-container {
    position: fixed;
    top: 70px;
    left: 16px;
    z-index: 1005;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.recovery-popup {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 10, 20, 0.92);
    border: 1px solid rgba(0, 255, 163, 0.25);
    border-radius: 10px;
    padding: 10px 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 163, 0.1);
    animation: popupSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards, popupFadeOut 0.4s ease-out 4.5s forwards;
    pointer-events: auto;
    max-width: 280px;
}

@keyframes popupSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes popupFadeOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.recovery-popup-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.2), rgba(3, 225, 255, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sol-green);
    font-size: 14px;
}

.recovery-popup-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.recovery-popup-wallet {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3px;
}

.recovery-popup-amount {
    display: flex;
    align-items: center;
    gap: 6px;
}

.recovery-popup-amount span:first-child {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.recovery-popup-amount .amount-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sol-green);
    text-shadow: 0 0 8px rgba(0, 255, 163, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .recovery-popup-container {
        top: 80px;
        left: 10px;
        right: 10px;
    }

    .recovery-popup {
        max-width: 100%;
        padding: 8px 12px;
    }
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
}

.hidden {
    display: none !important;
}

/* ============================================
   Referral Banner
   ============================================ */

.referral-banner {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: calc(100% - 2rem);
    max-width: 600px;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.referral-banner-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.15) 0%, rgba(3, 225, 255, 0.15) 100%);
    border: 1px solid rgba(0, 255, 163, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 255, 163, 0.2);
}

.referral-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.referral-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.referral-banner-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--sol-green);
}

.referral-banner-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.referral-banner-subtitle strong {
    color: var(--sol-cyan);
    font-family: 'IBM Plex Mono', monospace;
}

.referral-banner-close {
    flex-shrink: 0;
    padding: 0.5rem;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.referral-banner-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .referral-banner {
        top: 70px;
    }

    .referral-banner-content {
        flex-wrap: wrap;
    }

    .referral-banner-text {
        flex-basis: calc(100% - 4rem);
    }
}

/* ============================================
   Background Animation
   ============================================ */

.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: float 25s ease-in-out infinite;
}

.sphere-1 {
    width: 800px;
    height: 800px;
    background: var(--sol-purple);
    top: -300px;
    right: -200px;
}

.sphere-2 {
    width: 600px;
    height: 600px;
    background: var(--sol-green);
    bottom: -200px;
    left: -150px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: #030a1d;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    flex-wrap: nowrap;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

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

.footer-logo {
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-text .highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 1200px) {
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    padding-bottom: 6px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 1px;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 50%;
    left: 25%;
}

.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    gap: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
    flex-shrink: 0;
}

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

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

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

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle:active {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(3, 10, 29, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.mobile-nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

/* Wallet Connection */
.wallet-section {
    display: flex;
    align-items: center;
}

.connect-wallet-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--gradient-button);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.connect-wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.wallet-connected {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
}

.wallet-avatar {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: transparent;
    border-radius: 8px;
}

#walletAddress {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.disconnect-btn {
    padding: 0.5rem;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.disconnect-btn:hover {
    background: rgba(255, 107, 107, 0.1);
    color: var(--sol-pink);
}

/* ============================================
   Buttons
   ============================================ */

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-button);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.primary-btn.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 14px;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

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

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 140px 2rem 80px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.hero-left {
    max-width: 100%;
}

.hero-right {
    max-width: 100%;
}

/* Hero Badges Container */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 163, 0.1);
    border: 1px solid rgba(0, 255, 163, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--sol-green);
}

.hero-badge.trusted {
    background: rgba(0, 255, 163, 0.15);
    border-color: rgba(0, 255, 163, 0.3);
    color: var(--sol-green);
}

.hero-badge.trusted svg {
    color: var(--sol-green);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--sol-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Hero Stats Bar */
.hero-stats-bar {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 1.25rem 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.hero-stat {
    flex: 1;
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    margin: 0 1rem;
}

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

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature svg {
    color: var(--sol-green);
}

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

.hero-scan-section {
    width: 100%;
    max-width: 100%;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wallet-preview {
    width: 100%;
    max-width: 380px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: floatPreview 6s ease-in-out infinite;
}

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

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}

.preview-dots span:first-child { background: #FF5F56; }
.preview-dots span:nth-child(2) { background: #FFBD2E; }
.preview-dots span:last-child { background: #27CA40; }

.preview-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.preview-content {
    padding: 1.5rem;
}

.preview-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.preview-stat:last-of-type {
    border-bottom: none;
}

.preview-stat .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.preview-stat .value {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 1.1rem;
}

.preview-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 163, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 163, 0.2);
}

.action-text {
    color: var(--sol-green);
    font-weight: 500;
}

.action-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sol-green);
    color: var(--bg-primary);
    border-radius: 8px;
    font-weight: 600;
}

/* ============================================
   Live Global Recoveries Section
   ============================================ */

.live-recoveries-section {
    padding: 40px 0 80px;
    display: flex;
    justify-content: center;
}

.live-recoveries-section .section-container {
    max-width: 100%;
    width: 100%;
}

.live-panel {
    width: 100%;
    max-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.live-panel-header {
    padding: 16px 20px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.live-panel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-color);
    padding: 1px 0;
}

.live-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: var(--bg-card);
    text-align: center;
}

.live-stat-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sol-green);
    margin-bottom: 4px;
}

.live-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-panel-divider {
    height: 1px;
    background: var(--border-color);
}

.live-panel-list-header {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.recent-claims-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.recent-claims-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.recoveries-table-container {
    max-height: 400px;
    overflow-y: auto;
    background: var(--bg-primary);
}

.recoveries-table {
    width: 100%;
    border-collapse: collapse;
}

.recoveries-table thead {
    background: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 10;
}

.recoveries-table th {
    padding: 12px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.recovery-row {
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.recovery-row:hover {
    background: var(--bg-secondary);
}

.recovery-row:last-child {
    border-bottom: none;
}

.recovery-wallet {
    padding: 12px 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wallet-address {
    color: var(--text-secondary);
}

.solscan-icon-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    opacity: 0.6;
}

.solscan-icon-link:hover {
    color: var(--sol-cyan);
    opacity: 1;
}

.recovery-amount {
    padding: 12px 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sol-green);
}

.recovery-date {
    padding: 12px 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.recovery-status {
    padding: 12px 20px;
}

.status-success {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sol-green);
    font-size: 0.85rem;
    font-weight: 500;
}

.recoveries-empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.live-panel-cta {
    padding: 20px;
    background: transparent;
    border-top: none;
    text-align: center;
    margin-top: 0;
}

.live-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #00FFA3 0%, #03E1FF 100%);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 255, 163, 0.25);
    position: relative;
    overflow: hidden;
}

.live-cta-btn::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;
}

.live-cta-btn:hover::before {
    left: 100%;
}

.live-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 255, 163, 0.4);
}

.live-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(0, 255, 163, 0.3);
}

.live-feed-empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   Friend Wallet Scan Section
   ============================================ */

.friend-scan-section {
    padding: 3rem 2rem;
    background: transparent;
}

.friend-scan-card {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.friend-scan-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 163, 0.1);
    border-radius: 18px;
    margin-bottom: 1rem;
}

.friend-scan-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.friend-scan-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin-bottom: 1.5rem;
}

.friend-scan-input-group {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 500px;
}

.friend-scan-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: var(--bg-elevated);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: border-color var(--transition-fast);
}

.friend-scan-input::placeholder {
    color: var(--text-muted);
}

.friend-scan-input:focus {
    border-color: var(--sol-green);
}

.friend-scan-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--gradient-button);
    color: var(--bg-primary);
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.friend-scan-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.friend-scan-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(0, 255, 163, 0.1);
    border: 1px solid rgba(0, 255, 163, 0.2);
    border-radius: 14px;
    width: 100%;
    max-width: 500px;
}

.friend-result-icon {
    font-size: 2rem;
}

.friend-result-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.friend-result-amount {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sol-green);
}

.friend-result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.friend-invite-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--gradient-button);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all var(--transition-normal);
}

.friend-invite-btn:hover {
    transform: translateY(-2px);
}

/* ============================================
   App Section
   ============================================ */

.app-section {
    padding: 2rem;
}

.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.app-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.app-title h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.app-title p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.refresh-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--sol-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader.small {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

/* Results Display */
.results-display {
    animation: fadeIn 0.3s ease;
}

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

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

.result-card {
    padding: 1.25rem;
    background: var(--bg-elevated);
    border-radius: 14px;
    text-align: center;
}

.result-card.highlight {
    background: rgba(0, 255, 163, 0.1);
    border: 1px solid rgba(0, 255, 163, 0.2);
}

.result-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.result-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Account breakdown badges */
.account-breakdown {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-badge, .dust-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.empty-badge {
    background: rgba(100, 100, 255, 0.2);
    color: #a0a0ff;
}

.dust-badge {
    background: rgba(255, 150, 50, 0.2);
    color: #ffaa66;
}

/* Recovery info box */
.recovery-info {
    background: rgba(255, 200, 100, 0.1);
    border: 1px solid rgba(255, 200, 100, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.recovery-info .info-title {
    font-weight: 600;
    color: #ffc864;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.recovery-info .info-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.recovery-info .info-item {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.recovery-info .empty-info {
    color: #a0a0ff;
}

.recovery-info .dust-info {
    color: #ffaa66;
}

.recovery-info .valuable-info {
    color: #66ffaa;
}

.recovery-info .kept-info {
    color: #66ffaa;
}

.recovery-info .unknown-info {
    color: #aaaaaa;
}

/* Rent value info in account breakdown */
.rent-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.25rem;
}

/* Valuable tokens expandable list */
.valuable-tokens-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem 0;
    transition: opacity var(--transition-fast);
}

.valuable-tokens-header:hover {
    opacity: 0.85;
}

.valuable-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.valuable-icon {
    font-size: 1.3rem;
}

.valuable-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.valuable-title {
    font-weight: 600;
    color: var(--sol-green);
    font-size: 0.95rem;
}

.valuable-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.toggle-arrow {
    font-size: 0.85rem;
    color: var(--sol-green);
    transition: transform 0.3s ease;
}

.valuable-tokens-list {
    margin-top: 0.5rem;
    padding: 0 0.5rem;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.valuable-tokens-list.collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.valuable-tokens-list.expanded {
    max-height: 600px;
    opacity: 1;
    padding: 0.75rem 0.5rem;
}

.valuable-tokens-note {
    font-size: 0.85rem;
    color: #ffaa66;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.valuable-token-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
    margin: 0.4rem 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.valuable-token-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.valuable-token-item.protected {
    opacity: 0.6;
    background: rgba(100, 100, 255, 0.05);
}

.token-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    flex: 1;
}

.token-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--sol-green);
    cursor: pointer;
}

.token-checkbox-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.token-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.token-name {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.token-name strong {
    color: var(--sol-cyan);
}

.mint-short {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.token-mint {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.token-value {
    font-size: 0.8rem;
    color: var(--sol-green);
}

.protected-badge {
    font-size: 0.75rem;
    color: #7289da;
    margin-left: 0.5rem;
    background: rgba(114, 137, 218, 0.15);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.token-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.token-link:hover {
    color: var(--sol-cyan);
    background: rgba(3, 225, 255, 0.1);
}

.valuable-tokens-actions {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.include-selected-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

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

.token-checkbox-label.included {
    opacity: 0.5;
    text-decoration: line-through;
}

.token-checkbox-label.included .token-value::after {
    content: ' → Will be burned';
    color: #ff6b6b;
}

/* Detailed accounts breakdown */
.accounts-breakdown-detailed {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.account-type-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.account-type-row.empty {
    background: rgba(100, 100, 255, 0.1);
    border: 1px solid rgba(100, 100, 255, 0.2);
}

.account-type-row.dust {
    background: rgba(255, 170, 100, 0.1);
    border: 1px solid rgba(255, 170, 100, 0.2);
}

.account-type-row.valuable {
    background: rgba(100, 255, 170, 0.1);
    border: 1px solid rgba(100, 255, 170, 0.2);
}

.account-type-row.unknown {
    background: rgba(170, 170, 170, 0.1);
    border: 1px solid rgba(170, 170, 170, 0.2);
}

.account-type-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-type-icon {
    font-size: 1.1rem;
}

.account-type-name {
    font-weight: 500;
}

.account-type-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.account-type-right {
    text-align: right;
}

.account-type-sol {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
}

.account-type-row.empty .account-type-sol { color: #a0a0ff; }
.account-type-row.dust .account-type-sol { color: #ffaa66; }
.account-type-row.valuable .account-type-sol { color: #66ffaa; }
.account-type-row.unknown .account-type-sol { color: #aaaaaa; }

.account-type-action {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Recovery buttons container */
.recovery-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.recovery-buttons .recover-btn {
    flex: 1;
    min-width: 200px;
}

.recovery-buttons .recover-btn.secondary {
    background: linear-gradient(135deg, #555 0%, #333 100%);
    border: 1px solid rgba(170, 170, 170, 0.3);
}

.recovery-buttons .recover-btn.secondary:hover {
    background: linear-gradient(135deg, #666 0%, #444 100%);
}

/* Kept tokens info container - no styling */
.kept-tokens-info {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

/* Custom tooltip for account badges */
.tooltip-trigger {
    cursor: pointer;
    position: relative;
}

.custom-tooltip {
    position: fixed;
    z-index: 10000;
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
    color: #ccc;
    font-family: 'Monaco', 'Consolas', monospace;
    line-height: 1.5;
    max-width: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.custom-tooltip.hidden {
    display: none;
}

.fee-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-elevated);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.fee-notice svg {
    flex-shrink: 0;
    color: var(--sol-cyan);
}

.recover-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--gradient-button);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 14px;
    transition: all var(--transition-normal);
}

.recover-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.recover-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.no-results svg {
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* ============================================
   How It Works Section
   ============================================ */

.how-section {
    padding: var(--section-padding) 2rem;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(220, 31, 255, 0.1);
    border: 1px solid rgba(220, 31, 255, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--sol-purple);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.step {
    flex: 1;
    min-width: 260px;
    max-width: 300px;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.step:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 8px;
}

.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    background: rgba(3, 225, 255, 0.1);
    border-radius: 16px;
    color: var(--sol-cyan);
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-arrow {
    color: var(--text-muted);
    opacity: 0.4;
}

.security-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(0, 255, 163, 0.05);
    border: 1px solid rgba(0, 255, 163, 0.15);
    border-radius: 16px;
}

.notice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 163, 0.1);
    border-radius: 12px;
    color: var(--sol-green);
}

.notice-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.notice-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   Affiliate Section
   ============================================ */

.affiliate-section {
    padding: var(--section-padding) 2rem;
    background: var(--bg-secondary);
}

.affiliate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.affiliate-info h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.affiliate-info > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.benefits-list svg {
    color: var(--sol-green);
}

.affiliate-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.affiliate-prompt {
    padding: 3rem 2rem;
    text-align: center;
}

.prompt-icon {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.affiliate-prompt h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.affiliate-prompt p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.affiliate-dashboard {
    padding: 2rem;
}

.dashboard-header {
    margin-bottom: 1.5rem;
}

.dashboard-header h3 {
    font-size: 1.25rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    padding: 1rem;
    background: var(--bg-elevated);
    border-radius: 12px;
}

.stat-item.highlight {
    background: rgba(0, 255, 163, 0.1);
    border: 1px solid rgba(0, 255, 163, 0.2);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
}

.stat-value.code {
    color: var(--sol-purple);
}

.referral-link-box {
    margin-bottom: 1.5rem;
}

.referral-link-box label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.link-input {
    display: flex;
    gap: 0.5rem;
}

.link-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border-radius: 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.copy-btn {
    padding: 0.75rem;
    background: var(--bg-elevated);
    border-radius: 10px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.copy-btn:hover {
    background: var(--bg-card-hover);
    color: var(--sol-green);
}

.withdraw-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--gradient-button);
    color: var(--bg-primary);
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.withdraw-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.withdraw-btn:not(:disabled):hover {
    transform: translateY(-2px);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: var(--section-padding) 2rem;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background: rgba(3, 225, 255, 0.05);
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.faq-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 225, 255, 0.1);
    border-radius: 10px;
    color: var(--sol-cyan);
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    padding-top: 1rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    background: #030a1d;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: #B0B0B0;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #D1D5DB;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--sol-green);
}

.footer-contact,
.footer-telegram-bot {
    text-align: left;
}

.footer-contact h4,
.footer-telegram-bot h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--sol-cyan);
}

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

.contact-link.twitter:hover {
    color: #1DA1F2;
}

.contact-link.discord {
    color: #7289da;
}

.telegram-bot-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0088cc;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.telegram-bot-link:hover {
    color: #00aaff;
    transform: translateX(3px);
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* ============================================
   Modals
   ============================================ */

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .modal {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* Wallet Modal Styles */
.wallet-modal {
    max-width: 440px;
    background: linear-gradient(180deg, #1E1E28 0%, #141418 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.wallet-modal-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: rgba(0, 255, 163, 0.1);
    border-radius: 16px;
}

.wallet-modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.wallet-modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wallet-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.wallet-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.wallet-option-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-option-logo svg {
    width: 100%;
    height: 100%;
}

.wallet-option-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.wallet-option-info {
    flex: 1;
    text-align: left;
}

.wallet-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.15rem;
}

.wallet-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.wallet-option-arrow {
    color: var(--text-muted);
    opacity: 0.5;
    transition: all var(--transition-fast);
}

.wallet-option:hover .wallet-option-arrow {
    opacity: 1;
    transform: translateX(3px);
    color: var(--sol-green);
}

.wallet-modal-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.wallet-modal-footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.wallet-modal-footer a {
    color: var(--sol-green);
    font-weight: 500;
    transition: opacity var(--transition-fast);
}

.wallet-modal-footer a:hover {
    opacity: 0.8;
}

/* Success Modal */
.success-modal {
    text-align: center;
}

.success-animation {
    margin-bottom: 1.5rem;
}

.checkmark {
    width: 80px;
    height: 80px;
}

.checkmark-circle {
    stroke: var(--sol-green);
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: circle 0.6s ease forwards;
}

.checkmark-check {
    stroke: var(--sol-green);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: check 0.3s ease forwards 0.4s;
}

@keyframes circle {
    to { stroke-dashoffset: 0; }
}

@keyframes check {
    to { stroke-dashoffset: 0; }
}

.success-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.success-stats {
    background: var(--bg-elevated);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.success-stat {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.success-stat span:first-child {
    color: var(--text-muted);
}

/* ============================================
   Toast Notifications
   ============================================ */

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
    min-width: 280px;
}

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

.toast.success { border-color: rgba(0, 255, 163, 0.3); }
.toast.error { border-color: rgba(255, 107, 107, 0.3); }

.toast-icon {
    flex-shrink: 0;
}

.toast.success .toast-icon { color: var(--sol-green); }
.toast.error .toast-icon { color: var(--sol-pink); }

/* ============================================
   Batch Mode Modal
   ============================================ */

.batch-link {
    color: var(--sol-pink) !important;
    font-weight: 600;
}

.batch-modal {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.batch-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.batch-modal-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 16px;
}

.batch-modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.batch-modal-header p {
    color: var(--text-secondary);
}

.batch-warning {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.batch-warning-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--sol-pink);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.batch-warning-header svg {
    flex-shrink: 0;
    color: var(--sol-pink);
}

.batch-warning-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.batch-warning-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.batch-warning-content li {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.batch-warning-content li strong {
    color: var(--sol-pink);
}

.batch-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.batch-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.batch-input-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.batch-input-group textarea,
.batch-input-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    resize: vertical;
    transition: border-color var(--transition-fast);
}

.batch-input-group textarea:focus,
.batch-input-group input:focus {
    border-color: var(--sol-pink);
    outline: none;
}

.batch-input-group textarea::placeholder,
.batch-input-group input::placeholder {
    color: var(--text-muted);
}

.batch-recover-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #DC1FFF 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all var(--transition-normal);
    margin-top: 0.5rem;
}

.batch-recover-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
}

.batch-recover-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.batch-results {
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.batch-results-header {
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.batch-results-content {
    max-height: 200px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--bg-primary);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
}

.batch-result-line {
    padding: 0.25rem 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.batch-result-line.info { color: var(--text-secondary); }
.batch-result-line.success { color: var(--sol-green); }
.batch-result-line.error { color: var(--sol-pink); }
.batch-result-line.muted { color: var(--text-muted); font-size: 0.75rem; }

/* Wallets Needing SOL Section */
.wallets-needing-sol-section {
    margin-top: 1.5rem;
    border: 2px solid var(--sol-pink);
    border-radius: 12px;
    background: rgba(255, 107, 107, 0.1);
    overflow: hidden;
}

.wallets-needing-sol-header {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 107, 107, 0.1) 100%);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--sol-pink);
    border-bottom: 1px solid rgba(255, 107, 107, 0.3);
}

.wallets-needing-sol-header svg {
    flex-shrink: 0;
    stroke: var(--sol-pink);
}

.wallets-needing-sol-description {
    padding: 1rem 1.25rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 107, 107, 0.2);
}

.wallets-needing-sol-list {
    padding: 1rem;
}

.wallet-needing-sol-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.wallet-needing-sol-item:last-child {
    margin-bottom: 0;
}

.wallet-needing-sol-item .wallet-label {
    font-weight: 600;
    color: var(--sol-pink);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.wallet-needing-sol-item .wallet-address-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.wallet-needing-sol-item .wallet-address {
    background: rgba(0, 255, 163, 0.1);
    border: 1px solid rgba(0, 255, 163, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--sol-green);
    cursor: pointer;
    user-select: all;
    word-break: break-all;
    flex: 1;
    min-width: 200px;
}

.wallet-needing-sol-item .wallet-address:hover {
    background: rgba(0, 255, 163, 0.2);
}

.wallet-needing-sol-item .copy-btn {
    background: var(--sol-green);
    color: var(--bg-primary);
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.wallet-needing-sol-item .copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 163, 0.3);
}

.wallet-needing-sol-item .wallet-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    font-size: 0.85rem;
}

.wallet-needing-sol-item .detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wallet-needing-sol-item .detail-item.recover { color: var(--sol-green); }
.wallet-needing-sol-item .detail-item.send { color: var(--text-secondary); }
.wallet-needing-sol-item .detail-item.recommended { color: var(--sol-green); font-weight: 600; }

.wallets-needing-sol-tip {
    padding: 1rem 1.25rem;
    background: rgba(0, 255, 163, 0.05);
    border-top: 1px solid rgba(0, 255, 163, 0.2);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.wallets-needing-sol-tip strong {
    color: var(--sol-green);
}

.wallets-needing-sol-actions {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
}

.send-sol-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #00FFA3 0%, #00D4FF 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 163, 0.3);
}

.send-sol-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 163, 0.4);
}

.send-sol-btn:active:not(:disabled) {
    transform: translateY(0);
}

.send-sol-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.send-sol-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero-left {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-right {
        max-width: 100%;
        margin-top: 3rem;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .affiliate-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    
    /* Sur mobile, masquer desktop et afficher mobile */
    .desktop-wallet {
        display: none !important;
    }
    
    .mobile-wallet {
        display: flex !important;
    }
}

/* Sur desktop, masquer mobile et afficher desktop */
@media (min-width: 769px) {
    .desktop-wallet {
        display: flex !important;
    }
    
    .mobile-wallet {
        display: none !important;
    }
    
    .wallet-menu-popup {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .nav-container {
        gap: 0.5rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .logo {
        order: 1;
        flex-shrink: 0;
        margin-right: auto;
    }

    .mobile-menu-toggle {
        display: flex !important;
        order: 2;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        flex-shrink: 0;
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        position: relative !important;
        z-index: 1001 !important;
        pointer-events: auto !important;
    }
    
    /* Debug: S'assurer que le bouton est visible */
    #mobileMenuToggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .wallet-section {
        order: 3;
        margin-left: 0;
        margin-right: 0;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    /* Ajuster l'affichage du wallet connecté sur mobile */
    .wallet-connected {
        position: relative;
        flex-shrink: 0;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    
    /* Masquer la version desktop sur mobile */
    .desktop-wallet {
        display: none !important;
    }
    
    /* Afficher la version mobile sur mobile */
    .mobile-wallet {
        display: flex !important;
    }

    .wallet-menu-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.2s ease;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .wallet-menu-btn:hover {
        background: var(--bg-card-hover);
        border-color: var(--border-hover);
    }

    .wallet-menu-btn .wallet-avatar {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        flex-shrink: 0;
    }

    #walletAddressShort {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 0.7rem;
        color: var(--text-secondary);
        white-space: nowrap;
        max-width: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wallet-menu-popup {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        left: auto;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 1rem;
        min-width: 280px;
        max-width: calc(100vw - 2rem);
        width: max-content;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        animation: slideDown 0.2s ease;
        transform: translateX(0);
    }

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

    .wallet-menu-popup.hidden {
        display: none;
    }

    .wallet-menu-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .wallet-avatar-large {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 255, 163, 0.1);
        border-radius: 10px;
        font-size: 20px;
        flex-shrink: 0;
    }

    .wallet-menu-info {
        flex: 1;
        min-width: 0;
        width: 100%;
        overflow: hidden;
    }

    .wallet-menu-label {
        font-size: 0.75rem;
        color: var(--text-muted);
        margin-bottom: 0.25rem;
    }

    .wallet-address-full {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 0.8rem;
        color: var(--text-primary);
        word-break: break-all;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.5;
        user-select: all;
        white-space: normal;
        overflow: visible;
        max-width: 100%;
        min-width: 0;
        display: block;
        width: 100%;
        padding: 0.25rem 0;
    }

    .wallet-disconnect-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem;
        background: rgba(255, 107, 107, 0.1);
        border: 1px solid rgba(255, 107, 107, 0.3);
        border-radius: 8px;
        color: var(--sol-pink);
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .wallet-disconnect-btn:hover {
        background: rgba(255, 107, 107, 0.2);
        border-color: rgba(255, 107, 107, 0.5);
    }

    /* Ajuster le positionnement du menu mobile sur mobile */
    .mobile-menu {
        top: 65px;
        max-height: calc(100vh - 65px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .hero-stat-divider {
        width: 60%;
        height: 1px;
        margin: 0;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-scan-section {
        width: 100%;
        max-width: 100%;
    }

    .friend-scan-input-group {
        flex-direction: column;
    }

    .friend-scan-result {
        flex-direction: column;
        text-align: center;
    }

    .friend-result-text {
        text-align: center;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .faq-accordion {
        max-width: 100%;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    /* ============================================
       Mobile Text Visibility Fixes
       ============================================ */

    /* Make all text more visible on mobile */
    .hero-subtitle,
    .hero-features span,
    .feature span {
        color: #E5E7EB !important;
    }

    .hero-badge {
        background: rgba(0, 255, 163, 0.2);
        border-color: rgba(0, 255, 163, 0.4);
    }

    .hero-badge span {
        color: #00FFA3 !important;
    }

    /* FAQ Section - Better contrast */
    .faq-item {
        background: rgba(30, 30, 40, 0.95);
    }

    .faq-question h3 {
        color: #FFFFFF !important;
    }

    .faq-answer p {
        color: #D1D5DB !important;
    }

    /* Footer - Better visibility */
    .footer {
        background: rgba(20, 20, 24, 0.98);
    }

    .footer-brand p,
    .footer-links a {
        color: #D1D5DB !important;
    }

    .footer-bottom p {
        color: #9CA3AF !important;
    }

    /* Section headers */
    .section-header h2 {
        color: #FFFFFF !important;
    }

    .section-header p {
        color: #D1D5DB !important;
    }

    /* How it works section */
    .step {
        background: rgba(30, 30, 40, 0.95);
    }

    .step h3 {
        color: #FFFFFF !important;
    }

    .step p {
        color: #D1D5DB !important;
    }

    /* Security notice */
    .security-notice {
        background: rgba(0, 255, 163, 0.1);
    }

    .notice-content h4 {
        color: #FFFFFF !important;
    }

    .notice-content p {
        color: #D1D5DB !important;
    }

    /* Affiliate section */
    .affiliate-info h2 {
        color: #FFFFFF !important;
    }

    .affiliate-info > p {
        color: #D1D5DB !important;
    }

    .benefits-list li {
        color: #D1D5DB !important;
    }

    /* Friend scan section */
    .friend-scan-content h3 {
        color: #FFFFFF !important;
    }

    .friend-scan-content p {
        color: #D1D5DB !important;
    }

    /* Stats bar visibility */
    .hero-stat-value {
        color: #FFFFFF;
    }

    .hero-stat-label {
        color: #D1D5DB !important;
    }
}

/* ============================================
   Extra Small Mobile (< 480px)
   ============================================ */

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .mobile-menu-toggle {
        display: flex !important;
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 3px;
    }

    .connect-wallet-btn span {
        display: none;
    }

    .connect-wallet-btn {
        padding: 0.75rem;
        min-width: 44px;
        flex-shrink: 0;
    }

    .hero {
        padding: 100px 1rem 60px;
    }

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

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

    .primary-btn.large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .faq-card,
    .step,
    .friend-scan-card,
    .app-card {
        padding: 1.25rem;
    }

    .affiliate-section {
        padding: 60px 1rem;
    }

    .how-section,
    .faq-section {
        padding: 60px 1rem;
    }
}

/* ============================================
   More Settings / Advanced Token Panel
   ============================================ */

/* Advanced options button - same style as Recover but smaller and dark */
.advanced-settings-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 50%;
    margin: 0.75rem auto 0 auto;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.advanced-settings-link:hover {
    background: linear-gradient(135deg, #333 0%, #222 100%);
    transform: translateY(-1px);
}

.advanced-settings-link .link-text {
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
}

.advanced-settings-link .link-count {
    color: #666;
    font-size: 0.85rem;
}

.advanced-settings-link:hover .link-text {
    color: #aaa;
}

.advanced-settings-link:hover .link-count {
    color: #888;
}

/* Advanced Token Settings Panel - Clean design */
.advanced-token-settings {
    margin-top: 1rem;
    padding: 1rem;
    background: transparent;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.advanced-settings-warning {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 180, 50, 0.08);
    border-radius: 8px;
    border-left: 3px solid #FFB432;
}

.advanced-settings-warning .warning-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.advanced-settings-warning .warning-icon {
    font-size: 1.1rem;
}

.advanced-settings-warning .warning-title {
    font-weight: 600;
    color: #FFB432;
    font-size: 0.9rem;
}

.advanced-settings-warning .warning-text {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.advanced-settings-warning .warning-text strong {
    color: #FF6B6B;
}

.advanced-settings-warning .warning-tip {
    color: #666;
    font-size: 0.75rem;
}

.advanced-settings-warning .warning-tip a {
    color: var(--sol-cyan);
}

/* Advanced Tokens List - Clean minimal design */
.advanced-tokens-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 350px;
    overflow-y: auto;
}

.advanced-token-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    transition: background 0.15s ease;
}

.advanced-token-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.advanced-token-item.protected {
    opacity: 0.4;
}

.advanced-token-item.unprofitable {
    border-left: 2px solid #FF6B6B;
}

.advanced-token-item.profitable {
    border-left: 2px solid var(--sol-green);
}

.token-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    cursor: pointer;
}

.token-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--sol-green);
    cursor: pointer;
}

.token-checkbox-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.token-info-advanced {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.token-info-advanced .token-name {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.token-info-advanced .token-name .mint-short {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.token-value-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.token-value-breakdown .value-lose {
    color: var(--text-secondary);
}

.token-value-breakdown .value-gain {
    color: var(--sol-green);
}

.token-value-breakdown .value-net-loss {
    color: #FF6B6B;
}

.token-value-breakdown .value-net-loss .loss-amount {
    color: #FF4444;
}

.token-value-breakdown .value-net-gain {
    color: var(--sol-green);
}

.token-value-breakdown .value-net-gain .gain-amount {
    color: #00FF88;
}

.protected-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 255, 163, 0.1);
    border: 1px solid rgba(0, 255, 163, 0.3);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--sol-green);
}

.token-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.25rem;
    transition: color var(--transition-fast);
}

.token-link:hover {
    color: var(--sol-cyan);
}

/* Advanced Tokens Actions - Minimal */
.advanced-tokens-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
}

.include-selected-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    background: #FF5555;
    border: none;
    border-radius: 6px;
    color: #FFF;
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.include-selected-btn:hover {
    background: #FF4444;
}

.include-selected-btn.danger {
    background: #FF5555;
}

.cancel-btn {
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 6px;
    color: #888;
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #aaa;
}

/* Scrollbar for tokens list */
.advanced-tokens-list::-webkit-scrollbar {
    width: 6px;
}

.advanced-tokens-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.advanced-tokens-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.advanced-tokens-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Recovery Summary Modal
   ============================================ */
.recovery-summary-modal {
    max-width: 700px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px auto;
}

@media (max-width: 768px) {
    .recovery-summary-modal {
        max-height: 85vh;
        width: 94%;
        margin: 10px auto;
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .recovery-summary-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .recovery-summary-card {
        padding: 1.25rem;
    }
    
    .recovery-summary-card .summary-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .recovery-summary-card .count-value {
        font-size: 2rem;
    }
    
    .recovery-summary-card .cashback-value {
        font-size: 1.5rem;
    }
    
    .recovery-summary-header h2 {
        font-size: 1.4rem;
    }
}

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

.recovery-summary-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.recovery-summary-header p {
    color: var(--text-secondary);
}

.recovery-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .recovery-summary-grid {
        grid-template-columns: 1fr;
    }
}

.recovery-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.recovery-summary-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.recovery-summary-card.ata-card {
    border-color: rgba(0, 255, 163, 0.2);
}

.recovery-summary-card.cashback-card {
    border-color: rgba(220, 31, 255, 0.2);
}

.recovery-summary-card .summary-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.recovery-summary-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.recovery-summary-card .summary-value {
    margin-bottom: 0.5rem;
}

.recovery-summary-card .count-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recovery-summary-card .count-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.recovery-summary-card .summary-sol {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.recovery-summary-card .cashback-value {
    font-size: 2rem;
}

.recovery-summary-card .cashback-status {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.recovery-summary-card .summary-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.summary-recover-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--gradient-button);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.summary-recover-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 163, 0.3);
}

.summary-recover-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.summary-recover-btn.cashback-btn {
    background: linear-gradient(135deg, #DC1FFF 0%, #FF6B6B 100%);
    color: #FFF;
}

.summary-recover-btn.cashback-btn:hover {
    box-shadow: 0 8px 24px rgba(220, 31, 255, 0.3);
}

.recovery-summary-footer {
    text-align: center;
}

.recovery-summary-footer .secondary-btn {
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.recovery-summary-footer .secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.summary-skip-btn {
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.summary-skip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.summary-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--gradient-button);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.summary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 163, 0.3);
}

.summary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cashback-card .summary-btn {
    background: linear-gradient(135deg, #DC1FFF 0%, #FF6B6B 100%);
    color: #FFF;
}

.cashback-card .summary-btn:hover:not(:disabled) {
    box-shadow: 0 8px 24px rgba(220, 31, 255, 0.3);
}

/* Loading spinner for recovery summary */
.recovery-summary-loading {
    text-align: center;
    padding: 3rem 1rem;
}

.loading-spinner-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #00FFA3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.recovery-summary-loading p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.loading-subtext {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.recovery-summary-icon {
    margin-bottom: 1rem;
}

/* ============================================
   Cashback Section
   ============================================ */
.cashback-section {
    margin-top: 2rem;
    border: 1px solid rgba(220, 31, 255, 0.2);
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.cashback-section .app-header h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cashback-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .cashback-grid {
        grid-template-columns: 1fr;
    }
}

.cashback-info {
    background: rgba(220, 31, 255, 0.05);
    border: 1px solid rgba(220, 31, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.cashback-info .info-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.cashback-info .info-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cashback-info .info-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cashback-claim-btn {
    background: linear-gradient(135deg, #DC1FFF 0%, #FF6B6B 100%);
    margin-top: 1.5rem;
}

.cashback-claim-btn:hover {
    box-shadow: 0 8px 32px rgba(220, 31, 255, 0.4);
}

.cashback-claim-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cashback-claim-btn:disabled:hover {
    box-shadow: none;
    transform: none;
}

/* ============================================
   Recovery Type Badges
   ============================================ */
.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.ata-badge {
    background: rgba(0, 255, 163, 0.1);
    color: #00FFA3;
    border: 1px solid rgba(0, 255, 163, 0.2);
}

.cashback-badge {
    background: rgba(220, 31, 255, 0.1);
    color: #DC1FFF;
    border: 1px solid rgba(220, 31, 255, 0.2);
}

.recovery-type {
    text-align: center;
}

