/* =========================================================
   CSMarket.Ro — Animatii & Efecte & QoL
   animations.css — incarcat dupa styles.css
   ========================================================= */

/* ---- MAGNIFIC POPUP SAFETY FALLBACK ---- */
.mfp-wrap {
    z-index: 10000;
}
.mfp-bg {
    z-index: 9999;
}
img.mfp-img {
    max-width: 100% !important;
    max-height: 90vh !important;
    margin: 0 auto;
}
.mfp-image-holder .mfp-content {
    max-width: 900px;
}

/* ---- 1. SCROLL REVEAL — fade-up la scroll ---- */
.sr-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.5s cubic-bezier(.23,1,.32,1),
                transform 0.5s cubic-bezier(.23,1,.32,1);
}
.sr-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* stagger delay pe carduri consecutive */
.sr-reveal.sr-d1 { transition-delay: .06s; }
.sr-reveal.sr-d2 { transition-delay: .12s; }
.sr-reveal.sr-d3 { transition-delay: .18s; }
.sr-reveal.sr-d4 { transition-delay: .24s; }

/* ---- 2. NAVBAR GLASS + SHADOW on scroll ---- */
.navbar.bg-dark {
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease !important;
}
.navbar.bg-dark.is-scrolled {
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(61,139,255,0.12) !important;
    backdrop-filter: blur(14px) !important;
    border-bottom-color: rgba(61, 139, 255, 0.22) !important;
}

/* ---- 3. NAV LINKS UNDERLINE ---- */
.navbar .nav-link {
    position: relative !important;
    overflow: hidden;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.26s ease, left 0.26s ease;
}
.navbar .nav-link:hover::after {
    width: 60%;
    left: 20%;
}
.navbar .nav-link .fc,
.navbar .nav-link i {
    transition: transform 0.2s ease !important;
}
.navbar .nav-link:hover .fc,
.navbar .nav-link:hover i {
    transform: scale(1.15);
}

/* ---- 4. BRAND GLOW ---- */
.navbar-brand.site-brand-text {
    transition: text-shadow 0.3s ease, filter 0.3s ease !important;
}
.navbar-brand.site-brand-text:hover {
    text-shadow:
        0 0 8px rgba(61,139,255,0.5),
        0 0 18px rgba(96,79,255,0.35),
        0 0 30px rgba(154,53,255,0.2);
    filter: brightness(1.15);
}

/* ---- 5. POST CARD HOVER DEPTH ---- */
.post-card {
    transition: border-color var(--transition), box-shadow var(--transition), transform 0.22s cubic-bezier(.23,1,.32,1) !important;
}
.post-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 36px rgba(61, 139, 255, 0.14), 0 2px 8px rgba(0,0,0,0.3) !important;
}
.post-card-thumb img,
.post-card-thumb-image {
    transition: transform 0.35s cubic-bezier(.23,1,.32,1) !important;
}
.post-card:hover .post-card-thumb img,
.post-card:hover .post-card-thumb-image {
    transform: scale(1.04) !important;
}

/* ---- 6. SHOP BADGE GLOW (pulsare infinita) ---- */
@keyframes shopBadgePulse {
    0%, 100% { box-shadow: 0 0 6px rgba(61,139,255,0.3), 0 4px 14px rgba(0,0,0,0.16); }
    50%      { box-shadow: 0 0 14px rgba(61,139,255,0.55), 0 0 24px rgba(103,176,255,0.25), 0 4px 14px rgba(0,0,0,0.16); }
}
.post-card-badge-shop {
    animation: shopBadgePulse 2.5s ease-in-out infinite;
}

/* ---- 7. TAG CHIPS HOVER ---- */
.post-card-tags span {
    transition: background var(--transition), transform 0.16s ease, color var(--transition) !important;
    cursor: default;
}
.post-card-tags span:hover {
    transform: translateY(-1px);
    background: rgba(61, 139, 255, 0.24) !important;
    color: #b5d5ff !important;
}

