@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700;800;900&family=Orbitron:wght@700;900&family=Rubik:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --forum-font-main: 'Rubik', 'Heebo', system-ui, -apple-system, sans-serif;
    --forum-font-display: 'Rubik', 'Heebo', sans-serif;
    --forum-font-num: 'Orbitron', 'Rubik', sans-serif;
    --neon-red: #ff1744;
    --neon-cyan: #00e5ff;
    --neon-green: #39ff14;
    --neon-gold: #ffd700;
    --neon-purple: #d500f9;
    --bg-dark: #07070a;
    --bg-card: #0f1016;
    --bg-card-hover: #161722;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 23, 68, 0.35);
}

/* ==========================================================================
   GLOBAL FORUM TYPOGRAPHY & RESET
   ========================================================================== */
body,
.f-wrap,
.f-master-wrap,
.f-page-grid,
.st-wrap,
.rl-wrap,
.f-master-wrap *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(pre):not(code),
.f-page-grid *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(pre):not(code),
.st-wrap *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(pre):not(code),
.rl-wrap *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(pre):not(code) {
    font-family: 'Rubik', 'Heebo', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   1. MASTER FRAMES & PAGE WRAPPERS (מסגרות ראשיות)
   ========================================================================== */
.f-master-wrap,
.f-page-grid,
.st-wrap,
.rl-wrap {
    position: relative;
    box-sizing: border-box;
}

.f-master-wrap {
    width: calc(100% - 40px) !important;
    max-width: 1550px !important;
    margin: 30px auto !important;
    background: radial-gradient(circle at 50% 0%, #13141f 0%, #08080c 100%) !important;
    border: 1px solid var(--border-glow) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 23, 68, 0.12) !important;
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    direction: rtl !important;
    min-height: 750px !important;
    overflow: hidden !important;
}

.f-master-content {
    padding: 40px 45px !important;
    box-sizing: border-box !important;
    direction: rtl !important;
    width: 100% !important;
    min-height: 700px !important;
}

@media (max-width: 1200px) {
    .f-master-wrap {
        width: 96% !important;
        margin: 20px auto !important;
    }
    .f-master-content {
        padding: 30px 22px !important;
    }
}

@media (max-width: 768px) {
    .f-master-wrap {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }
    .f-master-content {
        padding: 20px 15px !important;
    }
}

/* Animated neon header stripe on main wrappers */
@keyframes neonHeaderShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.f-master-wrap::before,
.f-global-container::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 5px !important;
    background: linear-gradient(90deg, #b71c1c, #ff1744, #00e5ff, #d500f9, #ff1744, #b71c1c) !important;
    background-size: 300% 100% !important;
    animation: neonHeaderShift 8s ease infinite !important;
    z-index: 20 !important;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.6) !important;
}

/* ==========================================================================
   2. SIDEBAR WIDGETS & RETRO GLASS CARDS (מסגרות ווידג'טים מעוצבות)
   ========================================================================== */
.sb-widget {
    background: linear-gradient(160deg, rgba(20, 21, 30, 0.9) 0%, rgba(11, 11, 16, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 3px solid #ff1744 !important;
    border-radius: 14px !important;
    padding: 22px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    margin-bottom: 22px !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.sb-widget:hover {
    border-color: rgba(255, 23, 68, 0.35) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 23, 68, 0.1) !important;
    transform: translateY(-2px) !important;
}

.f-widget-title {
    color: #fff !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-shadow: 0 0 10px rgba(255, 23, 68, 0.4) !important;
}

/* ==========================================================================
   3. GAMER AVATARS & GLOWING FRAMES (מסגרות אווטאר גיימינג)
   ========================================================================== */
.st-avatar,
.pr-avatar,
.pr-avatar-img,
.mem-avatar {
    border-radius: 50% !important;
    border: 3px solid #ff1744 !important;
    box-shadow: 0 0 18px rgba(255, 23, 68, 0.45), inset 0 0 10px rgba(0, 0, 0, 0.8) !important;
    background: #09090e !important;
    transition: all 0.3s ease !important;
    object-fit: cover !important;
}

.st-avatar:hover,
.pr-avatar:hover,
.mem-avatar:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.7), 0 0 12px rgba(0, 229, 255, 0.5) !important;
    border-color: #00e5ff !important;
}

