.buy-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 50px;
}

.buy-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.buy-title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.buy-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.buy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.buy-form-container {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(123, 65, 177, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.buy-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 25px 25px 0 0;
}

.buy-info-container {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(123, 65, 177, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.buy-info-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 25px 25px 0 0;
}

.section-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--accent-color);
}

.price-indicator {
    background: rgba(123, 65, 177, 0.15);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    text-align: center;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 59, 230, 0.4);
}

.price-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.price-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
    font-style: italic;
}

.calculator {
    margin-bottom: 30px;
}

.calculator-group {
    margin-bottom: 20px;
}

.calculator-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    padding: 5px 10px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 5px;
    border: 1px solid rgba(231, 76, 60, 0.3);
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.calculator-input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.calculator-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.calculator-input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(20, 10, 35, 0.7);
    border: 2px solid rgba(123, 65, 177, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
}

.calculator-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123, 65, 177, 0.2);
}

.calculator-unit {
    position: absolute;
    right: 15px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
}

.range-slider {
    margin-top: 15px;
}

.slider-container {
    position: relative;
    height: 40px;
}

.slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(123, 65, 177, 0.2);
    border-radius: 3px;
    transform: translateY(-50%);
}

.slider-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    transform: translateY(-50%);
    width: 50%;
}

.slider-thumb {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(255, 59, 230, 0.5);
    transition: all 0.2s ease;
}

.slider-thumb:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 25px rgba(255, 59, 230, 0.8);
}

.slider-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.calculated-result {
    background: linear-gradient(135deg, 
        rgba(123, 65, 177, 0.2), 
        rgba(255, 59, 230, 0.1));
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    text-align: center;
}

.result-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(255, 59, 230, 0.3);
}

.result-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.network-selection {
    margin-bottom: 30px;
}

.networks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.network-card {
    background: rgba(20, 10, 35, 0.7);
    border: 2px solid rgba(123, 65, 177, 0.2);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.network-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    background: rgba(20, 10, 35, 0.9);
    box-shadow: 0 10px 25px rgba(123, 65, 177, 0.3);
}

.network-card.selected {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, 
        rgba(123, 65, 177, 0.25), 
        rgba(255, 59, 230, 0.15));
    box-shadow: 0 0 25px rgba(255, 59, 230, 0.3);
}

.network-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    background: rgba(123, 65, 177, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.network-icon i {
    font-size: 1.5rem;
}

.network-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

.network-card[data-network="bnb"] .network-icon {
    background: rgba(123, 65, 177, 0.2);
}

.network-card[data-network="bnb"] .network-img {
    width: 22px;
    height: 22px;
}

.network-name {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.network-fee {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.payment-details {
    background: rgba(123, 65, 177, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    display: none;
}

.payment-details.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-title {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
}

.payment-address {
    background: rgba(20, 10, 35, 0.8);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    position: relative;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.address-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.address-value {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: white;
    word-break: break-all;
    padding-right: 40px;
}

.copy-address-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 10px;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 65, 177, 0.4);
    height: 40px;
    align-self: flex-start;
    margin-top: 12px;
}

.copy-address-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 65, 177, 0.6);
}

.copy-address-btn.copied {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.copy-address-btn.copied i {
    animation: checkmark 0.5s ease;
}

.address-value {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: white;
    word-break: break-all;
    line-height: 1.4;
    border: 1px solid rgba(123, 65, 177, 0.2);
    min-height: 50px;
    display: flex;
    align-items: center;
}

@keyframes checkmark {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}


@media (max-width: 768px) {
    .payment-address {
        padding: 16px;
        margin-bottom: 16px;
    }

    .address-header {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 12px;
    }

    .address-label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .address-value {
        padding: 12px;
        font-size: 0.85rem;
        min-height: 45px;
        margin-bottom: 16px;
        line-height: 1.3;
        order: 1;
    }

    .copy-address-btn {
        order: 2;
        width: 100%;
        min-width: unset;
        height: 44px;
        font-size: 0.9rem;
        padding: 0 16px;
        margin-top: 0;
        justify-content: center;
    }

    .copy-address-btn i {
        font-size: 0.9rem;
    }

    .copy-address-btn:active {
        transform: scale(0.98);
    }
}

@media (max-width: 480px) {
    .payment-address {
        padding: 14px;
        border-radius: 12px;
    }

    .address-label {
        font-size: 0.9rem;
        gap: 8px;
    }

    .address-label i {
        font-size: 0.9rem;
    }

    .address-value {
        padding: 10px;
        font-size: 0.8rem;
        min-height: 40px;
        border-radius: 10px;
    }

    .copy-address-btn {
        height: 42px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .payment-title {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .payment-address {
        padding: 18px;
    }

    .address-label {
        font-size: 0.95rem;
    }

    .address-value {
        font-size: 0.9rem;
        padding: 14px;
    }

    .copy-address-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-width: 130px;
    }
}


.payment-address.user-wallet {
    background: rgba(20, 10, 35, 0.8);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 150px;
}

.user-wallet .address-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.user-wallet .address-label i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.wallet-input-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: white;
    word-break: break-all;
    line-height: 1.4;
    border: 1px solid rgba(123, 65, 177, 0.2);
    min-height: 50px;
    display: flex;
    align-items: center;
    flex-grow: 1;
    margin: 10px 0;
}

#walletFrom {
    background: transparent;
    border: none;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: white;
    width: 100%;
    outline: none;
    padding: 0;
    text-align: center;
}

#walletFrom::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-align: center;
}