/* ---- 8. LIKE BUTTON RIPPLE ---- */
.like-btn {
    position: relative;
    overflow: hidden;
}
.like-btn .like-ripple {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255, 75, 110, 0.35);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: likeRipple 0.5s ease-out forwards;
}
@keyframes likeRipple {
    0%   { width: 0; height: 0; opacity: 1; }
    100% { width: 80px; height: 80px; opacity: 0; }
}

/* ---- 9. SEARCH FOCUS GLOW ---- */
.site-search-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}
.site-search-input:focus {
    border-color: rgba(61, 139, 255, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(61, 139, 255, 0.18) !important;
    background: rgba(4, 6, 14, 0.7) !important;
}

/* ---- 10. SIDEBAR CATEGORY SWEEP ---- */
.jquery-accordion-menu ul li a,
.sidebar-catmenu ul li a {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.jquery-accordion-menu ul li a::before,
.sidebar-catmenu ul li a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(61,139,255,0.12), transparent 80%);
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.32s ease, opacity 0.32s ease;
}
.jquery-accordion-menu ul li a:hover::before,
.sidebar-catmenu ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ---- 11. DISCORD CTA SHINE ---- */
.support-highlight-card__cta {
    position: relative;
    overflow: hidden;
}
.support-highlight-card__cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    animation: discordShine 4s ease-in-out infinite;
}
@keyframes discordShine {
    0%, 75%  { left: -75%; }
    100%     { left: 125%; }
}

/* ---- 12. TOPIC HEADING GRADIENT LINE ---- */
.topic-full-heading {
    position: relative;
}
.topic-full-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), transparent);
}

/* ---- 13. CONTENT LINK UNDERLINE ---- */
.topic-content a:not(.btn):not(.like-btn),
.static-page-content a:not(.btn) {
    text-decoration: none !important;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 1.5px;
    transition: background-size 0.28s ease;
}
.topic-content a:not(.btn):not(.like-btn):hover,
.static-page-content a:not(.btn):hover {
    background-size: 100% 1.5px;
}

/* ---- 14. H2 ACCENT BAR ---- */
.topic-content h2,
.static-page-content h2 {
    position: relative;
    padding-left: 14px;
}
.topic-content h2::before,
.static-page-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent2));
}

/* ---- 15. INFO / WARNING ICONS (automate) ---- */
.story-note-info {
    position: relative;
    padding-left: 38px !important;
}
.story-note-info::before {
    content: '\f05a'; /* fa-info-circle */
    font-family: FontAwesome;
    position: absolute;
    left: 14px;
    top: 13px;
    font-size: 16px;
    color: #5dc2ff;
}
.story-note-warning {
    position: relative;
    padding-left: 38px !important;
}
.story-note-warning::before {
    content: '\f071'; /* fa-exclamation-triangle */
    font-family: FontAwesome;
    position: absolute;
    left: 14px;
    top: 13px;
    font-size: 15px;
    color: #ffca57;
}

/* ---- 16. SHOP CARD SHINE SWEEP ---- */
.shop-card-v2,
.home-shop-slide .card {
    position: relative;
    overflow: hidden;
}
.shop-card-v2::after,
.home-shop-slide .card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
    transition: left 0.5s ease;
    pointer-events: none;
    z-index: 2;
}
.shop-card-v2:hover::after,
.home-shop-slide .card:hover::after {
    left: 130%;
}

/* ---- 17. COMMENT AVATAR ZOOM ---- */
.comment-card__avatar {
    transition: transform 0.22s ease !important;
}
.comment-card:hover .comment-card__avatar {
    transform: scale(1.08);
}