/* Online Pulse Animation on User Avatar Indicators */
@keyframes onlinePulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.8); }
    70% { box-shadow: 0 0 0 8px rgba(57, 255, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
}

div[style*="background:#39ff14"][style*="border-radius:50%"] {
    animation: onlinePulseGlow 2s infinite !important;
}

/* ==========================================================================
   4. FORUM CATEGORIES & NODE CARDS (מחלקות הפורום)
   ========================================================================== */
.f-cat {
    background: linear-gradient(160deg, #101118 0%, #09090d 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    margin-bottom: 30px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75) !important;
}

.f-cat-head {
    background: linear-gradient(90deg, #181926 0%, #0d0e14 100%) !important;
    color: #ffffff !important;
    padding: 16px 26px !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    border-bottom: 2px solid #ff1744 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.f-node {
    display: flex !important;
    align-items: center !important;
    padding: 18px 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    background: transparent !important;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    gap: 18px !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.f-node:last-child {
    border-bottom: none !important;
}

.f-node:hover {
    background: linear-gradient(90deg, rgba(255, 23, 68, 0.06) 0%, rgba(20, 21, 30, 0.8) 100%) !important;
    border-right: 4px solid #ff1744 !important;
}

.f-icon-box {
    width: 54px !important;
    height: 54px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #181824 0%, #0d0d14 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    flex-shrink: 0 !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    margin: 0 !important;
}

.f-node:hover .f-icon-box {
    transform: scale(1.08) !important;
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.4) !important;
    border-color: #ff1744 !important;
}

.f-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.f-title {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: block !important;
    transition: color 0.2s ease !important;
    line-height: 1.3 !important;
}

.f-node:hover .f-title {
    color: #ff1744 !important;
}

.f-desc {
    color: #94a3b8 !important;
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.f-stats-area {
    display: flex !important;
    gap: 20px !important;
    text-align: center !important;
    padding: 0 20px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    flex-shrink: 0 !important;
    min-width: 130px !important;
    justify-content: center !important;
}

.f-stat-item {
    display: flex !important;
    flex-direction: column !important;
}

.f-stat-num {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important;
}

.f-stat-label {
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.f-last {
    width: 240px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 0 !important;
    text-align: right !important;
}

.f-last-title {
    color: #e2e8f0 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 100% !important;
    transition: color 0.2s ease !important;
}

.f-last-title:hover {
    color: #ff1744 !important;
    text-decoration: underline !important;
}

.f-last-meta {
    font-size: 0.8rem !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
}

.f-last-user {
    font-weight: 700 !important;
    text-decoration: none !important;
    color: #00e5ff !important;
}

.f-last-user:hover {
    text-decoration: underline !important;
}

/* ==========================================================================
   5. CHALLENGE OF THE WEEK BANNER (כרטיס אתגר הרטרו השבועי)
   ========================================================================== */
.gotw-banner {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.15) 0%, #11121c 55%, rgba(0, 229, 255, 0.12) 100%) !important;
    border: 1px solid rgba(255, 23, 68, 0.4) !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    margin-bottom: 26px !important;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 23, 68, 0.15) !important;
}

.gotw-banner::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 150px !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03)) !important;
    pointer-events: none !important;
}

.gotw-cover {
    width: 90px !important;
    height: 90px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    border: 2px solid #ff1744 !important;
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.5) !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s ease !important;
}

.gotw-banner:hover .gotw-cover {
    transform: scale(1.06) rotate(-2deg) !important;
}

.gotw-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, #b71c1c, #ff1744) !important;
    color: #fff !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    margin-bottom: 8px !important;
    box-shadow: 0 3px 10px rgba(255, 23, 68, 0.4) !important;
}

.gotw-title {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: 0.3px !important;
}

