:root {
    --primary: #14F195;
    --primary-dark: #00D176;
    --secondary: #9945FF;
    --background: #0A0B0D;
    --surface: #141517;
    --surface-light: #1C1D21;
    --text-primary: #FFFFFF;
    --text-secondary: #8F9BB3;
    --border: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #14F195 0%, #9945FF 100%);
    --gradient-2: linear-gradient(135deg, #9945FF 0%, #00D4FF 100%);
    --gradient-3: linear-gradient(135deg, #FF6B6B 0%, #FFB347 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* X Verification Screen */
.x-verification-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.x-verification-screen.active {
    opacity: 1;
    pointer-events: all;
}

.x-verification-content {
    text-align: center;
    max-width: 600px;
    padding: 40px;
}

/* Common X Logo */
.x-logo-container {
    margin-bottom: 40px;
}

.x-logo-container.loading {
    animation: spin 2s linear infinite;
}

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

.x-logo {
    width: 150px;
    height: 150px;
    fill: #ffffff;
    transition: fill 1s ease, filter 1s ease;
}

.x-logo.safe {
    fill: #14F195;
    filter: drop-shadow(0 0 40px rgba(20, 241, 149, 0.6));
}

.x-loading-text {
    color: #666666;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 30px;
    transition: opacity 0.5s ease;
}

.x-loading-text.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Safe Content */
.x-safe-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.x-safe-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Verification Badges */
.x-verification-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0 50px;
}

.x-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(20, 241, 149, 0.1);
    border: 2px solid rgba(20, 241, 149, 0.4);
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #14F195;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(20, 241, 149, 0.2);
}

.x-badge.verified {
    animation: fadeInLeft 0.6s ease forwards;
}

.x-badge.safe {
    animation: fadeInRight 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Phantom Card */
.x-phantom-card {
    background: rgba(20, 241, 149, 0.05);
    border: 2px solid rgba(20, 241, 149, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    animation: scaleIn 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.x-phantom-label {
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.x-phantom-logo-big {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ghostFloat 3s ease-in-out infinite;
}

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

.x-phantom-logo-big img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(171, 159, 242, 0.6));
}

.x-phantom-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #AB9FF2 0%, #7C66DC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.x-progress-bar {
    width: 100%;
    max-width: 450px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.x-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #14F195 0%, #00D176 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

.x-redirect-text {
    font-size: 1rem;
    color: #666666;
    font-weight: 400;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.loading-screen.active {
    opacity: 1;
    pointer-events: all;
}

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

.search-icon-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 40px;
}

.search-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 40px rgba(20, 241, 149, 0.6));
}

.search-circle {
    stroke: var(--primary);
    stroke-linecap: round;
    animation: searchPulse 2s ease-in-out infinite;
}

.search-handle {
    stroke: var(--primary);
    stroke-linecap: round;
    animation: handleRotate 2s ease-in-out infinite;
    transform-origin: 40px 40px;
}

.scan-line {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 241, 149, 0.4) 0%, transparent 70%);
    animation: scanAnimation 2s ease-in-out infinite;
}

@keyframes searchPulse {
    0%, 100% { 
        stroke-dasharray: 0, 157;
        stroke-dashoffset: 0;
    }
    50% { 
        stroke-dasharray: 157, 157;
        stroke-dashoffset: 0;
    }
}

@keyframes handleRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(45deg); }
}

