/* assets/css/fzh4.css - Design DNA for banglabet8.net */
@import url('https://fonts.googleapis.com/css2?family=Chivo:wght@400;600;700;800;900&family=Libre+Franklin:wght@300;400;500;600;700&display=swap');

:root {
    --fzh4-bg: #F5F8FA;
    --fzh4-surface: #FFFFFF;
    --fzh4-ink: #152D38;
    --fzh4-ink-muted: #536E7B;
    --fzh4-accent: #197B69;
    --fzh4-accent2: #BA23DC;
    --fzh4-on-accent: #FFFFFF;
    --fzh4-border: 2px solid #152D38;
    --fzh4-border-subtle: 1px solid rgba(21, 45, 56, 0.15);
    --fzh4-shadow-hard: 4px 4px 0px #152D38;
    --fzh4-shadow-hover: 6px 6px 0px #152D38;
    --fzh4-radius: 6px;
    --fzh4-font-heading: 'Chivo', sans-serif;
    --fzh4-font-body: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif;
    --fzh4-base-size: 16px;
    --fzh4-scale: 1.125;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--fzh4-bg);
    color: var(--fzh4-ink);
    font-family: var(--fzh4-font-body);
    font-size: var(--fzh4-base-size);
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fzh4-font-heading);
    color: var(--fzh4-ink);
    line-height: 1.25;
    margin-top: 1.4em;
    margin-bottom: 0.5em;
    text-transform: capitalize;
}

h1 { font-size: 2.3rem; font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: 1.8rem; font-weight: 800; border-bottom: 2px solid var(--fzh4-accent); padding-bottom: 8px; }
h3 { font-size: 1.4rem; font-weight: 700; color: var(--fzh4-accent); }
h4 { font-size: 1.15rem; font-weight: 700; }

p { margin-bottom: 1.1em; }

a {
    color: var(--fzh4-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--fzh4-accent2);
}

.fzh4-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sticky Top Bar Navigation */
.fzh4-header-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    border-bottom: 2px solid var(--fzh4-ink);
    box-shadow: 0 2px 0 var(--fzh4-ink);
}

.fzh4-nav-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.fzh4-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--fzh4-ink);
    font-family: var(--fzh4-font-heading);
    font-weight: 900;
    font-size: 1.4rem;
}

.fzh4-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    border: 2px solid var(--fzh4-ink);
    object-fit: cover;
}

.fzh4-nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.fzh4-nav-item a {
    text-decoration: none;
    color: var(--fzh4-ink);
    font-weight: 700;
    font-size: 0.96rem;
    padding: 6px 10px;
    border-radius: var(--fzh4-radius);
    transition: all 0.15s ease;
}

.fzh4-nav-item a:hover,
.fzh4-nav-item a.active {
    background: var(--fzh4-accent);
    color: #FFFFFF;
}

.fzh4-nav-actions {
    display: flex;
    gap: 12px;
}

/* Hard-Offset Button Styles */
.fzh4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    font-family: var(--fzh4-font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: var(--fzh4-radius);
    border: var(--fzh4-border);
    box-shadow: var(--fzh4-shadow-hard);
    cursor: pointer;
    transition: all 0.12s ease;
}

.fzh4-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--fzh4-shadow-hover);
}

.fzh4-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--fzh4-ink);
}

.fzh4-btn-login {
    background: #FFFFFF;
    color: var(--fzh4-ink);
}

.fzh4-btn-register {
    background: var(--fzh4-accent2);
    color: #FFFFFF;
}

.fzh4-btn-accent {
    background: var(--fzh4-accent);
    color: #FFFFFF;
}

.fzh4-btn-lg {
    padding: 14px 28px;
    font-size: 1.15rem;
}

/* Breadcrumbs */
.fzh4-breadcrumbs {
    font-size: 0.88rem;
    color: var(--fzh4-ink-muted);
    margin: 20px 0 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.fzh4-breadcrumbs a {
    color: var(--fzh4-ink-muted);
    text-decoration: none;
}

.fzh4-breadcrumbs a:hover {
    color: var(--fzh4-accent);
}

.fzh4-breadcrumbs .sep {
    color: #94A6AF;
}

/* Bento Mosaic Grid */
.fzh4-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.fzh4-col-12 { grid-column: span 12; }
.fzh4-col-8 { grid-column: span 8; }
.fzh4-col-6 { grid-column: span 6; }
.fzh4-col-4 { grid-column: span 4; }
.fzh4-col-3 { grid-column: span 3; }

/* Hard-Offset Cards */
.fzh4-card {
    background: var(--fzh4-surface);
    border: var(--fzh4-border);
    box-shadow: var(--fzh4-shadow-hard);
    border-radius: var(--fzh4-radius);
    padding: 24px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fzh4-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--fzh4-shadow-hover);
}

.fzh4-card-tinted {
    background: #EEF4F6;
}

.fzh4-card-accent {
    background: #E8F5F1;
    border-left: 6px solid var(--fzh4-accent);
}

.fzh4-card-warning {
    background: #FFF7EB;
    border-left: 6px solid #D97706;
}

