: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;
}

/* 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);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--surface);
    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: Download Animation */
.demo-download-animation {
    text-align: center;
}

.download-icon {
    stroke: var(--primary);
    margin-bottom: 30px;
    animation: downloadBounce 1.5s ease-in-out infinite;
}

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

.demo-progress-bar {
    width: 300px;
    height: 6px;
    background: var(--surface-light);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.demo-progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 3px;
    animation: downloadProgress 2s ease-in-out forwards;
}

@keyframes downloadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

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

/* 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);
}

/* 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;
    }
    
    .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;
    }
    
    .download-icon {
        width: 70px;
        height: 70px;
    }
    
    .demo-text {
        font-size: 0.95rem;
    }
    
    .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;
    }
    
    .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-scan-icon {
        width: 70px;
        height: 70px;
    }
    
    .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;
    }
}

/* Mobile Reward Modal */
.reward-modal-content {
    position: relative;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px 30px 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
}

.reward-step {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.reward-step.active {
    display: block;
}

/* Step 1: Scanning */
.reward-scanning {
    text-align: center;
    padding: 40px 20px;
}

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

.reward-scan-lines {
    position: relative;
    width: 100px;
    height: 100px;
    margin: -80px auto 30px;
    pointer-events: none;
}

.reward-scan-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

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

.reward-scan-progress {
    width: 100%;
    max-width: 300px;
    height: 6px;
    background: var(--surface);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

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

/* Step 2: Found Animation */
.reward-found-animation {
    text-align: center;
    padding: 60px 20px;
}

.reward-checkmark {
    margin: 0 auto 30px;
    stroke: var(--primary);
    animation: successCheckmark 0.8s ease forwards;
}

.reward-checkmark svg {
    filter: drop-shadow(0 0 25px rgba(20, 241, 149, 0.8));
}

.reward-found-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

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

/* Step 3: Reward Details */
.reward-content {
    padding: 20px 0;
}

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

.reward-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(20, 241, 149, 0.1);
    border: 1px solid rgba(20, 241, 149, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.reward-badge svg {
    stroke: var(--primary);
}

.reward-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

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

.reward-amount {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--surface-light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    margin-bottom: 25px;
    animation: rewardPulse 2s ease-in-out infinite;
}

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

.reward-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px;
    flex-shrink: 0;
}

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

.reward-values {
    flex: 1;
}

.reward-tokens {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3px;
}

.reward-usd {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Code Section */
.reward-code-section {
    margin-bottom: 25px;
}

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

.reward-code-box {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 10px;
}

.reward-code {
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(20, 241, 149, 0.5);
}

.reward-copy-btn {
    padding: 10px 20px;
    background: var(--gradient-1);
    border: none;
    border-radius: 10px;
    color: var(--background);
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.reward-code-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #FF6B6B;
    font-size: 0.85rem;
    text-align: center;
    font-weight: 600;
}

.reward-code-hint svg {
    stroke: #FF6B6B;
    flex-shrink: 0;
}

/* Timer */
.reward-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
    color: #FF6B6B;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.reward-timer svg {
    stroke: #FF6B6B;
    flex-shrink: 0;
}

.countdown {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 800;
}

/* Stats */
.reward-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.reward-stat {
    text-align: center;
    padding: 15px;
    background: var(--surface-light);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stat-number {
    display: block;
    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;
}

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

/* Instructions */
.reward-instructions {
    background: var(--surface-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.reward-instructions h4 {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.reward-instructions h4 svg {
    stroke: var(--primary);
}

.reward-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.reward-step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--gradient-1);
    color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Footer */
.reward-footer {
    text-align: center;
}

.reward-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.reward-note svg {
    stroke: var(--text-secondary);
    flex-shrink: 0;
}

.reward-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #FFB347;
    font-size: 0.85rem;
    font-weight: 600;
}

.reward-warning svg {
    stroke: #FFB347;
    flex-shrink: 0;
}

/* Fixed Reward Button */
.fixed-reward-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: none;
}

.fixed-reward-btn.show {
    display: block;
    animation: slideUpButton 0.4s ease;
}

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

.fixed-reward-btn button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50px;
    color: var(--background);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(20, 241, 149, 0.4);
    animation: fixedBtnPulse 2s ease-in-out infinite;
    font-family: inherit;
}

.fixed-reward-btn button svg {
    stroke: var(--background);
}

@keyframes fixedBtnPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(20, 241, 149, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(20, 241, 149, 0.7);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .reward-modal-content {
        padding: 45px 20px 20px;
        margin: 10px;
    }
    
    .reward-title {
        font-size: 1.7rem;
    }
    
    .reward-amount {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .reward-logo {
        width: 70px;
        height: 70px;
    }
    
    .reward-tokens {
        font-size: 1.3rem;
    }
    
    .reward-code {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .reward-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .reward-step-item {
        font-size: 0.85rem;
    }
    
    .fixed-reward-btn button {
        padding: 14px 25px;
        font-size: 0.9rem;
    }
    
    .reward-scan-icon {
        width: 80px;
        height: 80px;
    }
    
    .reward-scan-lines {
        width: 80px;
        height: 80px;
        margin: -65px auto 25px;
    }
    
    .reward-checkmark svg {
        width: 80px;
        height: 80px;
    }
    
    .reward-found-animation {
        padding: 40px 15px;
    }
}

@media (max-width: 360px) {
    .reward-title {
        font-size: 1.5rem;
    }
    
    .reward-code {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .reward-tokens {
        font-size: 1.2rem;
    }
    
    .reward-usd {
        font-size: 0.95rem;
    }
}

/* Phantom Allocation Widget (Desktop) */
.phantom-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 500;
    display: none;
}

/* Показываем только на desktop */
@media (min-width: 769px) {
    .phantom-widget {
        display: block;
    }
}

.phantom-widget-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--surface-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: widgetPulse 2s ease-in-out infinite;
    position: relative;
}

@keyframes widgetPulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(20, 241, 149, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(20, 241, 149, 0.3), 0 0 0 10px rgba(20, 241, 149, 0);
    }
}

.phantom-widget-btn::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background: #FF6B6B;
    border-radius: 50%;
    border: 2px solid var(--surface-light);
    animation: notificationDot 1.5s ease-in-out infinite;
}

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

.phantom-widget-btn:hover {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 241, 149, 0.3);
}

