/* ==========================================================================
   NEON VAULT CYBER STORE & VIP VAULT — PRODUCTION ULTRA-LUXURY STYLESHEET
   High-End Tier-1 Crypto Casino Store Styling
   ========================================================================== */

/* ---------- STORE WRAPPER & AMBIENT GLOW ---------- */
.store-page-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
    position: relative;
}

/* Ambient background radial flares */
.store-page-wrap::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.store-page-wrap::after {
    content: '';
    position: absolute;
    top: 200px;
    right: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- VIP COMMAND DECK & HUB BANNER ---------- */
.store-hub-banner {
    background: linear-gradient(135deg, rgba(16, 24, 48, 0.9) 0%, rgba(10, 14, 28, 0.96) 100%);
    border: 1px solid rgba(0, 240, 255, 0.22);
    border-radius: 20px;
    padding: 1.6rem 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    z-index: 1;
}

.store-hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.2rem;
}

.store-hub-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: -0.01em;
}

.store-hub-title .hub-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}

.vip-badge-pill {
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.vip-badge-none {
    background: rgba(255, 255, 255, 0.07);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.vip-badge-bronze {
    background: linear-gradient(90deg, rgba(217, 119, 6, 0.3), rgba(180, 83, 9, 0.45));
    color: #f59e0b;
    border: 1px solid #f59e0b;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}
.vip-badge-silver {
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.3), rgba(203, 213, 225, 0.45));
    color: #f1f5f9;
    border: 1px solid #cbd5e1;
    box-shadow: 0 0 16px rgba(226, 232, 240, 0.35);
}
.vip-badge-overlord {
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.35), rgba(168, 85, 247, 0.45));
    color: #f472b6;
    border: 1px solid #ec4899;
    box-shadow: 0 0 22px rgba(236, 72, 153, 0.5);
    animation: overlordPulse 2.4s infinite ease-in-out;
}

@keyframes overlordPulse {
    0%, 100% { box-shadow: 0 0 14px rgba(236, 72, 153, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 26px rgba(236, 72, 153, 0.8), 0 0 40px rgba(168, 85, 247, 0.4); transform: scale(1.02); }
}

.ton-rate-pill {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.ton-rate-pill b {
    color: #00f0ff;
    font-weight: 800;
}
.rate-live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
    animation: liveBlink 1.6s infinite ease-in-out;
}
@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* ---------- STORE PERKS GRID ---------- */
.store-perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.1rem;
}

.perk-status-card {
    background: linear-gradient(135deg, rgba(20, 28, 48, 0.7) 0%, rgba(13, 18, 33, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.25s ease;
}
.perk-status-card:hover {
    border-color: rgba(0, 240, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 240, 255, 0.1);
}

.perk-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(0, 240, 255, 0.2), rgba(0, 240, 255, 0.04));
    border: 1px solid rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.perk-info-title {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}
.perk-info-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.perk-info-sub {
    font-size: 0.74rem;
    color: #00f0ff;
    margin-top: 0.2rem;
    font-weight: 600;
}

/* Rakeback Action Box */
.rakeback-action-box {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.14) 0%, rgba(20, 26, 44, 0.9) 100%);
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 18px rgba(234, 179, 8, 0.12);
}
.rakeback-action-box:hover {
    border-color: rgba(234, 179, 8, 0.65);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 25px rgba(234, 179, 8, 0.22);
}

/* ---------- LUXURY TAB NAVIGATION TRACK ---------- */
.store-tabs-nav {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.5rem;
    margin: 0 auto 2rem;
    background: rgba(14, 20, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    scrollbar-width: none;
    max-width: 980px;
}
.store-tabs-nav::-webkit-scrollbar { display: none; }

.store-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    justify-content: center;
}
.store-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.25);
    transform: translateY(-1px);
}
.store-tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%);
    border: 1px solid #00f0ff;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.store-section { display: none; }
.store-section.active {
    display: block;
    animation: fadeInStoreTab 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInStoreTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.store-section-header {
    text-align: center;
    margin-bottom: 2rem;
}
.store-section-header h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}
.store-section-header p {
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ---------- STYLIZED CONTAINER CARDS GRID ---------- */
.store-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.6rem;
    margin-bottom: 3rem;
}