.gotw-desc {
    color: #cccccc !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* ==========================================================================
   6. SHOUTBOX TERMINAL (צ'אט הקהילה החי)
   ========================================================================== */
.shout-box {
    background: linear-gradient(160deg, #101118 0%, #08080c 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 3px solid #ff1744 !important;
    border-radius: 14px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 23, 68, 0.08) !important;
    overflow: hidden !important;
    height: 100% !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.shout-head {
    padding: 14px 18px !important;
    background: linear-gradient(90deg, #161822 0%, #0e0f16 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: center !important;
    color: #ff1744 !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 0 12px rgba(255, 23, 68, 0.4) !important;
    flex-shrink: 0 !important;
}

.shout-feed {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 14px 16px !important;
    background: #08080c !important;
    scrollbar-width: thin !important;
    scrollbar-color: #333 transparent !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.shout-row {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-size: 0.88rem !important;
    color: #e2e8f0 !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
    transition: background 0.2s ease !important;
}

.shout-row:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.shout-user {
    font-weight: 800 !important;
    text-decoration: none !important;
    color: #ff1744 !important;
    margin-left: 6px !important;
}

.shout-emojis {
    display: flex !important;
    justify-content: space-around !important;
    background: #0d0e15 !important;
    padding: 8px 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    flex-shrink: 0 !important;
}

.shout-emoji-btn {
    background: transparent !important;
    border: none !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    transition: transform 0.15s ease !important;
    padding: 2px 6px !important;
}

.shout-emoji-btn:hover {
    transform: scale(1.25) !important;
}

.shout-input {
    background: #0c0d14 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.shout-inp-field {
    width: 100% !important;
    background: #050508 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    font-family: 'Rubik', sans-serif !important;
    font-size: 0.95rem !important;
    transition: 0.2s ease !important;
    margin: 0 !important;
}

.shout-inp-field:focus {
    border-color: #39ff14 !important;
    outline: none !important;
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.3) !important;
}

.shout-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #b71c1c 0%, #ff1744 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    font-family: 'Rubik', sans-serif !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.35) !important;
    margin: 0 !important;
}

.shout-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 23, 68, 0.5) !important;
}

/* ==========================================================================
   7. THREAD ROWS & LISTS (רשימת אשכולות)
   ========================================================================== */
