/* ============================================================
   FIX #29 + FIX #32 + FIX #41: Premium Portfolio Hero + Project Gallery
   - FIX #41: ??? ??????? Hero ????? ??????? (???? ??? #facebook-trust)
   - FIX #29/32: ??? "????? ???? ???" � ?????? ??? ????? ????? ??????? ????????
   ============================================================ */

/* ============================================================
   FIX #41: Portfolio Hero Banner � ??? ??????? ???????
   ============================================================ */
.portfolio-hero-banner {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    padding: 120px 0 80px;
    color: #fff;
}

/* ????? ?????? ?? Parallax ???? */
.portfolio-hero-banner .portfolio-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.portfolio-hero-banner .portfolio-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    /* FIX #44: ????? ??? ??? Parallax ?? 8s ??? 6s (???? ???????) */
    transition: transform 6s ease-out;
    will-change: transform;
}
.portfolio-hero-banner:hover .portfolio-hero-bg img,
.portfolio-hero-banner.is-visible .portfolio-hero-bg img {
    transform: scale(1.12);
}

/* ???? ???? ????? ??????? */
.portfolio-hero-banner .portfolio-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(9, 15, 28, .88) 0%, rgba(9, 15, 28, .65) 50%, rgba(9, 15, 28, .88) 100%),
        radial-gradient(ellipse at top right, rgba(24, 119, 242, .25) 0%, transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(168, 85, 247, .2) 0%, transparent 60%);
}

/* ???? Mesh ?????? */
.portfolio-hero-banner .portfolio-hero-mesh {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    opacity: .5;
}

/* ??????? */
.portfolio-hero-banner .portfolio-hero-content {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.portfolio-hero-banner .portfolio-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}
.portfolio-hero-banner .portfolio-hero-badge i {
    color: #fbbf24;
    font-size: 14px;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, .5));
}

.portfolio-hero-banner .portfolio-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.18;
    margin: 0 0 22px;
    color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
}
.portfolio-hero-banner .portfolio-hero-title .highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}
.portfolio-hero-banner .portfolio-hero-title .highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #c084fc, #f472b6);
    border-radius: 3px;
    opacity: .4;
}

.portfolio-hero-banner .portfolio-hero-desc {
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.75;
    color: rgba(255, 255, 255, .88);
    max-width: 720px;
    margin: 0 auto 36px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

/* ???? ?????????? */
.portfolio-hero-banner .portfolio-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0 auto 40px;
    padding: 22px 32px;
    max-width: 720px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    box-shadow: 0 18px 50px -10px rgba(0, 0, 0, .4);
}
.portfolio-hero-banner .portfolio-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 auto;
    min-width: 110px;
    position: relative;
}
.portfolio-hero-banner .portfolio-hero-stat-num {
    display: inline-flex;
    align-items: baseline;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
}
.portfolio-hero-banner .portfolio-stat-suffix {
    font-size: .7em;
    margin-inline-start: 2px;
    background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.portfolio-hero-banner .portfolio-hero-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .75);
    letter-spacing: .2px;
}
.portfolio-hero-banner .portfolio-hero-divider {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, .25) 50%, transparent 100%);
    flex-shrink: 0;
}

/* ????? CTA */
.portfolio-hero-banner .portfolio-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.portfolio-hero-banner .portfolio-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all .35s cubic-bezier(.2, .85, .3, 1);
    position: relative;
    overflow: hidden;
}
.portfolio-hero-banner .portfolio-hero-btn-primary {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 50%, #a855f7 100%);
    background-size: 200% 200%;
    color: #fff;
    box-shadow:
        0 10px 30px -6px rgba(24, 119, 242, .5),
        0 0 0 1px rgba(255, 255, 255, .1) inset;
    animation: portfolioHeroGradient 6s ease infinite;
}
@keyframes portfolioHeroGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.portfolio-hero-banner .portfolio-hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 40px -6px rgba(24, 119, 242, .6),
        0 0 0 1px rgba(255, 255, 255, .2) inset;
    color: #fff;
}
.portfolio-hero-banner .portfolio-hero-btn-primary i {
    transition: transform .35s ease;
    font-size: 13px;
    animation: portfolioHeroBounce 2s ease-in-out infinite;
}
.portfolio-hero-banner .portfolio-hero-btn-primary:hover i {
    transform: translateY(3px);
}
@keyframes portfolioHeroBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.portfolio-hero-banner .portfolio-hero-btn-secondary {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, .25);
    color: #fff;
}
.portfolio-hero-banner .portfolio-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .4);
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 12px 30px -6px rgba(0, 0, 0, .3);
}
.portfolio-hero-banner .portfolio-hero-btn-secondary i {
    color: #fbbf24;
    transition: transform .35s ease;
}
.portfolio-hero-banner .portfolio-hero-btn-secondary:hover i {
    transform: translateX(-4px) rotate(-15deg);
}

