/* PENTAGON DUPE TOOL - Cyberpunk BTC Checkout Modal Theme */
:root {
    --modal-bg-start: #110B22;
    --modal-bg-end: #07050E;
    --modal-border: rgba(139, 92, 246, 0.45);
    --modal-purple: #8B5CF6;
    --modal-purple-light: #A78BFA;
    --modal-cyan: #00E5FF;
    --modal-cyan-glow: rgba(0, 229, 255, 0.4);
    --modal-purple-glow: rgba(139, 92, 246, 0.4);
}

.btc-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(4, 3, 8, 0.94) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    z-index: 9999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    animation: btcFadeIn 0.25s ease-out !important;
}

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

.btc-modal-overlay.active {
    display: flex !important;
}

.btc-modal-container {
    background: linear-gradient(175deg, var(--modal-bg-start) 0%, var(--modal-bg-end) 100%) !important;
    border: 1px solid var(--modal-border) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 50px rgba(139, 92, 246, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    border-radius: 22px !important;
    width: 100% !important;
    max-width: 640px !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
    position: relative !important;
    color: #FFFFFF !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    box-sizing: border-box !important;
    margin: auto !important;
    animation: btcScaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes btcScaleUp {
    from { transform: scale(0.94); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Custom Scrollbar for Modal */
.btc-modal-container::-webkit-scrollbar {
    width: 6px;
}
.btc-modal-container::-webkit-scrollbar-track {
    background: #080512;
}
.btc-modal-container::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 4px;
}

/* Header */
.btc-modal-header {
    padding: 22px 28px !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2) !important;
    background: rgba(139, 92, 246, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
}

.btc-modal-title-group {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.btc-modal-icon-badge {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(0, 229, 255, 0.15)) !important;
    border: 1px solid rgba(139, 92, 246, 0.6) !important;
    color: #00E5FF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3) !important;
}

.btc-modal-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.3px !important;
}

.btc-modal-subtitle {
    font-size: 13px !important;
    color: #A1A1AA !important;
    margin-top: 3px !important;
}

.btc-modal-close-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #A1A1AA !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 15px !important;
    transition: all 0.2s !important;
}

.btc-modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #EF4444 !important;
    color: #EF4444 !important;
    transform: rotate(90deg) !important;
}

.btc-modal-body {
    padding: 24px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    box-sizing: border-box !important;
}

/* Selected Package Summary Box */
.btc-package-summary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(0, 229, 255, 0.06) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.4) !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    overflow: hidden !important;
}

.btc-package-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00E5FF, #8B5CF6);
}

.btc-package-name {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif !important;
}

.btc-package-price {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #00E5FF !important;
    text-shadow: 0 0 16px rgba(0, 229, 255, 0.5) !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: 0.5px !important;
}

/* Network Warning Banner */
.btc-network-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(139, 92, 246, 0.08)) !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.btc-network-warning i {
    color: #F59E0B !important;
    font-size: 18px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
}

.btc-network-warning-text {
    font-size: 13px !important;
    color: #FEF3C7 !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

.btc-network-warning-text strong {
    color: #FFFFFF !important;
    font-weight: 800 !important;
}

/* BTC Address Box */
.btc-address-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.btc-field-label {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #A1A1AA !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: flex !important;
    justify-content: space-between !important;
}

.btc-network-badge {
    color: #F59E0B !important;
    font-weight: 800 !important;
    font-size: 11.5px !important;
}

.btc-address-box {
    background: #090614 !important;
    border: 1px solid rgba(139, 92, 246, 0.35) !important;
    border-radius: 12px !important;
    padding: 10px 12px 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5) !important;
}

.btc-address-text {
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #00E5FF !important;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3) !important;
    word-break: break-all !important;
    user-select: all !important;
}

.btc-copy-btn {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    transition: all 0.2s !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4) !important;
}

.btc-copy-btn:hover {
    background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%) !important;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.7) !important;
    transform: translateY(-1px) !important;
}

/* QR Code & Guide Section */
.btc-qr-guide-grid {
    display: grid !important;
    grid-template-columns: 140px 1fr !important;
    gap: 18px !important;
    align-items: center !important;
    background: rgba(139, 92, 246, 0.05) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    border-radius: 14px !important;
    padding: 18px !important;
    box-sizing: border-box !important;
}

.btc-qr-box {
    width: 140px !important;
    height: 140px !important;
    background: #FFFFFF !important;
    border: 2px solid rgba(139, 92, 246, 0.5) !important;
    border-radius: 14px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.3) !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.btc-qr-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.btc-app-guide {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.btc-app-guide-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Outfit', sans-serif !important;
}

.btc-app-guide-title i {
    color: #00E5FF !important;
}

.btc-app-badges {
    display: flex !important;
    gap: 8px !important;
    margin: 2px 0 !important;
}

