/* ============================================
   BoostiQo Shop + Responsive Enhancements
   ============================================ */

:root {
    --shop-primary: #6c5ce7;
    --shop-primary-light: #a29bfe;
    --shop-accent: #00cec9;
    --shop-gold: #fdcb6e;
    --shop-bg-card: rgba(255, 255, 255, 0.04);
    --shop-border: rgba(255, 255, 255, 0.12);
    --shop-text-muted: rgba(255, 255, 255, 0.65);
    --shop-radius: 16px;
    --shop-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* --- Banner actions --- */
.banner__actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.tg-btn-outline {
    background-color: transparent !important;
    border: 2px solid currentColor !important;
}

/* --- Shop Section --- */
.shop__area {
    position: relative;
    overflow: hidden;
}

.shop__subtitle {
    margin-top: 15px;
    color: var(--shop-text-muted, rgba(255,255,255,0.7));
    font-size: 1rem;
    line-height: 1.8;
}

.shop__product-card {
    background: var(--shop-bg-card);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.shop__product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shop-shadow);
    border-color: rgba(108, 92, 231, 0.4);
}

.shop__product-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.shop__product-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0088cc, #229ED9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
}

.shop__product-icon--stars {
    background: linear-gradient(135deg, #f39c12, #fdcb6e);
}

.shop__product-title {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.shop__product-desc {
    color: var(--shop-text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* --- Premium Plans --- */
.shop__plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.shop__plan-option {
    cursor: pointer;
    margin: 0;
}

.shop__plan-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shop__plan-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 10px;
    border: 2px solid var(--shop-border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
    min-height: 90px;
    justify-content: center;
}

.shop__plan-option input:checked + .shop__plan-box {
    border-color: var(--shop-primary);
    background: rgba(108, 92, 231, 0.15);
    box-shadow: 0 0 0 1px var(--shop-primary);
}

.shop__plan-duration {
    font-weight: 600;
    font-size: 0.95rem;
}

.shop__plan-price {
    font-size: 0.85rem;
    color: var(--shop-accent, #00cec9);
    font-weight: 700;
}

.shop__plan-price small {
    font-size: 0.75rem;
    font-weight: 400;
}

.shop__plan-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--shop-primary);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.shop__plan-badge--save {
    background: var(--shop-accent);
    color: #111;
}

/* --- Stars Picker --- */
.shop__stars-picker label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.shop__stars-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.shop__qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--shop-border);
    background: rgba(255,255,255,0.06);
    color: inherit;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.shop__qty-btn:hover {
    background: rgba(108, 92, 231, 0.3);
}

.shop__stars-input {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex: 1;
    min-width: 0;
}

.shop__stars-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.shop__preset-btn {
    padding: 6px 14px;
    border: 1px solid var(--shop-border);
    background: transparent;
    color: inherit;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.shop__preset-btn:hover,
.shop__preset-btn.active {
    background: var(--shop-primary);
    border-color: var(--shop-primary);
    color: #fff;
}

.shop__price-summary,
.shop__price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.95rem;
}

.shop__price-total {
    border-top: 1px solid var(--shop-border);
    font-size: 1.1rem;
}

.shop__price-total strong {
    color: var(--shop-accent);
}

/* --- Form Elements --- */
.shop__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop__form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.shop__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--shop-border);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    color: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.shop__input:focus {
    outline: none;
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.shop__buy-btn {
    width: 100%;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
}

/* --- Modal --- */
.shop__modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.shop__modal.is-open {
    opacity: 1;
    visibility: visible;
}

.shop__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.shop__modal-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: #1a1a2e;
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    padding: 28px;
    box-shadow: var(--shop-shadow);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.shop__modal.is-open .shop__modal-dialog {
    transform: translateY(0);
}

.shop__modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: inherit;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.shop__modal-close:hover {
    background: rgba(255,255,255,0.15);
}

.shop__modal-header {
    margin-bottom: 24px;
    padding-left: 40px;
}

.shop__modal-header h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.shop__modal-header p {
    color: var(--shop-text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.shop__order-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.shop__order-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
}

.shop__order-row--total {
    border-top: 1px solid var(--shop-border);
    margin-top: 8px;
    padding-top: 14px;
    font-size: 1.05rem;
}

.shop__order-row--total strong {
    color: var(--shop-accent);
}

.shop__payment-methods {
    margin: 20px 0;
}

.shop__payment-title {
    font-weight: 600;
    margin-bottom: 12px;
}

.shop__payment-option {
    display: block;
    cursor: pointer;
    margin-bottom: 10px;
}

.shop__payment-option input {
    position: absolute;
    opacity: 0;
}

.shop__payment-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--shop-border);
    border-radius: 12px;
    transition: all 0.2s;
}

.shop__payment-box i {
    font-size: 1.4rem;
    color: var(--shop-primary-light);
}

.shop__payment-box span {
    font-weight: 600;
}

.shop__payment-box small {
    display: block;
    color: var(--shop-text-muted);
    font-size: 0.8rem;
    margin-right: auto;
}

.shop__payment-option input:checked + .shop__payment-box {
    border-color: var(--shop-primary);
    background: rgba(108, 92, 231, 0.12);
}

.shop__card-info {
    background: rgba(253, 203, 110, 0.08);
    border: 1px solid rgba(253, 203, 110, 0.25);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.shop__card-details p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.shop__copy-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: inherit;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.shop__copy-btn:hover {
    background: rgba(255,255,255,0.2);
}

.shop__card-note {
    color: var(--shop-gold) !important;
    font-size: 0.85rem !important;
    margin-top: 12px !important;
}

.shop__modal-actions {
    margin-top: 8px;
}

.shop__modal-actions .tg-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
}

.shop__secure-note {
    text-align: center;
    color: var(--shop-text-muted);
    font-size: 0.8rem;
    margin-top: 14px;
    margin-bottom: 0;
}

.shop__toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #2d3436;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    max-width: 90%;
    text-align: center;
}

.shop__toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.shop__toast--error {
    background: #d63031;
}

.shop__toast--success {
    background: #00b894;
}

/* ============================================
   RESPONSIVE ENHANCEMENTS
   ============================================ */

@media (max-width: 1199.98px) {
    .banner__shape img {
        max-width: 120px;
    }
}

@media (max-width: 991.98px) {
    .section-pt-120,
    .section-py-120 {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    .section__title.mb-80 {
        margin-bottom: 50px !important;
    }

    .work__item-wrap .work__img {
        position: relative !important;
        margin-bottom: 40px;
        text-align: center;
    }

    .work__item-wrap .work__img img {
        max-width: 280px;
        width: 100%;
    }

    .work__item {
        text-align: center !important;
        margin-bottom: 30px !important;
    }

    .work__item-right {
        text-align: center !important;
    }

    .faq__img {
        margin-bottom: 40px;
        text-align: center;
    }

    .faq__img img {
        max-width: 400px;
        width: 100%;
    }

    .tgmenu__action .header-btn + .header-btn {
        display: none;
    }

    .shop__plans {
        grid-template-columns: 1fr;
    }

    .shop__plan-box {
        flex-direction: row;
        justify-content: space-between;
        min-height: auto;
        padding: 14px 18px;
    }

    .shop__plan-badge {
        position: static;
        transform: none;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .banner__content .title {
        font-size: 1.8rem !important;
    }

    .banner__content .sub-title {
        font-size: 0.85rem;
    }

    .banner__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .banner__actions .tg-btn {
        width: 100%;
        text-align: center;
    }

    .banner__shape {
        opacity: 0.3;
    }

    .banner__shape img {
        max-width: 80px !important;
    }

    .features__item {
        flex-direction: column;
        text-align: center;
    }

    .features__icon {
        margin: 0 auto 16px;
    }

    .crypto__item {
        text-align: center;
    }

    .crypto__icon {
        margin: 0 auto 16px;
    }

    .exchange__inner-wrap {
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
    }

    .shop__product-card {
        padding: 20px;
    }

    .shop__stars-input-wrap {
        flex-wrap: wrap;
    }

    .shop__stars-input {
        order: -1;
        width: 100%;
        flex: none;
    }

    .shop__modal-dialog {
        padding: 20px;
        border-radius: 12px;
    }

    .shop__payment-box {
        flex-wrap: wrap;
    }

    .shop__payment-box small {
        width: 100%;
        margin-right: 0;
        padding-right: 36px;
    }

    .copyright-text p {
        font-size: 0.85rem;
        line-height: 1.8;
    }
}

@media (max-width: 575.98px) {
    .section-pt-120,
    .section-py-120 {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .shop__plan-box {
        flex-direction: column;
        text-align: center;
    }

    .shop__stars-presets {
        justify-content: center;
    }

    .shop__order-row {
        flex-direction: column;
        gap: 4px;
    }
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}
