.purchase-section {
    padding: 28px;
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-top: 24px;
    backdrop-filter: blur(10px);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;

}

.section-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

.info-icon {
    color: #8c8c8c;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.info-icon:hover {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    transform: scale(1.1);
}

.slider-container {
    margin-bottom: 28px;
}

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

.slider-label {
    font-weight: 500;
    color: #a0a0a0;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.slider-value {
    font-weight: 600;
    color: #00ff88;
    font-size: 1rem;
    background: rgba(0, 255, 136, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

/* Modern Slider Design */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin: 24px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.slider:hover {
    background: rgba(255, 255, 255, 0.15);
}

.slider:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    border-radius: 4px;
    width: var(--slider-progress, 0%);
    transition: width 0.3s ease;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #00ff88;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    position: relative;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.4);
    background: #00ff88;
}

.slider::-webkit-slider-thumb:active {
    transform: scale(1.1);
    cursor: grabbing;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #00ff88;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.4);
    background: #00ff88;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    position: relative;
}

.slider-ticks:before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
    pointer-events: none;
}

.slider-ticks span {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    flex: 1;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.slider-ticks span.active {
    color: #00ff88;
    font-weight: 600;
}

.slider-ticks span:before {
    content: '';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: #666;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.slider-ticks span.active:before {
    background: #00ff88;
    height: 10px;
}

.price-display {
    text-align: center;
    margin-bottom: 28px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.final-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 255, 136, 0.2);
}

.price-per-unit {
    font-size: 0.9rem;
    color: #8c8c8c;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.buy-form {
    text-align: center;
    margin-bottom: 20px;
}

.crypto-btn {
    background: linear-gradient(135deg, #00cc6a, #00a858);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 320px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.crypto-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.crypto-btn:hover {
    background: linear-gradient(135deg, #00b85e, #009149);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

.crypto-btn:hover:before {
    left: 100%;
}

.crypto-btn:active {
    transform: translateY(0);
}

.crypto-btn i {
    margin-right: 8px;
}

.delivery-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #00ff88;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px;
    background: rgba(0, 255, 136, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.15);
    backdrop-filter: blur(5px);
}

.delivery-info i {
    font-size: 1rem;
}

/* Enhanced Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    animation: modalScaleIn 0.3s ease forwards;
}

@keyframes modalScaleIn {
    to { transform: scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.close-modal {
    color: #8c8c8c;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.close-modal:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    transform: scale(1.1);
}

.modal-body {
    padding: 28px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.info-item i {
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 24px;
}

.info-item h4 {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.info-item p {
    margin: 0;
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .purchase-section {
        padding: 20px;
        border-radius: 12px;
    }
    

    .final-price {
        font-size: 1.9rem;
    }
    
    .crypto-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
        border-radius: 8px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
        border-radius: 16px;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .slider {
        margin: 20px 0;
    }
}