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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f9f9f9;
    --bg-tertiary: #f5f6fc;
    --bg-card: #ffffff;
    --bg-input: #f9f9f9;
    --border-color: #e8ecfb;
    --border-hover: #d3d8f0;
    --text-primary: #222222;
    --text-secondary: #7780a1;
    --text-tertiary: #5d6785;
    --accent-pink: #fc72ff;
    --accent-pink-light: rgba(252, 114, 255, 0.12);
    --accent-green: #21c95e;
    --accent-red: #ff5f52;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(180deg, #f5f6fc 0%, #ffffff 100%);
}

.crypto-icon {
    position: absolute;
    font-size: 100px;
    font-weight: bold;
    opacity: 0.08;
    filter: blur(80px);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -40px) rotate(90deg); }
    50% { transform: translate(-25px, 35px) rotate(180deg); }
    75% { transform: translate(35px, 30px) rotate(270deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-35px, 25px) rotate(120deg); }
    50% { transform: translate(40px, -30px) rotate(240deg); }
    75% { transform: translate(-20px, -35px) rotate(360deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(25px, 40px) rotate(80deg); }
    50% { transform: translate(-30px, -25px) rotate(160deg); }
    75% { transform: translate(40px, -40px) rotate(240deg); }
}

nav {
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-menu a:hover {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-buy {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

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

.btn-buy.hidden {
    visibility: hidden;
}

.btn-connect {
    padding: 10px 16px;
    font-size: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-pink) 0%, #f542d7 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.btn-connect:hover {
    box-shadow: 0 4px 16px rgba(252, 114, 255, 0.4);
    transform: translateY(-1px);
}

main {
    max-width: 480px;
    margin: 48px auto 32px;
    padding: 0 16px;
}

.swap-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 12px;
    box-shadow: var(--shadow-md);
}

.swap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 0 4px;
}

.swap-title {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.slippage-settings {
    display: flex;
    gap: 4px;
}

.slippage-btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.slippage-btn.active {
    background: var(--accent-pink);
    color: #fff;
}

.slippage-btn:hover:not(.active) {
    background: var(--border-color);
}

.input-group {
    margin-bottom: 4px;
}

.input-field {
    background-color: var(--bg-tertiary);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 16px;
    transition: all 0.2s ease;
}

.input-field:hover {
    border-color: var(--border-hover);
}

.input-field:focus-within {
    border-color: var(--accent-pink);
    background-color: var(--bg-card);
}

.input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.input-row input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 36px;
    font-weight: 500;
    outline: none;
    flex: 1;
    font-family: inherit;
    min-width: 0;
}

.input-row input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.token-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fc72ff 0%, #f542d7 100%);
    border: none;
    border-radius: 24px;
    padding: 6px 14px 6px 6px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(252, 114, 255, 0.25);
}

