:root {
    --gold: #9A7B1A;
    --gold-light: #b8922a;
    --bg: #060606;
    --text-1: rgba(255,255,255,0.88);
    --text-2: rgba(255,255,255,0.52);
    --text-3: rgba(255,255,255,0.28);
    --border: rgba(255,255,255,0.04);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Heebo', sans-serif;
    background: var(--bg);
    color: var(--text-2);
    line-height: 1.75;
}

/* ── Navigation - Unified Pill Style ── */
.blog-nav {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 100;
    display: flex;
    gap: 8px;
}
.blog-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(12,12,18,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-3);
}
.blog-nav a:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201,162,39,0.15);
}
.blog-nav .nav-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(201,162,39,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.blog-nav .nav-icon i {
    font-size: 9px;
    color: var(--gold);
}
.blog-nav .nav-arrow {
    font-size: 10px;
    color: var(--text-3);
    transition: all 0.3s;
}
.blog-nav a:hover .nav-arrow {
    color: var(--gold);
    transform: translateX(3px);
}
html[dir="ltr"] .blog-nav {
    right: auto;
    left: 70px;
}
html[dir="ltr"] .blog-nav .nav-arrow {
    transform: rotate(180deg);
}
html[dir="ltr"] .blog-nav a:hover .nav-arrow {
    transform: rotate(180deg) translateX(3px);
}

/* ── Hero ── */
.blog-post-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    max-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.blog-post-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg) 0%, rgba(10,10,10,0.4) 50%, transparent 100%);
}
.blog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px 40px;
    width: 100%;
}
.blog-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-bottom: 12px;
    opacity: 0.85;
}
.blog-post-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--text-1);
    line-height: 1.3;
    letter-spacing: -0.3px;
}

/* ── Article Content ── */
.blog-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}
.blog-content p {
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}
.blog-content h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-1);
    margin: 32px 0 12px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}
.blog-content h2:first-of-type,
.content-he h2:first-of-type,
.content-en h2:first-of-type {
    border-top: none;
    padding-top: 0;
}
.blog-content strong {
    color: var(--text-1);
    font-weight: 600;
}
.blog-content .research-ref {
    color: #e8d49a;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
    padding: 16px 20px;
    border-right: 3px solid var(--gold);
    margin: 24px 0;
    display: block;
    background: rgba(201, 162, 39, 0.06);
    border-radius: 0 8px 8px 0;
}
[dir="ltr"] .blog-content .research-ref {
    border-right: none;
    border-left: 3px solid var(--gold);
    border-radius: 8px 0 0 8px;
    padding: 16px 20px;
}

/* ── Article Rating ── */
.blog-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 32px 0;
    padding: 20px;
    border-top: 1px solid var(--border);
}
.blog-rating-label {
    font-size: 0.85rem;
    color: var(--text-3);
}
.blog-rating-btns {
    display: flex;
    gap: 8px;
}
.blog-rating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.25s;
    color: var(--text-3);
}
.blog-rating-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: scale(1.1);
}
.blog-rating-btn.rated {
    border-color: var(--gold);
    background: rgba(201,162,39,0.12);
    color: var(--gold);
    pointer-events: none;
}
.blog-rating-thanks {
    display: none;
    font-size: 0.85rem;
    color: var(--gold);
}
.blog-rating.done .blog-rating-btns { display: none; }
.blog-rating.done .blog-rating-label { display: none; }
.blog-rating.done .blog-rating-thanks { display: block; }

/* ── CTA Box ── */
.blog-cta-box {
    margin: 40px 0 0;
    padding: 24px;
    border: 1px solid rgba(201,162,39,0.15);
    border-radius: 10px;
    text-align: center;
    background: rgba(201,162,39,0.03);
}
.blog-cta-box p {
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: var(--text-1);
}
.blog-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s;
}
.blog-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.25);
}

/* ── Related Posts ── */
.blog-more {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    border-top: 1px solid var(--border);
}
.blog-more h3 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.blog-more-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.blog-more-card {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s;
}
.blog-more-card:hover {
    border-color: rgba(201,162,39,0.25);
    background: rgba(201,162,39,0.03);
}
.blog-more-card h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
    line-height: 1.45;
}
.blog-more-card:hover h4 { color: var(--text-1); }

/* ── Floating WhatsApp ── */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
    transition: all 0.3s;
    text-decoration: none;
}
.floating-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}
.floating-wa i { font-size: 26px; color: #fff; }

/* ── Language visibility ── */
.content-he { display: block; }
.content-en { display: none; }
.lang-en .content-he { display: none !important; }
.lang-en .content-en { display: block !important; }
.lang-he .content-en { display: none !important; }
.lang-he .content-he { display: block !important; }

/* ── Language Dropdown ── */
.lang-dropdown {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1001;
}
.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(12,12,18,0.9);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-3);
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(12px);
    font-size: 16px;
}
.lang-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: rgba(12,12,18,0.95);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    min-width: 130px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.lang-dropdown.open .lang-menu {
    display: block;
    animation: fadeIn 0.12s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    text-align: left;
}
.lang-option:hover {
    background: rgba(201,162,39,0.08);
    color: var(--text-1);
}
.lang-option.active {
    color: var(--gold);
}
.lang-option i {
    font-size: 12px;
    width: 16px;
    text-align: center;
}
.lang-option:not(.active) i { visibility: hidden; }

/* ── Hero gradient backgrounds ── */
.blog-post-hero.hero-poker { background: linear-gradient(160deg, #0a0a0a 0%, #0f1a2e 35%, #16213e 65%, #1a3a5c 100%); }
.blog-post-hero.hero-travel { background: linear-gradient(160deg, #0a0a0a 0%, #1a1a2e 30%, #2d3a4a 60%, #c44040 100%); }
.blog-post-hero.hero-limits { background: linear-gradient(160deg, #0a0a0a 0%, #121825 35%, #162447 65%, #1f4068 100%); }
.blog-post-hero.hero-dream { background: linear-gradient(160deg, #0a0a0a 0%, #1e1020 35%, #5c1a2a 65%, #9a2d3f 100%); }
.blog-post-hero.hero-habits { background: linear-gradient(160deg, #0a0a0a 0%, #0f1a1e 35%, #0a4a50 65%, #0d6b6e 100%); }
.blog-post-hero.hero-confidence { background: linear-gradient(160deg, #0a0a0a 0%, #1a1a30 35%, #2e2e5a 65%, #4a4a8a 100%); }
.blog-post-hero.hero-resilience { background: linear-gradient(160deg, #0a0a0a 0%, #1a2018 35%, #2a4a28 65%, #3d6b3a 100%); }

/* ── Entrance animation ── */
.blog-content { animation: contentIn 0.5s ease 0.1s both; }
@keyframes contentIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .blog-more-grid { grid-template-columns: 1fr; }
    .blog-post-hero { height: 35vh; min-height: 240px; }
    .blog-content { padding: 28px 20px 48px; }
    .blog-hero-content { padding: 0 20px 32px; }
    .blog-nav {
        top: 12px;
        right: 12px;
        gap: 6px;
    }
    .blog-nav a {
        padding: 6px 10px;
        gap: 6px;
        font-size: 11px;
    }
    .blog-nav .nav-icon {
        width: 18px;
        height: 18px;
    }
    .blog-nav .nav-icon i { font-size: 8px; }
    html[dir="ltr"] .blog-nav {
        left: 56px;
    }
}
