@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

:root {
    --primary-color: #2196F3;
    --accent-color: #00FF9D;
    --background: #1a1a1a;
    --surface: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #808080;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.5;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.back-button {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    margin-right: 10px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.back-button:hover {
    transform: translateX(-3px);
}

h1 {
    font-size: 20px;
    font-weight: 600;
    flex-grow: 1;
    letter-spacing: -0.5px;
}

.search-container {
    margin-bottom: 20px;
    animation: fadeIn 0.4s ease-out;
}

.search-input {
    width: 100%;
    background-color: var(--surface);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 14px 40px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
    outline: none;
}

.network-option, .wallet-option {
    display: flex;
    align-items: center;
    background-color: var(--surface);
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: 20px;
    transition: all 0.2s ease;
    animation: scaleIn 0.4s ease-out;
    border: 1px solid transparent;
}

.network-option:hover, .wallet-option:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.network-icon, .icon-container {
    width: 44px;
    height: 44px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
}

.shield-icon {
    width: 100%;
    height: 100%;
}

.network-info {
    flex-grow: 1;
}

.network-name {
    font-size: 16px;
    font-weight: 500;
}

.wallet-info {
    flex-grow: 1;
}

.wallet-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.points {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(33, 150, 243, 0.1));
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.6s ease-out;
}

.wallet-subtitle {
    font-size: 14px;
    color: #808080;
}

.arrow {
    font-size: 24px;
    color: #808080;
    margin-left: 10px;
}

.info-button, .expand-button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.2s ease;
}

.info-button:hover, .expand-button:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--surface);
    border-radius: 20px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: scaleIn 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

footer {
    margin-top: 40px;
    animation: fadeIn 0.5s ease-out;
}

.info-text, .points-text {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.info-icon, .star-icon {
    margin-right: 8px;
}

.star-icon {
    color: #ffd700;
} 