.wallet-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
    padding-left: 5px;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
    flex-shrink: 0;
}

.wallet-input-wrapper:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(123, 65, 177, 0.3);
}

.wallet-input-wrapper:hover {
    border-color: rgba(123, 65, 177, 0.4);
}

@media (max-width: 768px) {
    .payment-address.user-wallet {
        padding: 15px;
        min-height: 140px;
    }
    
    .wallet-input-wrapper {
        padding: 12px;
        min-height: 45px;
        margin: 8px 0;
    }
    
    #walletFrom {
        font-size: 0.9rem;
    }
    
    .wallet-note {
        font-size: 0.8rem;
        margin-top: 8px;
    }
}

.amount-to-send {
    background: rgba(20, 10, 35, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(123, 65, 177, 0.3);
}

.timer-container {
    background: rgba(20, 10, 35, 0.8);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 2px solid rgba(123, 65, 177, 0.5);
    margin-bottom: 25px;
}

.timer-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.countdown-timer {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(255, 59, 230, 0.4);
    letter-spacing: 3px;
}

.timer-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}

.buy-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.buy-btn {
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(123, 65, 177, 0.5);
}

.buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(123, 65, 177, 0.7);
}

.buy-btn:active {
    transform: translateY(-1px);
}

.buy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.contact-support-btn {
    padding: 15px;
    background: rgba(123, 65, 177, 0.15);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-support-btn:hover {
    background: rgba(123, 65, 177, 0.3);
    transform: translateY(-2px);
}

.info-card {
    background: rgba(123, 65, 177, 0.1);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(123, 65, 177, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.info-card:last-child {
    margin-bottom: 0;
}

.info-card-title {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.info-list {
    list-style: none;
    margin-top: 15px;
}

.info-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.bonus-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ff9900);
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 10px;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.nft-badge {
    display: inline-block;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 10px;
    box-shadow: 0 3px 10px rgba(155, 89, 182, 0.3);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(123, 65, 177, 0.3);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(123, 65, 177, 0.4);
}

.step-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.step-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.disclaimer {
    background: rgba(255, 59, 230, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 59, 230, 0.2);
    margin-top: 25px;
}

.disclaimer-title {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.user-buy-info {
    text-align: center;
    margin: 20px auto;
    background: rgba(123, 65, 177, 0.1);
    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    border: 1px solid rgba(123, 65, 177, 0.3);
}

.welcome-message {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

.user-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(20, 10, 35, 0.8);
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    font-size: 0.95rem;
}

.stat-item span {
    color: var(--accent-color);
    font-weight: 700;
}

#userBalance {
    color: #2ecc71 !important;
    font-weight: 700;
}

.bonus-calculation {
    background: rgba(20, 10, 35, 0.7);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(123, 65, 177, 0.2);
}

.bonus-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 2px solid rgba(123, 65, 177, 0.3);
    margin-top: 10px;
}

.total-tokens {
    font-weight: 800;
    font-size: 1.3rem;
    color: white;
}

.total-tokens .numbers {
    background: linear-gradient(45deg, #7b41b1, #ff3be6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 1.3rem;
    text-shadow: 0 0 15px rgba(255, 59, 230, 0.3);
}


.recent-transactions-card {
    margin-top: 20px;
}

.recent-transactions-card .info-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.recent-transactions-card .view-all-btn {
    background: rgba(123, 65, 177, 0.2);
    border: 1px solid rgba(123, 65, 177, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.recent-transactions-card .view-all-btn:hover {
    background: rgba(123, 65, 177, 0.3);
    transform: translateY(-2px);
}

.recent-transactions {
    display: none !important;
}


.modal-content {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.modal-content {
    -webkit-overflow-scrolling: touch;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.transactions-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}


@media (max-width: 768px) {
    .recent-transactions-card .transaction-info-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .recent-transactions-card .transaction-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .recent-transactions-card .confirm-payment-btn,
    .recent-transactions-card .view-details-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .recent-transactions-card .info-card-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .recent-transactions-card .view-all-btn {
        align-self: flex-start;
    }
}

.modal-content {
    position: relative;
}

.modal-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, 
        rgba(20, 10, 35, 0.9), 
        rgba(20, 10, 35, 0));
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content.scrollable::after {
    opacity: 1;
}

.loading-transactions {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
    flex-direction: column;
}

.loading-transactions i {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-transactions {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

.transaction-item {
    background: rgba(20, 10, 35, 0.7);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(123, 65, 177, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.transaction-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(123, 65, 177, 0.1), 
        rgba(255, 59, 230, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.transaction-item:hover::before {
    opacity: 1;
}

.transaction-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(123, 65, 177, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transaction-item {
    animation: fadeInUp 0.4s ease;
}

@media (max-width: 768px) {
    .modal-content {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

.recent-transactions {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px;
    margin-top: 40px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    grid-column: 1 / -1;
}

.transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(123, 65, 177, 0.2);
}

.transactions-header h3 {
    font-size: 1.3rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-all-btn {
    background: rgba(123, 65, 177, 0.2);
    border: 1px solid rgba(123, 65, 177, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: rgba(123, 65, 177, 0.3);
    transform: translateY(-2px);
}

.transaction-card {
    background: rgba(20, 10, 35, 0.7);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(123, 65, 177, 0.2);
}

.transaction-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 20px;
}

.transaction-field {
    flex: 1;
}

.field-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.field-value {
    font-weight: 600;
    color: white;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.status-waiting-confirmation {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.status-waiting-verification {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.status-completed {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-cancelled {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.transaction-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(123, 65, 177, 0.2);
}

.confirm-payment-btn {
    flex: 2;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    color: white;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.confirm-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(123, 65, 177, 0.4);
}

.view-details-btn {
    flex: 1;
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: white;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-container {
    background: var(--card-bg);
    border-radius: 25px;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wide-modal {
    max-width: 800px;
}

.modal-header {
    padding: 25px;
    background: linear-gradient(90deg, 
        rgba(123, 65, 177, 0.1), 
        rgba(255, 59, 230, 0.05));
    border-bottom: 1px solid rgba(123, 65, 177, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.4rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-content {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
}

.confirmation-warning {
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.confirmation-warning i {
    color: #f39c12;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.confirmation-warning p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.confirmation-details {
    background: rgba(20, 10, 35, 0.7);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(123, 65, 177, 0.2);
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.confirmation-row:last-child {
    border-bottom: none;
}

.confirmation-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.confirmation-value {
    color: white;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-all;
}

.address-value {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.timer-value {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.confirmation-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(123, 65, 177, 0.1);
    border-radius: 12px;
}

.confirmation-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.confirmation-checkbox label {
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.95rem;
}

.confirmation-notes {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 15px;
    padding: 20px;
}

.confirmation-notes p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.confirmation-notes i {
    color: #3498db;
    flex-shrink: 0;
}

.modal-actions {
    padding: 25px;
    background: rgba(20, 10, 35, 0.5);
    border-top: 1px solid rgba(123, 65, 177, 0.2);
    display: flex;
    gap: 15px;
}

.modal-btn {
    flex: 1;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.modal-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.modal-btn.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(123, 65, 177, 0.4);
}

.modal-btn.secondary {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: white;
}

.modal-btn.secondary:hover {
    background: rgba(231, 76, 60, 0.3);
    transform: translateY(-2px);
}

.modal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transaction-item {
    background: rgba(20, 10, 35, 0.7);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(123, 65, 177, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.transaction-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    background: rgba(20, 10, 35, 0.9);
    box-shadow: 0 10px 25px rgba(123, 65, 177, 0.3);
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.transaction-id {
    font-weight: 700;
    color: white;
    font-family: 'Courier New', monospace;
}

.transaction-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summary-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.summary-value {
    font-weight: 600;
    color: white;
}

.loading-transactions {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
}

.order-confirmation-modal {
    max-width: 500px;
}

.confirmation-icon {
    text-align: center;
    margin-bottom: 20px;
}

.confirmation-icon i {
    font-size: 4rem;
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.confirmation-title {
    text-align: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.confirmation-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.order-summary {
    background: rgba(20, 10, 35, 0.7);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(123, 65, 177, 0.2);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.summary-value {
    color: white;
    font-weight: 600;
    text-align: right;
}

.network-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.crypto-amount {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.bonus-row .summary-value {
    color: #2ecc71;
}

.total-row {
    border-top: 2px solid rgba(123, 65, 177, 0.3);
    margin-top: 10px;
    padding-top: 15px;
}

.total-row .summary-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.addresses-section {
    background: rgba(123, 65, 177, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(123, 65, 177, 0.2);
}

.address-block {
    margin-bottom: 15px;
}

.address-block:last-child {
    margin-bottom: 0;
}

.address-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.address-label i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.address-label span {
    color: rgba(255, 255, 255, 0.9);
}

.address-value {
    background: rgba(20, 10, 35, 0.8);
    border-radius: 10px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
    border: 1px solid rgba(123, 65, 177, 0.3);
}

.order-info {
    background: rgba(52, 152, 219, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.status-cancelled-by-user {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #3498db;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-item strong {
    color: var(--accent-color);
}

.status-pending-review {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.status-confirmed {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-rejected {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.status-expired {
    background: rgba(149, 165, 166, 0.2);
    color: #95a5a6;
    border: 1px solid rgba(149, 165, 166, 0.3);
}

.transaction-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    min-width: 150px;
}

.detail-value {
    color: white;
    font-weight: 600;
    text-align: right;
    max-width: calc(100% - 150px);
    word-break: break-word;
}

.notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.notification {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    border-left: 5px solid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: slideInRight 0.3s ease;
    transform: translateX(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.hiding {
    transform: translateX(100%);
    opacity: 0;
}

.notification.success {
    border-left-color: #2ecc71;
}

.notification.error {
    border-left-color: #e74c3c;
}

.notification.warning {
    border-left-color: #f39c12;
}

.notification.info {
    border-left-color: #3498db;
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: #2ecc71;
}

.notification.error .notification-icon {
    color: #e74c3c;
}

.notification.warning .notification-icon {
    color: #f39c12;
}

.notification.info .notification-icon {
    color: #3498db;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.notification-message {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 5px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: white;
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 10px;
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .modal-container.order-confirmation-modal {
        max-width: 100%;
        max-height: calc(100vh - 20px);
        margin: 10px 0;
        border-radius: 20px;
    }
    
    .modal-content {
        max-height: calc(70vh - 100px);
        padding: 20px 15px;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    .modal-header {
        padding: 20px 15px;
        flex-wrap: wrap;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    
    .modal-actions {
        padding: 20px 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-btn {
        width: 100%;
        padding: 14px;
        font-size: 0.95rem;
    }
    
    .order-summary {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .summary-row {
        flex-direction: column;
        gap: 5px;
        padding: 12px 0;
        align-items: flex-start;
    }
    
    .summary-label {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .summary-value {
        text-align: left;
        font-size: 1rem;
        word-break: break-word;
    }
    
    .total-row .summary-value {
        font-size: 1.1rem;
    }
    
    .addresses-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .address-block {
        margin-bottom: 15px;
    }
    
    .address-label {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .address-value {
        padding: 10px;
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .order-info {
        padding: 15px;
    }
    
    .info-item {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .confirmation-icon i {
        font-size: 3rem;
    }
    
    .confirmation-title {
        font-size: 1.3rem;
    }
    
    .confirmation-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .network-badge, .crypto-amount, .bonus-amount {
        font-size: 0.9rem;
        padding: 3px 10px;
    }
    
    .bonus-row .summary-value,
    .total-row .summary-value {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 5px;
    }
    
    .modal-container.order-confirmation-modal {
        max-height: calc(100vh - 10px);
        margin: 5px 0;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 15px 12px;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-content {
        padding: 15px 12px;
        max-height: calc(70vh - 80px);
    }
    
    .confirmation-icon i {
        font-size: 2.5rem;
    }
    
    .confirmation-title {
        font-size: 1.2rem;
    }
    
    .order-summary,
    .addresses-section,
    .order-info {
        padding: 12px;
        border-radius: 12px;
    }
    
    .summary-row {
        padding: 10px 0;
    }
    
    .address-value {
        font-size: 0.75rem;
        padding: 8px;
    }
    
    .modal-actions {
        padding: 15px 12px;
    }
    
    .modal-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}


@media (max-width: 1024px) {
    .buy-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .buy-page-container {
        padding: 80px 15px 30px;
    }
    
    .buy-title {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .buy-form-container,
    .buy-info-container {
        padding: 25px 20px;
    }
    
    .networks-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
    
    .modal-container {
        max-width: 95%;
    }
    
    .wide-modal {
        max-width: 95%;
    }
    
    .confirmation-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .confirmation-value {
        max-width: 100%;
        text-align: left;
    }
    
    .transaction-info-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .transaction-actions {
        flex-direction: column;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .transaction-summary {
        grid-template-columns: 1fr;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-label {
        min-width: auto;
    }
    
    .detail-value {
        max-width: 100%;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .buy-title {
        font-size: 1.8rem;
    }
    
    .buy-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .countdown-timer {
        font-size: 1.5rem;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-actions {
        padding: 20px;
    }
    
    .recent-transactions {
        padding: 20px;
    }
}


@media (max-width: 768px) {
    .buy-info-container {
        display: flex;
        flex-direction: column;
    }

    .buy-info-container .recent-transactions-card {
        order: -1;
        margin-bottom: 25px;
    }

    .recent-transactions-card .transaction-card {
        padding: 15px;
    }
    
    .recent-transactions-card .transaction-info-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .recent-transactions-card .transaction-field {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid rgba(123, 65, 177, 0.2);
    }
    
    .recent-transactions-card .transaction-field:last-child {
        border-bottom: none;
    }
    
    .recent-transactions-card .field-label {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        min-width: 100px;
    }
    
    .recent-transactions-card .field-value {
        font-size: 0.95rem;
        color: white;
        text-align: right;
        word-break: break-all;
        flex: 1;
    }
    
    .recent-transactions-card .transaction-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .recent-transactions-card .confirm-payment-btn,
    .recent-transactions-card .view-details-btn {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
    }

    .recent-transactions-card .info-card-title {
        font-size: 1.2rem;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(123, 65, 177, 0.3);
        margin-bottom: 15px;
    }

    @media (max-width: 480px) {
        .recent-transactions-card {
            padding: 15px !important;
        }
        
        .recent-transactions-card .info-card-title {
            font-size: 1.1rem;
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }
        
        .recent-transactions-card .view-all-btn {
            align-self: flex-start;
            margin-top: 5px;
        }
        
        .status-badge {
            font-size: 0.8rem;
            padding: 4px 10px;
        }
    }
}


@media (min-width: 769px) {
    .buy-info-container {
        display: block;
    }
    
    .buy-info-container .recent-transactions-card {
        order: 0;
        margin-bottom: 25px;
    }
}

.referral-loading {
    text-align: center;
    padding: 30px;
    color: #00ff88;
    font-size: 0.9rem;
}

.referral-loading i {
    font-size: 1.2rem;
    margin-right: 10px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.info-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li strong {
    color: #00ff88;
}

.referral-progress {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.referral-link-container {
    background: rgba(0, 255, 136, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.referral-link-display {
    font-family: monospace;
    font-size: 0.85rem;
    color: #00ff88;
    word-break: break-all;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    margin-bottom: 10px;
}

.copy-referral-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.copy-referral-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.copy-referral-btn.copied {
    background: #2ecc71;
}

.level-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
    border-left: 3px solid #00ff88;
}

.level-name {
    font-weight: bold;
    color: #00ff88;
    font-size: 1.1rem;
}

.level-percent {
    background: rgba(0, 255, 136, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.next-level-info {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    border-left: 3px solid #3498db;
}

.next-level-info strong {
    color: #3498db;
}

.info-card {
    background: linear-gradient(135deg, rgba(0, 40, 85, 0.8), rgba(0, 20, 40, 0.9));
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #3498db);
}

.info-card-title {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-title i {
    color: #00ff88;
    font-size: 1.2rem;
}

.level-info {
    margin-bottom: 20px;
}

.level-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.level-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.level-badge i {
    color: #00ff88;
    font-size: 1.1rem;
}

.level-name {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.level-percent {
    background: rgba(0, 255, 136, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #00ff88;
}

.next-level-info, .max-level-info {
    padding: 10px 15px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    border-left: 3px solid #3498db;
    margin-top: 10px;
}

.max-level-info {
    background: rgba(241, 196, 15, 0.1);
    border-left: 3px solid #f1c40f;
    color: #f1c40f;
}

.next-level-info i, .max-level-info i {
    margin-right: 8px;
}

.referral-stats {
    margin: 20px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: black;
    font-size: 1.2rem;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: #00ff88;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 3px;
}

.bonuses-info {
    margin: 20px 0;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 12px;
    border-left: 3px solid #00ff88;
}

.bonus-item i {
    color: #00ff88;
    font-size: 1.2rem;
    min-width: 24px;
}

.bonus-details {
    flex: 1;
}

.bonus-amount {
    color: white;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 3px;
}

.bonus-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.progress-section {
    margin: 25px 0;
}

.progress-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-numbers {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 5px;
}

.referral-link-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.link-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.link-display {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #00ff88;
    word-break: break-all;
    margin-bottom: 12px;
    line-height: 1.4;
}

.copy-referral-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: black;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-referral-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.copy-referral-btn.copied {
    background: #2ecc71;
}

.referral-loading {
    text-align: center;
    padding: 40px 20px;
    color: #00ff88;
}

.referral-loading i {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
}

.referral-error, .referral-not-authorized {
    text-align: center;
    padding: 30px 20px;
}

.referral-error i {
    color: #e74c3c;
    font-size: 2rem;
    margin-bottom: 15px;
}

.referral-not-authorized i {
    color: #f39c12;
    font-size: 2rem;
    margin-bottom: 15px;
}

.referral-error p, .referral-not-authorized p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.retry-btn, .auth-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.auth-btn {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: black;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .level-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .progress-numbers {
        font-size: 0.85rem;
    }
}


.info-card {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 25px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(123, 65, 177, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 25px 25px 0 0;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(123, 65, 177, 0.4);
    border-color: rgba(255, 59, 230, 0.5);
}

.info-card-title {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card-title i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.level-info {
    margin-bottom: 20px;
}

.level-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.level-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(123, 65, 177, 0.15);
    border-radius: 15px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    transition: all 0.3s ease;
}

.info-card:hover .level-badge {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
}

.level-badge i {
    color: var(--accent-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.info-card:hover .level-badge i {
    color: #00ff88;
}

.level-name {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.level-percent {
    background: rgba(123, 65, 177, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.info-card:hover .level-percent {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.next-level-info, .max-level-info {
    padding: 12px 15px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    border-left: 3px solid var(--primary-color);
    margin-top: 10px;
    transition: all 0.3s ease;
}

.info-card:hover .next-level-info {
    background: rgba(52, 152, 219, 0.2);
    border-left-color: #3498db;
}

.max-level-info {
    background: rgba(241, 196, 15, 0.1);
    border-left: 3px solid var(--accent-color);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.info-card:hover .max-level-info {
    background: rgba(241, 196, 15, 0.2);
}

.next-level-info i, .max-level-info i {
    margin-right: 8px;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.info-card:hover .next-level-info i {
    color: #3498db;
}

.info-card:hover .max-level-info i {
    color: #f1c40f;
}

.next-level-info strong {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.info-card:hover .next-level-info strong {
    color: #3498db;
}

.referral-stats {
    margin: 20px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(20, 10, 35, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(123, 65, 177, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover .stat-item {
    background: rgba(20, 10, 35, 0.9);
    border-color: rgba(123, 65, 177, 0.4);
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(123, 65, 177, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-card:hover .stat-icon {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
}

.stat-icon i {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.info-card:hover .stat-icon i {
    color: black;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent-color);
    line-height: 1.2;
    transition: all 0.3s ease;
}

.info-card:hover .stat-value {
    color: #00ff88;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 3px;
}

.bonuses-info {
    margin: 20px 0;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(20, 10, 35, 0.7);
    border-radius: 12px;
    border-left: 3px solid rgba(123, 65, 177, 0.5);
    transition: all 0.3s ease;
}

.info-card:hover .bonus-item {
    background: rgba(0, 255, 136, 0.05);
    border-left-color: #00ff88;
}

.bonus-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    min-width: 24px;
    transition: all 0.3s ease;
}

.info-card:hover .bonus-item i {
    color: #00ff88;
}

.bonus-details {
    flex: 1;
}

.bonus-amount {
    color: white;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 3px;
}

.bonus-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.progress-section {
    margin: 25px 0;
}

.progress-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.progress-bar {
    height: 8px;
    background: rgba(123, 65, 177, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.info-card:hover .progress-bar {
    background: rgba(0, 255, 136, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    transition: width 1s ease, background 0.3s ease;
    position: relative;
}

.info-card:hover .progress-fill {
    background: linear-gradient(90deg, #00ff88, #00cc6a);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-numbers {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 5px;
}

.referral-link-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(123, 65, 177, 0.3);
    transition: all 0.3s ease;
}

.info-card:hover .referral-link-section {
    border-top-color: rgba(0, 255, 136, 0.3);
}

.link-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.link-display {
    background: rgba(20, 10, 35, 0.8);
    border: 1px solid rgba(123, 65, 177, 0.3);
    border-radius: 10px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--accent-color);
    word-break: break-all;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.info-card:hover .link-display {
    border-color: rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.copy-referral-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.info-card:hover .copy-referral-btn {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: black;
}

.copy-referral-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.copy-referral-btn.copied {
    background: #2ecc71;
}

.referral-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--accent-color);
}

.referral-loading i {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
}

.referral-error, .referral-not-authorized {
    text-align: center;
    padding: 30px 20px;
}

.referral-error i {
    color: #e74c3c;
    font-size: 2rem;
    margin-bottom: 15px;
}

.referral-not-authorized i {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.referral-error p, .referral-not-authorized p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.retry-btn, .auth-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.retry-btn:hover, .auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 65, 177, 0.4);
}

.auth-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .level-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .progress-numbers {
        font-size: 0.85rem;
    }
}