/* ==========================================================================
   TwinRayj Studios - Seamless Official Store Styling
   "For Gamers, By Gamers" 🕹
   Consistent Typography, Menu Bar, and Integrated Storefront Experience
   ========================================================================== */

/* Inherit and enforce typography across all store elements */
body.body_bg,
.store-container,
.store-hero,
.store-hero-title,
.store-hero-desc,
.store-perk-item,
.bigcommerce-embedded-wrapper,
.embedded-header,
.store-nav-btn,
.store-status-pill,
.loyalty-card,
.loyalty-title,
.loyalty-desc,
.trs-footer {
    font-family: var(--font-body, 'Comic Neue', 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif) !important;
}

.store-hero-title,
.loyalty-title,
.footer-heading {
    font-family: var(--font-heading, 'Comic Neue', 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif) !important;
}

.store-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Store Hero Banner
   ========================================================================== */
.store-hero {
    background: #000000 !important;
    border: 1px solid rgba(0, 255, 0, 0.45) !important;
    border-radius: 25px !important;
    padding: 2.25rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 16px rgba(0, 255, 0, 0.35), 0 0 32px rgba(0, 255, 0, 0.15) !important;
    position: relative;
    overflow: hidden;
}

.store-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.store-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #143514;
    border: 1px solid #00ff00;
    border-radius: 50px;
    padding: 0.3rem 0.95rem;
    color: #00ff00;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.25);
}

.store-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 700;
    font-style: italic;
    color: #00ff00;
    margin-bottom: 0.65rem;
    line-height: 1.2;
}

.store-hero-desc {
    color: #d1fae5;
    font-size: 1.05rem;
    max-width: 780px;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.store-perks-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    border-top: 1px solid rgba(0, 255, 0, 0.22);
    padding-top: 1.25rem;
}

.store-perk-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.925rem;
    color: #bbf7d0;
    font-weight: 600;
}

.store-perk-item i {
    color: #00ff00;
    font-size: 1.05rem;
}

/* ==========================================================================
   Embedded Storefront Seamless Wrapper
   ========================================================================== */
.bigcommerce-embedded-wrapper {
    background: #000000;
    border: 1px solid rgba(0, 255, 0, 0.45);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.35), 0 0 40px rgba(0, 255, 0, 0.15);
    margin-bottom: 2.5rem;
    display: block;
    position: relative;
}

.embedded-header {
    background: #0c1a0c;
    border-bottom: 1px solid rgba(0, 255, 0, 0.45);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.store-status-pill {
    background: #143514;
    border: 1px solid #00ff00;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.store-status-pill .indicator-text {
    color: #00ff00;
}

.store-nav-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.store-nav-btn {
    background-color: #143514;
    border: 1px solid #00ff00;
    color: #00ff00;
    font-family: var(--font-body, 'Comic Neue', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    white-space: nowrap;
}

.store-nav-btn:hover,
.store-nav-btn.active {
    background-color: #00ff00 !important;
    color: #000000 !important;
    border-color: #39ff14 !important;
    box-shadow: 0 0 14px rgba(0, 255, 0, 0.6);
    transform: translateY(-1px);
}

.store-nav-btn.active i {
    color: #000000 !important;
}

.store-nav-btn-external {
    background-color: transparent;
    border-color: rgba(0, 255, 0, 0.5);
    color: #a7f3d0;
}

.store-nav-btn-external:hover {
    background-color: #1f4f1f !important;
    color: #ffffff !important;
    border-color: #00ff00 !important;
}

.embedded-frame-container {
    position: relative;
    width: 100%;
    min-height: 900px;
    height: 85vh;
    background: #000000;
}

.store-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #00ff00;
    font-family: var(--font-body, 'Comic Neue', sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.embedded-frame {
    width: 100%;
    height: 100%;
    min-height: 900px;
    border: none;
    background: #ffffff;
    display: block;
}

/* ==========================================================================
   Gamer Loyalty Rewards Card
   ========================================================================== */
.loyalty-card {
    background: #000000;
    border: 1px solid rgba(0, 255, 0, 0.45);
    border-radius: 25px;
    padding: 2rem 2.25rem;
    box-shadow: 0 0 16px rgba(0, 255, 0, 0.3), 0 0 32px rgba(0, 255, 0, 0.12);
    margin-bottom: 2.5rem;
}

.loyalty-badge {
    background: #143514;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.825rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.loyalty-title {
    color: #00ff00;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.loyalty-desc {
    color: #d1fae5;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .embedded-frame-container,
    .embedded-frame {
        min-height: 750px;
        height: 80vh;
    }

    .embedded-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-nav-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .store-hero {
        padding: 1.5rem 1.25rem;
    }
}