/* Stat Strip LED (DNA) */
.fzh4-stat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    background: #FFFFFF;
    border: var(--fzh4-border);
    box-shadow: var(--fzh4-shadow-hard);
    border-radius: var(--fzh4-radius);
    padding: 16px 24px;
    margin: 24px 0;
}

.fzh4-stat-item {
    display: flex;
    flex-direction: column;
}

.fzh4-stat-val {
    font-family: var(--fzh4-font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--fzh4-accent);
}

.fzh4-stat-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--fzh4-ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Expert Insight Callout (E-E-A-T) */
.fzh4-expert-callout {
    background: #FFFFFF;
    border: var(--fzh4-border);
    border-left: 6px solid var(--fzh4-accent);
    box-shadow: var(--fzh4-shadow-hard);
    border-radius: var(--fzh4-radius);
    padding: 18px 22px;
    margin: 22px 0;
    font-size: 0.98rem;
}

.fzh4-expert-callout strong {
    color: var(--fzh4-accent);
    font-family: var(--fzh4-font-heading);
}

/* TL;DR Box */
.fzh4-tldr-box {
    background: #F3E8FF;
    border: var(--fzh4-border);
    border-left: 6px solid var(--fzh4-accent2);
    box-shadow: var(--fzh4-shadow-hard);
    border-radius: var(--fzh4-radius);
    padding: 20px 24px;
    margin: 24px 0;
}

.fzh4-tldr-title {
    font-family: var(--fzh4-font-heading);
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--fzh4-accent2);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Answer Capsule */
.fzh4-capsule {
    background: #EAF4F2;
    border: 1px solid var(--fzh4-accent);
    border-radius: var(--fzh4-radius);
    padding: 14px 18px;
    margin: 12px 0 16px;
    font-weight: 500;
    font-size: 0.97rem;
}

/* Drawback / Cautious Reviewer Callout (DNA) */
.fzh4-caution-box {
    background: #FEF2F2;
    border: var(--fzh4-border);
    border-left: 6px solid #DC2626;
    box-shadow: var(--fzh4-shadow-hard);
    border-radius: var(--fzh4-radius);
    padding: 18px 22px;
    margin: 20px 0;
}

.fzh4-caution-box h4 {
    color: #DC2626;
    margin-top: 0;
}

/* Responsive Tables */
.fzh4-table-wrap {
    overflow-x: auto;
    margin: 22px 0;
    border: var(--fzh4-border);
    box-shadow: var(--fzh4-shadow-hard);
    border-radius: var(--fzh4-radius);
    background: #FFFFFF;
}

.fzh4-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.94rem;
}

.fzh4-table th {
    background: #152D38;
    color: #FFFFFF;
    font-family: var(--fzh4-font-heading);
    padding: 12px 16px;
    font-weight: 700;
}

.fzh4-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(21, 45, 56, 0.1);
}

.fzh4-table tr:nth-child(even) {
    background: #F8FAFB;
}

.fzh4-table tr:hover {
    background: #EDF5F3;
}

/* FAQ Accordion / Cards */
.fzh4-faq-wrap {
    margin: 36px 0;
}

.fzh4-faq-item {
    background: #FFFFFF;
    border: var(--fzh4-border);
    box-shadow: var(--fzh4-shadow-hard);
    border-radius: var(--fzh4-radius);
    margin-bottom: 14px;
    padding: 18px 22px;
}

.fzh4-faq-q {
    font-family: var(--fzh4-font-heading);
    font-weight: 800;
    font-size: 1.12rem;
    color: var(--fzh4-ink);
    margin-bottom: 8px;
}

.fzh4-faq-a {
    color: var(--fzh4-ink-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Author Card */
.fzh4-author-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #FFFFFF;
    border: var(--fzh4-border);
    box-shadow: var(--fzh4-shadow-hard);
    border-radius: var(--fzh4-radius);
    padding: 20px 24px;
    margin: 36px 0 24px;
}

.fzh4-author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--fzh4-ink);
    object-fit: cover;
    flex-shrink: 0;
}

/* Responsible Gaming Banner */
.fzh4-rg-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFBEB;
    border: 2px solid #B45309;
    border-radius: var(--fzh4-radius);
    box-shadow: 4px 4px 0px #B45309;
    padding: 16px 20px;
    margin: 24px 0 36px;
    font-size: 0.92rem;
    color: #78350F;
}

.fzh4-rg-badge {
    background: #B45309;
    color: #FFFFFF;
    font-family: var(--fzh4-font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    padding: 6px 12px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Minimal One Row Footer */
.fzh4-footer {
    background: #152D38;
    color: #FFFFFF;
    border-top: 3px solid var(--fzh4-accent);
    padding: 24px 0;
    margin-top: 60px;
    font-size: 0.9rem;
}

.fzh4-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.fzh4-footer-links {
    display: flex;
    list-style: none;
    gap: 18px;
    flex-wrap: wrap;
}

.fzh4-footer-links a {
    color: #9EC0CF;
    text-decoration: none;
    font-weight: 500;
}

.fzh4-footer-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .fzh4-nav-menu {
        display: none;
    }
    .fzh4-col-8, .fzh4-col-6, .fzh4-col-4, .fzh4-col-3 {
        grid-column: span 12;
    }
    .fzh4-stat-strip {
        flex-direction: column;
        gap: 12px;
    }
    .fzh4-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
