:root {
    --bg-deepest: #05050a;
    --bg-deep: #0a0b14;
    --bg-mid: #10111f;
    --bg-elevated: #1a1c2e;
    --accent-cyan: #00fff0;
    --accent-yellow: #ffff00;
    --accent-magenta: #ff00ff;
    --accent-lime: #ccff00;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
}

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

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: 
        linear-gradient(45deg, rgba(26, 28, 46, 0.4) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(26, 28, 46, 0.4) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(26, 28, 46, 0.4) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(26, 28, 46, 0.4) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.3;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 15% 10%, rgba(0, 255, 240, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 85% 20%, rgba(255, 255, 0, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 0, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 70%, rgba(204, 255, 0, 0.08) 0%, transparent 40%);
    animation: gradientShift 25s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.15) rotate(3deg); }
}

.orbitron {
    font-family: 'Orbitron', monospace;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 11, 20, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(0, 255, 240, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0, 255, 240, 0.08);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 240, 0.3);
}

.connect-button {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-yellow) 100%);
    color: var(--bg-deep);
    padding: 0.7rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 255, 240, 0.4);
    letter-spacing: 0.02em;
    font-family: 'Sora', sans-serif;
}

.connect-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 240, 0.6), 0 0 40px rgba(255, 255, 0, 0.3);
}

.hero-section {
    text-align: center;
    padding: 10rem 2rem 5rem;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 50%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
    text-shadow: 0 0 80px rgba(0, 255, 240, 0.5);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

.info-card,
.main-card {
    background: linear-gradient(135deg, rgba(26, 28, 46, 0.7), rgba(16, 17, 31, 0.7));
    border: 1px solid rgba(0, 255, 240, 0.25);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(30px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3), 0 0 80px rgba(0, 255, 240, 0.05);
}

.info-card::before,
.main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 240, 0.7), 
        rgba(255, 255, 0, 0.5), 
        transparent);
}

.card-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
    letter-spacing: -0.02em;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

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

.info-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
}

.info-value {
    color: var(--accent-cyan);
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.7rem;
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(16, 17, 31, 0.9);
    border: 2px solid rgba(0, 255, 240, 0.25);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Sora', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 4px rgba(0, 255, 240, 0.15), 0 0 30px rgba(0, 255, 240, 0.2);
    background: rgba(16, 17, 31, 1);
}

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

.form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-hint {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.6rem;
}

.token-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.token-search-container {
    position: relative;
    width: 100%;
}

.token-search-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(16, 17, 31, 0.9);
    border: 2px solid rgba(0, 255, 240, 0.25);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Sora', sans-serif;
    transition: all 0.3s ease;
}

.token-search-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 4px rgba(0, 255, 240, 0.15), 0 0 30px rgba(0, 255, 240, 0.2);
    background: rgba(16, 17, 31, 1);
}

.token-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(16, 17, 31, 0.98);
    border: 2px solid rgba(0, 255, 240, 0.3);
    border-radius: 12px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    backdrop-filter: blur(30px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 240, 0.2);
}

.token-dropdown::-webkit-scrollbar {
    width: 8px;
}

.token-dropdown::-webkit-scrollbar-track {
    background: rgba(16, 17, 31, 0.5);
    border-radius: 10px;
}

.token-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 240, 0.3);
    border-radius: 10px;
}

.token-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 240, 0.5);
}

.token-item {
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.token-item:last-child {
    border-bottom: none;
}

.token-item:hover {
    background: rgba(0, 255, 240, 0.1);
}

.token-item-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.token-item-symbol {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.token-item-address {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: 'Orbitron', monospace;
}

.hidden {
    display: none !important;
}

.action-button {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-yellow) 100%);
    color: var(--bg-deep);
    border: none;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 240, 0.5);
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.02em;
    margin-top: 1.5rem;
}

.action-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 255, 240, 0.7), 0 0 60px rgba(255, 255, 0, 0.4);
}

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

.action-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.secondary-button {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(0, 255, 240, 0.4);
    box-shadow: none;
}

.secondary-button:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 240, 0.15);
    box-shadow: 0 5px 25px rgba(0, 255, 240, 0.3);
}

.success-box {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(0, 255, 240, 0.1));
    border: 2px solid rgba(5, 150, 105, 0.4);
    border-radius: 18px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.success-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 1.2rem;
    font-family: 'Orbitron', monospace;
}

.offer-link {
    background: rgba(16, 17, 31, 0.95);
    border: 2px solid rgba(0, 255, 240, 0.3);
    border-radius: 12px;
    padding: 1.2rem;
    word-break: break-all;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.copy-btn,
.share-btn {
    flex: 1;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Sora', sans-serif;
}

.copy-btn {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-yellow));
    color: var(--bg-deep);
    box-shadow: 0 5px 20px rgba(0, 255, 240, 0.4);
}

.copy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 240, 0.6);
}

.share-btn {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(0, 255, 240, 0.4);
}

.share-btn:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 240, 0.15);
}

.offer-details {
    background: rgba(16, 17, 31, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 14px;
    padding: 2rem;
}

.offer-details h3 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.offer-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

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

.offer-detail-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.offer-detail-value {
    color: var(--accent-cyan);
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
}

.warning-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(255, 102, 0, 0.1));
    border: 2px solid rgba(245, 158, 11, 0.4);
    border-radius: 14px;
    padding: 2rem;
    margin: 2rem 0;
}

.warning-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.warning-box div:not(.warning-title) {
    color: #fbbf24;
    font-size: 1rem;
    line-height: 1.7;
}

.status-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, rgba(26, 28, 46, 0.98), rgba(16, 17, 31, 0.98));
    border: 2px solid rgba(0, 255, 240, 0.4);
    border-radius: 14px;
    padding: 1.2rem 1.8rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 255, 240, 0.3);
    backdrop-filter: blur(30px);
    z-index: 9999;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.status-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.status-toast.success {
    border-color: rgba(5, 150, 105, 0.6);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.25), rgba(0, 255, 240, 0.15));
}

.status-toast.error {
    border-color: rgba(239, 68, 68, 0.6);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(255, 0, 255, 0.15));
}

.status-toast.info {
    border-color: rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(0, 255, 240, 0.15));
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-yellow);
}

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

    .nav-content {
        padding: 1rem 1.5rem;
    }

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

    .connect-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero-section {
        padding: 7rem 1.5rem 3rem;
    }

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

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

    .info-card,
    .main-card {
        padding: 1.8rem;
    }

    .card-title {
        font-size: 1.6rem;
    }

    .token-row {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
    }

    .status-toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .card-title {
        font-size: 1.4rem;
    }
}
.chain-selector {
    background: rgba(0, 255, 240, 0.1);
    border: 1px solid rgba(0, 255, 240, 0.3);
    color: #00fff0;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chain-selector:hover {
    background: rgba(0, 255, 240, 0.15);
    border-color: #00fff0;
}

.chain-selector option {
    background: #0a0e27;
    color: #00fff0;
}


.chain-selector {
    background: rgba(0, 255, 240, 0.1);
    border: 1px solid rgba(0, 255, 240, 0.3);
    color: #00fff0;
    padding: 10px 16px;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.chain-selector:hover {
    background: rgba(0, 255, 240, 0.15);
    border-color: #00fff0;
}

.chain-selector:focus {
    border-color: #00fff0;
    box-shadow: 0 0 0 2px rgba(0, 255, 240, 0.2);
}

.chain-selector option {
    background: #0a0e27;
    color: #00fff0;
    padding: 10px;
}