/* ???? ??????? ?????? */
.portfolio-hero-banner .portfolio-hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: color .3s ease;
    z-index: 1;
}
.portfolio-hero-banner .portfolio-hero-scroll:hover {
    color: #fff;
}
.portfolio-hero-banner .portfolio-hero-scroll-line {
    display: block;
    width: 2px;
    height: 44px;
    background: linear-gradient(to bottom, transparent 0%, currentColor 30%, currentColor 70%, transparent 100%);
    position: relative;
    overflow: hidden;
}
.portfolio-hero-banner .portfolio-hero-scroll-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: -22px;
    width: 100%;
    height: 22px;
    background: rgba(255, 255, 255, .9);
    animation: portfolioHeroScrollDown 2s ease-in-out infinite;
}
@keyframes portfolioHeroScrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(66px); opacity: 0; }
}
.portfolio-hero-banner .portfolio-hero-scroll-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: horizontal-tb;
}

/* ??????? ???????? */
@media (max-width: 767.98px) {
    .portfolio-hero-banner {
        min-height: 88vh;
        padding: 100px 0 70px;
    }
    .portfolio-hero-banner .portfolio-hero-title {
        font-size: 2rem;
        margin-bottom: 18px;
    }
    .portfolio-hero-banner .portfolio-hero-desc {
        font-size: 14.5px;
        margin-bottom: 28px;
    }
    .portfolio-hero-banner .portfolio-hero-stats {
        gap: 14px;
        padding: 18px 16px;
        margin-bottom: 30px;
        border-radius: 18px;
    }
    .portfolio-hero-banner .portfolio-hero-stat { min-width: calc(33.333% - 14px); }
    .portfolio-hero-banner .portfolio-hero-stat-num { font-size: 26px; }
    .portfolio-hero-banner .portfolio-hero-stat-label { font-size: 11px; }
    .portfolio-hero-banner .portfolio-hero-divider { display: none; }
    .portfolio-hero-banner .portfolio-hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .portfolio-hero-banner .portfolio-hero-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 13px 22px;
        font-size: 14.5px;
    }
    .portfolio-hero-banner .portfolio-hero-scroll { bottom: 20px; }
    .portfolio-hero-banner .portfolio-hero-scroll-line { height: 32px; }
    .portfolio-hero-banner .portfolio-hero-scroll-text { font-size: 10px; }
}

@media (max-width: 359px) {
    .portfolio-hero-banner .portfolio-hero-stat-num { font-size: 22px; }
    .portfolio-hero-banner .portfolio-hero-title { font-size: 1.7rem; }
}

/* ============================================================
   FIX #44: Accessibility � Focus Visible + Reduced Motion
   ============================================================ */
/* Focus ???? ????? ???????? */
.portfolio-hero-banner a:focus-visible,
.portfolio-hero-banner button:focus-visible {
    outline: 3px solid rgba(96, 165, 250, .8);
    outline-offset: 4px;
    border-radius: 8px;
}

/* ?????? ????? ???????? ?????? ?????? */
@media (prefers-reduced-motion: reduce) {
    .portfolio-hero-banner .portfolio-hero-bg img,
    .portfolio-hero-banner .portfolio-hero-btn-primary i,
    .portfolio-hero-banner .portfolio-hero-scroll-line::before,
    .portfolio-hero-slide,
    .portfolio-hero-blob,
    .float-icon,
    .badge-shine,
    .portfolio-pill {
        animation: none !important;
        transition: none !important;
    }
    .portfolio-hero-banner .portfolio-hero-bg img {
        transform: scale(1.08);
    }
}

/* ============================================================
   FIX #45: Portfolio Hero v2 � ????? ????
   - ????? ????????? (3 ??? ?????)
   - 3D Blobs
   - Floating Tech Icons
   - Badge ?? shine
   - 4 ???????? ?? ???????
   - Featured Pills
   ============================================================ */

