/**
 * Battle Points Shop Styles
 * 
 * Design: NOT AVAILABLE placeholder with greyed-out pack preview
 */

/* ==================== SHOP PAGE CONTAINER ==================== */
.bp-shop-page {
    width: 100%;
    height: 100%;
    padding: 0;
    background: linear-gradient(180deg, #0a1525 0%, #050a12 50%, #020408 100%);
    overflow: hidden;
}

/* ==================== UNAVAILABLE MODE ==================== */
.bp-shop-page.bp-shop-unavailable {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

.bp-unavailable-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.bp-unavailable-content {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(60, 60, 70, 0.4) 0%, rgba(40, 40, 50, 0.5) 100%);
    border: 2px solid rgba(180, 180, 200, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 
        0 0 40px rgba(150, 150, 170, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bp-unavailable-content i {
    font-size: 3.5rem;
    color: #a0a0b0;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.bp-unavailable-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #c0c0d0;
    letter-spacing: 6px;
    margin: 0 0 12px;
    text-shadow: 
        0 0 20px rgba(180, 180, 200, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, #e0e0f0 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bp-unavailable-content p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.bp-shop-unavailable .bp-packs-section {
    filter: blur(1px) grayscale(30%);
    opacity: 0.6;
    pointer-events: none;
}

@keyframes bpHeroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.bp-coin-large {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ff6b00, #ff8c00, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffd700;
    box-shadow: 
        0 0 30px rgba(255, 107, 0, 0.6),
        0 0 60px rgba(255, 107, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.4);
    animation: bpCoinPulse 2s ease-in-out infinite;
}

@keyframes bpCoinPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 107, 0, 0.6), 0 0 60px rgba(255, 107, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 0, 0.8), 0 0 80px rgba(255, 107, 0, 0.4), inset 0 0 25px rgba(255, 215, 0, 0.6); }
}

.bp-coin-large .bp-icon {
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bp-shop-title {
    font-family: 'Orbitron', 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 4px;
    margin: 0 0 10px;
    text-shadow: 
        0 0 20px rgba(255, 107, 0, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.5);
}

.bp-shop-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    letter-spacing: 1px;
}

/* ==================== COMING SOON BANNER ==================== */
.bp-coming-soon-banner {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 107, 0, 0.1) 100%);
    border: 2px solid rgba(255, 193, 7, 0.4);
    border-radius: 16px;
    text-align: center;
    animation: comingSoonPulse 3s ease-in-out infinite;
}

@keyframes comingSoonPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 193, 7, 0.2); }
    50% { box-shadow: 0 0 40px rgba(255, 193, 7, 0.4); }
}

.bp-coming-soon-icon {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 12px;
}

.bp-coming-soon-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffc107;
    letter-spacing: 4px;
    margin: 0 0 8px;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.bp-coming-soon-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ==================== BALANCE SECTION ==================== */
.bp-balance-section {
    padding: 0 20px 30px;
    display: flex;
    justify-content: center;
}

.bp-balance-card {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15) 0%, rgba(255, 107, 0, 0.05) 100%);
    border: 2px solid rgba(255, 107, 0, 0.4);
    border-radius: 16px;
    padding: 20px 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(255, 107, 0, 0.1);
}

.bp-balance-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.bp-balance-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bp-coin-mini {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff6b00, #ff8c00, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

.bp-coin-mini .bp-icon {
    font-size: 0.9rem;
    color: #fff;
}

.bp-balance-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.bp-balance-suffix {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 215, 0, 0.7);
    letter-spacing: 2px;
}

/* ==================== PACKS SECTION ==================== */
.bp-packs-section {
    padding: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Preview mode (greyed out) */
.bp-packs-section.bp-packs-preview {
    opacity: 0.7;
    pointer-events: none;
}

.bp-packs-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    letter-spacing: 2px;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.bp-packs-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
}

.bp-packs-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Rajdhani', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.bp-packs-loading i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ==================== PACK CARD ==================== */
.bp-pack-card {
    position: relative;
    background: linear-gradient(180deg, rgba(0, 30, 60, 0.8) 0%, rgba(0, 15, 30, 0.9) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    width: 160px;
    flex-shrink: 0;
}

.bp-pack-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bp-pack-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.2);
}

.bp-pack-card:hover::before {
    opacity: 1;
}

/* Best Value Card */
.bp-pack-card.best-value {
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(180deg, rgba(255, 107, 0, 0.1) 0%, rgba(0, 15, 30, 0.9) 100%);
}

.bp-pack-card.best-value:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 8px 40px rgba(255, 107, 0, 0.3);
}

/* Disabled pack card (Coming Soon) */
.bp-pack-card.bp-pack-disabled {
    opacity: 0.7;
    cursor: not-allowed;
    filter: grayscale(30%);
}

.bp-pack-card.bp-pack-disabled:hover {
    transform: none;
    box-shadow: none;
}

.bp-pack-card.bp-pack-disabled .bp-pack-coin {
    filter: grayscale(40%);
}

