:root {
    --mbb3-primary: #883776;
    --mbb3-primary-dark: #6a2a5c;
    --mbb3-accent: #39b34a;
    --mbb3-accent-hover: #329e41;
    --mbb3-bg: #f0f2f5;
    --mbb3-surface: rgba(255, 255, 255, 0.85);
    --mbb3-surface-solid: #ffffff;
    --mbb3-text-main: #1f2937;
    --mbb3-text-muted: #4b5563;
    --mbb3-border: rgba(136, 55, 118, 0.15);
    --mbb3-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --mbb3-font-head: 'Poppins', sans-serif;
    --mbb3-font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.mbb3-body {
    font-family: var(--mbb3-font-body);
    background-color: var(--mbb3-bg);
    color: var(--mbb3-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.mbb3-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography Scale ensures rule 3d */
h1, h2, h3, h4, h5, h6 { font-family: var(--mbb3-font-head); font-weight: 700; color: var(--mbb3-primary); line-height: 1.3; }

/* Header */
.mbb3-header {
    background: var(--mbb3-surface-solid);
    box-shadow: var(--mbb3-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mbb3-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.mbb3-logo {
    font-family: var(--mbb3-font-head);
    font-size: 26px;
    font-weight: 800;
    color: var(--mbb3-primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.mbb3-nav {
    display: flex;
    gap: 20px;
}

.mbb3-nav a {
    font-family: var(--mbb3-font-head);
    font-weight: 500;
    font-size: 15px;
    color: var(--mbb3-text-main);
    transition: color 0.3s ease;
}

.mbb3-nav a:hover { color: var(--mbb3-accent); }

.mbb3-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mbb3-bar {
    width: 25px;
    height: 3px;
    background-color: var(--mbb3-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* Ticker */
.mbb3-ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: var(--mbb3-primary-dark);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1);
}

.mbb3-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: mbb3-marquee 30s linear infinite;
}

.mbb3-ticker-track:hover { animation-play-state: paused; }

.mbb3-ticker-item {
    padding: 0 30px;
    position: relative;
}
.mbb3-ticker-item::after {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--mbb3-accent);
}
.mbb3-ticker-item:last-child::after { display: none; }
.mbb3-ticker-item a { transition: color 0.2s; }
.mbb3-ticker-item a:hover { color: var(--mbb3-accent); }

@keyframes mbb3-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Glass effect */
.mbb3-glass {
    background: var(--mbb3-surface);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--mbb3-border);
    border-radius: 16px 4px 16px 4px;
    box-shadow: var(--mbb3-shadow);
}

/* Main Layout */
.mbb3-main { padding: 30px 15px; }

/* Stats Dashboard */
.mbb3-stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.mbb3-stat-card {
    padding: 20px;
    text-align: center;
    border-radius: 8px 24px 8px 24px;
    border-bottom: 4px solid var(--mbb3-accent);
    transition: transform 0.3s ease;
}

.mbb3-stat-card:hover { transform: translateY(-5px); }

.mbb3-stat-val {
    font-family: var(--mbb3-font-head);
    font-size: 32px;
    font-weight: 800;
    color: var(--mbb3-primary);
    margin-bottom: 5px;
}

.mbb3-stat-label {
    font-size: 14px;
    color: var(--mbb3-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero */
.mbb3-hero {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
}

.mbb3-hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.mbb3-hero-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 15px; }
.mbb3-hero-slogan { font-size: 18px; color: var(--mbb3-text-muted); margin-bottom: 25px; }

.mbb3-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.mbb3-badge {
    padding: 6px 14px;
    background: var(--mbb3-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    font-family: var(--mbb3-font-head);
}
.mbb3-badge.mbb3-badge-accent { background: var(--mbb3-accent); }

.mbb3-hero-media { flex: 1; }
.mbb3-hero-img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; }

/* Dashboard Grid Layout */
.mbb3-dashboard-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Cards Grid */
.mbb3-section-header { margin-bottom: 25px; display: flex; align-items: center; gap: 15px; }
.mbb3-section-title { font-size: 24px; white-space: nowrap; }
.mbb3-section-line { height: 2px; background: var(--mbb3-border); flex-grow: 1; }

.mbb3-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.mbb3-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mbb3-hover-glow:hover {
    box-shadow: 0 0 20px rgba(57, 179, 74, 0.3);
    transform: translateY(-3px);
    border-color: var(--mbb3-accent);
}

.mbb3-card-img-wrap {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
}

.mbb3-card-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mbb3-card:hover .mbb3-card-img { transform: scale(1.08); }

.mbb3-card-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--mbb3-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px 4px 12px 4px;
    z-index: 2;
    font-family: var(--mbb3-font-head);
}

.mbb3-card-info {
    padding: 15px;
    background: #fff;
    flex-grow: 1;
    border-top: 3px solid var(--mbb3-primary);
}

.mbb3-card-title {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--mbb3-text-main);
}

.mbb3-card-sub {
    font-size: 13px;
    color: var(--mbb3-text-muted);
}

/* Sidebar Widgets */
.mbb3-dashboard-side { display: flex; flex-direction: column; gap: 25px; }
.mbb3-side-widget { padding: 25px; }
.mbb3-widget-title { font-size: 18px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px dashed var(--mbb3-border); }

.mbb3-benefits-list { list-style: none; }
.mbb3-benefits-list li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.mbb3-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 0;
    color: var(--mbb3-accent);
    font-weight: bold;
    font-size: 16px;
}
.mbb3-benefits-list strong { display: block; font-family: var(--mbb3-font-head); color: var(--mbb3-primary); font-size: 15px; }
.mbb3-benefits-list span { font-size: 14px; color: var(--mbb3-text-muted); }

.mbb3-steps { display: flex; flex-direction: column; gap: 15px; }
.mbb3-step { display: flex; gap: 15px; align-items: flex-start; }
.mbb3-step-num {
    width: 30px; height: 30px;
    background: var(--mbb3-primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-family: var(--mbb3-font-head); flex-shrink: 0;
}
.mbb3-step-text { font-size: 15px; padding-top: 4px; }

.mbb3-payment-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mbb3-ptag {
    background: #e5e7eb;
    color: var(--mbb3-text-muted);
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
}

/* Article Section Semantic Styling */
.mbb3-article { padding: 30px; border-radius: 12px; margin-bottom: 30px; }
.mbb3-article h1, .mbb3-article h2, .mbb3-article h3, .mbb3-article h4 {
    margin: 1.5em 0 0.8em;
    color: var(--mbb3-primary);
}
.mbb3-article h2 { font-size: 24px; border-bottom: 2px solid var(--mbb3-border); padding-bottom: 8px; }
.mbb3-article h3 { font-size: 20px; }
.mbb3-article p { margin-bottom: 1.2em; font-size: 16px; }
.mbb3-article ul, .mbb3-article ol { margin-bottom: 1.5em; padding-left: 20px; font-size: 16px; }
.mbb3-article li { margin-bottom: 8px; }
.mbb3-article strong { color: var(--mbb3-primary-dark); }
.mbb3-article blockquote {
    border-left: 4px solid var(--mbb3-accent);
    padding: 15px 20px;
    margin: 1.5em 0;
    background: rgba(57, 179, 74, 0.05);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}
.mbb3-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
.mbb3-article th, .mbb3-article td {
    border: 1px solid var(--mbb3-border);
    padding: 12px 15px;
    text-align: left;
}
.mbb3-article th { background: var(--mbb3-primary); color: #fff; font-family: var(--mbb3-font-head); }
.mbb3-article tr:nth-child(even) { background: rgba(0,0,0,0.02); }
.mbb3-article img { border-radius: 8px; margin: 1.5em auto; }

/* Page Specific */
.mbb3-breadcrumbs { margin-bottom: 20px; }
.mbb3-crumb-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; align-items: center; }
.mbb3-crumb-list li { display: flex; align-items: center; }
.mbb3-crumb-list li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--mbb3-text-muted); }
.mbb3-crumb-list a { color: var(--mbb3-primary); font-weight: 600; }
.mbb3-crumb-list a:hover { color: var(--mbb3-accent); text-decoration: underline; }

.mbb3-page-header { padding: 30px; text-align: center; margin-bottom: 30px; border-bottom: 4px solid var(--mbb3-accent); }
.mbb3-page-title { font-size: clamp(26px, 4vw, 36px); margin-bottom: 10px; }
.mbb3-page-desc { font-size: 16px; color: var(--mbb3-text-muted); }

/* FAQ Accordion */
.mbb3-faq-container { display: flex; flex-direction: column; gap: 10px; }
.mbb3-faq-item {
    background: #fff;
    border: 1px solid var(--mbb3-border);
    border-radius: 8px;
    overflow: hidden;
}
.mbb3-faq-q {
    padding: 15px 20px;
    font-family: var(--mbb3-font-head);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    background: #fff;
    color: var(--mbb3-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}
.mbb3-faq-q::-webkit-details-marker { display: none; }
.mbb3-faq-q::after {
    content: '+';
    font-size: 20px;
    color: var(--mbb3-accent);
    transition: transform 0.3s;
}
.mbb3-faq-item[open] .mbb3-faq-q::after { transform: rotate(45deg); }
.mbb3-faq-a { padding: 0 20px 20px; font-size: 15px; color: var(--mbb3-text-muted); border-top: 1px dashed var(--mbb3-border); margin-top: 10px; padding-top: 15px; }

/* Pager & Related */
.mbb3-pager { display: flex; justify-content: space-between; gap: 15px; margin-top: 30px; flex-wrap: wrap; }
.mbb3-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--mbb3-primary);
    color: #fff;
    font-family: var(--mbb3-font-head);
    font-weight: 600;
    border-radius: 25px;
    transition: background 0.3s;
    font-size: 15px;
    text-align: center;
    flex: 1;
    min-width: 120px;
}
.mbb3-btn:hover { background: var(--mbb3-accent); color: #fff; }

.mbb3-related-links { display: flex; flex-direction: column; gap: 10px; }
.mbb3-related-links a {
    padding: 12px 15px;
    background: #fff;
    border: 1px solid var(--mbb3-border);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mbb3-text-main);
    transition: all 0.2s;
    display: block;
}
.mbb3-related-links a:hover { border-color: var(--mbb3-accent); color: var(--mbb3-primary); padding-left: 20px; }

