/* style.css */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #0f172a;
    --accent: #8b5cf6;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f1f5f9;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.logo-icon {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.logo-icon img {
    width: 24px;
    height: 24px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1.05rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(37, 99, 235, 0.4);
}

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

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

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary);
    font-family: 'Poppins', sans-serif;
}

.hero h1 span {
    color: var(--primary);
}

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

.hero-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    text-align: center;
    min-width: 140px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    z-index: 1;
}

.hero-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: var(--primary);
    color: white;
}

.card-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.card-network {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.card-balance {
    padding: 30px 25px;
    border-bottom: 1px solid var(--light-gray);
}

.balance-label {
    color: var(--gray);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.balance-amount span {
    font-size: 1.2rem;
    color: var(--gray);
}

.card-actions {
    display: flex;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.action-btn {
    flex: 1;
    background: var(--light);
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.card-footer {
    padding: 20px;
}

.recent-transactions {
    padding-top: 10px;
}

.transaction {
    display: flex;
    align-items: center;
    padding: 15px 0;
    gap: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.transaction:last-child {
    border-bottom: none;
}

.tx-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.tx-details {
    flex: 1;
}

.tx-name {
    font-weight: 500;
    margin-bottom: 4px;
}

.tx-date {
    font-size: 0.9rem;
    color: var(--gray);
}

.tx-amount {
    font-weight: 600;
    color: var(--error);
}

/* Trade Section */
.trade-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
    font-family: 'Poppins', sans-serif;
}

.section-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.trade-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.trade-card {
    background: white;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 30px;
    border: 1px solid var(--light-gray);
}

.trade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.trade-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.network-selector select {
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid var(--light-gray);
    background: white;
    font-weight: 500;
    cursor: pointer;
}

.trade-tabs {
    display: flex;
    background: var(--light);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 30px;
}

.trade-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.trade-tab.active {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.input-with-select {
    display: flex;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
}

.input-with-select input {
    flex: 1;
    padding: 15px;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    outline: none;
}

.input-with-select select,
.input-with-select .currency-display {
    padding: 0 20px;
    background: var(--light);
    border: none;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.currency-display {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.swap-icon {
    text-align: center;
    margin: 10px 0;
}

.swap-icon i {
    background: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.swap-icon i:hover {
    background: var(--primary-light);
    transform: rotate(90deg);
}

.trade-info {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

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

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

.blockchain-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--light-gray);
    cursor: pointer;
}

.blockchain-card:hover,
.blockchain-card.active {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.blockchain-card.active {
    background: var(--primary-light);
}

.blockchain-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
}

.blockchain-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.chain-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.chain-info .info-item {
    margin-bottom: 0;
    gap: 5px;
}

/* Payments Section */
.payments-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.payment-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

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

.payment-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary);
}

.payment-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.payment-card p {
    color: var(--gray);
    margin-bottom: 25px;
}

/* Betting Section */
.betting-section {
    padding: 100px 0;
    background: white;
}

.betting-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.matches-container {
    background: white;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 30px;
    border: 1px solid var(--light-gray);
}

.matches-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.matches-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.sports-filter {
    display: flex;
    gap: 10px;
}

.sport-btn {
    padding: 8px 16px;
    background: var(--light);
    border: none;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.sport-btn.active,
.sport-btn:hover {
    background: var(--primary);
    color: white;
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.match-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.match-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.team-logo {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
}

.team-name {
    font-weight: 500;
}

.vs {
    font-weight: 700;
    color: var(--gray);
    margin: 0 15px;
}

.match-odds {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.odd-option {
    flex: 1;
    padding: 12px;
    background: var(--light);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.odd-option:hover {
    background: var(--primary);
    color: white;
}

.odd-option span {
    display: block;
    font-weight: 700;
    margin-top: 5px;
    font-size: 1.2rem;
}

.bet-btn {
    width: 100%;
}

.bet-slip {
    background: white;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 30px;
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
}

.bet-slip h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.bets-container {
    flex: 1;
}

.empty-bets {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray);
    padding: 40px 0;
}

.empty-bets i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--light-gray);
}

.bet-actions {
    margin-top: 30px;
}

.stake-input {
    margin-bottom: 15px;
}

.stake-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.stake-input input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.potential-win {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-weight: 600;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    margin: 20px 0;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f1f5f9, #e2e8f0);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--light-gray);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary);
}

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

.feature-card p {
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 40px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    transform: translateY(30px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

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

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--dark);
}

.modal-body {
    padding: 25px;
}

.wallet-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 15px;
    border: 1px solid var(--light-gray);
}

.wallet-option:last-child {
    margin-bottom: 0;
}

.wallet-option:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.wallet-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
}

.wallet-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.wallet-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        position: relative;
        margin-top: 50px;
        width: 100%;
        transform: none;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .trade-container {
        grid-template-columns: 1fr;
    }

    .betting-container {
        grid-template-columns: 1fr;
    }

    .cta-section .container {
        grid-template-columns: 1fr;
    }

    .cta-content {
        text-align: center;
        margin: 0 auto;
    }

    .cta-content p {
        margin: 0 auto 30px;
    }
}

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

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .auth-buttons .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .hero-card {
        max-width: 100%;
    }
}

/* Enhanced Modal Styles */
.payment-form,
.bet-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payment-form select,
.bet-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    background: white;
    cursor: pointer;
}

.payment-summary,
.bet-summary {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    padding-top: 10px;
    border-top: 1px solid var(--light-gray);
    color: var(--primary);
}

.bet-details {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.bet-match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.bet-teams {
    font-weight: 600;
    font-size: 1.1rem;
}

.bet-selection {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
}

/* Success Modal */
.success-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
}

.success-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

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

.transaction-details {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    margin-top: 20px;
}

.transaction-details .detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.transaction-details .detail-item:last-child {
    margin-bottom: 0;
}

/* Loading Overlay */
.loading-overlay {
    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: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Enhanced Button States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn.connected {
    background: var(--success);
    border-color: var(--success);
}

.btn.connected:hover {
    background: #059669;
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal.active .modal-content {
    animation: fadeInScale 0.3s ease;
}

/* Enhanced Hover Effects */
.payment-card:hover .payment-icon,
.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.blockchain-card:hover .blockchain-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        max-width: calc(100% - 40px);
    }

    .payment-summary,
    .bet-summary {
        padding: 15px;
    }

    .summary-item {
        font-size: 0.9rem;
    }

    .loading-spinner {
        padding: 0 20px;
    }

    .spinner {
        width: 50px;
        height: 50px;
    }
}

/* Enhanced Interactive Elements */
.wallet-option[data-wallet]:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Pulse Animation for Important Elements */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.btn-primary:hover {
    animation: pulse 0.5s ease-in-out;
}

/* Enhanced Card Interactions */
.trade-card:hover,
.bet-slip:hover,
.matches-container:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Smooth Transitions for All Interactive Elements */
* {
    transition: all 0.3s ease;
}

button,
.btn,
.wallet-option,
.payment-card,
.feature-card,
.blockchain-card,
.match-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}