/* ---------- ????? ????????? (3 ??? carousel) ---------- */
.portfolio-hero-slides {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.portfolio-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.6s ease-in-out, transform 8s ease-out;
}
.portfolio-hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* ---------- 3D Blobs (???? ????? ??????) ---------- */
.portfolio-hero-blobs {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.portfolio-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    animation: portfolioBlobFloat 12s ease-in-out infinite;
}
.portfolio-hero-blob.blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #1877f2 0%, transparent 70%);
    top: -10%; right: -10%;
    animation-delay: 0s;
}
.portfolio-hero-blob.blob-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    bottom: -15%; left: -15%;
    animation-delay: -4s;
}
.portfolio-hero-blob.blob-3 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -8s;
    opacity: .35;
}
@keyframes portfolioBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(60px, -50px) scale(1.1); }
    66%      { transform: translate(-40px, 60px) scale(0.95); }
}

/* ---------- Floating Tech Icons ---------- */
.portfolio-hero-floating-icons {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.float-icon {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    color: rgba(255, 255, 255, .85);
    font-size: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    animation: floatIconY 6s ease-in-out infinite;
    animation-delay: var(--delay);
}
@keyframes floatIconY {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(8deg); }
}

/* ---------- Badge ????? ?? shine + dot ---------- */
.portfolio-hero-banner .portfolio-hero-badge {
    position: relative;
    overflow: hidden;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(24, 119, 242, .15) 0%, rgba(168, 85, 247, .15) 100%);
    border: 1.5px solid rgba(255, 255, 255, .25);
    font-size: 14px;
    letter-spacing: .3px;
}
.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .35) 50%, transparent 100%);
    animation: badgeShine 3s ease-in-out infinite;
}
@keyframes badgeShine {
    0%, 100% { left: -100%; }
    50%      { left: 200%; }
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: badgeDotPulse 1.8s ease-in-out infinite;
}
@keyframes badgeDotPulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(1.3); opacity: .7; }
}

/* ---------- ?????????? ???????? (4 ????? ?? 3) ---------- */
.portfolio-hero-stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(96, 165, 250, .18) 0%, rgba(168, 85, 247, .18) 100%);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    color: #60a5fa;
    font-size: 16px;
    margin: 0 auto 8px;
    transition: transform .3s ease;
}
.portfolio-hero-stat:hover .portfolio-hero-stat-icon {
    transform: scale(1.1) rotate(-5deg);
}
.portfolio-hero-banner .portfolio-hero-stats {
    padding: 20px 24px;
    gap: 18px;
}
.portfolio-hero-banner .portfolio-hero-stats .portfolio-hero-divider {
    height: 32px;
}

/* ---------- ??????? ?? btn-shine ---------- */
.portfolio-hero-banner .portfolio-hero-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .25) 50%, transparent 100%);
    transition: left .7s ease;
    pointer-events: none;
}
.portfolio-hero-btn:hover .btn-shine {
    left: 200%;
}

/* ---------- Featured Projects Pills ---------- */
.portfolio-hero-featured {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.portfolio-hero-featured-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fbbf24;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
}
.portfolio-hero-featured-label i {
    animation: labelFire 1.4s ease-in-out infinite;
}
@keyframes labelFire {
    0%, 100% { transform: scale(1)   rotate(0deg); }
    50%      { transform: scale(1.15) rotate(-8deg); }
}
.portfolio-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.portfolio-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all .3s cubic-bezier(.2, .85, .3, 1);
}
.portfolio-pill:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(24, 119, 242, .3);
}
.portfolio-pill .pill-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    animation: pillDotBlink 2s ease-in-out infinite;
}
@keyframes pillDotBlink {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: .5; transform: scale(1.2); }
}
.portfolio-pill i {
    font-size: 11px;
    opacity: .65;
    transition: all .3s ease;
}
.portfolio-pill:hover i {
    opacity: 1;
    transform: translate(-3px, -3px);
}