.token-button.select-token {
    background: linear-gradient(135deg, #fc72ff 0%, #f542d7 100%);
    color: #fff;
}

.token-button.has-token {
    background: linear-gradient(135deg, #fc72ff 0%, #f542d7 100%);
    color: #ffffff;
}

.token-button:hover {
    box-shadow: 0 6px 20px rgba(252, 114, 255, 0.4);
    transform: translateY(-1px);
}

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.token-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.token-icon.eth {
    padding: 4px;
}

.token-icon.usdc {
    background: linear-gradient(135deg, #2775ca 0%, #2775ca 100%);
}

.token-icon.usdt {
    background: linear-gradient(135deg, #26a17b 0%, #26a17b 100%);
}

.token-icon.dai {
    background: linear-gradient(135deg, #f5ac37 0%, #f5ac37 100%);
}

.chevron {
    width: 16px;
    height: 16px;
    color: inherit;
    flex-shrink: 0;
}

.input-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

.max-btn {
    background: none;
    border: none;
    color: var(--accent-pink);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.2s;
}

.max-btn:hover {
    background: var(--accent-pink-light);
}

.swap-arrow-container {
    display: flex;
    justify-content: center;
    margin: -12px 0;
    position: relative;
    z-index: 10;
}

.btn-arrow {
    background-color: var(--bg-tertiary);
    border: 4px solid var(--bg-card);
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-arrow:hover {
    background-color: var(--border-color);
    transform: rotate(180deg);
}

.btn-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.btn-connect-large {
    width: 100%;
    margin-top: 12px;
    padding: 18px;
    background: linear-gradient(135deg, var(--accent-pink) 0%, #f542d7 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-connect-large:hover {
    box-shadow: 0 8px 24px rgba(252, 114, 255, 0.35);
    transform: translateY(-2px);
}

.btn-connect-large:active {
    transform: scale(0.98);
}

.btn-connect-large:disabled {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.swap-rate-card {
    margin-top: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.swap-rate-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.swap-rate-info {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.swap-rate-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s;
}

.swap-rate-toggle.expanded {
    transform: rotate(180deg);
}

.swap-rate-details {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.swap-rate-details.show {
    display: block;
}

.rate-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

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

.rate-label {
    color: var(--text-secondary);
}

.rate-value {
    color: var(--text-primary);
    font-weight: 500;
}

.info-box {
    margin-top: 16px;
    padding: 12px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

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

.info-label {
    color: var(--text-secondary);
}

.info-value {
    color: var(--text-primary);
}

.disclaimer {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.disclaimer a {
    color: var(--text-tertiary);
    text-decoration: underline;
    transition: color 0.2s ease;
    cursor: pointer;
}

.disclaimer a:hover {
    color: var(--text-primary);
}

.stats-section {
    max-width: 1280px;
    margin: 80px auto;
    padding: 0 16px;
}

.stats-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px 32px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .stats-container {
        padding: 32px 20px;
    }
}

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

.stats-header h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .stats-header h2 {
        font-size: 28px;
    }
}

.stats-header p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 24px;
}

.stats-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-pink);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.stats-link:hover {
    opacity: 0.8;
}

.stats-link svg {
    width: 20px;
    height: 20px;
}

.protocol-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.green-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.stat-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 20px;
    transition: all 0.2s ease;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.stat-value {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.stat-value.green {
    color: var(--accent-green);
}

@media (max-width: 768px) {
    .stat-value {
        font-size: 28px;
    }
}

.features-section {
    max-width: 1280px;
    margin: 80px auto;
    padding: 0 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.feature-card {
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card.purple {
    background: linear-gradient(135deg, #e8dcf5 0%, #f5f0fa 100%);
}

.feature-card.teal {
    background: linear-gradient(135deg, #d1f5f0 0%, #e8faf7 100%);
}

.feature-card.red {
    background: linear-gradient(135deg, #ffe8d4 0%, #fff5ed 100%);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.feature-badge svg {
    width: 16px;
    height: 16px;
}

.feature-badge.purple {
    color: #9333ea;
}

.feature-badge.teal {
    color: #0d9488;
}

.feature-badge.red {
    color: #ea580c;
}

.feature-card h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.feature-card.purple h3 {
    color: #581c87;
}

.feature-card.teal h3 {
    color: #134e4a;
}

.feature-card.red h3 {
    color: #7c2d12;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.feature-card.purple p {
    color: #6b21a8;
}

.feature-card.teal p {
    color: #115e59;
}

.feature-card.red p {
    color: #9a3412;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.feature-link:hover {
    gap: 12px;
}

.feature-link svg {
    width: 18px;
    height: 18px;
}

.feature-link.purple {
    color: #9333ea;
}

.feature-link.teal {
    color: #0d9488;
}

.feature-link.red {
    color: #ea580c;
}

.explore-section {
    max-width: 480px;
    margin: 80px auto;
    padding: 0 16px;
}

.explore-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px 32px;
    box-shadow: var(--shadow-sm);
}

.explore-header {
    margin-bottom: 32px;
}

.explore-header h2 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.explore-divider {
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 32px;
}

.explore-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.explore-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

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

.explore-item:hover {
    background-color: var(--bg-tertiary);
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 -12px;
    border-radius: 12px;
}

.explore-item-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.explore-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.explore-icon svg {
    width: 24px;
    height: 24px;
}

.explore-content {
    flex: 1;
}

.explore-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.explore-description {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.explore-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--text-secondary);
    margin-left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.explore-item:hover .explore-arrow {
    color: var(--text-primary);
    transform: translateX(4px);
}

.explore-arrow svg {
    width: 20px;
    height: 20px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

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

.modal {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}

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

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

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.btn-close svg {
    width: 20px;
    height: 20px;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.wallet-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
    width: 100%;
    text-align: left;
}

.wallet-option:hover {
    background-color: var(--accent-pink-light);
    border-color: var(--accent-pink);
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.wallet-icon.metamask {
    background: linear-gradient(135deg, #f6851b 0%, #e2761b 100%);
}

.wallet-icon.trustwallet {
    background: linear-gradient(135deg, #3375bb 0%, #2d5fa8 100%);
}

.wallet-icon svg {
    width: 24px;
    height: 24px;
}

.wallet-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wallet-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

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

.wallet-arrow {
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.wallet-option:hover .wallet-arrow {
    color: var(--accent-pink);
    transform: translateX(4px);
}

.modal-search {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.search-input {
    width: 100%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.search-input:focus {
    border-color: var(--accent-pink);
    background-color: var(--bg-card);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

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

.token-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    color: inherit;
    font-family: inherit;
}

.token-item:hover {
    background-color: var(--bg-tertiary);
}

.token-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.token-item-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.token-item-info {
    flex: 1;
}

.token-item-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.token-item-symbol {
    font-size: 13px;
    color: var(--text-secondary);
}

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

.token-item-balance-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.token-item-balance-usd {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.modal-footer p {
    font-size: 12px;
    color: var(--text-secondary);
}

footer {
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    padding: 48px 16px 32px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

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

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 64px;
    }
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-pink);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--accent-pink-light);
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-divider {
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 24px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.network-badge {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(33, 201, 94, 0.1);
    border: 1px solid rgba(33, 201, 94, 0.2);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-green);
}

.network-badge.show {
    display: flex;
}

.network-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

@media (max-width: 480px) {
    .nav-right {
        gap: 8px;
    }
    
    .btn-connect {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .swap-card {
        padding: 12px;
    }
    
    .input-row input {
        font-size: 28px;
    }
    
    .slippage-settings {
        display: none;
    }
}