.widget-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Widget Panel */
.phantom-widget-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    background: var(--surface-light);
    border: 2px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: bottom right;
}

.phantom-widget-panel.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

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

.panel-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 8px;
}

.widget-panel-header h3 {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 700;
}

.panel-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

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

.panel-close svg {
    display: block;
}

.widget-panel-content {
    padding: 20px;
}

.widget-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(20, 241, 149, 0.1);
    border: 1px solid rgba(20, 241, 149, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.widget-badge svg {
    stroke: var(--primary);
}

.widget-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.widget-eligibility {
    background: var(--surface);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.widget-eligibility h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

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

.widget-eligibility li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.widget-eligibility li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary);
    font-weight: bold;
}

.widget-cta {
    margin-bottom: 15px;
}

.widget-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(20, 241, 149, 0.05);
    border: 1px solid rgba(20, 241, 149, 0.2);
    border-radius: 10px;
    margin-bottom: 15px;
}

.widget-highlight svg {
    stroke: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.widget-cta-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.widget-cta-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.widget-download-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--gradient-1);
    border: none;
    border-radius: 10px;
    color: var(--background);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.widget-download-btn svg {
    stroke: var(--background);
}

.widget-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.widget-footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.widget-footer svg {
    stroke: var(--text-secondary);
}

/* 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) {
    .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;
    }
    
    .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) {
    .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;
    }
}



/* ===== SMARTSCREEN TUTORIAL MODAL ===== */
.smartscreen-modal .modal-content {
    max-width: 900px;
    background: var(--surface);
    padding: 0;
    overflow: hidden;
}

.smartscreen-content {
    padding: 40px;
}

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

.smartscreen-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.smartscreen-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.smartscreen-simulation {
    position: relative;
    background: linear-gradient(180deg, #0067C0 0%, #0078D4 100%);
    border-radius: 8px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    overflow: hidden;
}

/* Step Container */
.smartscreen-step {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

/* Step 1: White Card Style */
.smartscreen-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 50px 60px;
    max-width: 500px;
    text-align: center;
}

.smartscreen-shield-icon {
    margin-bottom: 25px;
}

.smartscreen-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 18px;
    font-family: 'Segoe UI', sans-serif;
}