/* ---- 18. BUTTON ACTIVE SCALE (feedback tactil) ---- */
.btn,
.like-btn,
.support-highlight-card__cta,
.post-card-more,
.page-link {
    transition: transform 0.1s ease, background 0.18s ease, color 0.18s ease,
                border-color 0.18s ease, box-shadow 0.18s ease !important;
}
.btn:active,
.like-btn:active,
.support-highlight-card__cta:active,
.post-card-more:active,
.page-link:active {
    transform: scale(0.97) !important;
}

/* ---- 19. PAGINATION ACTIVE GLOW ---- */
.page-item.active .page-link {
    box-shadow: 0 0 10px rgba(61, 139, 255, 0.35), 0 0 20px rgba(61, 139, 255, 0.12) !important;
    border-color: rgba(61, 139, 255, 0.5) !important;
}

/* ---- 20. FOOTER GLOW LINE ---- */
footer, .footer {
    position: relative;
}
footer::before, .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
}

/* ---- 21. SECTION BAR PULSE ---- */
@keyframes sectionBarPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}
.section-bar {
    position: relative;
}
.section-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #5bc0ff, var(--accent2, #9d5cff));
    border-radius: 0 3px 3px 0;
    animation: sectionBarPulse 2.5s ease-in-out infinite;
}

/* ---- 22. DOWNLOAD GATE CELEBRATION ---- */
@keyframes downloadGateGlow {
    0%   { box-shadow: 0 0 0 0 rgba(72,207,173,0.45); }
    50%  { box-shadow: 0 0 24px 6px rgba(72,207,173,0.2); }
    100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 28px rgba(72,207,173,0.08); }
}
.download-gate.is-open {
    animation: downloadGateGlow 0.7s ease-out;
}

/* =========================================================
   QoL — Quality of Life
   ========================================================= */

/* ---- BACK TO TOP BUTTON ---- */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(61,139,255,0.25);
    background: rgba(22, 25, 43, 0.92);
    backdrop-filter: blur(10px);
    color: #7ab8ff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    background: rgba(61,139,255,0.15);
    border-color: rgba(61,139,255,0.45);
    transform: translateY(-2px);
    color: #fff;
}

/* ---- LAZY IMAGE FADE ---- */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}
img[loading="lazy"].is-loaded,
img[loading="lazy"][complete] {
    opacity: 1;
}

/* ---- THEMED SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(16, 17, 27, 0.6);
}
::-webkit-scrollbar-thumb {
    background: rgba(61, 139, 255, 0.25);
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(61, 139, 255, 0.45);
}
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(61,139,255,0.25) rgba(16,17,27,0.6);
}

/* ---- FOCUS VISIBLE (accesibilitate keyboard) ---- */
*:focus-visible {
    outline: 2px solid rgba(61,139,255,0.7) !important;
    outline-offset: 2px !important;
}
/* Overwrite engine.css care sterge outline-ul global */
:focus-visible {
    outline: 2px solid rgba(61,139,255,0.7) !important;
    outline-offset: 2px !important;
}

/* ---- MOBILE RESPONSIVE pt. elementele noi ---- */
@media (max-width: 767px) {
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .topic-content h2,
    .static-page-content h2 {
        padding-left: 12px;
    }
    .sr-reveal {
        transform: translateY(14px);
    }
}

/* =========================================================
   BONUS — Efecte extra adaugate de Claude
   ========================================================= */

/* ---- TAG CHIPS CLICKABLE ---- */
.post-card-tag-link,
.blog-card-tags a,
.topic-tag-chip {
    display: inline-block;
    padding: 2px 8px !important;
    color: #7ab8ff !important;
    background: rgba(61, 139, 255, 0.08) !important;
    border: 1px solid rgba(61, 139, 255, 0.15);
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.18s ease, transform 0.16s ease, color 0.18s ease, border-color 0.18s ease;
    cursor: pointer;
}
.post-card-tag-link:hover,
.blog-card-tags a:hover,
.topic-tag-chip:hover {
    transform: translateY(-1px);
    background: rgba(61, 139, 255, 0.22) !important;
    border-color: rgba(61, 139, 255, 0.35);
    color: #b5d5ff !important;
}

