/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: var(--text-dark);
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 30px;
}

/* Wallet Options */
.wallet-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.wallet-option {
    border: 2px solid var(--border-color);
    background: white;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.wallet-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.wallet-logo {
    font-size: 48px;
    margin-bottom: 10px;
}

.wallet-option h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.wallet-option p {
    font-size: 12px;
    color: var(--text-light);
}

/* Wallet Info */
.wallet-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

#walletAddress {
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

/* Backup Modal */
.backup-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.backup-step {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.backup-step h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.backup-step p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

.backup-step ul {
    list-style: none;
    padding: 0;
}

.backup-step ul li {
    padding: 8px 0;
    color: var(--text-light);
}

.seed-phrase-box {
    background: white;
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    font-weight: 600;
    color: var(--primary-color);
}

.backup-step label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-dark);
    margin: 10px 0;
}

.backup-step input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-buttons {
        width: 100%;
        flex-direction: column;
    }

    .nav-buttons .btn {
        width: 100%;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.hero-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 16px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card h3 {
        font-size: 24px;
    }
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 20px;
}

.link-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-more:hover {
    color: var(--secondary-color);
}

/* Secure Section */
.secure-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Explore Web3 Section */
.explore-section {
    padding: 80px 0;
}

.trading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.trading-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.trading-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.trading-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.trading-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.trading-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.trading-card a:hover {
    color: var(--secondary-color);
}

/* Getting Started Section */
.getting-started {
    padding: 80px 0;
    background: var(--bg-light);
}

.getting-started h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.step {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.step .btn {
    display: inline-block;
}

/* Security Section */
.security-section {
    padding: 80px 0;
}

.security-section h2 {
    font-size: 42px;
    margin-bottom: 60px;
    text-align: center;
    color: var(--text-dark);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.security-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.security-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.security-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon {
    font-size: 200px;
    opacity: 0.1;
}

@media (max-width: 768px) {
    .security-content {
        grid-template-columns: 1fr;
    }

    .security-buttons {
        flex-direction: column;
    }

    .security-buttons .btn {
        width: 100%;
    }

    .security-icon {
        display: none;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

.faq-footer {
    background: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-footer p:first-child {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.faq-footer p:last-of-type {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.newsletter-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.newsletter-form .btn {
    background: white;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
        min-width: auto;
    }

    .newsletter-form .btn {
        width: 100%;
    }
}

/* Quick Links Section */
.quick-links-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.quick-links-section h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    text-align: center;
}

.links-grid a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.links-grid a:hover {
    background: white;
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
    color: #cbd5e0;
}

/* Trading Interface */
.trading-interface {
    max-width: 500px;
    margin: 0 auto;
}

.trade-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.price-info {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.price-info p {
    margin: 8px 0;
    color: var(--text-light);
    font-weight: 600;
}

/* Recovery Form */
.recovery-form {
    max-width: 500px;
    margin: 0 auto;
}

.recovery-form h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.recovery-form p {
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: center;
}

.recovery-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* DeFi Section */
.defi-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.defi-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 60px;
}

.defi-category {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.defi-category h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.defi-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.defi-card {
    background: linear-gradient(135deg, #f5f7ff 0%, #fafbff 100%);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.defi-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.protocol-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.defi-card h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.defi-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.protocol-stats {
    background: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.protocol-stats p {
    color: var(--text-dark);
    font-size: 13px;
    margin: 5px 0;
    font-weight: 500;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    width: 100%;
}

/* DeFi Stats */
.defi-stats {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

.defi-stats h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.stat-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.stat-item h4 {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
    font-weight: 600;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-change {
    font-size: 14px;
    opacity: 0.8;
}

/* DeFi Education */
.defi-education {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.defi-education h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.edu-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.edu-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.edu-card h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.edu-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
}

.learn-more:hover {
    color: var(--secondary-color);
}

/* DeFi Interaction */
.defi-interaction {
    max-width: 600px;
    margin: 0 auto;
}

.protocol-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.protocol-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.protocol-info p {
    margin: 8px 0;
    font-size: 14px;
    opacity: 0.9;
}

.interaction-form {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.interaction-form .form-group {
    margin-bottom: 20px;
}

.interaction-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.interaction-form input,
.interaction-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.interaction-form input:focus,
.interaction-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.interest-display,
.risk-display,
.yield-display,
.swap-display,
.leverage-display,
.bridge-display {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-top: 15px;
}

.interest-display p,
.risk-display p,
.yield-display p,
.swap-display p,
.leverage-display p,
.bridge-display p {
    margin: 8px 0;
    font-size: 13px;
    color: var(--text-light);
}

.protocol-details {
    background: #fffbea;
    border: 1px solid #ffeaa7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.protocol-details h4 {
    color: #b38e3e;
    margin-bottom: 12px;
    font-weight: 700;
}

.protocol-details ul {
    list-style: none;
    padding: 0;
}

.protocol-details li {
    color: #856404;
    font-size: 13px;
    margin: 8px 0;
    padding-left: 0;
}

.protocol-action {
    text-align: center;
}

.protocol-action .btn-large {
    width: 100%;
}

.portfolio-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.portfolio-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.summary-card h3 {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.summary-card p {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.assets-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.assets-table h3 {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: var(--bg-light);
}

table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
}

table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

table tr:hover {
    background: var(--bg-light);
}

.text-center {
    text-align: center;
    color: var(--text-light);
}

.transaction-history {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.transaction-history h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transaction-item {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-info h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.transaction-info p {
    color: var(--text-light);
    font-size: 14px;
}

.transaction-amount {
    font-weight: 600;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
    }

    .wallet-options {
        grid-template-columns: repeat(2, 1fr);
    }

    table {
        font-size: 14px;
    }

    table th,
    table td {
        padding: 10px;
    }

    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 10px;
        font-size: 14px;
    }

    .portfolio-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-buttons {
        width: 100%;
    }

    .nav-buttons .btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    /* DeFi Responsive */
    .defi-section {
        padding: 60px 0;
    }

    .defi-category {
        padding: 25px;
    }

    .defi-category h3 {
        font-size: 20px;
    }

    .defi-cards {
        gap: 15px;
        grid-template-columns: 1fr;
    }

    .defi-card {
        padding: 20px;
    }

    .protocol-icon {
        font-size: 36px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-value {
        font-size: 24px;
    }

    .education-cards {
        grid-template-columns: 1fr;
    }

    .interaction-form input,
    .interaction-form select {
        font-size: 16px;
    }
}