/* ---------- ??????? ???????? ????????? ??????? ---------- */
@media (max-width: 767.98px) {
    .float-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 10px;
    }
    /* ????? ??? ????????? ??? ??????? ??????? ????? ???????? */
    .float-icon:nth-child(2),
    .float-icon:nth-child(5) { display: none; }

    .portfolio-hero-blob.blob-1 { width: 280px; height: 280px; }
    .portfolio-hero-blob.blob-2 { width: 320px; height: 320px; }
    .portfolio-hero-blob.blob-3 { width: 250px; height: 250px; }

    .portfolio-hero-banner .portfolio-hero-stats {
        gap: 12px;
        padding: 16px 12px;
    }
    .portfolio-hero-stat-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .portfolio-hero-featured {
        flex-direction: column;
        gap: 10px;
    }
    .portfolio-hero-pills {
        gap: 6px;
    }
    .portfolio-pill {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 359px) {
    .float-icon { display: none !important; }
    .portfolio-hero-blob { display: none; }
}

/* ---------- ????? ---------- */
.dm-fb-section {
    padding: 110px 0 100px;
    background: linear-gradient(180deg, var(--bg, #f6f8fb) 0%, var(--bg-section, #ffffff) 100%);
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .dm-fb-section {
    background: linear-gradient(180deg, #0a1120 0%, #0d1424 100%);
}

/* ?????? ?????? ????? */
.dm-fb-section::before,
.dm-fb-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.dm-fb-section::before {
    width: 440px; height: 440px;
    background: radial-gradient(circle, rgba(24,119,242,.08) 0%, transparent 70%);
    top: -130px; right: -140px;
}
.dm-fb-section::after {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(168,85,247,.06) 0%, transparent 70%);
    bottom: -150px; left: -120px;
}
.dm-fb-section .container { position: relative; z-index: 1; }

/* ---------- ?????? ????? ---------- */
.dm-fb-section .section-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #1877f2, #0d65d9);
    color: #fff;
    padding: 8px 20px; border-radius: 50px;
    font-size: 13px; font-weight: 700;
    box-shadow: 0 6px 18px rgba(24,119,242,.22);
    margin-bottom: 18px;
}
.dm-fb-section .section-title {
    font-weight: 800; margin-bottom: 14px; line-height: 1.35;
    color: var(--text, #1e293b);
}
.dm-fb-section .section-title .highlight {
    background: linear-gradient(135deg, #1877f2, #a855f7);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dm-fb-section .section-title .dm-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; min-height: 34px; margin: 0 4px;
    padding: 0 8px;
    background: linear-gradient(135deg, #1877f2, #a855f7);
    color: #fff;
    border-radius: 12px;
    font-size: .78em; font-style: normal; font-weight: 800;
    vertical-align: middle;
    box-shadow: 0 6px 16px rgba(24,119,242,.28);
}
.dm-fb-section .section-sub {
    color: var(--text-muted, #64748b);
    max-width: 720px; margin: 0 auto;
    font-size: 16px; line-height: 1.75;
}

/* ---------- ??????: ?????? ---------- */
.dm-fb-grid {
    --dm-fb-gap: 22px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    height: 720px;
    overflow: hidden;
    padding: 26px 0;
    margin-top: 34px;
    /* FIX #53: ?? ??? touch-action ??? � ????? ??? ??? columns ????? ?? ???
       ????? ??? ??? scroll ??????? ???? ??????? */
    -webkit-touch-callout: none;
}

/* FIX #57: touch-action على الأعمدة — pan-y + JS يتعامل مع الاتجاه
   عندما يكون السحب عمودي → JS يمنع سكرول الصفحة ويحرّك البطاقات
   عندما يكون السحب أفقي → يترك سكرول الصفحة يعمل (لا يتدخل) */
.dm-fb-column {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

/* ---------- ????? Fade ????/???? � ????? ???? ????? ???????? ---------- */
.dm-fb-fade {
    position: absolute;
    left: 0; right: 0;
    height: 130px;
    z-index: 4;
    pointer-events: none;
}
.dm-fb-fade-top {
    top: 0;
    background: linear-gradient(to bottom, #f6f8fb 0%, rgba(246,248,251,0) 100%);
}
[data-theme="dark"] .dm-fb-fade-top {
    background: linear-gradient(to bottom, #0a1120 0%, rgba(10,17,32,0) 100%);
}
.dm-fb-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-section, #ffffff) 0%, rgba(255,255,255,0) 100%);
}
[data-theme="dark"] .dm-fb-fade-bottom {
    background: linear-gradient(to top, #0d1424 0%, rgba(13,20,36,0) 100%);
}

/* ---------- ??????? ---------- */
.dm-fb-column {
    position: relative;
    height: 100%;
    overflow: hidden;
    min-width: 0;
}
.dm-fb-track {
    display: flex;
    flex-direction: column;
    gap: var(--dm-fb-gap);
    will-change: transform;
    position: relative;
}

/* ---------- ???????: ????? ????? ---------- */
.dm-fb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--card-bg, #ffffff);
    border: 1px solid #e8ecf3;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow:
        0 1px 2px rgba(15,23,42,.04),
        0 10px 28px -6px rgba(15,23,42,.06);
    transition:
        transform .5s cubic-bezier(.2,.85,.3,1),
        box-shadow .5s ease,
        border-color .4s ease;
    will-change: transform;
    transform: translateZ(0);
}
[data-theme="dark"] .dm-fb-card {
    background: #111a2e;
    border-color: rgba(255,255,255,.08);
    box-shadow:
        0 1px 2px rgba(0,0,0,.3),
        0 12px 30px -6px rgba(0,0,0,.4);
}

/* ?????? ??? ??? hover */
.dm-fb-card:hover {
    transform: translateY(-6px) translateZ(20px);
    border-color: rgba(32,96,136,.25);
    box-shadow:
        0 24px 50px -10px rgba(15,23,42,.18),
        0 6px 16px rgba(15,23,42,.05);
}
[data-theme="dark"] .dm-fb-card:hover {
    border-color: rgba(165,205,215,.28);
    box-shadow:
        0 26px 54px -10px rgba(0,0,0,.6),
        0 0 0 1px rgba(24,119,242,.25);
}

/* ---------- ??????: ?????? ?????? ??????? ---------- */
.dm-fb-proj-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2f7, #e2e8f0);
    text-decoration: none;
}
.dm-fb-proj-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .85s cubic-bezier(.2,.8,.25,1);
    will-change: transform;
    transform: scale(1.001);
}
.dm-fb-card:hover .dm-fb-proj-img {
    transform: scale(1.09);
}

/* ???? ???? ??? ?????? ??? ??? hover */
.dm-fb-proj-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9,15,28,.5) 0%, rgba(9,15,28,0) 55%);
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
}
.dm-fb-card:hover .dm-fb-proj-media::after {
    opacity: 1;
}

/* ---------- ??????? ??????? (??? ??????? ??????? ???????) ---------- */
.dm-fb-proj-status {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 24px);
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #059669;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 10px rgba(15,23,42,.14);
    z-index: 2;
    transition: transform .35s cubic-bezier(.2,.8,.3,1.2), box-shadow .35s ease;
}
.dm-fb-card:hover .dm-fb-proj-status {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5,150,105,.28);
}

.dm-fb-proj-sector {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 24px);
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(9,15,28,.52);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 10px rgba(15,23,42,.2);
    z-index: 2;
    transition: transform .35s cubic-bezier(.2,.8,.3,1.2);
}
.dm-fb-card:hover .dm-fb-proj-sector {
    transform: translateY(-2px);
}
/* ---------- ??? ??????? ---------- */
.dm-fb-proj-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 18px 16px;
    flex: 1;
    min-width: 0;
}
.dm-fb-proj-name {
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.5;
    color: var(--text, #1e293b);
    margin: 0;
    min-height: 3em; /* ????? ?????? ??????? ???? ???????? */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
[data-theme="dark"] .dm-fb-proj-name { color: #e6edf7; }
.dm-fb-proj-verified {
    color: #1877f2;
    font-size: 14px;
    margin-inline-start: 5px;
}

/* ---------- ??????? + ????????? ---------- */
.dm-fb-proj-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    margin-top: 2px;
    border-top: 1px dashed #e4eaf2;
}
[data-theme="dark"] .dm-fb-proj-metric { border-top-color: rgba(255,255,255,.1); }
.dm-fb-metric-value {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: .3px;
    color: var(--primary, #206088);
    white-space: nowrap;
}
[data-theme="dark"] .dm-fb-metric-value { color: var(--primary-light, #a5cdd7); }
.dm-fb-metric-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted, #71717a);
    white-space: nowrap;
}
[data-theme="dark"] .dm-fb-metric-label { color: #8aa0b8; }

/* ---------- CTA ???? ---------- */
.dm-fb-proj-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 12px;
    background: rgba(32,96,136,.06);
    border: 1px solid transparent;
    color: var(--primary, #206088);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background .35s ease,
        color .35s ease,
        border-color .35s ease,
        transform .35s cubic-bezier(.2,.85,.3,1.2),
        box-shadow .35s ease;
}
.dm-fb-proj-cta i {
    font-size: 12px;
    transition: transform .35s cubic-bezier(.2,.85,.3,1.4);
}
.dm-fb-proj-cta:hover {
    background: linear-gradient(135deg, #206088, #164360);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -6px rgba(32,96,136,.32);
}
.dm-fb-proj-cta:hover i {
    transform: translateX(-4px);
}
.dm-fb-proj-cta:focus-visible {
    outline: 2px solid rgba(24,119,242,.6);
    outline-offset: 2px;
}

/* ============================================================
   FIX #32: ????? ?????? ?? ????? (Wheel/Scroll + ??? ??????)
   ============================================================ */
.dm-fb-grid.dm-fb-interactive {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.dm-fb-grid.dm-fb-interactive:active { cursor: grabbing; }

/* ???? ???? ?????? ??? ?????? ???? (???? ?????) */
.dm-fb-column.dm-fb-column-hovered::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1.5px solid rgba(24,119,242,.35);
    border-radius: 18px;
    pointer-events: none;
    z-index: 8;
    animation: dmFbPulseBorder 2.2s ease-in-out infinite;
}
@keyframes dmFbPulseBorder {
    0%, 100% { opacity: .35; }
    50% { opacity: .7; }
}
/* ???? ??? ??????? (?????? ??? ??? ???????) */
.dm-fb-grid.dm-fb-scroll-locked {
    box-shadow:
        0 0 0 1px rgba(24,119,242,.12),
        0 24px 70px -20px rgba(24,119,242,.12);
    border-radius: 24px;
}

/* ????? ?????? */
.dm-fb-scroll-hint {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted, #64748b);
    font-size: 11px;
    font-weight: 700;
    opacity: .55;
    transition: opacity .3s ease;
    pointer-events: none;
    z-index: 6;
}
.dm-fb-grid.dm-fb-scroll-locked .dm-fb-scroll-hint { opacity: 0; }
.dm-fb-scroll-hint .dm-fb-wheel-icon {
    width: 22px;
    height: 34px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
}
.dm-fb-scroll-hint .dm-fb-wheel-icon::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    background: currentColor;
    border-radius: 3px;
    animation: dmFbWheelScroll 1.5s ease-in-out infinite;
}
@keyframes dmFbWheelScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: .3; }
}

/* ???? ?????? */
.dm-fb-speed-indicator {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 4px;
    height: 64px;
    background: rgba(24,119,242,.14);
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 10;
}
.dm-fb-grid.dm-fb-column-hovered .dm-fb-speed-indicator { opacity: 1; }
.dm-fb-speed-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #1877f2, #a855f7);
    border-radius: 4px;
    transition: height .15s ease-out;
    height: 50%;
}
.dm-fb-speed-label {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 800;
    color: #1877f2;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ============================================================
   FIX #33: Premium Stats Bar � ????? ????? ??? ??????
   ============================================================ */
.dm-fb-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    padding: 26px 32px;
    margin: 0 auto 36px;
    max-width: 980px;
    background: linear-gradient(135deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.6) 100%);
    border: 1px solid rgba(24,119,242,.18);
    border-radius: 24px;
    box-shadow:
        0 1px 2px rgba(15,23,42,.04),
        0 18px 40px -10px rgba(24,119,242,.12),
        inset 0 1px 0 rgba(255,255,255,.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
.dm-fb-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24,119,242,.04) 0%, transparent 50%, rgba(168,85,247,.04) 100%);
    pointer-events: none;
}
[data-theme="dark"] .dm-fb-stats {
    background: linear-gradient(135deg, rgba(17,26,46,.85) 0%, rgba(17,26,46,.6) 100%);
    border-color: rgba(24,119,242,.3);
    box-shadow:
        0 1px 2px rgba(0,0,0,.3),
        0 18px 40px -10px rgba(24,119,242,.18),
        inset 0 1px 0 rgba(255,255,255,.04);
}
.dm-fb-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 auto;
    min-width: 110px;
    position: relative;
    z-index: 1;
}
.dm-fb-stat-num {
    display: inline-flex;
    align-items: baseline;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #1877f2 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
}
.dm-fb-stat-suffix {
    font-size: .65em;
    margin-inline-start: 2px;
    background: linear-gradient(135deg, #1877f2 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dm-fb-stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted, #64748b);
    letter-spacing: .2px;
}
[data-theme="dark"] .dm-fb-stat-label { color: #94a3b8; }
.dm-fb-stat-divider {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, transparent 0%, rgba(24,119,242,.25) 50%, transparent 100%);
    flex-shrink: 0;
}
[data-theme="dark"] .dm-fb-stat-divider {
    background: linear-gradient(to bottom, transparent 0%, rgba(24,119,242,.4) 50%, transparent 100%);
}

/* ============================================================
   FIX #34: Premium CTA Footer � ???? ???? ???????
   ============================================================ */
.dm-fb-cta {
    margin: 50px auto 0;
    max-width: 880px;
    padding: 44px 36px 40px;
    text-align: center;
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 50%, #a855f7 100%);
    border-radius: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 24px 50px -12px rgba(24,119,242,.4),
        0 8px 20px -6px rgba(168,85,247,.25);
}
.dm-fb-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 65%);
    pointer-events: none;
}
.dm-fb-cta::after {
    content: "";
    position: absolute;
    bottom: -60%;
    left: -15%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
    pointer-events: none;
}
.dm-fb-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    position: relative;
    z-index: 1;
}
.dm-fb-cta-icon i { font-size: 28px; color: #fff; }
.dm-fb-cta-title {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.4;
    color: #fff;
    position: relative;
    z-index: 1;
}
.dm-fb-cta-desc {
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 26px;
    color: rgba(255,255,255,.92);
    position: relative;
    z-index: 1;
}
.dm-fb-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #fff;
    color: #1877f2;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: all .35s cubic-bezier(.2,.85,.3,1);
    box-shadow: 0 10px 24px -4px rgba(0,0,0,.2);
    position: relative;
    z-index: 1;
}
.dm-fb-cta-btn:hover {
    background: #fff;
    color: #0d65d9;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -6px rgba(0,0,0,.3);
}
.dm-fb-cta-btn i {
    font-size: 14px;
    transition: transform .35s ease;
}
.dm-fb-cta-btn:hover i { transform: translateX(-4px); }