/* ---- TOPIC BREADCRUMB ---- */
.topic-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 14px;
    margin-bottom: 0;
    background: rgba(30, 34, 53, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 12.5px;
}
.topic-breadcrumb a {
    color: #8fb8ff !important;
    text-decoration: none !important;
    transition: color 0.18s ease;
}
.topic-breadcrumb a:hover {
    color: #fff !important;
}
.topic-breadcrumb-sep {
    margin: 0 8px;
    color: #4a5270;
}
.topic-breadcrumb-current {
    color: #8e99b5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}

/* ---- TOPIC META READING TIME ---- */
.topic-meta-reading {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ---- TOPIC TAGS STRIP ---- */
.topic-tags-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #8e99b5;
    font-size: 13px;
}
.topic-tags-strip .fa-tags {
    font-size: 14px;
    color: #5d7a9e;
}

/* ---- TOPIC SHARE STRIP ---- */
.topic-share-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.topic-share-label {
    color: #8e99b5;
    font-size: 12.5px;
    font-weight: 600;
}
.topic-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #b5c4e0;
    font-size: 14px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.18s ease;
}
.topic-share-btn:hover {
    color: #fff;
    transform: translateY(-1px);
}
.topic-share-fb:hover {
    background: rgba(66, 103, 178, 0.2);
    border-color: rgba(66, 103, 178, 0.35);
    color: #8b9dc3;
}
.topic-share-discord:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.35);
    color: #9da7f5;
}
.topic-share-copy:hover {
    background: rgba(61, 139, 255, 0.15);
    border-color: rgba(61, 139, 255, 0.3);
}

/* ---- TOPIC COMMENTS HINT ---- */
.topic-comments-hint {
    float: right;
    font-size: 11px;
    font-weight: 400;
    color: #6b7a9a;
    letter-spacing: 0;
    text-transform: none;
}

/* ---- PROFILE UPGRADES ---- */
.profile-main-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.profile-activity-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.profile-activity-badge.activity-high {
    background: rgba(72, 207, 173, 0.12);
    border: 1px solid rgba(72, 207, 173, 0.25);
    color: #7ee8c4;
}
.profile-activity-badge.activity-mid {
    background: rgba(255, 159, 67, 0.1);
    border: 1px solid rgba(255, 159, 67, 0.25);
    color: #ffbe7a;
}
.profile-activity-badge.activity-low {
    background: rgba(61, 139, 255, 0.08);
    border: 1px solid rgba(61, 139, 255, 0.2);
    color: #7ab8ff;
}
.profile-activity-badge.activity-new {
    background: rgba(172, 146, 236, 0.1);
    border: 1px solid rgba(172, 146, 236, 0.22);
    color: #c4aeef;
}

.profile-main-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 8px;
    color: #8e99b5;
    font-size: 12.5px;
}
.profile-main-meta i {
    margin-right: 4px;
    opacity: 0.7;
}

.profile-pm-badge {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(255, 75, 110, 0.15);
    border: 1px solid rgba(255, 75, 110, 0.3);
    color: #ff7a94;
    font-size: 10px;
    font-weight: 700;
    margin-left: 4px;
}

/* ---- PROFILE COMPLETION BANNER ---- */
.profile-completion-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(61, 139, 255, 0.06), rgba(157, 92, 255, 0.04));
    border: 1px solid rgba(61, 139, 255, 0.15);
}
.profile-completion-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}
.profile-completion-banner-text > .fa {
    font-size: 18px;
    color: #5daeff;
    margin-top: 2px;
    flex-shrink: 0;
}
.profile-completion-banner-text strong {
    display: block;
    color: #e8f0ff;
    font-size: 14px;
    margin-bottom: 2px;
}
.profile-completion-banner-text span {
    color: #8e9fc4;
    font-size: 12.5px;
}

