/* =========================
   BONGOCLASS MODERN UI
   Standardized Stylesheet
========================= */

:root {
    --bc-bg: #212121;
    --bc-accent: #ffef13;
    --bc-primary: #007bb3; /* Darker blue for better contrast */
    --bc-primary-dark: #005bb5;
    --bc-text-light: #ffffff;
    --bc-text-dark: #212121;
    --bc-text-secondary: #555555; /* Darker gray for readability */
    --bc-success: #146c43; /* Darker green for accessibility */
    --bc-danger: #b02a37;  /* Darker red for accessibility */
}

body {
    font-family: 'Roboto', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f8f9fa;
    color: var(--bc-text-dark);
}

.text-secondary {
    color: var(--bc-text-secondary) !important;
}

/* Button Contrast Overrides */
.btn-primary {
    background-color: var(--bc-primary) !important;
    border-color: var(--bc-primary) !important;
}
.btn-success {
    background-color: var(--bc-success) !important;
    border-color: var(--bc-success) !important;
}
.btn-danger {
    background-color: var(--bc-danger) !important;
    border-color: var(--bc-danger) !important;
}

/* =========================
   NAVIGATION MODULE
========================= */
#bc_header_module {
    z-index: 1000;
}

.bc_navbar {
    background-color: var(--bc-bg);
    height: 60px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.bc_nav_link {
    color: var(--bc-text-light);
    text-decoration: none;
    transition: opacity 0.2s;
}

.bc_nav_link:hover {
    opacity: 0.8;
    color: var(--bc-accent);
}

.bc_coin {
    background-color: var(--bc-accent);
    border-radius: 20px;
    padding: 2px 10px;
    color: #000;
    font-weight: 700;
    font-size: 13px;
}

.bc_badge {
    background: var(--bc-danger);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Sidebar */
.bc_sidenav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1050;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}

.bc_sidenav.bc_open { left: 0; }

.bc_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 1040;
    backdrop-filter: blur(2px);
}

.bc_overlay.bc_show { display: block; }

/* =========================
   POST VIEW COMPONENTS
========================= */

/* Content Protection Lock */
.content-lock-box {
    position: relative;
    margin-top: -80px;
    padding-top: 100px;
    text-align: center;
}

.content-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.lock-banner {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 20px 30px 40px;
    border-radius: 0 0 20px 20px;
}

/* App CTA Banner */
.app-cta-banner {
    background: linear-gradient(90deg, var(--bc-primary), var(--bc-primary-dark));
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 114, 255, 0.2);
}

.app-cta-btn {
    background-color: white;
    color: var(--bc-primary-dark);
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 30px;
    text-transform: uppercase;
    transition: transform 0.2s;
    border: none;
}

.app-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Meta Information Box */
.meta-info-box {
    background: var(--bc-bg);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 2rem;
}

.meta-info-box a {
    color: var(--bc-primary);
    text-decoration: none;
}

.meta-info-box a:hover {
    text-decoration: underline;
}

/* Post Image Styling */
.post-main-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

/* =========================
   UTILITIES
========================= */
.bc-svg-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.search-container {
    padding: 15px 0;
    min-height: 60px;
}

.pointer { cursor: pointer; }