/* ============================================================
   FIX #35: Section Title ??????? � ???? ?????
   ============================================================ */
.dm-fb-section .section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--text, #1e293b);
    letter-spacing: -.5px;
}

/* ============================================================
   FIX #37: Section Divider ????? ???/??? ?????
   ============================================================ */
.dm-fb-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 1100px);
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(24,119,242,.2) 50%, transparent 100%);
    pointer-events: none;
}
.dm-fb-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 1100px);
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(168,85,247,.18) 50%, transparent 100%);
    pointer-events: none;
}

/* ============================================================
   FIX #36: ????? ???????? � shadow ???? + hover ???? ???????
   ============================================================ */
.dm-fb-card {
    box-shadow:
        0 1px 3px rgba(15,23,42,.05),
        0 14px 36px -8px rgba(15,23,42,.08),
        0 2px 6px rgba(15,23,42,.04);
    border-width: 1px;
    border-color: rgba(232,236,243,.9);
}
.dm-fb-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(24,119,242,.4);
    box-shadow:
        0 32px 64px -14px rgba(24,119,242,.22),
        0 12px 24px -8px rgba(15,23,42,.1),
        0 0 0 1px rgba(24,119,242,.15);
}
[data-theme="dark"] .dm-fb-card {
    box-shadow:
        0 1px 3px rgba(0,0,0,.3),
        0 14px 36px -8px rgba(0,0,0,.45),
        0 2px 6px rgba(0,0,0,.3);
}
[data-theme="dark"] .dm-fb-card:hover {
    border-color: rgba(24,119,242,.5);
    box-shadow:
        0 32px 64px -14px rgba(0,0,0,.7),
        0 12px 24px -8px rgba(24,119,242,.25),
        0 0 0 1px rgba(24,119,242,.4);
}