/* ---- PROFILE STAT TILE HOVER ---- */
.profile-stat-tile {
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.profile-stat-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(91, 192, 255, 0.2);
    background: linear-gradient(180deg, rgba(61, 139, 255, 0.08), rgba(8, 12, 24, 0.18));
}

/* ---- PROFILE ACTIONS HOVER FX ---- */
.profile-actions-card a {
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.profile-actions-card a:hover {
    transform: translateX(3px);
}

/* ---- PROFILE TOPIC & COMMENT LIST NUMBERS ---- */
.profile-topic-list a,
.profile-comment-list a {
    counter-increment: profile-item;
}
.profile-topic-list a::before,
.profile-comment-list a::before {
    content: counter(profile-item);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(61, 139, 255, 0.08);
    color: #7ab8ff;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    margin-bottom: 2px;
}
.profile-topic-list {
    counter-reset: profile-item;
}
.profile-comment-list {
    counter-reset: profile-item;
}

/* ---- CARD HEADER ICON PULSE pe sidebar ---- */
.card-header .badge .fa,
.card-header .badge .icon-graph {
    transition: transform 0.2s ease;
}
.card-header:hover .badge .fa,
.card-header:hover .badge .icon-graph {
    transform: scale(1.15);
}

/* ---- STAT TILE HOVER pe homepage ---- */
.home-stat-grid div {
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.home-stat-grid div:hover {
    background: rgba(61,139,255,0.08);
    border-color: rgba(61,139,255,0.18);
    transform: translateY(-1px);
}

/* ---- PROMO CARD IMAGE ZOOM ---- */
.site-promo-grid img,
.site-promo-image {
    transition: transform 0.35s cubic-bezier(.23,1,.32,1);
}
.site-promo-grid a:hover img,
.site-promo-card:hover .site-promo-image {
    transform: scale(1.02);
}

/* ---- ONLINE MEMBER HOVER HIGHLIGHT ---- */
.online-presence-item {
    transition: background 0.18s ease !important;
}
.online-presence-item:hover {
    background: rgba(61,139,255,0.06) !important;
}

/* ---- STATS CARD HOVER ---- */
.stats-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

/* ---- CATEGORY STRIP CHIP HOVER ---- */
.home-category-strip a {
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.home-category-strip a:hover {
    transform: translateY(-1px);
}

/* ---- READING PROGRESS BAR (top of page) ---- */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2, #9d5cff));
    z-index: 9999;
    transition: width 0.08s linear;
    pointer-events: none;
}

/* ---- TOOLTIP UPGRADE ---- */
.tooltip-inner {
    background: #1a1e32 !important;
    border: 1px solid rgba(61,139,255,0.2);
    border-radius: 8px !important;
    font-size: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.tooltip .arrow::before {
    border-top-color: #1a1e32 !important;
}

/* ---- COMMENT CARD NUMBER ---- */
.comment-card {
    counter-increment: comment-count;
}
.comment-card__header::after {
    content: '#' counter(comment-count);
    color: #5d6a88;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}
#comments .card-body {
    counter-reset: comment-count;
}

/* ---- MOBILE ADJUSTMENTS FOR NEW ELEMENTS ---- */
@media (max-width: 767px) {
    .topic-breadcrumb {
        font-size: 11px;
        padding: 8px 12px;
    }
    .topic-breadcrumb-current {
        max-width: 140px;
    }
    .topic-share-strip {
        flex-wrap: wrap;
    }
    .topic-tags-strip {
        gap: 6px;
    }
    .profile-main-meta {
        flex-direction: column;
        gap: 4px;
    }
    .profile-completion-banner {
        flex-direction: column;
        gap: 12px;
    }
    .profile-main-badges {
        flex-direction: column;
        align-items: flex-start;
    }
    .topic-comments-hint {
        display: none;
    }
}
