/* Custom Styles for BoostMarket */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0e1a;
}
::-webkit-scrollbar-thumb {
    background: #1a2240;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #243056;
}

/* Platform Tabs */
.platform-tab {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: #1a2240;
    border: 1px solid #243056;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s;
}
.platform-tab:hover {
    border-color: #0ea5e9;
    color: #fff;
}
.platform-tab.active {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff;
}

/* Service Card */
.service-card {
    background: #0f1629;
    border: 1px solid #1a2240;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.service-card:hover {
    border-color: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.1);
}
.service-card .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 18px;
}

/* FAQ */
.faq-item {
    background: #0f1629;
    border: 1px solid #1a2240;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}
.faq-item:hover {
    border-color: #243056;
}
.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}
.faq-question i {
    transition: transform 0.3s;
    color: #0ea5e9;
}
.faq-item.open .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    color: #9ca3af;
    font-size: 14px;
}
.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 20px 16px;
}

/* Payment Tabs */
.payment-tab {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}
.payment-tab:hover {
    color: #fff;
}
.payment-tab.active {
    color: #0ea5e9;
    border-bottom-color: #0ea5e9;
}

/* Payment Options */
.payment-option {
    background: #0f1629;
    border: 1px solid #1a2240;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.payment-option:hover {
    border-color: #243056;
}
.payment-option.selected {
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, 0.05);
    box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fadeIn {
    animation: fadeIn 0.2s ease-out;
}

/* Order result table */
.order-table {
    width: 100%;
    border-collapse: collapse;
}
.order-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #1a2240;
    font-size: 14px;
}
.order-table td:first-child {
    color: #9ca3af;
    width: 140px;
}

/* Range Slider */
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #1a2240;
    outline: none;
    cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0ea5e9;
    border: 3px solid #0a0e1a;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(14, 165, 233, 0.4);
}
.range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0ea5e9;
    border: 3px solid #0a0e1a;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(14, 165, 233, 0.4);
}
.range-slider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
}

/* Hide scrollbar for mobile carousel */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Stars background effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1.5px 1.5px at 10% 80%, rgba(255,255,255,0.15), transparent),
        radial-gradient(1.5px 1.5px at 70% 90%, rgba(255,255,255,0.15), transparent),
        radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}
