/* --- SHARED ELEMENTS & THEME --- */
body { 
    padding-bottom: 100px; 
    font-family: 'Inter', sans-serif; 
    background-color: #000;
}

/* Premium Deep Space Background with Red Nebula */
.bg-stars {
    position: fixed; 
    inset: 0; 
    z-index: -1;
    background: 
        radial-gradient(circle at top, rgba(223, 2, 1, 0.45) 0%, transparent 65%),
        linear-gradient(to bottom, #1a0000 0%, #000000 45%, #000000 100%);
}

.brand { 
    font-size: 34px; 
    letter-spacing: 5px; 
    font-weight: 800; 
}

.brand span { 
    color: #df0201; 
}

/* Breadcrumb Styling */
.breadcrumb-item, .breadcrumb-item a { 
    color: rgba(255,255,255,0.4); 
    text-decoration: none; 
    font-size: 12px; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb-item.active { 
    color: #df0201; 
    font-weight: 700;
}

/* --- FILTER BUTTONS --- */
.filter-label { 
    font-size: 11px; 
    font-weight: 800; 
    letter-spacing: 3px; 
    color: #df0201; 
    margin-bottom: 12px; 
    text-transform: uppercase;
}

/* Hide scrollbar on mobile while allowing swipe */
#sub-category-filters::-webkit-scrollbar { 
    display: none; 
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 24px;
    border-radius: 30px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Target the count inside the button (e.g., "(1)") */
.filter-btn span {
    color: #df0201; 
    font-weight: 900;
    margin-left: 6px;
    font-size: 13px;
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(223, 2, 1, 0.1);
    border-color: #df0201;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(223, 2, 1, 0.2);
}

/* --- ARTICLE CARDS (GLASSMORPHISM) --- */
.article-glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.article-glass-card:hover {
    transform: translateY(-12px);
    border-color: rgba(223, 2, 1, 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.card-img-top { 
    height: 200px; 
    object-fit: cover; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-body { 
    padding: 24px; 
    flex-grow: 1;
}

.sub-cat-badge { 
    font-size: 10px; 
    color: #df0201; 
    font-weight: 900; 
    letter-spacing: 2px;
    margin-bottom: 12px; 
    display: block; 
}

.card-title { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.4rem; 
    line-height: 1.3; 
    font-weight: 400;
    margin-bottom: 15px;
}

.card-text { 
    font-size: 0.95rem; 
    color: rgba(255,255,255,0.5); 
    line-height: 1.6;
    font-weight: 300;
}

/* Premium Read More link */
.btn-read {
    color: #df0201;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
}

/* --- BOTTOM NAV (SHARED UI) --- */
.bottom-nav {
    position: fixed; 
    bottom: 0; 
    left: 0;
    width: 100%; 
    height: 80px;
    background: rgba(0, 0, 0, 0.9); 
    backdrop-filter: blur(20px);
    display: flex; 
    justify-content: space-around; 
    align-items: center; 
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
}

.nav-link { 
    text-decoration: none; 
    color: #555; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    font-size: 11px; 
    transition: 0.3s;
}

.nav-link.active, .nav-link:hover { 
    color: #fff; 
}

.material-icons-outlined { 
    font-size: 26px; 
    margin-bottom: 4px; 
}

.nav-text {
    font-weight: 500;
}










/* ---------- REWARD AD BUTTON ---------- */
.btn-unlock {
    background: linear-gradient(90deg, #1a0000 0%, #df0201 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
}

/* Hover (only when active) */
.btn-unlock:not(:disabled):hover {
    box-shadow: 0 0 22px rgba(223, 2, 1, 0.45);
    transform: translateY(-2px);
}

/* ---------- LOADING STATE ---------- */
.btn-unlock:disabled {
    background: linear-gradient(90deg, #2a2a2a, #3a3a3a);
    color: #bbb;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.85;
}

/* ---------- UNLOCKED STATE ---------- */
body.premium-unlocked .btn-unlock {
    background: linear-gradient(90deg, #0f3d2e, #19b36b);
    border-color: rgba(25, 179, 107, 0.4);
    color: #eafff5;
    box-shadow: 0 0 18px rgba(25, 179, 107, 0.45);
    cursor: default;
}

/* Optional subtle glow animation after unlock */
body.premium-unlocked .btn-unlock {
    animation: unlockGlow 1.8s ease-in-out infinite alternate;
}

@keyframes unlockGlow {
    from {
        box-shadow: 0 0 14px rgba(25, 179, 107, 0.35);
    }
    to {
        box-shadow: 0 0 26px rgba(25, 179, 107, 0.6);
    }
}