/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    --gradient-reverse: linear-gradient(135deg, #ec4899, #8b5cf6, #6366f1);
    --card-bg: rgba(30, 41, 59, 0.7);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 20%);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .connect-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-dark);
}

.connect-btn {
    background: var(--gradient);
    color: white;
    padding: 10px 20px;
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.nav-brand i {
    color: var(--primary);
    font-size: 28px;
}

.nav-brand span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.wallet-info {
    background: var(--card-bg);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.wallet-info span {
    font-size: 12px;
    font-family: monospace;
}

.wallet-info #walletBalance {
    color: var(--secondary);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 140px 20px 80px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.crypto-animation {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbital {
    position: relative;
    width: 300px;
    height: 300px;
    animation: rotate 20s linear infinite;
}

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

.node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.node.bitcoin {
    background: #f7931a;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.node.ethereum {
    background: #627eea;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.node.solana {
    background: linear-gradient(135deg, #9945FF, #14F195);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.node.polygon {
    background: #8247e5;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Sections */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Wallet Section */
.wallet-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.wallet-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.wallet-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallet-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.network-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.network-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
}

.wallet-body {
    padding: 30px;
}

.address-display {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px;
    font-family: monospace;
    word-break: break-all;
    margin-top: 10px;
}

.wallet-balance-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.balance-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.balance-amount i {
    color: var(--primary);
}

.wallet-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-action {
    padding: 12px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-action:hover:not(:disabled) {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

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

.transaction-history {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.transactions-list {
    margin-top: 20px;
}

.transaction-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.transaction-empty i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: var(--gray);
}

.small-text {
    font-size: 0.9rem;
    margin-top: 10px;
}

/* NFT Gallery */
.nft-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.nft-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.nft-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.nft-image {
    width: 100%;
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

.nft-info {
    padding: 20px;
}

.nft-name {
    font-weight: 600;
    margin-bottom: 10px;
}

.nft-id {
    color: var(--gray);
    font-size: 0.9rem;
    font-family: monospace;
}

.nft-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.web3-visual {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.layer {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.layer:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px 30px;
}

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

.footer-brand {
    font-size: 24px;
    font-weight: 700;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

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

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 5px 0 0 5px;
    color: white;
}

.newsletter-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--gray);
    font-size: 20px;
    transition: var(--transition);
}

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

/* Toast & Modals */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px 25px;
    box-shadow: var(--shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 10000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 30px;
}

.qrcode-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
}

.btn-copy {
    width: 100%;
    padding: 15px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-copy:hover {
    background: rgba(99, 102, 241, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray);
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
}

.fee-display {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container,
    .about-content,
    .wallet-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-buttons,
    .nft-controls {
        flex-direction: column;
    }
    
    .wallet-balance-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.hidden {
    display: none !important;
}
/* Additional CSS for ethers.js features */

/* Network Status */
.network-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    max-width: 300px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
}

.status-dot.connected {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.btn-disconnect {
    background: transparent;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.btn-disconnect:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

/* Swap Section */
.swap-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
}

.swap-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.swap-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.swap-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swap-settings {
    color: var(--gray);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.swap-settings:hover {
    background: var(--glass);
    color: white;
}

.swap-body {
    padding: 30px;
}

.swap-from, .swap-to {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.swap-input-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--gray);
    font-size: 0.9rem;
}

.swap-input-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.swap-input-container input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    outline: none;
    font-family: 'Space Grotesk', sans-serif;
}

.swap-input-container input::placeholder {
    color: var(--gray);
}

.token-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    padding: 10px 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.token-selector:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.token-selector img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.swap-switch {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.swap-switch button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.swap-switch button:hover {
    transform: rotate(180deg);
    background: var(--primary-dark);
}

.swap-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--gray);
}

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

.btn-swap {
    width: 100%;
    padding: 18px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-swap:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

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

.swap-disclaimer {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    color: var(--warning);
}

.swap-disclaimer i {
    font-size: 1.2rem;
}

.swap-disclaimer p {
    font-size: 0.9rem;
    margin: 0;
}

.swap-info-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.market-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.market-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.market-item span:first-child {
    color: var(--gray);
    font-size: 0.9rem;
    display: block;
}

.market-item span:last-child {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-top: 5px;
}

.price-chart {
    height: 200px;
    margin-top: 20px;
}

/* Token List */
.wallet-tokens {
    margin-top: 30px;
}

.tokens-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
}

.token-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.token-item:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

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

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.token-details {
    display: flex;
    flex-direction: column;
}

.token-name {
    font-weight: 600;
}

.token-symbol {
    color: var(--gray);
    font-size: 0.9rem;
}

.token-balance {
    text-align: right;
}

.token-amount {
    font-weight: 600;
}

.token-value {
    color: var(--gray);
    font-size: 0.9rem;
}

.token-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.token-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.5;
}

/* NFT Filters */
.nft-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.filter-btn.active {
    background: var(--gradient);
    border-color: transparent;
}

.filter-btn:hover:not(.active) {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Token Select Modal */
.token-search {
    margin-bottom: 20px;
}

.token-search input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
}

.token-list {
    max-height: 400px;
    overflow-y: auto;
}

.token-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    cursor: pointer;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.token-list-item:hover {
    background: var(--glass);
    border-color: var(--glass-border);
}

.token-list-item.selected {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
}

.token-list-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Install MetaMask Modal */
.install-metaMask {
    text-align: center;
    padding: 20px;
}

.install-metaMask i {
    color: #f6851b;
    margin-bottom: 20px;
}

.install-metaMask h4 {
    margin: 20px 0 15px;
    font-size: 1.5rem;
}

.install-metaMask p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.install-metaMask .btn-primary,
.install-metaMask .btn-secondary {
    width: 100%;
    margin-bottom: 15px;
}

/* Form Improvements */
.amount-input {
    display: flex;
    gap: 10px;
}

.amount-input input {
    flex: 1;
}

.btn-max {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-max:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.token-select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions button {
    flex: 1;
}

.btn-refresh {
    width: 100%;
    padding: 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-refresh:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
}

/* QR Code */
#qrCode {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 10px;
    padding: 20px;
}

/* Chart */
canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive */
@media (max-width: 992px) {
    .swap-container {
        grid-template-columns: 1fr;
    }
    
    .wallet-actions {
        flex-wrap: wrap;
    }
    
    .btn-action {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .market-data {
        grid-template-columns: 1fr;
    }
    
    .swap-input-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .token-selector {
        justify-content: center;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}