/* The Core Luxury Container Card */
.store-card {
    background: linear-gradient(180deg, rgba(22, 30, 52, 0.9) 0%, rgba(11, 16, 30, 0.96) 100%);
    border: 1px solid rgba(0, 240, 255, 0.16);
    border-radius: 20px;
    padding: 1.8rem 1.5rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Hover Elevation & Radiant Glow */
.store-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(0, 240, 255, 0.65);
    box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 240, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Featured / Apex / Sovereign Card Styling */
.store-card.featured {
    border-color: rgba(255, 210, 87, 0.55);
    background: linear-gradient(180deg, rgba(32, 38, 64, 0.92) 0%, rgba(16, 20, 36, 0.98) 100%);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 210, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.store-card.featured:hover {
    border-color: #ffd257;
    box-shadow: 0 26px 55px -12px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 210, 87, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* VIP Tier Specific Card Accents */
.store-card.vip-bronze-card { border-color: rgba(245, 158, 11, 0.4); }
.store-card.vip-bronze-card:hover { border-color: #f59e0b; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(245, 158, 11, 0.35); }

.store-card.vip-silver-card { border-color: rgba(203, 213, 225, 0.4); }
.store-card.vip-silver-card:hover { border-color: #f1f5f9; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(226, 232, 240, 0.35); }

.store-card.vip-overlord-card { border-color: rgba(236, 72, 153, 0.5); }
.store-card.vip-overlord-card:hover { border-color: #ec4899; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(236, 72, 153, 0.5); }

/* Floating Card Ribbon Badge */
.store-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    z-index: 2;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 3D Circular Card Icon Orb */
.store-card-icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    margin: 0.4rem auto 1rem;
    background: radial-gradient(circle at 35% 35%, rgba(0, 240, 255, 0.22), rgba(0, 0, 0, 0.5));
    border: 1.5px solid rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.25);
    transition: transform 0.35s ease;
}
.store-card:hover .store-card-icon {
    transform: scale(1.1) rotate(4deg);
    border-color: #00f0ff;
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.35), inset 0 2px 6px rgba(255, 255, 255, 0.4);
}

.store-card-title {
    font-size: 1.18rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.store-card-coins {
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffd257;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 20px rgba(255, 210, 87, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}
.store-card-coins small {
    font-size: 0.7rem;
    color: #94a3b8;
    letter-spacing: 0.12em;
    font-weight: 800;
    text-shadow: none;
    text-transform: uppercase;
}

.store-card-desc {
    font-size: 0.84rem;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 1.2rem;
    line-height: 1.45;
    min-height: 2.4rem;
}

/* Feature Checklist Pills */
.store-perk-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.store-perk-list li {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.store-card:hover .store-perk-list li {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}
.store-perk-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: 900;
    font-size: 0.88rem;
}

/* Price Box */
.store-price-box {
    background: rgba(8, 12, 22, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}
.store-price-ton {
    font-size: 1.35rem;
    font-weight: 900;
    color: #00f0ff;
    letter-spacing: -0.01em;
}
.store-price-sub {
    font-size: 0.74rem;
    color: #94a3b8;
    margin-top: 0.2rem;
    font-weight: 600;
}

/* Action Button Stack */
.store-btn-stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.btn-ton-buy {
    background: linear-gradient(135deg, #0098ea 0%, #00c6ff 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 12px;
    padding: 0.85rem;
    width: 100%;
    border: none;
    box-shadow: 0 4px 18px rgba(0, 152, 234, 0.35);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.02em;
    text-decoration: none;
}
.btn-ton-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(0, 198, 255, 0.6);
    filter: brightness(1.08);
}
.btn-ton-buy:active {
    transform: translateY(1px);
}

.btn-coins-buy {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0b0f19 !important;
    font-weight: 900;
    font-size: 0.95rem;
    border-radius: 12px;
    padding: 0.85rem;
    width: 100%;
    border: none;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.02em;
}
.btn-coins-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(245, 158, 11, 0.6);
    filter: brightness(1.08);
}
.btn-coins-buy:active {
    transform: translateY(1px);
}

/* ---------- HIGH-END WEB3 CHECKOUT MODAL ---------- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 15, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
}
.modal-backdrop.active {
    display: flex;
    animation: modalBackdropFade 0.25s ease-out;
}
@keyframes modalBackdropFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box {
    background: linear-gradient(180deg, #162038 0%, #0c1122 100%);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 24px;
    padding: 2.2rem;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 240, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalBoxPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalBoxPop {
    from { transform: scale(0.92) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.modal-close:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    transform: rotate(90deg);
}

.modal-qr-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    width: 190px;
    height: 190px;
    margin: 1.2rem auto 1.4rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-qr-container img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
}

.copyable-field-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
    transition: border-color 0.2s;
}
.copyable-field-box:hover {
    border-color: rgba(0, 240, 255, 0.4);
}

.copyable-field-val {
    font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    color: #e2e8f0;
    word-break: break-all;
    user-select: all;
}

.btn-mini-copy {
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: #00f0ff;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.btn-mini-copy:hover {
    background: #00f0ff;
    color: #0b0f19;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.memo-alert-box {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.76rem;
    color: #fef08a;
    line-height: 1.45;
    margin-bottom: 1.2rem;
}

.live-radar-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #00f0ff;
    display: inline-block;
    margin-right: 6px;
    box-shadow: 0 0 10px #00f0ff;
    animation: liveRadarPulse 1.4s infinite ease-in-out;
}
@keyframes liveRadarPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

/* Responsive queries */
@media (max-width: 768px) {
    .store-cards-grid { grid-template-columns: 1fr; }
    .store-hub-banner { padding: 1.2rem; }
    .store-hub-header { flex-direction: column; align-items: flex-start; }
    .store-tabs-nav { justify-content: flex-start; }
    .modal-box { padding: 1.5rem; }
}