.fd-list {
    background: linear-gradient(160deg, #101118 0%, #08080c 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8) !important;
}

.fd-list-head {
    background: linear-gradient(90deg, #181926 0%, #0d0e14 100%) !important;
    padding: 16px 22px !important;
    border-bottom: 2px solid #ff1744 !important;
    color: #a0aec0 !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
}

.fd-row {
    padding: 18px 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.fd-row:hover {
    background: linear-gradient(90deg, rgba(255, 23, 68, 0.05) 0%, rgba(20, 21, 30, 0.7) 100%) !important;
    border-right: 4px solid #ff1744 !important;
    transform: translateX(-3px) !important;
}

.fd-row.pinned {
    background: rgba(255, 23, 68, 0.04) !important;
    border-right: 4px solid #ff1744 !important;
}

.fd-thread-title {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    transition: color 0.2s ease !important;
}

.fd-row:hover .fd-thread-title {
    color: #ff1744 !important;
}

/* ==========================================================================
   8. THREAD POSTS & USER CARDS (תגובות באשכול)
   ========================================================================== */
.st-post {
    background: linear-gradient(160deg, #11121a 0%, #0a0b10 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 14px !important;
    margin-bottom: 28px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7) !important;
    transition: border-color 0.25s ease !important;
}

.st-post:hover {
    border-color: rgba(255, 23, 68, 0.3) !important;
}

.st-user-col {
    background: linear-gradient(180deg, #0e0f16 0%, #08080c 100%) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 28px 18px !important;
}

.st-content-col {
    padding: 32px 40px !important;
}

.st-post-head {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-bottom: 14px !important;
    margin-bottom: 22px !important;
    color: #718096 !important;
}

.st-text {
    color: #e2e8f0 !important;
    font-size: 1.08rem !important;
    line-height: 1.85 !important;
}

/* ==========================================================================
   9. BUTTONS, INPUTS & BADGES (כפתורים, שדות ותגיות)
   ========================================================================== */
.f-btn-main,
.nt-btn,
.nt-submit-btn,
.poll-vote-btn,
.shout-btn {
    background: linear-gradient(135deg, #b71c1c 0%, #ff1744 100%) !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(255, 23, 68, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    cursor: pointer !important;
}

.f-btn-main:hover,
.nt-btn:hover,
.nt-submit-btn:hover,
.poll-vote-btn:hover,
.shout-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.6) !important;
    filter: brightness(1.1) !important;
}

.st-btn {
    background: #141520 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    padding: 7px 14px !important;
    font-weight: 700 !important;
    color: #cbd5e1 !important;
    transition: all 0.2s ease !important;
}

.st-btn:hover {
    background: #ff1744 !important;
    border-color: #ff1744 !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* XP Progress Bar with Animated Shimmer */
@keyframes barShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.mp-progress-fill,
.st-progress-bar,
.f-progress-bar {
    background: linear-gradient(90deg, #b71c1c 0%, #ff1744 50%, #ff5252 100%) !important;
    box-shadow: 0 0 12px rgba(255, 23, 68, 0.6) !important;
    position: relative !important;
}

.mp-progress-bg,
.st-progress-wrap,
.f-progress-wrap {
    background: #050508 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

/* ==========================================================================
   10. SEARCH BOXES & INPUT CONTROLS (שדות חיפוש ומסגרות קלט)
   ========================================================================== */
.f-search-box,
.mem-search-box {
    background: linear-gradient(160deg, #12131d 0%, #090a0f 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}

.f-search-box:focus-within,
.mem-search-box:focus-within {
    border-color: rgba(255, 23, 68, 0.4) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 23, 68, 0.15) !important;
}

.f-search-inp,
.mem-input,
.nt-input,
.nt-select {
    background: #07070b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-family: 'Rubik', 'Heebo', sans-serif !important;
    outline: none !important;
    transition: all 0.25s ease !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

.f-search-inp:focus,
.mem-input:focus,
.nt-input:focus,
.nt-select:focus {
    border-color: #ff1744 !important;
    box-shadow: 0 0 18px rgba(255, 23, 68, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

/* ==========================================================================
   11. MEMBERS GRID & GAMER CARDS (כרטיסי חברי הקהילה)
   ========================================================================== */
.mem-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 24px !important;
}

.mem-card {
    background: linear-gradient(160deg, #12131d 0%, #0a0b10 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 3px solid #ff1744 !important;
    border-radius: 14px !important;
    padding: 30px 20px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7) !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.mem-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(255, 23, 68, 0.5) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 23, 68, 0.2) !important;
}

.mem-avatar {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    border: 3px solid #ff1744 !important;
    object-fit: cover !important;
    margin: 0 auto 15px auto !important;
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.4) !important;
    display: block !important;
}

.mem-name {
    font-weight: 800 !important;
    color: #fff !important;
    font-size: 1.3rem !important;
    margin-bottom: 6px !important;
}

.mem-xp {
    color: #39ff14 !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4) !important;
}

.mem-role {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #cbd5e1 !important;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mem-link {
    display: block !important;
    margin-top: 18px !important;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #181926 0%, #10111a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 10px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease !important;
}

.mem-link:hover {
    background: #ff1744 !important;
    border-color: #ff1744 !important;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   12. PROFILE VIEW (דף פרופיל אישי)
   ========================================================================== */
.pr-header {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    margin-bottom: 35px !important;
    background: linear-gradient(160deg, #131420 0%, #0a0b10 100%) !important;
    padding: 35px 40px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-right: 5px solid #ff1744 !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8) !important;
    flex-wrap: wrap !important;
}

.pr-header::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #b71c1c, #ff1744, #00e5ff) !important;
}

.pr-avatar {
    width: 130px !important;
    height: 130px !important;
    border-radius: 50% !important;
    border: 4px solid #ff1744 !important;
    object-fit: cover !important;
    box-shadow: 0 0 30px rgba(255, 23, 68, 0.45) !important;
    flex-shrink: 0 !important;
}

.pr-info {
    flex: 1 !important;
    min-width: 250px !important;
}

.pr-info h1 {
    color: #fff !important;
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    margin: 0 0 8px 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

.pr-role {
    background: linear-gradient(135deg, #b71c1c, #ff1744) !important;
    color: #fff !important;
    padding: 5px 16px !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
    font-size: 0.85rem !important;
    box-shadow: 0 3px 12px rgba(255, 23, 68, 0.3) !important;
}

.pr-actions {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-right: auto !important;
    align-self: flex-start !important;
}

.pr-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.pr-btn:hover {
    background: #ff1744 !important;
    border-color: #ff1744 !important;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.4) !important;
    transform: translateY(-2px) !important;
}

.pr-stats-row {
    display: flex !important;
    gap: 14px !important;
    margin-top: 15px !important;
    flex-wrap: wrap !important;
}

.pr-stat {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    color: #cbd5e1 !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.pr-stat strong {
    color: #ff1744 !important;
    font-weight: 800;
}

.pr-section-title {
    color: #fff !important;
    font-size: 1.4rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 12px !important;
    margin-bottom: 22px !important;
    font-weight: 800;
    margin-top: 35px !important;
}

.pr-activity-item {
    background: linear-gradient(160deg, #131420 0%, #0c0d14 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    padding: 20px !important;
    border-radius: 12px !important;
    margin-bottom: 15px !important;
    transition: all 0.25s ease !important;
}

.pr-activity-item:hover {
    border-color: rgba(255, 23, 68, 0.5) !important;
    transform: translateX(-4px) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5) !important;
}

.pr-link {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.pr-date {
    color: #64748b !important;
    font-size: 0.85rem !important;
    margin-top: 5px !important;
    display: block !important;
}

@media (max-width: 992px) {
    .pr-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }
    .pr-info {
        text-align: center !important;
        width: 100% !important;
    }
    .pr-stats-row {
        justify-content: center !important;
    }
    .pr-actions {
        margin: 15px 0 0 0 !important;
        justify-content: center !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   13. XP SHOP & DAILY BONUS (חנות הקהילה)
   ========================================================================== */
.shop-header {
    text-align: center !important;
    margin-bottom: 40px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 30px !important;
}

.shop-title {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 0 !important;
    text-shadow: 0 0 20px rgba(255, 23, 68, 0.4) !important;
}

.my-points {
    background: linear-gradient(135deg, #131420 0%, #0a0b10 100%) !important;
    border: 1px solid #39ff14 !important;
    display: inline-block !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    margin-top: 18px !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #39ff14 !important;
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.25) !important;
}

.daily-bonus-box {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.1) 0%, #101118 60%, rgba(0, 229, 255, 0.08) 100%) !important;
    border: 1px solid #39ff14 !important;
    border-radius: 16px !important;
    padding: 24px 32px !important;
    margin-bottom: 35px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(57, 255, 20, 0.15) !important;
    flex-wrap: wrap !important;
}

.daily-btn {
    background: #39ff14 !important;
    color: #000000 !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 0 18px rgba(57, 255, 20, 0.4) !important;
}

.daily-btn:hover:not(:disabled) {
    transform: scale(1.04) !important;
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.7) !important;
}

.shop-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 25px !important;
}

.shop-item {
    background: linear-gradient(160deg, #12131d 0%, #0a0b10 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 30px 22px !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.shop-item:hover {
    transform: translateY(-6px) !important;
    border-color: #ff1744 !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 23, 68, 0.25) !important;
}

.buy-btn {
    background: linear-gradient(135deg, #b71c1c, #ff1744) !important;
    color: #fff !important;
    border: none !important;
    padding: 12px !important;
    width: 100% !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.35) !important;
}

.buy-btn:hover:not(:disabled) {
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   14. BBCODE STYLING (ציטוטים, קוד והטמעות)
   ========================================================================== */
.bb-quote {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.06) 0%, rgba(18, 19, 28, 0.9) 100%) !important;
    border-right: 4px solid #ff1744 !important;
    border-radius: 8px !important;
    padding: 14px 20px !important;
    margin: 15px 0 !important;
    color: #cbd5e1 !important;
    font-style: italic !important;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5) !important;
}

.bb-code {
    background: #060609 !important;
    border: 1px solid rgba(57, 255, 20, 0.25) !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    color: #39ff14 !important;
    font-family: 'Consolas', 'Courier New', monospace !important;
    direction: ltr !important;
    text-align: left !important;
    overflow-x: auto !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}