/* Footer */
.mbb3-footer {
    background: var(--mbb3-primary-dark);
    color: #e5e7eb;
    padding: 50px 0 30px;
    margin-top: 50px;
}

.mbb3-footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
}

.mbb3-footer-brand { flex: 1; min-width: 280px; }
.mbb3-logo-footer { color: #fff; margin-bottom: 15px; }
.mbb3-footer-desc { font-size: 15px; opacity: 0.8; max-width: 400px; }

.mbb3-footer-nav { display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--mbb3-font-head); font-size: 15px; }
.mbb3-footer-nav a { color: #fff; opacity: 0.8; transition: opacity 0.3s; }
.mbb3-footer-nav a:hover { opacity: 1; color: var(--mbb3-accent); }

.mbb3-footer-legal { font-size: 13px; text-align: center; opacity: 0.6; margin-bottom: 20px; line-height: 1.5; }
.mbb3-footer-copy { text-align: center; font-size: 14px; font-weight: 600; font-family: var(--mbb3-font-head); color: var(--mbb3-accent); }

/* Scroll Animation Classes */
.mbb3-anim { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.mbb3-anim.mbb3-in-view { opacity: 1; transform: translateY(0); }

/* Responsive Design */
@media (min-width: 900px) {
    .mbb3-dashboard-layout { grid-template-columns: 2.5fr 1fr; }
    .mbb3-hero { flex-direction: row; align-items: center; }
}

@media (max-width: 899px) {
    .mbb3-nav { display: none; width: 100%; flex-direction: column; position: absolute; top: 70px; left: 0; background: var(--mbb3-surface-solid); padding: 20px; box-shadow: 0 10px 15px rgba(0,0,0,0.1); border-top: 1px solid var(--mbb3-border); }
    .mbb3-nav.mbb3-open { display: flex; }
    .mbb3-menu-btn { display: flex; }
    .mbb3-stats-dashboard { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .mbb3-stats-dashboard { grid-template-columns: 1fr; }
    .mbb3-grid-cards { grid-template-columns: 1fr; }
    .mbb3-article { padding: 20px 15px; }
    .mbb3-hero { padding: 25px 15px; }
    .mbb3-stat-val { font-size: 28px; }
}
/* v2fix-ov */
.mbb3-dashboard-main{max-width:100% !important;min-width:0 !important;box-sizing:border-box}
.mbb3-dashboard-main>*{min-width:0 !important;max-width:100% !important}

/* v2fix-ov2 */
.mbb3-section-title{width:auto !important;max-width:100% !important;min-width:0 !important;box-sizing:border-box}

/* v2fix-clip */
html,body{overflow-x:hidden}