/* ---------- ??????? ???????? ---------- */
@media (max-width: 767.98px) {
    .dm-fb-section { padding: 66px 0 58px; }
    .dm-fb-section .section-title { font-size: 1.4rem; }
    .dm-fb-section .section-sub { font-size: 14px; }

    /* Stats Bar � ??????: 2x2 ???? ????? */
    .dm-fb-stats {
        gap: 18px;
        padding: 22px 18px;
        margin-bottom: 28px;
        border-radius: 18px;
    }
    .dm-fb-stat-item { min-width: calc(50% - 18px); }
    .dm-fb-stat-num { font-size: 28px; }
    .dm-fb-stat-label { font-size: 11.5px; }
    .dm-fb-stat-divider { display: none; }

    /* CTA Footer � ?????? */
    .dm-fb-cta {
        margin-top: 38px;
        padding: 32px 22px 28px;
        border-radius: 22px;
    }
    .dm-fb-cta-icon { width: 54px; height: 54px; margin-bottom: 14px; }
    .dm-fb-cta-icon i { font-size: 22px; }
    .dm-fb-cta-title { font-size: 1.2rem; }
    .dm-fb-cta-desc { font-size: 14px; margin-bottom: 20px; }
    .dm-fb-cta-btn { padding: 12px 24px; font-size: 14.5px; }

    /* FIX #40: ?????? ????? ???????? � ???? ?????? ???????? ??????
       touch-action: pan-y ??? ???????? ???? ??? ??? ????? ?????? */
    .dm-fb-grid {
        --dm-fb-gap: 13px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
        height: 520px;
        padding: 16px 0;
        margin-top: 24px;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }
    .dm-fb-fade { height: 72px; }
    .dm-fb-card { border-radius: 16px; }
    .dm-fb-proj-media { aspect-ratio: 4 / 3; }
    .dm-fb-proj-body { padding: 12px 12px 12px; gap: 9px; }
    .dm-fb-proj-name { font-size: 12.5px; min-height: 3em; }
    .dm-fb-proj-verified { font-size: 11px; }
    .dm-fb-proj-metric { padding-top: 9px; gap: 6px; }
    .dm-fb-metric-value { font-size: 12px; }
    .dm-fb-metric-label { font-size: 10px; }
    .dm-fb-proj-cta { min-height: 34px; padding: 7px 10px; font-size: 11.5px; }
    .dm-fb-proj-cta i { font-size: 10px; }
    .dm-fb-proj-status { top: 8px; inset-inline-start: 8px; padding: 4px 8px; font-size: 9.5px; gap: 4px; }
    .dm-fb-proj-sector { top: 8px; inset-inline-end: 8px; padding: 4px 7px; font-size: 9px; gap: 3px; }

    /* ????? ????? ??? ?????? ???? ?? ???? ??? ?????? */
    .dm-fb-scroll-hint,
    .dm-fb-speed-indicator { display: none; }
}