@keyframes scanAnimation {
    0% { 
        top: 20%;
        left: 10%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% { 
        top: 60%;
        left: 50%;
        opacity: 0;
    }
}

.loading-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.loading-powered {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 15px;
}

.loading-powered .phantom-text {
    background: linear-gradient(135deg, #AB9FF2 0%, #7C66DC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.loading-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: var(--surface-light);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Main Content */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-content.visible {
    opacity: 1;
}

/* Header */
.header {
    padding: 20px 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 11, 13, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 6;
}

.logo-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
}

.powered-by {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1;
}

.phantom-text {
    background: linear-gradient(135deg, #AB9FF2 0%, #7C66DC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.btn-primary {
    background: var(--surface-light);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-primary:hover {
    background: var(--surface);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-gradient {
    background: var(--gradient-1);
    color: var(--background);
    position: relative;
    overflow: hidden;
}

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

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

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 241, 149, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(153, 69, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 241, 149, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: float 15s ease-in-out infinite reverse;
    z-index: 1;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Solana - Green */
.badge-solana {
    background: rgba(20, 241, 149, 0.1);
    border: 1px solid rgba(20, 241, 149, 0.3);
    color: #14F195;
}

.badge-solana .pulse-dot {
    background: #14F195;
}

/* Ethereum - Blue */
.badge-ethereum {
    background: rgba(98, 126, 234, 0.1);
    border: 1px solid rgba(98, 126, 234, 0.3);
    color: #627EEA;
}

.badge-ethereum .pulse-dot {
    background: #627EEA;
}

/* BSC - Yellow */
.badge-bsc {
    background: rgba(243, 186, 47, 0.1);
    border: 1px solid rgba(243, 186, 47, 0.3);
    color: #F3BA2F;
}

.badge-bsc .pulse-dot {
    background: #F3BA2F;
}

/* Polygon - Purple */
.badge-polygon {
    background: rgba(130, 71, 229, 0.1);
    border: 1px solid rgba(130, 71, 229, 0.3);
    color: #8247E5;
}

.badge-polygon .pulse-dot {
    background: #8247E5;
}

/* Arbitrum - Blue Cyan */
.badge-arbitrum {
    background: rgba(40, 160, 240, 0.1);
    border: 1px solid rgba(40, 160, 240, 0.3);
    color: #28A0F0;
}

.badge-arbitrum .pulse-dot {
    background: #28A0F0;
}

/* Base - Blue */
.badge-base {
    background: rgba(0, 82, 255, 0.1);
    border: 1px solid rgba(0, 82, 255, 0.3);
    color: #0052FF;
}

.badge-base .pulse-dot {
    background: #0052FF;
}

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

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -3px;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

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

/* How it Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--background);
    position: relative;
    z-index: 20;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.how-card {
    background: var(--surface-light);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.how-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(20, 241, 149, 0.15);
}

.how-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(20, 241, 149, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    stroke: var(--primary);
}

.how-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.how-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Example Paperhands Section */
.paperhands-examples {
    padding: 100px 0;
    background: var(--surface);
    position: relative;
    z-index: 20;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.example-card {
    background: var(--surface-light);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
    border-color: #FF6B6B;
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.2);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.example-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.example-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

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

.example-status {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #14F195;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(20, 241, 149, 0.3);
}

.ai-status {
    background: linear-gradient(135deg, rgba(20, 241, 149, 0.2), rgba(153, 69, 255, 0.2));
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid rgba(20, 241, 149, 0.3);
}

.ai-status-sell {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 69, 69, 0.2));
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.orange-text {
    color: #FFA500;
}

.green-text-big {
    color: #14F195;
    font-size: 1.3rem;
    font-weight: 700;
}

.example-stats {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.stat-row:last-child {
    margin-bottom: 0;
}

.stat-row.loss {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.red-text {
    color: #FF6B6B;
    font-weight: 600;
}

.green-text {
    color: #14F195;
    font-weight: 600;
}

.red-text-big {
    color: #FF6B6B;
    font-size: 1.3rem;
    font-weight: 800;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background);
    position: relative;
    z-index: 20;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

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

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

.feature-card {
    background: var(--surface-light);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(20, 241, 149, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(20, 241, 149, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    stroke: var(--primary);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Results Section */
.results-section {
    padding: 60px 0;
}

.wallet-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--surface-light);
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 40px;
}

.wallet-address-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wallet-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
}

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

.wallet-address {
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border);
    overflow-x: auto;
    padding-bottom: 2px;
}

.tab-btn {
    padding: 15px 25px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-family: inherit;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
}

.tab-badge {
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.tab-badge.alert {
    background: rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
}

/* Airdrop Grid */
.airdrop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.airdrop-card {
    background: var(--surface-light);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.airdrop-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.airdrop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.airdrop-logo {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.airdrop-status {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-active {
    background: rgba(20, 241, 149, 0.15);
    color: var(--primary);
}

.status-unclaimed {
    background: rgba(255, 107, 107, 0.15);
    color: #FF6B6B;
}

.status-whitelist {
    background: rgba(153, 69, 255, 0.15);
    color: var(--secondary);
}

.airdrop-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.airdrop-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.airdrop-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

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

.airdrop-action {
    width: 100%;
    margin-top: 20px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
        align-items: flex-start;
        padding-top: max(10px, env(safe-area-inset-top));
    }
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    position: relative;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px 40px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: slideUp 0.4s ease;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-close {
        top: 10px;
        right: 10px;
        padding: 6px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
    }
    
    .modal-close svg {
        width: 20px;
        height: 20px;
    }
}

.modal-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: rgba(20, 241, 149, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    stroke: var(--primary);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(20, 241, 149, 0);
    }
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.modal-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-url-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.modal-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    font-family: 'Courier New', monospace;
    outline: none;
}

.modal-url-box .btn {
    width: 100%;
}

.modal-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.platform-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.platform-badge.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.platform-badge.active {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.1);
    color: var(--primary);
}

.platform-badge svg {
    width: 32px;
    height: 32px;
}

/* Demo Modal */
.demo-modal-content {
    position: relative;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    max-width: 950px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
    -webkit-overflow-scrolling: touch;
}

.demo-modal-content::-webkit-scrollbar {
    width: 6px;
}

.demo-modal-content::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 3px;
}

.demo-modal-content::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.demo-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.demo-screen {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-step {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    width: 100%;
}

.demo-step.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Step 1: Mobile Phone Frame */
.demo-phone {
    width: 360px;
    height: 640px;
    position: relative;
}

.demo-phone-frame {
    width: 100%;
    height: 100%;
    background: var(--surface);
    border: 12px solid #1a1a1a;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    position: relative;
}

.demo-phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.demo-phone-screen {
    width: 100%;
    height: 100%;
    background: var(--background);
    overflow-y: auto;
}

.demo-mobile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.demo-mobile-logo {
    flex-shrink: 0;
}

.demo-mobile-header span {
    font-size: 1.2rem;
    font-weight: 700;
}

.demo-mobile-content {
    padding: 60px 30px;
    text-align: center;
}

.demo-mobile-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.demo-mobile-content p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1rem;
}

.demo-connect-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: var(--background);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-family: inherit;
    animation: claimPulse 2s ease-in-out infinite;
}

/* Step 2: Wallet Selection */
.demo-wallet-select {
    padding: 30px 20px;
}

.demo-wallet-select h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.demo-wallet-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--surface-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-wallet-option:hover {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.05);
}

.demo-wallet-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.demo-wallet-option span {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Step 3 & 4: Transaction Approval */
.demo-transaction {
    padding: 30px 20px;
}

.demo-tx-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.demo-tx-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.demo-tx-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.demo-tx-content {
    background: var(--surface-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.demo-tx-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.demo-tx-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-tx-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.demo-tx-row span:first-child {
    color: var(--text-secondary);
}

.demo-tx-row span:last-child {
    font-weight: 600;
}

.demo-approve-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: var(--background);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.demo-approve-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 241, 149, 0.4);
}

.demo-approve-btn:active {
    transform: translateY(0);
}

/* Step 5: Connected Wallet Display */
.demo-wallet-connected {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--surface-light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    margin-bottom: 30px;
}

.demo-connected-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
}

.demo-connected-info {
    flex: 1;
}

.demo-connected-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.demo-connected-address {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.demo-connected-badge {
    padding: 6px 12px;
    background: rgba(20, 241, 149, 0.15);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Step 2 & Beyond: App Window */
.demo-app-window {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 700px;
}

.demo-app-window.large {
    max-width: 100%;
    width: 850px;
}

.demo-window-header {
    background: var(--surface);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.demo-window-buttons {
    display: flex;
    gap: 8px;
}

.demo-btn-close,
.demo-btn-minimize,
.demo-btn-maximize {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-btn-close {
    background: #FF5F57;
}

.demo-btn-minimize {
    background: #FFBD2E;
}

.demo-btn-maximize {
    background: #28CA42;
}

.demo-window-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.demo-logo {
    flex-shrink: 0;
}

.demo-window-content {
    padding: 40px;
    min-height: 400px;
}

.demo-window-content.opening {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.demo-loader-spin {
    width: 60px;
    height: 60px;
    border: 4px solid var(--surface-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

/* Step 3: Input Section */
.demo-input-section {
    max-width: 500px;
    margin: 0 auto;
}

.demo-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.demo-network-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.demo-network-badge.solana {
    background: rgba(20, 241, 149, 0.15);
    color: #14F195;
}

.demo-network-badge.evm {
    background: rgba(98, 126, 234, 0.15);
    color: #627EEA;
}

.demo-input-box {
    position: relative;
    margin-bottom: 25px;
}

.demo-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    transition: border-color 0.3s ease;
}

.demo-input:focus {
    outline: none;
    border-color: var(--primary);
}

.demo-typing-cursor {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 18px;
    background: var(--primary);
    animation: blink 1s step-end infinite;
    display: none;
}

.demo-typing-cursor.active {
    display: block;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.demo-scan-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 10px;
    color: var(--background);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.demo-scan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 241, 149, 0.4);
}

/* Step 4: Scanning */
.demo-scanning {
    text-align: center;
}

.demo-scan-icon {
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(20, 241, 149, 0.5));
}

.scan-circle {
    animation: scanPulse 2s ease-in-out infinite;
}

.scan-handle {
    animation: scanRotate 2s ease-in-out infinite;
    transform-origin: 40px 40px;
}

@keyframes scanPulse {
    0%, 100% { 
        stroke-dasharray: 0, 157;
    }
    50% { 
        stroke-dasharray: 157, 157;
    }
}

@keyframes scanRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(360deg); }
}

.demo-scan-lines {
    position: relative;
    width: 120px;
    height: 120px;
    margin: -90px auto 20px;
    pointer-events: none;
}

.scan-line {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 241, 149, 0.3) 0%, transparent 70%);
    animation: scanLineMove 2s ease-in-out infinite;
}

@keyframes scanLineMove {
    0% { 
        top: 0;
        left: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% { 
        top: 40px;
        left: 40px;
        opacity: 0;
    }
}

.demo-scan-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.demo-scan-status {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1rem;
}

.demo-scan-progress {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.demo-scan-progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.demo-scan-time {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Step 5: Results */
.demo-results {
    max-width: 100%;
}

.demo-results-header {
    text-align: center;
    margin-bottom: 30px;
}

.demo-results-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.demo-results-header .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-results-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.demo-tab {
    padding: 10px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.demo-tab.active {
    background: rgba(20, 241, 149, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.demo-tab-badge {
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.demo-tab-badge.claimed {
    background: rgba(143, 155, 179, 0.2);
    color: var(--text-secondary);
}

.demo-tab-badge.available {
    background: rgba(20, 241, 149, 0.2);
    color: var(--primary);
}

.demo-tab-badge.upcoming {
    background: rgba(153, 69, 255, 0.2);
    color: var(--secondary);
}

.demo-results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.demo-result-card {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 180px;
    max-width: 280px;
}

@media (max-width: 899px) and (min-width: 600px) {
    .demo-result-card {
        flex: 1 1 calc(50% - 10px);
    }
}

.demo-result-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.demo-results .demo-result-card {
    animation: cardSlideIn 0.5s ease forwards;
    opacity: 0;
}

.demo-results .demo-result-card:nth-child(1) { animation-delay: 0.1s; }
.demo-results .demo-result-card:nth-child(2) { animation-delay: 0.2s; }
.demo-results .demo-result-card:nth-child(3) { animation-delay: 0.3s; }
.demo-results .demo-result-card:nth-child(4) { animation-delay: 0.4s; }
.demo-results .demo-result-card:nth-child(5) { animation-delay: 0.5s; }

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

.demo-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.demo-result-card.available {
    border-color: var(--primary);
}

.demo-result-card.phantom-special.available {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(20, 241, 149, 0.2);
    animation: phantomGlow 2s ease-in-out infinite;
}

@keyframes phantomGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(20, 241, 149, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(20, 241, 149, 0.4);
    }
}

.demo-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.demo-result-logo {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    overflow: hidden;
    padding: 4px;
}

.demo-result-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.demo-result-status {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--surface-light);
}

.demo-result-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.demo-result-value {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.demo-result-tokens {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.demo-result-chain {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

.demo-result-chain.solana {
    background: rgba(20, 241, 149, 0.15);
    color: #14F195;
}

.demo-result-chain.ethereum {
    background: rgba(98, 126, 234, 0.15);
    color: #627EEA;
}

.demo-result-chain.arbitrum {
    background: rgba(40, 160, 240, 0.15);
    color: #28A0F0;
}

/* Phantom Special Card */
.phantom-special {
    position: relative;
    overflow: visible !important;
}

.demo-claim-btn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: var(--gradient-1);
    border: none;
    border-radius: 10px;
    color: var(--background);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    animation: claimPulse 2s ease-in-out infinite;
}

@keyframes claimPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.7), 0 5px 15px rgba(20, 241, 149, 0.3);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(20, 241, 149, 0), 0 5px 25px rgba(20, 241, 149, 0.5);
    }
}

.demo-claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 241, 149, 0.4);
}

.demo-claim-btn:active {
    transform: translateY(0);
}

/* Claiming Overlay */
.claiming-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 13, 0.98);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 100;
}

.claiming-overlay.active {
    display: flex;
}

.claiming-animation {
    text-align: center;
    position: relative;
}

.claiming-animation.hide {
    display: none;
}

.coins-flying {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.coin {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--gradient-1);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.6);
}

.coin:nth-child(1) {
    animation: coinFly1 1.5s ease-out infinite;
}

.coin:nth-child(2) {
    animation: coinFly2 1.5s ease-out infinite;
    animation-delay: 0.2s;
}

.coin:nth-child(3) {
    animation: coinFly3 1.5s ease-out infinite;
    animation-delay: 0.4s;
}

.coin:nth-child(4) {
    animation: coinFly4 1.5s ease-out infinite;
    animation-delay: 0.6s;
}

.coin:nth-child(5) {
    animation: coinFly5 1.5s ease-out infinite;
    animation-delay: 0.8s;
}

@keyframes coinFly1 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        top: -20px;
        left: 20%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes coinFly2 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        top: -10px;
        left: 80%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes coinFly3 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 10px;
        left: 10%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes coinFly4 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        top: -15px;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes coinFly5 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 5px;
        left: 90%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

.wallet-icon {
    margin: 0 auto 20px;
    stroke: var(--primary);
    animation: walletBounce 1s ease-in-out infinite;
}

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

.claiming-text {
    color: var(--text-secondary);
    font-size: 1rem;
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

/* Claimed Success */
.claimed-success {
    display: none;
    text-align: center;
    animation: successFadeIn 0.5s ease forwards;
}

.claimed-success.show {
    display: block;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    margin: 0 auto 20px;
    stroke: var(--primary);
    animation: successCheckmark 0.8s ease forwards;
}

.success-icon svg {
    filter: drop-shadow(0 0 20px rgba(20, 241, 149, 0.6));
}

@keyframes successCheckmark {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.claimed-success h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(20, 241, 149, 0.5);
}

.claimed-success p {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.success-message {
    color: var(--text-secondary);
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin-top: 10px !important;
}

.demo-close-btn {
    width: 100%;
    padding: 14px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.demo-close-btn:hover {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.1);
}

.demo-close-btn:active {
    transform: scale(0.98);
}

/* Step 5: Coin Selection */
.demo-coin-selection {
    max-width: 100%;
}

.demo-selection-header {
    text-align: center;
    margin-bottom: 40px;
}

.demo-selection-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

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

.demo-coins-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.demo-coin-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: cardSlideIn 0.5s ease forwards;
    opacity: 0;
}

.demo-coin-card:nth-child(1) { animation-delay: 0.1s; }
.demo-coin-card:nth-child(2) { animation-delay: 0.2s; }
.demo-coin-card:nth-child(3) { animation-delay: 0.3s; }
.demo-coin-card:nth-child(4) { animation-delay: 0.4s; }
.demo-coin-card:nth-child(5) { animation-delay: 0.5s; }
.demo-coin-card:nth-child(6) { animation-delay: 0.6s; }

.demo-coin-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(20, 241, 149, 0.2);
}

.demo-coin-card.selected {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.1);
    animation: coinSelected 0.5s ease;
}

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

.demo-coin-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
}

.demo-coin-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.demo-coin-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.demo-coin-symbol {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Step 6: Scanning and Paperhanded Result */
.demo-scanning-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.demo-coin-logo-scanning {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    animation: logoPulse 2s ease-in-out infinite;
}

.demo-coin-logo-scanning img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(20, 241, 149, 0);
    }
}