.btc-app-badge-item {
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.btc-app-badge-cashapp {
    background: rgba(0, 214, 50, 0.15) !important;
    border: 1px solid rgba(0, 214, 50, 0.5) !important;
    color: #00FF85 !important;
}

.btc-app-badge-paypal {
    background: rgba(0, 112, 186, 0.18) !important;
    border: 1px solid rgba(0, 112, 186, 0.5) !important;
    color: #38BDF8 !important;
}

.btc-app-guide-desc {
    font-size: 12.5px !important;
    color: #D4D4D8 !important;
    line-height: 1.6 !important;
}

/* Information Form Inputs */
.btc-form-section {
    border-top: 1px solid rgba(139, 92, 246, 0.2) !important;
    padding-top: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.btc-form-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Outfit', sans-serif !important;
}

.btc-form-title i {
    color: #8B5CF6 !important;
}

.btc-input-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

.btc-input-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.btc-input-group label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #A1A1AA !important;
}

.btc-input-group label span {
    color: #F43F5E !important;
}

.btc-input-control {
    background: #080512 !important;
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    color: #FFFFFF !important;
    font-size: 13px !important;
    outline: none !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.btc-input-control:focus {
    border-color: #00E5FF !important;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.35) !important;
    background: #0E0920 !important;
}

.btc-input-control::placeholder {
    color: #52525B !important;
}

/* Submit Action Button */
.btc-submit-btn {
    background: linear-gradient(135deg, #00E5FF 0%, #8B5CF6 100%) !important;
    color: #05040A !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 16px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 0.6px !important;
    font-family: 'Outfit', sans-serif !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.45), 0 0 15px rgba(139, 92, 246, 0.35) !important;
    transition: all 0.25s ease !important;
    margin-top: 6px !important;
}

.btc-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.7), 0 0 25px rgba(139, 92, 246, 0.6) !important;
    filter: brightness(1.08) !important;
}

.btc-submit-btn:active {
    transform: translateY(0) !important;
}

/* Trust Guarantee Row */
.btc-trust-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding-top: 6px !important;
    font-size: 11px !important;
    color: #71717A !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: 700 !important;
    flex-wrap: wrap !important;
}

.btc-trust-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.btc-trust-item i {
    color: #00E5FF !important;
}

/* Success State Screen */
.btc-success-box {
    display: none;
    padding: 40px 20px !important;
    text-align: center !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
}

.btc-success-icon {
    width: 76px !important;
    height: 76px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(139, 92, 246, 0.2)) !important;
    border: 2px solid #00E5FF !important;
    color: #00E5FF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 34px !important;
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.4) !important;
    animation: btcPulseGlow 2s infinite !important;
}

@keyframes btcPulseGlow {
    0%, 100% { box-shadow: 0 0 35px rgba(0, 229, 255, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 50px rgba(0, 229, 255, 0.7); transform: scale(1.05); }
}

.btc-success-title {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif !important;
}

.btc-success-desc {
    font-size: 14px !important;
    color: #A1A1AA !important;
    max-width: 440px !important;
    line-height: 1.6 !important;
}

/* Stock Badge for Cards */
.stock-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.5) !important;
    color: #F87171 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 12px !important;
    width: fit-content !important;
}

.stock-badge .stock-pulse {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #EF4444 !important;
    box-shadow: 0 0 8px #EF4444 !important;
}

@media (max-width: 600px) {
    .btc-input-grid {
        grid-template-columns: 1fr !important;
    }
    .btc-qr-guide-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        justify-items: center !important;
    }
    .btc-modal-container {
        padding: 0 !important;
    }
    .btc-modal-body {
        padding: 18px 20px !important;
    }
}

/* Multi-Crypto Coin Selector Tabs (Cyber Theme) */
.crypto-selector-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 2px !important;
}

.crypto-selector-label {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #A1A1AA !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.crypto-selector-tabs {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 8px !important;
}

.crypto-select-tab {
    background: rgba(139, 92, 246, 0.06) !important;
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
    border-radius: 10px !important;
    padding: 10px 4px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #A1A1AA !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    user-select: none !important;
}

.crypto-select-tab i {
    font-size: 19px !important;
    transition: transform 0.2s !important;
}

.crypto-select-tab:hover {
    background: rgba(139, 92, 246, 0.15) !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

.crypto-select-tab.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(0, 229, 255, 0.15)) !important;
    border-color: #00E5FF !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.35) !important;
}

.crypto-select-tab[data-coin="btc"].active i { color: #F7931A !important; }
.crypto-select-tab[data-coin="eth"].active i { color: #627EEA !important; }
.crypto-select-tab[data-coin="sol"].active i { color: #14F195 !important; }
.crypto-select-tab[data-coin="trx"].active i { color: #EF0027 !important; }
.crypto-select-tab[data-coin="bnb"].active i { color: #F3BA2F !important; }

@media (max-width: 540px) {
    .crypto-selector-tabs {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