@media (max-width: 359px) {
    .dm-fb-grid { height: 480px; --dm-fb-gap: 11px; gap: 11px; }
    .dm-fb-metric-label { display: none; }
    .dm-fb-proj-metric { justify-content: flex-start; }
    .dm-fb-stat-num { font-size: 24px; }
    .dm-fb-cta { padding: 26px 18px 24px; }
}

/* ============================================================
   FIX #54: Manual Control Mode � Touch Drag (Mobile)
   ????? ???? ???????? ??????? ????? ?????? ????? ???? ?? ?????? ????
   ============================================================ */
.dm-fb-grid.dm-fb-manual-control .dm-fb-column::before {
    content: ";
    position: absolute;
    inset: 0;
    z-index: 5;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
    border: 2px solid rgba(24, 119, 242, 0.4);
    border-radius: 12px;
    pointer-events: none;
    animation: dmFbManualPulse 1.5s ease-in-out infinite;
}
@keyframes dmFbManualPulse {
    0%, 100% { opacity: 0.6; box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.4); }
    50% { opacity: 1; box-shadow: 0 0 0 8px rgba(24, 119, 242, 0); }
}
.dm-fb-grid.dm-fb-manual-control .dm-fb-column {
    cursor: grabbing;
}
/* ???? ???? ??? speed ??? ????? */
.dm-fb-grid.dm-fb-manual-control .dm-fb-speed-indicator {
    opacity: 1 !important;
    z-index: 10;
}
/* ????? ????????: ?????? ???? */
@media (max-width: 767.98px) {
    .dm-fb-grid.dm-fb-manual-control .dm-fb-column::before {
        border-width: 1.5px;
    }
}