/* Paperhanded Result Card */
.demo-paperhanded-result {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.paperhanded-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    animation: slideUp 0.6s ease;
}

.paperhanded-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle, rgba(20, 241, 149, 0.2) 0%, transparent 70%);
    padding: 20px;
    animation: iconReveal 0.8s ease;
}

@keyframes iconReveal {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.paperhanded-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.paperhanded-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.paperhanded-status {
    font-size: 1.8rem;
    font-weight: 700;
    color: #14F195;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(20, 241, 149, 0.3);
}

.paperhanded-sell-info {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.paperhanded-ath-info {
    font-size: 1rem;
    color: #FF6B6B;
    margin-bottom: 30px;
}

.highlight-green {
    color: #14F195;
    font-weight: 700;
}

.paperhanded-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.paperhanded-stat-box {
    background: rgba(20, 241, 149, 0.05);
    border: 2px solid rgba(20, 241, 149, 0.3);
    border-radius: 16px;
    padding: 25px;
    animation: statBoxFade 0.8s ease forwards;
    opacity: 0;
}

.paperhanded-stat-box:nth-child(1) { animation-delay: 0.3s; }
.paperhanded-stat-box:nth-child(2) { animation-delay: 0.5s; }

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.stat-value-big {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value-big.usd {
    background: linear-gradient(135deg, #9945FF 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-share-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: var(--background);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-bottom: 15px;
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(20, 241, 149, 0.3);
    }
    50% {
        box-shadow: 0 5px 35px rgba(20, 241, 149, 0.6);
    }
}

.demo-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(20, 241, 149, 0.5);
}

.report-footer {
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Navigation Dots */
.demo-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.demo-dot {
    width: 10px;
    height: 10px;
    background: var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Touch target size for mobile */
.demo-dot::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

.demo-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .demo-modal-content {
        padding: 50px 15px 15px;
        max-height: 95vh;
        border-radius: 16px;
        margin: 10px;
    }
    
    .demo-screen {
        min-height: 350px;
    }
    
    /* Coin Selection Mobile */
    .demo-coins-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .demo-coin-card {
        padding: 15px;
    }
    
    .demo-coin-logo {
        width: 60px;
        height: 60px;
    }
    
    .demo-coin-card h4 {
        font-size: 1rem;
    }
    
    .demo-coin-symbol {
        font-size: 0.8rem;
    }
    
    .demo-selection-header h3 {
        font-size: 1.5rem;
    }
    
    .demo-selection-header p {
        font-size: 0.95rem;
    }
    
    /* Paperhanded Result Mobile */
    .paperhanded-card {
        padding: 25px;
    }
    
    .paperhanded-icon {
        width: 100px;
        height: 100px;
    }
    
    .paperhanded-title {
        font-size: 1.8rem;
    }
    
    .paperhanded-status {
        font-size: 1.4rem;
    }
    
    .paperhanded-sell-info {
        font-size: 1rem;
    }
    
    .paperhanded-ath-info {
        font-size: 0.9rem;
    }
    
    .paperhanded-stats {
        gap: 12px;
    }
    
    .paperhanded-stat-box {
        padding: 18px;
    }
    
    .stat-value-big {
        font-size: 1.5rem;
    }
    
    .demo-coin-logo-scanning {
        width: 90px;
        height: 90px;
    }
    
    .demo-app-window {
        max-width: 100%;
        transform: scale(0.95);
    }
    
    .demo-window-header {
        padding: 10px 14px;
    }
    
    .demo-window-buttons {
        gap: 6px;
    }
    
    .demo-btn-close,
    .demo-btn-minimize,
    .demo-btn-maximize {
        width: 10px;
        height: 10px;
    }
    
    .demo-window-content {
        padding: 20px 15px;
        min-height: 280px;
    }
    
    .demo-window-title {
        font-size: 0.75rem;
    }
    
    .demo-logo {
        width: 16px;
        height: 16px;
    }
    
    .demo-results-grid {
        gap: 10px;
    }
    
    .demo-result-card {
        flex: 1 1 calc(50% - 5px) !important;
        min-width: 140px;
    }
    
    .demo-results-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .demo-tab {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .demo-results-header h3 {
        font-size: 1.3rem;
    }
    
    .demo-results-header p {
        font-size: 0.9rem;
    }
    
    .demo-input-section {
        max-width: 100%;
    }
    
    .demo-label {
        font-size: 0.8rem;
    }
    
    .demo-input {
        padding: 12px 14px;
        font-size: 0.8rem;
    }
    
    .demo-scan-btn {
        padding: 14px;
        font-size: 0.9rem;
    }
    
    .demo-phone {
        width: 320px;
        height: 580px;
    }
    
    .demo-phone-frame {
        border-width: 10px;
        border-radius: 35px;
    }
    
    .demo-mobile-content {
        padding: 40px 25px;
    }
    
    .demo-mobile-content h2 {
        font-size: 1.7rem;
    }
    
    .demo-wallet-select {
        padding: 25px 15px;
    }
    
    .demo-wallet-select h3 {
        font-size: 1.3rem;
    }
    
    .demo-transaction {
        padding: 25px 15px;
    }
    
    .demo-tx-logo {
        width: 50px;
        height: 50px;
    }
    
    .demo-scan-icon {
        width: 90px;
        height: 90px;
    }
    
    .demo-scan-title {
        font-size: 1.2rem;
    }
    
    .demo-scan-status {
        font-size: 0.85rem;
    }
    
    .demo-result-card {
        padding: 15px;
    }
    
    .demo-result-logo {
        width: 35px;
        height: 35px;
    }
    
    .demo-result-card h4 {
        font-size: 0.9rem;
    }
    
    .demo-result-value {
        font-size: 1.1rem;
    }
    
    .demo-navigation {
        margin-top: 20px;
        gap: 8px;
    }
    
    .demo-dot {
        width: 8px;
        height: 8px;
    }
    
    .demo-dot.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .demo-modal-content {
        padding: 45px 10px 10px;
        border-radius: 12px;
        margin: 5px;
    }
    
    .demo-screen {
        min-height: 300px;
    }
    
    /* Coin Selection Extra Small */
    .demo-coins-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .demo-coin-card {
        padding: 12px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
    }
    
    .demo-coin-logo {
        width: 50px;
        height: 50px;
        margin: 0;
    }
    
    .demo-coin-card h4 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }
    
    .demo-coin-symbol {
        font-size: 0.75rem;
    }
    
    .demo-selection-header h3 {
        font-size: 1.2rem;
    }
    
    .demo-selection-header p {
        font-size: 0.85rem;
    }
    
    /* Paperhanded Result Extra Small */
    .paperhanded-card {
        padding: 20px;
    }
    
    .paperhanded-icon {
        width: 80px;
        height: 80px;
        padding: 12px;
    }
    
    .paperhanded-title {
        font-size: 1.5rem;
    }
    
    .paperhanded-status {
        font-size: 1.2rem;
    }
    
    .paperhanded-sell-info {
        font-size: 0.9rem;
    }
    
    .paperhanded-ath-info {
        font-size: 0.8rem;
    }
    
    .paperhanded-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .paperhanded-stat-box {
        padding: 15px;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-value-big {
        font-size: 1.3rem;
    }
    
    .demo-share-btn {
        padding: 14px;
        font-size: 0.9rem;
    }
    
    .report-footer {
        font-size: 0.8rem;
    }
    
    .demo-coin-logo-scanning {
        width: 70px;
        height: 70px;
    }
    
    .demo-app-window {
        transform: scale(0.88);
        margin: 0 auto;
    }
    
    .demo-app-window.large {
        transform: scale(0.85);
    }
    
    .demo-window-content {
        padding: 15px 10px;
        min-height: 250px;
    }
    
    .demo-window-title {
        font-size: 0.7rem;
    }
    
    .demo-results-grid {
        gap: 10px;
    }
    
    .demo-result-card {
        flex: 1 1 100% !important;
        min-width: 100%;
    }
    
    .demo-results-tabs {
        gap: 5px;
    }
    
    .demo-tab {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
    
    .demo-results-header h3 {
        font-size: 1.1rem;
    }
    
    .demo-results-header p {
        font-size: 0.8rem;
    }
    
    .demo-progress-bar {
        width: 200px;
    }
    
    .demo-input {
        font-size: 0.7rem;
        padding: 10px 12px;
    }
    
    .demo-typing-cursor {
        height: 14px;
    }
    
    .demo-network-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
    
    .demo-scan-btn {
        font-size: 0.85rem;
    }
    
    .download-icon {
        width: 60px;
        height: 60px;
    }
    
    .demo-phone {
        width: 280px;
        height: 520px;
    }
    
    .demo-phone-frame {
        border-width: 8px;
        border-radius: 30px;
    }
    
    .demo-phone-frame::before {
        width: 100px;
        height: 22px;
    }
    
    .demo-mobile-content {
        padding: 30px 20px;
    }
    
    .demo-mobile-content h2 {
        font-size: 1.4rem;
    }
    
    .demo-mobile-content p {
        font-size: 0.9rem;
    }
    
    .demo-connect-btn {
        font-size: 0.9rem;
        padding: 14px;
    }
    
    .demo-wallet-select {
        padding: 20px 12px;
    }
    
    .demo-wallet-select h3 {
        font-size: 1.1rem;
    }
    
    .demo-wallet-option {
        padding: 14px 16px;
    }
    
    .demo-wallet-icon {
        width: 35px;
        height: 35px;
    }
    
    .demo-wallet-option span {
        font-size: 1rem;
    }
    
    .demo-transaction {
        padding: 20px 12px;
    }
    
    .demo-tx-logo {
        width: 45px;
        height: 45px;
    }
    
    .demo-tx-header h3 {
        font-size: 1.1rem;
    }
    
    .demo-tx-title {
        font-size: 1rem;
    }
    
    .demo-tx-row {
        font-size: 0.85rem;
    }
    
    .demo-approve-btn {
        font-size: 0.9rem;
        padding: 14px;
    }
    
    .demo-connected-icon {
        width: 40px;
        height: 40px;
    }
    
    .demo-wallet-connected {
        padding: 15px;
        gap: 10px;
    }
    
    .demo-connected-icon {
        width: 35px;
        height: 35px;
    }
    
    .demo-connected-address {
        font-size: 0.9rem;
    }
    
    .demo-connected-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .demo-scan-title {
        font-size: 0.95rem;
    }
    
    .demo-scan-status {
        font-size: 0.75rem;
    }
    
    .demo-scan-time {
        font-size: 0.7rem;
    }
    
    .demo-scan-lines {
        width: 70px;
        height: 70px;
        margin: -60px auto 15px;
    }
    
    .demo-result-card {
        padding: 12px;
    }
    
    .demo-result-logo {
        width: 30px;
        height: 30px;
    }
    
    .demo-result-status {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    
    .demo-result-card h4 {
        font-size: 0.85rem;
    }
    
    .demo-result-value {
        font-size: 1rem;
    }
    
    .demo-result-tokens {
        font-size: 0.75rem;
    }
    
    .demo-claim-btn {
        padding: 10px;
        font-size: 0.85rem;
        margin-top: 10px;
    }
    
    .demo-claim-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .coins-flying {
        width: 70px;
        height: 70px;
    }
    
    .coin {
        width: 20px;
        height: 20px;
    }
    
    .wallet-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .claiming-text {
        font-size: 0.85rem;
    }
    
    .claimed-success h3 {
        font-size: 1.2rem;
    }
    
    .claimed-success p {
        font-size: 0.95rem;
    }
    
    .success-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .demo-close-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .demo-navigation {
        margin-top: 15px;
    }
    
    .demo-loader p {
        font-size: 0.9rem;
    }
    
    .demo-text {
        font-size: 0.85rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .demo-results-header h3 {
        font-size: 1rem;
    }
    
    .demo-result-card {
        padding: 10px;
    }
    
    .demo-result-value {
        font-size: 0.95rem;
    }
    
    .demo-result-chain {
        font-size: 0.65rem;
    }
    
    .demo-tab {
        padding: 5px 8px;
        font-size: 0.65rem;
    }
    
    .demo-tab-badge {
        font-size: 0.65rem;
        padding: 1px 6px;
    }
}

/* ===== ANALYSIS CHOICE (Step 4.5) - IN PHONE ===== */
.demo-analysis-select {
    padding: 30px 20px;
}

.demo-analysis-select h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    text-align: center;
}

.demo-analysis-select p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
    text-align: center;
}

.demo-analysis-option {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-analysis-option:hover {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.05);
}

.demo-analysis-option.selected {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.1);
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.3);
}

.demo-analysis-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-analysis-icon.ai-icon {
    background: linear-gradient(135deg, rgba(20, 241, 149, 0.2), rgba(153, 69, 255, 0.2));
}

.demo-analysis-icon.ai-icon svg {
    stroke: var(--primary);
}

.demo-analysis-icon.paperhands-icon {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 165, 0, 0.2));
}

.demo-analysis-icon.paperhands-icon svg {
    stroke: #FF6B6B;
}

.demo-analysis-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-analysis-title {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.demo-analysis-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== AI RISK ANALYSIS RESULT ===== */
.demo-ai-result {
    animation: slideUp 0.6s ease;
}

.ai-risk-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.ai-risk-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.ai-risk-logo-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(255, 165, 0, 0.3);
}

.ai-risk-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-risk-network-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(20, 241, 149, 0.15);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

.ai-risk-coin-name {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.ai-risk-alert {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #FFA500, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.ai-risk-scan-time {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.ai-risk-validity {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.ai-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.ai-metric-card {
    background: rgba(20, 21, 23, 0.95);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ai-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.ai-metric-card.green {
    border: 2px solid #14F195;
}

.ai-metric-card.green::before {
    background: #14F195;
}

.ai-metric-card.purple {
    border: 2px solid #9945FF;
}

.ai-metric-card.purple::before {
    background: #9945FF;
}

.ai-metric-card.orange {
    border: 2px solid #FFA500;
}

.ai-metric-card.orange::before {
    background: #FFA500;
}

.ai-metric-card.red {
    border: 2px solid #FF6B6B;
}

.ai-metric-card.red::before {
    background: #FF6B6B;
}

.ai-metric-card.blue {
    border: 2px solid #9945FF;
}

.ai-metric-card.blue::before {
    background: #9945FF;
}

.ai-metric-card.dual {
    border: 2px solid;
    border-image: linear-gradient(90deg, #FFA500, #14F195) 1;
}

.ai-metric-card.orange-green::before {
    background: linear-gradient(90deg, #FFA500, #14F195);
}

.ai-metric-card.green-green::before {
    background: linear-gradient(90deg, #14F195, #14F195);
}

.ai-metric-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
    font-weight: 500;
}

.ai-metric-value {
    font-size: 1.9rem;
    font-weight: 700;
}

.ai-metric-card.green .ai-metric-value {
    color: #14F195;
}

.ai-metric-card.purple .ai-metric-value {
    color: #9945FF;
}

.ai-metric-card.orange .ai-metric-value {
    color: #FFA500;
}

.ai-metric-card.red .ai-metric-value {
    color: #FF6B6B;
}

.ai-metric-card.blue .ai-metric-value {
    color: #9945FF;
}

.ai-metric-dual {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ai-dual-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, transparent 49.5%, rgba(255, 255, 255, 0.3) 49.5%, rgba(255, 255, 255, 0.3) 50.5%, transparent 50.5%);
    pointer-events: none;
}

.ai-dual-top {
    text-align: left;
    padding-left: 10px;
}

.ai-dual-bottom {
    text-align: right;
    padding-right: 10px;
}

.ai-dual-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.ai-dual-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.green-text {
    color: #14F195;
}

.orange-text {
    color: #FFA500;
}

.ai-recommendation {
    background: rgba(20, 241, 149, 0.05);
    border: 1px solid rgba(20, 241, 149, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.ai-rec-title {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(90deg, #14F195, #9945FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.ai-rec-text {
    font-size: 1rem;
    color: #14F195;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 100px;
    position: relative;
    z-index: 20;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-top: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* AI Risk Analysis Mobile */
    .ai-risk-card {
        padding: 25px 15px;
    }
    
    .ai-risk-logo {
        width: 120px;
        height: 120px;
    }
    
    .ai-risk-logo-circle {
        width: 120px;
        height: 120px;
    }
    
    .ai-risk-network-badge {
        top: 15px;
        right: 15px;
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .ai-risk-coin-name {
        font-size: 1.8rem;
    }
    
    .ai-risk-alert {
        font-size: 1.3rem;
    }
    
    .ai-risk-scan-time {
        font-size: 0.85rem;
    }
    
    .ai-risk-validity {
        font-size: 0.75rem;
        margin-bottom: 20px;
    }
    
    .ai-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .ai-metric-card {
        padding: 15px 12px;
    }
    
    .ai-metric-label {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .ai-metric-value {
        font-size: 1.3rem;
    }
    
    .ai-dual-label {
        font-size: 0.7rem;
    }
    
    .ai-dual-value {
        font-size: 1.1rem;
    }
    
    .ai-recommendation {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .ai-rec-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .ai-rec-text {
        font-size: 0.85rem;
    }
    
    .demo-share-btn {
        font-size: 0.9rem;
        padding: 14px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1.5px;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    /* How it Works mobile */
    .how-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .how-card {
        padding: 40px 30px;
    }
    
    .how-icon {
        width: 80px;
        height: 80px;
    }
    
    .how-title {
        font-size: 1.5rem;
    }
    
    /* Example Paperhands mobile */
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .example-card {
        padding: 25px;
    }
    
    /* X Verification mobile */
    .x-verification-content {
        padding: 30px 20px;
    }
    
    .x-logo {
        width: 100px !important;
        height: 100px !important;
    }
    
    .x-logo-container {
        margin-bottom: 30px;
    }
    
    .x-loading-text {
        font-size: 1rem;
    }
    
    .x-verification-badges {
        gap: 8px;
        margin: 25px 0 35px;
    }
    
    .x-badge {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .x-badge svg {
        width: 18px;
        height: 18px;
    }
    
    .x-phantom-card {
        padding: 20px;
    }
    
    .x-phantom-label {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
    
    .x-phantom-logo-big {
        width: 90px;
        height: 90px;
        margin: 0 auto 12px;
    }
    
    .x-phantom-name {
        font-size: 1.3rem;
    }
    
    .x-progress-bar {
        margin-bottom: 12px;
    }
    
    .x-redirect-text {
        font-size: 0.85rem;
    }
    
    .hero-badges {
        gap: 8px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .wallet-info {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .tabs {
        gap: 5px;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .airdrop-grid {
        grid-template-columns: 1fr;
    }
    
    .loading-title {
        font-size: 2.5rem;
    }
    
    .loading-powered {
        font-size: 0.8rem;
    }
    
    .search-icon-wrapper {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: 40px 25px 30px;
        margin: 0 15px;
    }
    
    .modal-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    
    .modal-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-description {
        font-size: 0.95rem;
    }
    
    .modal-platforms {
        gap: 10px;
    }
    
    .platform-badge {
        padding: 15px 10px;
    }
    
    .platform-badge svg {
        width: 24px;
        height: 24px;
    }
    
    .platform-badge span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    /* AI Risk Analysis Extra Small */
    .ai-metrics-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .ai-metric-card {
        padding: 18px 15px;
    }
    
    .ai-metric-value {
        font-size: 1.5rem;
    }
    
    .ai-dual-value {
        font-size: 1.3rem;
    }
    
    .ai-risk-coin-name {
        font-size: 1.5rem;
    }
    
    .ai-risk-alert {
        font-size: 1.1rem;
    }
    
    .ai-recommendation {
        padding: 12px;
    }
    
    .ai-rec-title {
        font-size: 0.85rem;
    }
    
    .ai-rec-text {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .loading-title {
        font-size: 2rem;
    }
    
    .loading-powered {
        font-size: 0.75rem;
    }
    
    .hero-badges {
        gap: 6px;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .header .container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .powered-by {
        font-size: 0.6rem;
    }
    
    .modal-content {
        padding: 35px 20px 25px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-description {
        font-size: 0.9rem;
    }
    
    .modal-url-box {
        padding: 15px;
    }
    
    .modal-input {
        font-size: 0.8rem;
        padding: 8px;
    }
}



