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

body {
    font-family: 'Exo 2', 'Titillium Web', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    min-height: 100vh;
    color: #e0e7ff;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    position: relative;
    z-index: 101;
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #06b6d4, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wallet-btn {
    z-index: 101;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    background: linear-gradient(135deg, #06b6d4, #22c55e);
    color: #0f172a;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

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

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #06b6d4, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* Status Bar */
.status-bar {
    background: rgba(30, 58, 138, 0.5);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.status-item {
    text-align: center;
}

.status-label {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.status-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #22c55e;
    font-family: 'JetBrains Mono', monospace;
}

/* Pools Grid */
.pools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Pool Card */
.pool-card {
    background: rgba(30, 58, 138, 0.4);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pool-card:hover {
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
    transform: translateY(-5px);
}

.pool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    padding-bottom: 1rem;
}

.pool-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #06b6d4;
}

.pool-badge {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: bold;
}

.pool-info {
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.info-label {
    color: #94a3b8;
}

.info-value {
    color: #22c55e;
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
}

/* Input Group */
.input-group {
    margin-bottom: 1rem;
}

.input-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.input-field {
    flex: 1;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: #e0e7ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.input-field:focus {
    outline: none;
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.input-field::placeholder {
    color: #475569;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #06b6d4, #22c55e);
    color: #0f172a;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.5);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.8);
}

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

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: none;
}

.alert.show {
    display: block;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #f59e0b;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Footer */
.footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
    color: #64748b;
}

.footer a {
    color: #22c55e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #06b6d4;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .pools-grid {
        grid-template-columns: 1fr;
    }

    .status-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}