/* Ribbon */
.bp-pack-ribbon {
    position: absolute;
    top: 12px;
    right: -32px;
    background: linear-gradient(90deg, #00d4ff, #00a8cc);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.65rem;
    padding: 3px 36px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

.bp-pack-card.best-value .bp-pack-ribbon {
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    box-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
}

/* Pack Icon */
.bp-pack-icon {
    margin-bottom: 10px;
}

.bp-pack-coin {
    width: 44px;
    height: 44px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ff6b00, #ff8c00, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bp-pack-card:hover .bp-pack-coin {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
}

.bp-pack-coin .bp-icon {
    font-size: 1.1rem;
    color: #fff;
}

/* Pack Amount */
.bp-pack-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 2px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.bp-pack-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Pack Price */
.bp-pack-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* Buy Button */
.bp-pack-btn {
    width: 100%;
    padding: 8px 12px;
    background: linear-gradient(180deg, #00d4ff 0%, #0099cc 100%);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.bp-pack-btn:hover {
    background: linear-gradient(180deg, #00e5ff 0%, #00aadd 100%);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

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

.bp-pack-card.best-value .bp-pack-btn {
    background: linear-gradient(180deg, #ffd700 0%, #ff8c00 100%);
    color: #1a1a1a;
}

.bp-pack-card.best-value .bp-pack-btn:hover {
    background: linear-gradient(180deg, #ffe44d 0%, #ffa500 100%);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}

.bp-pack-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.bp-pack-btn.loading {
    pointer-events: none;
}

.bp-pack-btn.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: btnSpin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* ==================== SUCCESS/CANCEL MESSAGES ==================== */
.bp-message {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 20px 24px;
    border-radius: 12px;
    position: relative;
}

.bp-message-success {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 2px solid rgba(0, 255, 136, 0.4);
}

.bp-message-cancel {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 2px solid rgba(255, 193, 7, 0.4);
}

.bp-message-icon {
    font-size: 2rem;
}

.bp-message-success .bp-message-icon {
    color: #00ff88;
}

.bp-message-cancel .bp-message-icon {
    color: #ffc107;
}

.bp-message-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 4px;
}

.bp-message-content p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.bp-message-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.bp-message-close:hover {
    color: #fff;
}

/* ==================== FAQ SECTION ==================== */
.bp-faq-section {
    padding: 30px 20px 40px;
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bp-faq-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    letter-spacing: 2px;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.bp-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.bp-faq-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.bp-faq-item i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.bp-faq-item p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.bp-faq-item strong {
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== FOOTER ==================== */
.bp-shop-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bp-shop-footer p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* ==================== LOGIN PROMPT ==================== */
.bp-login-prompt {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.bp-login-card {
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.98) 0%, rgba(5, 15, 30, 0.98) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.bp-login-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    margin: 0 0 12px;
}

.bp-login-card p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px;
}

.bp-login-btn {
    padding: 14px 32px;
    background: linear-gradient(180deg, #00d4ff 0%, #0099cc 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.bp-login-btn:hover {
    background: linear-gradient(180deg, #00e5ff 0%, #00aadd 100%);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .bp-unavailable-content {
        padding: 24px 20px;
        margin: 0 16px;
    }
    
    .bp-unavailable-content i {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .bp-unavailable-content h2 {
        font-size: 1.4rem;
        letter-spacing: 4px;
    }
    
    .bp-unavailable-content p {
        font-size: 0.85rem;
    }
    
    .bp-packs-grid {
        gap: 10px;
    }
    
    .bp-pack-card {
        width: 130px;
        padding: 12px 10px;
        border-radius: 10px;
    }
    
    .bp-pack-coin {
        width: 40px;
        height: 40px;
    }
    
    .bp-pack-coin .bp-icon {
        font-size: 1rem;
    }
    
    .bp-pack-amount {
        font-size: 1.1rem;
    }
    
    .bp-pack-label {
        font-size: 0.65rem;
        margin-bottom: 8px;
    }
    
    .bp-pack-price {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .bp-pack-btn {
        padding: 8px 10px;
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    
    .bp-pack-ribbon {
        font-size: 0.6rem;
        padding: 3px 30px;
        top: 8px;
        right: -28px;
    }
}

@media (max-width: 480px) {
    .bp-packs-grid {
        gap: 6px;
    }
    
    .bp-pack-card {
        width: 80px;
        padding: 10px 6px;
        border-radius: 8px;
    }
    
    .bp-pack-icon {
        margin-bottom: 8px;
    }
    
    .bp-pack-coin {
        width: 28px;
        height: 28px;
        border-width: 2px;
    }
    
    .bp-pack-coin .bp-icon {
        font-size: 0.7rem;
    }
    
    .bp-pack-amount {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }
    
    .bp-pack-label {
        font-size: 0.5rem;
        letter-spacing: 1px;
        margin-bottom: 6px;
    }
    
    .bp-pack-price {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .bp-pack-btn {
        padding: 6px 4px;
        font-size: 0.5rem;
        letter-spacing: 0.5px;
        border-radius: 4px;
    }
    
    .bp-pack-ribbon {
        font-size: 0.45rem;
        padding: 2px 22px;
        top: 6px;
        right: -22px;
    }
    
    .bp-unavailable-content {
        padding: 20px 16px;
    }
    
    .bp-unavailable-content i {
        font-size: 2rem;
    }
    
    .bp-unavailable-content h2 {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }
    
    .bp-unavailable-content p {
        font-size: 0.75rem;
    }
}