.smartscreen-card-text {
    font-size: 14px;
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.smartscreen-link {
    display: inline-block;
    color: #0067C0;
    font-size: 14px;
    text-decoration: underline;
    margin-bottom: 30px;
    font-family: 'Segoe UI', sans-serif;
    cursor: pointer;
}

.smartscreen-link:hover {
    color: #005a9e;
}

.smartscreen-button {
    width: 100%;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Segoe UI', sans-serif;
}

.smartscreen-button-primary {
    background: #0067C0;
    color: white;
}

.smartscreen-button-primary:hover {
    background: #005498;
}

.smartscreen-button-primary-blue {
    background: #0067C0;
    color: white;
}

.smartscreen-button-primary-blue:hover {
    background: #005498;
}

.smartscreen-button-secondary {
    background: white;
    color: #0067C0;
    border: 2px solid #0067C0;
    margin-bottom: 12px;
}

.smartscreen-button-secondary:hover {
    background: #f5f5f5;
}

.smartscreen-button-secondary-white {
    background: white;
    color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
    font-weight: 500;
}

.smartscreen-button-secondary-white:hover {
    background: #f0f0f0;
}

/* Step 2: Full Screen Blue Style */
.smartscreen-fullscreen {
    background: #0067C0;
    padding: 80px 60px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.smartscreen-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    font-weight: 300;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
}

.smartscreen-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.smartscreen-fs-title {
    font-size: 32px;
    font-weight: 400;
    color: white;
    margin-bottom: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.smartscreen-fs-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 600px;
    font-family: 'Segoe UI', sans-serif;
    text-align: left;
}

.smartscreen-fs-link {
    display: inline-block;
    color: white;
    font-size: 15px;
    text-decoration: underline;
    margin-bottom: 40px;
    font-family: 'Segoe UI', sans-serif;
}

.smartscreen-app-details {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 20px 25px;
    margin-bottom: 40px;
    min-width: 400px;
}

.smartscreen-detail-row {
    display: flex;
    margin-bottom: 12px;
    font-family: 'Segoe UI', sans-serif;
}

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

.smartscreen-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    min-width: 90px;
}

.smartscreen-value {
    color: white;
    font-size: 15px;
}

.smartscreen-fs-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
    max-width: 250px;
}

/* Step 3: Success Card - Dark Style */
.smartscreen-success-dark {
    background: var(--surface-light);
    border: 1px solid rgba(20, 241, 149, 0.2);
    border-radius: 12px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
}

.success-icon-dark {
    margin-bottom: 25px;
    animation: successFadeIn 1s ease;
}

@keyframes successFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.success-title-dark {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-text-dark {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Animated Cursor */
.animated-cursor {
    position: absolute;
    pointer-events: none;
    z-index: 100;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform-origin: top left;
}

.animated-cursor.active {
    opacity: 1;
}

.animated-cursor.clicking {
    transform: scale(0.9);
}

/* Modal Controls */
.smartscreen-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.smartscreen-controls .btn {
    flex: 1;
    max-width: 250px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .smartscreen-content {
        padding: 30px 20px;
    }

    .smartscreen-simulation {
        min-height: 450px;
    }

    .smartscreen-card {
        padding: 40px 30px;
        max-width: 90%;
    }

    .smartscreen-fullscreen {
        padding: 60px 30px;
    }

    .smartscreen-title {
        font-size: 22px;
    }

    .smartscreen-card-title {
        font-size: 20px;
    }

    .smartscreen-fs-title {
        font-size: 26px;
    }

    .smartscreen-app-details {
        min-width: auto;
        width: 100%;
    }

    .smartscreen-fs-buttons {
        max-width: 100%;
        width: 100%;
    }

    .smartscreen-controls {
        flex-direction: column;
    }

    .smartscreen-controls .btn {
        max-width: 100%;
        width: 100%;
    }
}

/* SmartScreen Tutorial Modal End */
