@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ==========================================================================
   Global Font: Poppins (Whole Website)
   ========================================================================== */
html, body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6,
p, a, span, label, li, td, th, div {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* ==========================================================================
   Custom overrides (loaded after theme.css)
   ========================================================================== */

/* ---------- Footer ---------- */
.apk-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin-top: 36px;
    padding: 36px 16px 24px;
    text-align: center;
    font-family: 'Poppins', sans-serif !important;
}

.apk-footer__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apk-footer__brand {
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
}

.apk-footer__about {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    max-width: 740px;
    margin: 0 auto 24px;
}
.apk-footer__about strong {
    color: #0f172a;
    font-weight: 700;
}

.apk-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 0;
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.apk-footer__nav li {
    display: flex;
    align-items: center;
    margin: 0;
}

/* thin vertical divider between links */
.apk-footer__nav li + li::before {
    content: "";
    width: 1px;
    height: 13px;
    background: #cbd5e1;
}

.apk-footer__nav a {
    display: inline-block;
    padding: 6px 16px;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14.5px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.18s ease;
}

.apk-footer__nav a:hover {
    color: #10b981;
}

.apk-footer__notice {
    margin: 0 auto 10px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    width: 100%;
    max-width: 760px;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748b;
    text-align: center;
}

.apk-footer__copy {
    margin: 0;
    padding-top: 0;
    width: 100%;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12.5px;
    line-height: 1.6;
    letter-spacing: .2px;
    color: #94a3b8;
}

@media (max-width: 575px) {
    .apk-footer {
        padding: 28px 12px 18px;
        margin-top: 24px;
    }

    .apk-footer__about {
        font-size: 12.5px;
        margin-bottom: 16px;
    }

    .apk-footer__nav a {
        padding: 4px 8px;
        font-size: 12.5px;
    }

    .apk-footer__copy {
        font-size: 11.5px;
    }
}

/* ==========================================================================
   Modern App Post & Specs Badges
   ========================================================================== */

/* App Header & Title */
.single-app-header {
    padding: 10px 0 20px;
}
.app-header-row {
    display: flex;
    align-items: center;
    gap: 22px;
}
.app-icon-single {
    padding: 0;
    width: 110px;
    flex-shrink: 0;
}
.app-icon-single img {
    width: 110px;
    height: 110px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    object-fit: cover;
}
.app-title-single {
    padding: 0;
    flex: 1;
}
.app-title-single h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
    line-height: 1.25;
}
.app-trusted-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: #222;
    margin: 0 !important;
}
.app-trusted-label svg {
    vertical-align: -1px;
}
.app-trusted-label .review-count {
    color: #71717a;
    font-weight: 400;
}

/* Modern Specs Grid */
.modern-specs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin: 18px 0 26px;
}
@media (max-width: 991px) {
    .modern-specs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}
@media (max-width: 575px) {
    .modern-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.spec-badge-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 84px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    position: relative;
}
.spec-badge-card:hover {
    border-color: #10b981 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12);
}
.spec-badge-card .spec-header {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
}
.spec-badge-card .spec-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    flex-shrink: 0;
}
.spec-badge-card .spec-icon img,
.spec-badge-card .spec-icon svg {
    max-width: 14px;
    max-height: 14px;
    display: block;
}
.spec-badge-card .spec-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin: 0;
    line-height: 1;
}
.spec-badge-card .spec-value {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spec-badge-card .spec-value a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}
.spec-badge-card .spec-value a:hover {
    color: #10b981;
    text-decoration: none;
}
.spec-badge-card .badge-free {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    padding: 1px 7px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12.5px;
    border: 1px solid #a7f3d0;
}

/* ==========================================================================
   1-Row Sticky Quick-Navigation Bar (Above App Page Content)
   ========================================================================== */

.content-sticky-nav-wrapper {
    position: relative !important;
    top: auto !important;
    z-index: 10;
    margin: 0 0 22px;
    padding: 0;
}

.content-sticky-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    padding: 8px 14px;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sticky-nav-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sticky-nav-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    flex-shrink: 0;
    padding-left: 2px;
    user-select: none;
}

.sticky-nav-label svg {
    color: #10b981;
}

.sticky-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}

.sticky-nav-links::-webkit-scrollbar {
    display: none;
}

.sticky-nav-pill {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    border: 1px solid transparent;
    flex-shrink: 0;
    cursor: pointer;
    line-height: 1.35;
}

.sticky-nav-pill:hover {
    color: #0f172a;
    background: #e2e8f0;
}

.sticky-nav-pill.is-active {
    background: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
    border-color: #10b981;
}

/* Smooth scroll margin for all headings (offset for 70px fixed site navbar) */
html {
    scroll-behavior: smooth;
}
.single-app-page .entry-content h2,
.single-app-page .entry-content .wp-block-heading:is(h2),
.single-app-page .entry-content h3,
.single-app-page .entry-content .wp-block-heading:is(h3) {
    scroll-margin-top: 86px;
}

/* Modern Content & Headings Card Styling */
.single-app-page .entry-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 38px 42px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
    word-break: break-word;
}

/* Headings within content (Single Apps & Legal/Info Pages) */
.single-app-page .entry-content h2,
.single-app-page .entry-content .wp-block-heading:is(h2),
.legal-page-card .legal-content-body h2,
.legal-content-body h2 {
    font-size: 20px;
    font-weight: 750;
    color: #0f172a;
    margin: 34px 0 18px;
    padding: 12px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4.5px solid #10b981;
    border-radius: 12px;
    line-height: 1.35;
    letter-spacing: -0.3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: block;
}

.single-app-page .entry-content > h2:first-child,
.single-app-page .entry-content > .wp-block-heading:first-child,
.legal-page-card .legal-content-body > h2:first-child,
.legal-content-body > h2:first-child {
    margin-top: 0;
}

.single-app-page .entry-content h3,
.single-app-page .entry-content .wp-block-heading:is(h3),
.legal-page-card .legal-content-body h3,
.legal-content-body h3 {
    font-size: 17.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.single-app-page .entry-content h3::after,
.single-app-page .entry-content .wp-block-heading:is(h3)::after,
.legal-page-card .legal-content-body h3::after,
.legal-content-body h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 44px;
    height: 2px;
    background: #10b981;
    border-radius: 2px;
}

/* Exempt member name in team card from article h3 styles */
.team-card h3,
.team-card .team-card-name {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}
.team-card h3::after,
.team-card .team-card-name::after {
    display: none !important;
}

.single-app-page .entry-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin: 20px 0 10px;
}

/* Paragraphs & Text */
.single-app-page .entry-content p,
.single-app-page .entry-content .wp-block-paragraph {
    margin-bottom: 20px;
    color: #334155;
    font-size: 16px;
    line-height: 1.85;
}

.single-app-page .entry-content strong,
.single-app-page .entry-content b {
    color: #0f172a;
    font-weight: 600;
}

/* Links inside article */
.single-app-page .entry-content a {
    color: #059669;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.single-app-page .entry-content a:hover {
    color: #047857;
    text-decoration-color: #047857;
}

/* Lists styling */
.single-app-page .entry-content ul,
.single-app-page .entry-content .wp-block-list:not(ol) {
    margin: 16px 0 24px;
    padding-left: 0;
    list-style: none;
}

.single-app-page .entry-content ul li,
.single-app-page .entry-content .wp-block-list:not(ol) li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 15.5px;
    line-height: 1.75;
    color: #334155;
}

.single-app-page .entry-content ul li::before,
.single-app-page .entry-content .wp-block-list:not(ol) li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.single-app-page .entry-content ol {
    margin: 16px 0 24px;
    padding-left: 22px;
}

.single-app-page .entry-content ol li {
    margin-bottom: 10px;
    font-size: 15.5px;
    line-height: 1.75;
    color: #334155;
    padding-left: 4px;
}

.single-app-page .entry-content ol li::marker {
    color: #10b981;
    font-weight: 700;
}

/* Images & Figures */
.single-app-page .entry-content figure,
.single-app-page .entry-content .wp-block-image {
    margin: 26px 0;
    text-align: center;
}

.single-app-page .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

/* Modern tables in article (e.g. specs table, pros & cons) */
.single-app-page .entry-content table {
    width: 100%;
    margin: 25px 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.single-app-page .entry-content table th {
    background: #f8fafc;
    padding: 13px 18px;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}
.single-app-page .entry-content table td {
    padding: 13px 18px;
    font-size: 14.5px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}
.single-app-page .entry-content table tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   Compact "Closed Container" App Page (860px max-width)
   ========================================================================== */

.compact-post-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 12px 18px 45px;
}

/* Breadcrumbs */
.compact-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}
.compact-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}
.compact-breadcrumbs a:hover {
    color: #10b981;
}
.compact-breadcrumbs .sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    user-select: none;
}
.compact-breadcrumbs .sep svg {
    color: #10b981 !important;
    stroke: #10b981 !important;
    flex-shrink: 0;
}
.compact-breadcrumbs .crumb-current {
    color: #0f172a;
    font-weight: 600;
    max-width: 380px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Editorial Trust & Source Meta Bar (Outside Container, Strictly 1 Row Across All Devices) */
.app-post-trust-bar-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 18px;
    width: 100%;
    max-width: 100%;
}

.app-post-trust-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 7px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    text-align: center;
    max-width: 100%;
}

.trust-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-meta-item svg {
    color: #10b981 !important;
    stroke: #10b981 !important;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.trust-meta-item strong {
    color: #334155;
    font-weight: 600;
}

.trust-meta-item a.trust-link {
    color: #0f172a;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #cbd5e1;
    text-underline-offset: 3px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.trust-meta-item a.trust-link:hover {
    color: #10b981;
    text-decoration-color: #10b981;
}

.trust-meta-sep {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 400;
    user-select: none;
    flex-shrink: 0;
}

/* Tablet: Sleek 1-row pill */
@media (max-width: 768px) and (min-width: 576px) {
    .app-post-trust-bar-wrap {
        margin-bottom: 16px;
    }
    .app-post-trust-bar {
        gap: 8px 10px;
        font-size: 11.5px;
        padding: 6px 14px;
    }
    .trust-meta-item {
        gap: 4px;
    }
}

/* Mobile: Perfectly Scaled Outside Container So Nothing Cuts Off */
@media (max-width: 575px) {
    .app-post-trust-bar-wrap {
        margin: 0 auto 14px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        padding: 2px 4px;
    }
    .app-post-trust-bar-wrap::-webkit-scrollbar {
        display: none;
    }
    .app-post-trust-bar {
        gap: 5px;
        font-size: clamp(9px, 2.7vw, 11px);
        padding: 5px 10px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    }
    .trust-pub-label {
        display: none; /* drops "Publisher " on mobile to save space */
    }
    .trust-prefix-last {
        display: none; /* drops "Last " on mobile to save space */
    }
    .trust-meta-item {
        gap: 3px;
    }
    .trust-meta-item svg {
        width: 11px;
        height: 11px;
    }
    .trust-meta-sep {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .app-post-trust-bar {
        gap: 3.5px;
        font-size: 8.5px;
        padding: 4px 6px;
    }
    .trust-meta-item svg {
        width: 10px;
        height: 10px;
    }
}

/* ==========================================================================
   Centered App Showcase Section (with dedicated background card)
   ========================================================================== */

.app-showcase-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-bottom: 4.5px solid #10b981;
    border-radius: 20px;
    padding: 34px 28px 30px;
    margin: 10px 0 32px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    text-align: center;
    position: relative;
}

/* 1. Centered Logo / App Icon */
.app-showcase-icon {
    width: 104px;
    height: 104px;
    margin: 0 auto 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-showcase-icon img {
    width: 104px;
    height: 104px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-showcase-icon:hover img {
    transform: scale(1.04);
}

/* 2. Centered App Name (Title) */
.app-showcase-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
.app-showcase-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.4px;
    text-align: center;
}
.compact-badge-apk {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.28);
    text-transform: uppercase;
    line-height: 1.2;
}

/* Centered Meta Chips Row */
.app-showcase-meta-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 18px;
}
.compact-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.2s ease;
}
.compact-meta-chip--version {
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}
.compact-meta-chip--dev {
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}
.compact-meta-chip--rating {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fef3c7;
    font-weight: 700;
}
.compact-meta-chip--rating .rating-count {
    color: #78716c;
    font-weight: 400;
    font-size: 12px;
}
.compact-meta-chip--verified {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-size: 12px;
}

/* App Showcase Byline */
.app-showcase-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 22px;
    font-size: 13.5px;
    color: #64748b;
}
.app-showcase-byline strong {
    color: #0f172a;
    font-weight: 600;
}
.app-showcase-byline .byline-dot {
    color: #cbd5e1;
    font-size: 12px;
}
.app-showcase-byline .byline-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.app-showcase-byline .byline-safe {
    color: #059669;
    font-weight: 600;
}

/* Sleek Semantic Specs Strip (No individual boxes, clean dividers) */
.app-specs-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 12px 24px;
    margin: 0 auto 24px;
    max-width: fit-content;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.spec-strip-item {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
}
.spec-strip-item .spec-val {
    font-weight: 700;
    color: #0f172a;
    font-size: 14.5px;
}
.spec-strip-item a.spec-val {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}
.spec-strip-item a.spec-val:hover {
    color: #10b981;
    text-decoration: underline;
}
.spec-strip-item .spec-val--free {
    color: #059669;
}
.spec-strip-item .spec-lbl {
    color: #64748b;
    font-weight: 500;
    font-size: 13px;
}
.spec-strip-divider {
    width: 1px;
    height: 16px;
    background: #cbd5e1;
    display: inline-block;
    flex-shrink: 0;
}

/* 4. Download Banner inside Showcase Card */
.app-showcase-section .fullwidth-download-banner {
    margin: 0 auto;
    max-width: 640px;
}

/* Notice for Users below hero download button */
.app-hero-safety-notice {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 16px auto 0;
    padding: 10px 16px 10px 10px;
    background: linear-gradient(135deg, #f0fdf4, #f8fafc);
    border: 1px solid #d1fae5;
    border-radius: 14px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    max-width: 560px;
    width: fit-content;
    box-shadow: 0 2px 8px -4px rgba(16, 185, 129, .25);
}

.app-hero-safety-ico {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 10px -3px rgba(16, 185, 129, .5);
}

.app-hero-safety-ico svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: #ffffff;
}

@media (max-width: 600px) {
    .app-hero-safety-notice {
        font-size: 12px;
        padding: 9px 12px 9px 9px;
        gap: 10px;
        width: auto;
    }
}

/* Lead Hook Callout Card */
.lead-hook-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #10b981;
    border-radius: 14px;
    padding: 16px 20px;
    margin: 0 0 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.lead-hook-icon {
    flex-shrink: 0;
    margin-top: 2px;
}
.lead-hook-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: #334155;
    font-weight: 400;
}

/* Full-width download action banner */
.fullwidth-download-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 16px;
    padding: 16px 22px;
    margin: 20px 0 26px;
    box-shadow: 0 10px 28px -4px rgba(16, 185, 129, 0.42), 0 4px 12px rgba(16, 185, 129, 0.2);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.fullwidth-download-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px -4px rgba(16, 185, 129, 0.52), 0 6px 16px rgba(16, 185, 129, 0.3);
}
.fullwidth-download-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: rotate(25deg);
    pointer-events: none;
}
.dl-banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.dl-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease;
}
.fullwidth-download-banner:hover .dl-banner-icon {
    transform: translateY(2px);
}
.dl-banner-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}
.dl-banner-title {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dl-banner-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dl-banner-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.dl-cta-btn {
    background: #ffffff;
    color: #047857;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.fullwidth-download-banner:hover .dl-cta-btn {
    background: #f0fdf4;
    color: #065f46;
    transform: scale(1.03);
}

/* Bottom Quick Download Card */
.bottom-download-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 24px;
    margin: 40px 0 30px;
    text-align: center;
}
.bottom-dl-title {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 20px;
    color: #0f172a;
}
.bottom-dl-desc {
    margin: 0 0 20px;
    font-size: 14px;
    color: #64748b;
}
.bottom-dl-btn {
    margin: 0 auto !important;
    max-width: 480px;
}

@media (max-width: 575px) {
    .compact-post-container {
        padding: 10px 12px 35px;
    }
    .compact-breadcrumbs {
        margin-bottom: 8px;
    }
    .app-showcase-section {
        padding: 24px 14px 22px;
        border-radius: 16px;
        border-bottom-width: 4px;
    }
    .app-showcase-icon,
    .app-showcase-icon img {
        width: 84px;
        height: 84px;
        border-radius: 20px;
    }
    .app-showcase-title {
        font-size: 22px;
    }
    .compact-app-header {
        gap: 14px;
    }
    .compact-app-icon,
    .compact-app-icon img {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }
    .compact-app-title-wrap h1 {
        font-size: 22px;
    }
    .app-specs-strip {
        border-radius: 16px;
        padding: 12px 14px;
        gap: 8px 12px;
        max-width: 100%;
        justify-content: center;
    }
    .spec-strip-item {
        font-size: 13px;
        gap: 5px;
    }
    .spec-strip-item .spec-val {
        font-size: 13.5px;
    }
    .spec-strip-item .spec-lbl {
        font-size: 12px;
    }
    .spec-strip-divider {
        height: 12px;
    }
    .fullwidth-download-banner {
        padding: 14px 16px;
        gap: 12px;
        border-radius: 14px;
    }
    .dl-banner-icon {
        width: 42px;
        height: 42px;
    }
    .dl-banner-title {
        font-size: 16px;
    }
    .dl-banner-sub {
        font-size: 12px;
    }
    .dl-banner-cta {
        display: none;
    }
    .content-sticky-nav-wrapper {
        margin-bottom: 16px;
    }
    .content-sticky-nav {
        border-radius: 12px;
        padding: 6px 10px;
    }
    .sticky-nav-label span {
        display: none;
    }
    .sticky-nav-pill {
        font-size: 12px;
        padding: 5px 11px;
    }
    .single-app-page .entry-content {
        padding: 24px 18px;
        border-radius: 18px;
        font-size: 15px;
        line-height: 1.8;
    }
    .single-app-page .entry-content h2,
    .single-app-page .entry-content .wp-block-heading:is(h2),
    .legal-content-body h2 {
        font-size: 18px;
        margin: 26px 0 14px;
        padding: 10px 14px;
        border-radius: 10px;
        border-left-width: 4px;
    }
    .single-app-page .entry-content h3,
    .single-app-page .entry-content .wp-block-heading:is(h3),
    .legal-content-body h3 {
        font-size: 16px;
        margin: 22px 0 10px;
        padding-bottom: 6px;
    }
    .single-app-page .entry-content p,
    .single-app-page .entry-content .wp-block-paragraph {
        font-size: 15px;
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   MODERN HOMEPAGE UI (Inspired by LatestModApks & GetModsApk)
   ========================================================================== */

/* Modern Hero Section */
.modern-home-hero {
    background: #0d0d0f;
    color: #ffffff;
    border-radius: 16px;
    padding: 38px 28px 32px;
    margin: 15px auto 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.modern-home-hero h1 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}
.modern-home-hero p.hero-sub {
    font-size: 14px;
    color: #a1a1aa;
    margin: 0 auto 22px;
    max-width: 580px;
    line-height: 1.5;
}

/* Live Search Container */
.hero-search-wrapper {
    max-width: 540px;
    margin: 0 auto 18px;
    position: relative;
}
.hero-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 5px 8px 5px 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.hero-search-bar svg {
    flex-shrink: 0;
    color: #71717a;
}
.hero-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 15px;
    color: #111;
    background: transparent;
}
.hero-search-bar button {
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 9px 22px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.hero-search-bar button:hover {
    background: #27272a;
}

/* Instant Search Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    max-height: 380px;
    overflow-y: auto;
    z-index: 1000;
    text-align: left;
    display: none;
    padding: 8px 0;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    text-decoration: none !important;
    color: #111;
    border-bottom: 1px solid #f4f4f5;
    transition: background 0.15s;
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-item:hover {
    background: #f8fafc;
}
.search-result-item img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}
.search-result-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #111;
}
.search-result-info span {
    font-size: 12px;
    color: #71717a;
}

/* Trending Chips */
.hero-trending-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    color: #a1a1aa;
}
.hero-trending-chips .trend-label {
    font-weight: 600;
    color: #e4e4e7;
}
.hero-trending-chips a {
    background: rgba(255, 255, 255, 0.1);
    color: #f4f4f5 !important;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-trending-chips a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

/* Spotlight / Featured Carousel Section */
.section-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 25px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}
.section-headline h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-headline a.view-all-link {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.section-headline a.view-all-link:hover {
    text-decoration: underline;
}

/* Spotlight Grid */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 30px;
}
.spotlight-card {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.spotlight-card:hover {
    transform: translateY(-2px);
    border-color: #111;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.spotlight-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.spotlight-content {
    flex: 1;
    min-width: 0;
}
.spotlight-content h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: #111;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spotlight-content .spotlight-meta {
    font-size: 12px;
    color: #71717a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.spotlight-content .spotlight-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
    color: #f59e0b;
}

/* Category Filter Tabs Bar */
.category-filter-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 15px 0 22px;
}
.cat-pill-btn {
    background: #f4f4f5;
    color: #3f3f46;
    border: 1px solid #e4e4e7;
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.cat-pill-btn:hover {
    background: #e4e4e7;
    color: #18181b;
}
.cat-pill-btn.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Modern App Cards Grid (Clean balanced columns with auto-stretch) */
.modern-app-cards-grid,
.modern-apps-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 35px;
    align-items: stretch;
}
@media (max-width: 1200px) {
    .modern-app-cards-grid,
    .modern-apps-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 14px;
    }
}
@media (max-width: 991px) {
    .modern-app-cards-grid,
    .modern-apps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}
@media (max-width: 768px) {
    .modern-app-cards-grid,
    .modern-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}
@media (max-width: 500px) {
    .modern-app-cards-grid,
    .modern-apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Modern Single Card: Uniform box, generous padding, perfect vertical rhythm */
.modern-app-item {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.modern-app-item:hover {
    transform: translateY(-3px);
    border-color: #111;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

/* Fixed 1:1 Square Logo Box with Smooth Rounded Corners */
.modern-app-thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 12px;
    border-radius: 14px;
    overflow: hidden;
    background: #f4f4f5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}
.modern-app-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* Pill Ribbon on Logo */
.modern-badge-pill {
    position: absolute;
    top: 7px;
    left: 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    z-index: 2;
}
.badge-game {
    background: #10b981;
}
.badge-mod {
    background: #059669;
}

/* Fixed 2-Line Title for 100% Horizontal Alignment Across All Cards */
.modern-app-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
    height: 38px;
    line-height: 19px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Version & Size Meta Line */
.modern-app-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #71717a;
    margin-bottom: 12px;
    gap: 6px;
    height: 22px;
}
.modern-app-ver {
    color: #111;
    font-weight: 600;
    background: #f4f4f5;
    border: 1px solid #e5e7eb;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.modern-app-size {
    color: #71717a;
    font-weight: 500;
    font-size: 11.5px;
    white-space: nowrap;
}

/* Consistent Solid Pill Download Button on ALL Cards */
.modern-app-item-btn {
    background: #10b981;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-align: center;
    padding: 8px 12px;
    border-radius: 999px;
    margin-top: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
    border: none;
}
.modern-app-item:hover .modern-app-item-btn {
    background: #059669;
}

/* Trust / Feature Pillars Section */
.trust-pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 40px 0 25px;
}
@media (max-width: 768px) {
    .trust-pillars-row {
        grid-template-columns: 1fr;
    }
}
.trust-pillar-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}
.trust-pillar-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.trust-pillar-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px;
}
.trust-pillar-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Getmodsapk-Style Horizontal 3-Section Catalog Layout
   ========================================================================== */
.getmod-section {
    margin: 36px 0 32px;
}

.getmod-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 0 2px;
}

.getmod-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.getmod-section-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.getmod-section-icon,
.getmod-section-icon.icon-purple,
.getmod-section-icon.icon-red,
.getmod-section-icon.icon-blue,
.getmod-section-icon.icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.getmod-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
    font-family: 'Poppins', sans-serif;
}

.getmod-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #10b981;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 9999px;
    text-decoration: none !important;
    border: 1.5px solid #10b981;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    font-family: 'Poppins', sans-serif;
    user-select: none;
}

.getmod-view-all-btn:hover {
    background: #059669;
    border-color: #059669;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.38);
}

/* 3-Column Responsive Grid */
.getmod-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 991px) {
    .getmod-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .getmod-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .getmod-section-title {
        font-size: 19px;
    }
    .getmod-view-all-btn {
        padding: 5px 14px;
        font-size: 12.5px;
    }
}

/* Horizontal Card Structure */
.getmod-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px solid #eef2f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    text-decoration: none !important;
    color: inherit;
    height: 94px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}

.getmod-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
    text-decoration: none !important;
}

/* Card Left Thumbnail */
.getmod-thumb-box {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.getmod-thumb-img {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
    display: block;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.getmod-pill-badge {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 800;
    padding: 1.5px 6.5px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
}

.getmod-pill-badge.is-mod,
.getmod-pill-badge.is-game {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.35);
}

.getmod-corner-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 2;
}

.getmod-corner-badge.corner-sync {
    background: #000000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.getmod-corner-badge.corner-star {
    background: #000000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* Card Right Details */
.getmod-info-box {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.getmod-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.getmod-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    font-family: 'Poppins', sans-serif;
}

.getmod-status-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    flex-shrink: 0;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.getmod-status-tag.new,
.getmod-status-tag.latest,
.getmod-status-tag.updated {
    background: #10b981;
    color: #ffffff;
    border: 1px solid #10b981;
}

.getmod-info-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.getmod-cat {
    color: #64748b;
}

.getmod-size {
    color: #64748b;
}

.getmod-info-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Poppins', sans-serif;
}

.getmod-version {
    color: #64748b;
    font-weight: 500;
    flex-shrink: 0;
}

.getmod-feature {
    color: #059669;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.getmod-dot {
    display: inline-block;
    width: 4.5px;
    height: 4.5px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
}

/* Extra items toggleable via View All */
.getmod-card-extra {
    display: none;
}

.getmod-cards-grid.is-expanded .getmod-card-extra {
    display: flex !important;
}
/* ---- Larger, roomier cards ---- */
.getmod-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.getmod-card { height: auto; min-height: 112px; padding: 14px 16px; gap: 14px; border-radius: 18px; }
.getmod-thumb-box,
.getmod-thumb-img { width: 76px; height: 76px; }
.getmod-thumb-img { border-radius: 16px; }
.getmod-pill-badge { font-size: 10px; padding: 2px 9px; bottom: -7px; }
.getmod-info-box { gap: 5px; }
.getmod-title { font-size: 15.5px; }
.getmod-status-tag { font-size: 10.5px; padding: 3px 8px; }
.getmod-info-meta { font-size: 13px; gap: 10px; white-space: nowrap; overflow: hidden; }
.getmod-cat { overflow: hidden; text-overflow: ellipsis; }
.getmod-size { flex-shrink: 0; }
.getmod-info-footer { font-size: 12.5px; gap: 7px; }
.getmod-dot { width: 6px; height: 6px; }
@media (max-width: 991px) {
    .getmod-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .getmod-cards-grid { grid-template-columns: 1fr; gap: 12px; }
    .getmod-card { min-height: 108px; padding: 14px 16px; gap: 16px; }
    .getmod-thumb-box, .getmod-thumb-img { width: 76px; height: 76px; }
    .getmod-title { font-size: 16px; }
}


/* ---- Featured Spotlight v2 (White Background Theme) ---- */
.spot2 {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px 0 26px;
    margin: 26px 0 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    font-family: 'Poppins', sans-serif;
}
.spot2::before {
    content: "";
    position: absolute;
    top: -110px; left: -60px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.09), transparent 70%);
    pointer-events: none;
}
.spot2-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    margin-bottom: 18px;
    position: relative;
}
.spot2-title-wrap { display: flex; align-items: center; gap: 14px; }
.spot2-title-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.spot2-title { margin: 0; font-size: 21px; font-weight: 700; color: #0f172a; line-height: 1.2; }
.spot2-sub { margin: 3px 0 0; font-size: 13px; color: #64748b; }

/* Auto-scrolling marquee */
.spot2-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.spot2-track {
    display: flex;
    gap: 14px;
    width: max-content;
    padding: 6px 0;
    animation: spot2-scroll 32s linear infinite;
}
@keyframes spot2-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - 7px)); }
}
@media (prefers-reduced-motion: reduce) {
    .spot2-track { animation: none; }
    .spot2-marquee { overflow-x: auto; }
}

/* Wide "ticket" cards with clean light styling */
.spot2-card {
    flex: 0 0 310px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    overflow: hidden;
    text-decoration: none !important;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: all 0.22s ease;
}
.spot2-bg {
    display: none !important;
}
.spot2-card::after {
    display: none !important;
}
.spot2-logo, .spot2-body, .spot2-go { position: relative; z-index: 1; }
.spot2-logo {
    width: 80px; height: 80px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.spot2-body { flex: 1; min-width: 0; }
.spot2-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.spot2-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(16,185,129,0.3);
}
.spot2-tag {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.spot2-name {
    margin: 0 0 7px;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a, #64748b);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spot2-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #64748b; }
.spot2-rating {
    display: inline-flex; align-items: center; gap: 4px;
    background: #f1f5f9; color: #1e293b;
    padding: 2px 8px; border-radius: 6px; font-weight: 600;
    border: 1px solid #e2e8f0;
}
.spot2-rating svg { color: #f59e0b; }
.spot2-size {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-weight: 500;
    font-size: 11px;
    line-height: 1;
}
.spot2-size::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><rect x=%222%22 y=%222%22 width=%2220%22 height=%2220%22 fill=%22none%22 stroke=%22%2364748b%22 stroke-width=%222%22/></svg>') center/contain no-repeat;
    margin-right: 2px;
}
.spot2-go {
    width: 36px; height: 36px; border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: 1px solid #10b981;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}
.spot2-go:hover {
    background: linear-gradient(135deg, #059669, #10b981);
    transform: translateY(-1px);
}
.spot2-go svg {
    fill: currentColor;
    width: 16px; height: 16px;
}
.spot2-card:hover {
    background: #ffffff;
    border-color: #10b981;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.14);
    transform: translateY(-2px);
}
.spot2-card:hover .spot2-go {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}
@media (max-width: 600px) {
    .spot2 { padding: 18px 0 20px; border-radius: 14px; }
    .spot2-head { padding: 0 16px; margin-bottom: 14px; }
    .spot2-title { font-size: 18px; }
    .spot2-card { flex-basis: 270px; padding: 12px; }
    .spot2-logo { width: 68px; height: 68px; border-radius: 12px; }
    .spot2-name { font-size: 14.5px; }
}

/* ---- Status tags: NEW / LATEST / UPDATED (ribbon on logo corner) ---- */
.getmod-status-tag {
    position: absolute;
    top: -7px;
    left: -7px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
    padding: 4px 7px 4px 6px;
    border-radius: 8px 8px 8px 2px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.getmod-status-tag.new     { background: #10b981; color: #ffffff; }
.getmod-status-tag.latest  { background: #10b981; color: #ffffff; }
.getmod-status-tag.updated { background: #059669; color: #ffffff; }
.getmod-section-icon.icon-green { background: linear-gradient(135deg, #10b981, #059669); color: #ffffff; }
.getmod-section-sub { margin: 2px 0 0; font-size: 12.5px; color: #64748b; font-family: 'Poppins', sans-serif; }

/* Featured Spotlight: hover pause and smooth transitions */
.spot2-bg, .spot2-card::after { display: none !important; }
.spot2-marquee:hover .spot2-track,
.spot2-track:hover,
.spot2-track.is-paused { animation-play-state: paused !important; }

/* ---- Hero v2 ---- */
.modern-home-hero {
    background:
        radial-gradient(ellipse 60% 80% at 20% 0%, rgba(16, 185, 129, 0.22), transparent 60%),
        radial-gradient(ellipse 50% 70% at 85% 100%, rgba(16, 185, 129, 0.08), transparent 60%),
        #0b0f0e;
    padding: 46px 28px 30px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 18px;
}
.modern-home-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}
.modern-home-hero > * { position: relative; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
    color: #e4e4e7;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 14px; border-radius: 999px;
    margin-bottom: 18px;
}
.hero-eyebrow svg { color: #10b981; }
.modern-home-hero h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 0 0 12px;
}
.hero-accent {
    color: #10b981;
}
.modern-home-hero p.hero-sub {
    font-size: 15px;
    max-width: 620px;
    margin: 0 auto 20px;
    color: #a1a1aa;
}

.hero-stats {
    list-style: none;
    margin: 18px auto 0;
    padding: 16px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 720px;
}
.hero-stats li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
    margin: 0;
}
.hero-stats li svg { color: #10b981; flex-shrink: 0; }
.hero-stats strong { color: #fff; font-weight: 700; }

/* Standalone Quick Category Filter Bar */
.quick-category-bar-wrapper {
    margin: 0 auto 24px;
    max-width: 1200px;
}

.quick-category-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow-x: auto;
    scrollbar-width: none;
}
.quick-category-bar::-webkit-scrollbar {
    display: none;
}

.quick-category-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    padding-right: 4px;
}
.quick-category-label svg {
    color: #10b981;
}

.quick-category-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.hero-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
    flex-shrink: 0;
}

.hero-cat-pill svg {
    color: #10b981;
    flex-shrink: 0;
}

.hero-cat-pill:hover {
    background: #ffffff;
    border-color: #10b981;
    color: #059669;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.hero-cat-pill.is-active {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.hero-cat-pill.is-active svg {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .quick-category-bar {
        padding: 8px 12px;
        gap: 8px;
    }
    .hero-cat-pill {
        padding: 7px 13px;
        font-size: 12.5px;
    }
}
@media (max-width: 600px) {
    .modern-home-hero { padding: 32px 16px 22px; }
    .modern-home-hero h1 { font-size: 28px; }
    .hero-stats { gap: 10px 22px; }
}

/* ==========================================================================
   Modern Unique Header & Navigation
   ========================================================================== */
.site-header--modern {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 70px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    z-index: 1000 !important;
    padding: 0 !important;
    display: block !important;
}

.site-header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo */
.site-header__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Actions & Header Icon Buttons */
.site-header__mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

.site-header__icon-btn,
#openNav,
#mobileSearchToggle,
.site-header__burger,
.site-header__mobile-search-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.18s ease !important;
    max-width: 40px !important;
    font-size: 0 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.site-header__icon-btn svg,
#openNav svg,
#mobileSearchToggle svg,
.site-header__burger svg,
.site-header__mobile-search-btn svg {
    display: block !important;
    stroke: #0f172a !important;
    color: #0f172a !important;
    transition: stroke 0.18s ease, transform 0.18s ease !important;
}

.site-header__icon-btn:hover,
.site-header__icon-btn:focus,
#openNav:hover,
#openNav:focus,
#mobileSearchToggle:hover,
#mobileSearchToggle:focus,
.site-header__burger:hover,
.site-header__burger:focus,
.site-header__mobile-search-btn:hover,
.site-header__mobile-search-btn:focus {
    background: #ecfdf5 !important;
    border-color: #10b981 !important;
    color: #10b981 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15) !important;
}

.site-header__icon-btn:hover svg,
.site-header__icon-btn:focus svg,
#openNav:hover svg,
#openNav:focus svg,
#mobileSearchToggle:hover svg,
#mobileSearchToggle:focus svg,
.site-header__burger:hover svg,
.site-header__burger:focus svg,
.site-header__mobile-search-btn:hover svg,
.site-header__mobile-search-btn:focus svg {
    stroke: #10b981 !important;
    color: #10b981 !important;
}

#mobileSearchToggle .mobile-search-icon-close,
.site-header__mobile-search-btn .mobile-search-icon-close {
    display: none !important;
}

#mobileSearchToggle.is-active,
.site-header__mobile-search-btn.is-active {
    background: #ecfdf5 !important;
    border-color: #10b981 !important;
    color: #10b981 !important;
}

#mobileSearchToggle.is-active .mobile-search-icon-search,
.site-header__mobile-search-btn.is-active .mobile-search-icon-search {
    display: none !important;
}

#mobileSearchToggle.is-active .mobile-search-icon-close,
.site-header__mobile-search-btn.is-active .mobile-search-icon-close {
    display: block !important;
    stroke: #10b981 !important;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.site-header__logo-img {
    height: 35px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
    transition: transform 0.18s ease;
}

.site-header__brand:hover .site-header__logo-img {
    transform: scale(1.02);
}

.site-header__logo-img--drawer {
    height: 30px;
    max-width: 145px;
}

.site-header__logo-img--footer {
    height: 40px;
    max-width: 195px;
    margin: 0 auto;
}

.site-header__brand-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    flex-shrink: 0;
}

.site-header__brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
    display: flex;
    align-items: baseline;
}

.brand-text-dark {
    color: #0f172a;
}

.brand-text-red {
    color: #10b981;
}

.brand-text-dot {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    margin-left: 2px;
    letter-spacing: 0;
}

/* Desktop Navigation */
.site-header__nav {
    display: block;
}

.site-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header__menu-item {
    margin: 0;
    padding: 0;
    position: relative;
}

.site-header__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    background: transparent !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #334155 !important;
    text-decoration: none !important;
    position: relative;
    transition: color 0.18s ease;
}

/* Icons have the main brand color */
.site-header__link-icon {
    display: flex;
    align-items: center;
    color: #10b981;
    transition: transform 0.18s ease;
}

.site-header__link:hover {
    color: #10b981 !important;
    background: transparent !important;
}

.site-header__link:hover .site-header__link-icon {
    transform: translateY(-1px);
}

.site-header__menu-item.is-active .site-header__link {
    color: #10b981 !important;
    background: transparent !important;
}

.site-header__menu-item.is-active .site-header__link-icon {
    color: #10b981;
}

/* Subtle clean underline indicator for active/hover */
.site-header__link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #10b981;
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-header__link:hover::after,
.site-header__menu-item.is-active .site-header__link::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Desktop Header Dropdowns */
.dropdown-chevron {
    margin-left: 2px;
    color: #94a3b8;
    transition: transform 0.22s ease, color 0.18s ease;
}

.site-header__menu-item:hover .dropdown-chevron,
.site-header__menu-item.is-active .dropdown-chevron {
    color: #10b981;
}

.site-header__menu-item:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.site-header__dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
    padding: 6px;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
    pointer-events: none;
}

/* Invisible bridge so cursor doesn't lose hover */
.site-header__dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.site-header__menu-item:hover .site-header__dropdown,
.site-header__menu-item:focus-within .site-header__dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.site-header__dropdown-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__dropdown-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background 0.16s ease, color 0.16s ease, padding-left 0.16s ease;
}

.site-header__dropdown-link:hover {
    background: #ecfdf5 !important;
    color: #10b981 !important;
    font-weight: 600;
    padding-left: 15px;
}

.site-header__dropdown-item.is-active .site-header__dropdown-link {
    background: #ecfdf5 !important;
    color: #10b981 !important;
    font-weight: 600;
}

/* Modern Inline Header Search Bar */
.site-header__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header__search-form {
    position: relative;
    margin: 0;
}

.site-header__search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px 5px 4px 14px;
    width: 270px;
    transition: all 0.2s ease;
}

.site-header__search-wrap:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.site-header__search-wrap:focus-within {
    border-color: #10b981;
    background: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.16), 0 4px 14px rgba(16, 185, 129, 0.08);
}

.header-search-svg {
    color: #94a3b8;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.site-header__search-wrap:focus-within .header-search-svg {
    color: #10b981;
}

.site-header__search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    color: #0f172a;
    min-width: 0;
    padding: 3px 0;
}

.site-header__search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.site-header__search-submit {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #10b981;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s, transform 0.18s;
}

.site-header__search-submit:hover {
    background: #059669;
    transform: scale(1.06);
}

/* Header Live Results Dropdown attached directly beneath search bar */
.site-header__search-form .header-live-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 370px;
    max-width: 92vw;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 18px 40px -4px rgba(15, 23, 42, 0.18);
    z-index: 1100;
    display: none;
    overflow: hidden;
}

/* Slide-down Mobile Search Panel */
.mobile-search-panel {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12);
    padding: 10px 16px 12px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.mobile-search-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-search-panel__container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.mobile-search-panel__form {
    position: relative;
    margin: 0;
}

.mobile-search-panel__input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 999px;
    padding: 6px 6px 6px 16px;
    transition: all 0.2s ease;
}

.mobile-search-panel__input-wrap:focus-within {
    background: #ffffff;
    border-color: #10b981;
    box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.16), 0 4px 12px rgba(16, 185, 129, 0.08);
}

.mobile-search-panel__svg {
    color: #94a3b8;
    flex-shrink: 0;
    transition: color 0.18s ease;
}

.mobile-search-panel__input-wrap:focus-within .mobile-search-panel__svg {
    color: #10b981;
}

.mobile-search-panel__input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #0f172a;
    min-width: 0;
    padding: 4px 0;
}

.mobile-search-panel__input::placeholder {
    color: #94a3b8;
    font-size: 13.5px;
}

.mobile-search-panel__submit {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #10b981;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s, transform 0.18s;
}

.mobile-search-panel__submit:hover {
    background: #059669;
    transform: scale(1.05);
}

.mobile-live-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.18);
    z-index: 1100;
    display: none;
    overflow: hidden;
    max-height: 380px;
    overflow-y: auto;
}

/* Mobile Drawer Search Box */
.site-drawer__search-box {
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.drawer-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 8px 6px 12px;
    transition: border-color 0.2s, background 0.2s;
}

.drawer-search-form:focus-within {
    border-color: #10b981;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.drawer-search-icon {
    color: #94a3b8;
    flex-shrink: 0;
}

.drawer-search-form:focus-within .drawer-search-icon {
    color: #10b981;
}

.drawer-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    color: #0f172a;
    min-width: 0;
}

.drawer-search-input::placeholder {
    color: #94a3b8;
}

.drawer-search-submit {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #10b981;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s;
}

.drawer-search-submit:hover {
    background: #059669;
}

/* Mobile Drawer & Overlay */
.sidenav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sidenav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.site-drawer {
    position: fixed !important;
    top: 0 !important;
    left: -320px !important;
    width: 300px !important;
    height: 100% !important;
    background: #ffffff !important;
    z-index: 1050 !important;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.12) !important;
    transition: left 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 20px !important;
    overflow-y: auto !important;
    display: block !important;
}

.site-drawer.is-open {
    left: 0 !important;
}

.site-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 18px;
}

.site-drawer__close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s;
}

.site-drawer__close:hover {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #10b981;
}

.site-drawer__section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    margin: 16px 0 8px;
    padding-left: 8px;
}

.site-drawer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-drawer__list li {
    margin: 0 0 3px;
    padding: 0;
}

.site-drawer__list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: transparent !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #334155 !important;
    text-decoration: none !important;
    transition: color 0.18s;
}

.site-drawer__list a:hover {
    background: transparent !important;
    color: #10b981 !important;
}

.site-drawer__list li.is-active a {
    background: transparent !important;
    color: #10b981 !important;
}

.drawer-link-icon {
    color: #10b981;
    display: flex;
    align-items: center;
}

.site-drawer__list li.is-active .drawer-link-icon {
    color: #10b981;
}

/* Mobile Drawer Sub-navigation */
.drawer-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.drawer-item-link {
    flex: 1;
}

.drawer-sub-toggle {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    margin-left: 6px;
    flex-shrink: 0;
}

.drawer-sub-toggle:hover {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #10b981;
}

.drawer-sub-toggle svg {
    transition: transform 0.22s ease;
}

.has-drawer-sub.is-open .drawer-sub-toggle svg {
    transform: rotate(180deg);
    color: #10b981;
}

.site-drawer__sub-list {
    display: none;
    list-style: none;
    margin: 4px 0 8px 22px;
    padding: 2px 0 2px 10px;
    border-left: 2px solid #e2e8f0;
}

.has-drawer-sub.is-open .site-drawer__sub-list {
    display: block;
}

.site-drawer__sub-list li {
    margin: 2px 0;
}

.site-drawer__sub-list a {
    padding: 6px 10px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    border-radius: 6px !important;
}

.site-drawer__sub-list a:hover {
    color: #10b981 !important;
    background: #ecfdf5 !important;
}

.site-drawer__sub-list li.is-active a {
    color: #10b981 !important;
    background: #ecfdf5 !important;
    font-weight: 600 !important;
}

.site-drawer__list--secondary a {
    font-size: 13px;
    font-weight: 500;
    color: #64748b !important;
    padding: 8px 12px;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .site-header__mobile-actions,
    .mobile-search-panel {
        display: none !important;
    }
    .site-header__search-form--desktop {
        display: block !important;
    }
}

@media (max-width: 991px) {
    .site-header__nav {
        display: none !important;
    }
    .site-header__search-form--desktop {
        display: none !important;
    }
    .site-header__mobile-actions {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .site-header__container {
        padding: 0 12px !important;
    }
    .site-header__logo-img {
        height: 32px !important;
        max-width: 148px !important;
    }
    .site-header__icon-btn,
    #openNav,
    #mobileSearchToggle,
    .site-header__burger,
    .site-header__mobile-search-btn {
        width: 38px !important;
        height: 38px !important;
        max-width: 38px !important;
    }
    .site-header__mobile-actions {
        gap: 6px !important;
    }
    .mobile-search-panel {
        padding: 8px 12px 10px !important;
    }
    .mobile-search-panel__input {
        font-size: 13px !important;
    }
    .mobile-search-panel__input::placeholder {
        font-size: 12.5px !important;
    }
}

/* ==========================================================================
   Primary Green Palette Overrides: Buttons, Breadcrumbs, and Controls
   ========================================================================== */
.download-btn-page1,
.download-btn-single {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    background-color: #10b981 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 14px 28px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}
.download-btn-page1:hover,
.download-btn-single:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    background-color: #059669 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45) !important;
}

#respond .form-submit input[type="submit"],
.comment-form .submit {
    background: #10b981 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 10px 26px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.18s ease, transform 0.18s ease !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}
#respond .form-submit input[type="submit"]:hover,
.comment-form .submit:hover {
    background: #059669 !important;
    transform: translateY(-1px) !important;
}

.compact-breadcrumbs .breadcrumb-badge {
    background: #10b981 !important;
    color: #ffffff !important;
}

.single-app-page .entry-content h2 {
    border-left-color: #10b981 !important;
}

.spec-badge-card:hover {
    border-color: #10b981 !important;
}

.trust-pillar-icon {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

/* ==========================================================================
   Modern Category & Subcategory Archive Pages
   ========================================================================== */
.modern-category-header {
    margin-bottom: 24px;
}

.category-hero-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.category-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #10b981;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #a7f3d0;
    margin-bottom: 12px;
}

.category-hero-card h1 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.3;
}

.category-hero-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 820px;
}

.subcat-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.subcat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #475569 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.18s ease;
}

.subcat-pill:hover {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #10b981 !important;
    transform: translateY(-1px);
}

.subcat-pill.is-active {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

/* Category Archive Header Elements */
.category-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ecfdf5;
    color: #10b981;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid #a7f3d0;
    margin-bottom: 12px;
}

.category-header-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.category-header-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.3;
}

.category-header-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 820px;
}

.category-subnav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.category-subnav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #475569 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.18s ease;
}

.category-subnav-pill:hover {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #10b981 !important;
    transform: translateY(-1px);
}

.category-subnav-pill.is-active {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.category-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    margin: 30px 0;
}

.category-empty-state svg {
    margin-bottom: 16px;
}

.category-empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.category-empty-state p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

.category-empty-state .btn-theme-emerald {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: #10b981;
    color: #ffffff !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.18s;
}

.category-empty-state .btn-theme-emerald:hover {
    background: #059669;
}

/* ==========================================================================
   Featured Spotlight v3 - Leader + ranked list
   ========================================================================== */
.spot3 { display: grid; grid-template-columns: minmax(280px, 0.9fr) 1.4fr; gap: 18px; padding: 0 22px; }
.spot3-lead {
    position: relative; display: flex; align-items: flex-end; min-height: 100%;
    border-radius: 18px; overflow: hidden; text-decoration: none !important;
    background: #0b0f0e; isolation: isolate;
    box-shadow: 0 14px 34px -12px rgba(15, 23, 42, 0.35);
    transition: transform .25s ease, box-shadow .25s ease;
}
.spot3-lead:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.4); }
.spot3-lead-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) saturate(1.3); opacity: .55; z-index: -2; transform: scale(1.1); }
.spot3-lead-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,15,14,.25) 0%, rgba(11,15,14,.88) 100%); }
.spot3-lead-content { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; width: 100%; }
.spot3-crown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: 1px solid rgba(255,215,0,0.4);
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(251,191,36,0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.spot3-crown:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(251,191,36,0.6);
}
.spot3-crown::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(25deg);
    animation: shine 2s infinite;
}
@keyframes shine {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}
.spot3-lead-logo { width: 84px; height: 84px; border-radius: 20px; object-fit: cover; border: 2px solid rgba(255,255,255,.25); box-shadow: 0 10px 24px rgba(0,0,0,.4); margin-top: 6px; }
.spot3-lead-name { font-size: 24px; font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -.3px; }
.spot3-lead-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.spot3-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #e2e8f0; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); padding: 4px 10px; border-radius: 8px; }
.spot3-chip svg { color: #fbbf24; }
.spot3-lead-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 20px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 6px 16px rgba(16,185,129,.4); }

.spot3-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.spot3-list li { margin: 0; padding: 0; }
.spot3-row {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    text-decoration: none !important; position: relative; overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.spot3-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #10b981;
    border-radius: 4px 0 0 4px; /* curved left side */
    transform: scaleY(0);
    transition: transform .2s;
}
.spot3-row:hover { border-color: #a7f3d0; box-shadow: 0 8px 20px -8px rgba(16,185,129,.35); transform: translateX(2px); }
.spot3-row:hover::before { transform: scaleY(1); }
.spot3-num {
    font-size: 15px;
    font-weight: 800;
    color: #10b981; /* green for items 2‑7 */
    width: 22px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.spot3-row:hover .spot3-num { color: #10b981; }
.spot3-ico { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex-shrink: 0; border: 1px solid #e2e8f0; }
.spot3-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.spot3-name { font-size: 14px; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot3-sub { font-size: 12px; color: #64748b; }
.spot3-rate { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: #b45309; background: #fffbeb; padding: 3px 8px; border-radius: 6px; flex-shrink: 0; }
.spot3-rate svg { color: #f59e0b; }
.spot3-arrow { color: #94a3b8; display: flex; flex-shrink: 0; transition: color .2s, transform .2s; }
.spot3-row:hover .spot3-arrow { color: #10b981; transform: translateX(2px); }

@media (max-width: 900px) {
    .spot3 { grid-template-columns: 1fr; padding: 0 14px; }
    .spot3-lead { min-height: 260px; }
}
@media (max-width: 600px) {
    .spot3-list { grid-template-columns: 1fr; }
    .spot3-rate { display: none; }
}

/* ---- Similar Apps & Games: 2-column grid inside narrow post container ---- */
.similar-apps-section .getmod-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.similar-apps-section .getmod-card { min-height: 104px; padding: 12px 14px; gap: 14px; }
.similar-apps-section .getmod-thumb-box,
.similar-apps-section .getmod-thumb-img { width: 70px; height: 70px; }
.similar-apps-section .getmod-title { font-size: 15px; }
@media (max-width: 640px) {
    .similar-apps-section .getmod-cards-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ==========================================================================
   Modern Comments & Reviews Card (Clean White Theme & Enhanced Spacing)
   ========================================================================== */
.modern-comments-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 32px 38px;
    margin-top: 38px;
    margin-bottom: 25px;
    box-shadow: 0 4px 24px -6px rgba(15, 23, 42, 0.06);
    box-sizing: border-box;
}

.comments-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.comments-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px -4px rgba(16, 185, 129, 0.45);
}

.comments-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

.comments-card-sub {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.required-star {
    color: #ef4444;
    font-weight: 700;
}

.modern-comments-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modern-field-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.modern-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modern-field-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.modern-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin: 0;
    letter-spacing: 0.1px;
}

.modern-input {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    padding: 0 14px;
    font-size: 13.5px;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
}

.modern-input::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

.modern-input:focus {
    background: #ffffff;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.modern-textarea {
    height: auto !important;
    min-height: 110px;
    padding: 12px 14px;
    line-height: 1.55;
    resize: vertical;
}

.modern-action-row {
    margin-top: 4px;
}

.modern-submit-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px -2px rgba(16, 185, 129, 0.45);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shimmer gleam sweep across button */
.modern-submit-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(25deg);
    pointer-events: none;
    transition: none;
}

.modern-submit-btn:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    box-shadow: 0 0 22px rgba(16, 185, 129, 0.5), 0 8px 26px -4px rgba(16, 185, 129, 0.65);
}

.modern-submit-btn:hover::after {
    left: 125%;
    transition: left 0.75s ease-in-out;
}

/* Icon interactive animation */
.modern-submit-btn svg {
    display: block;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modern-submit-btn:hover svg {
    transform: translate(3px, -2px) rotate(-8deg);
}

.modern-submit-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

@media (max-width: 640px) {
    .modern-comments-card {
        padding: 24px 18px 28px;
        border-radius: 16px;
        margin-top: 28px;
    }
    .comments-card-header {
        gap: 12px;
        margin-bottom: 22px;
        padding-bottom: 16px;
    }
    .comments-header-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    .comments-card-title {
        font-size: 18px;
    }
    .modern-comments-form {
        gap: 18px;
    }
    .modern-field-row,
    .modern-field-row-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .modern-submit-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
    }
}

/* ---- Comments Stream & Item Styles ---- */
.modern-comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.modern-comment-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modern-comment-item.is-new {
    animation: cmtHighlight 1.5s ease-out;
}

@keyframes cmtHighlight {
    0% { background: #ecfdf5; border-color: #a7f3d0; transform: translateY(-4px); }
    100% { background: #f8fafc; border-color: #eef2f6; transform: translateY(0); }
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.15);
    user-select: none;
}

.comment-body-wrap {
    flex: 1;
    min-width: 0;
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 6px;
}

.comment-author-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.comment-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 7px;
    border-radius: 6px;
}

.comment-date {
    font-size: 12px;
    color: #94a3b8;
    margin-left: auto;
}

.comment-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #334155;
    word-break: break-word;
}

/* Comments Stream */
.modern-comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.comments-form-wrap {
    padding-top: 0;
}

/* Real-Time Comment Alert Banners */
.comment-alert-box {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 18px;
}

.comment-alert-box.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.comment-alert-box.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.comment-alert-box.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   Modern Download Page Styling & Interactive Banner
   ========================================================================== */
.single-download-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 12px 18px 45px;
}

.dl-action-container {
    margin: 20px auto 26px;
    max-width: 640px;
    width: 100%;
}

.dl-action-container .fullwidth-download-banner {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: none;
    font-family: inherit;
    text-align: left;
    position: relative;
    user-select: none;
}

.dl-banner-countdown {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 10px 24px -4px rgba(5, 150, 105, 0.35);
    cursor: wait !important;
}

.dl-banner-ready {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 12px 30px -4px rgba(16, 185, 129, 0.45), 0 4px 14px rgba(16, 185, 129, 0.25) !important;
    cursor: pointer !important;
    animation: dlPulseReady 2.2s infinite ease-in-out;
}

@keyframes dlPulseReady {
    0%, 100% {
        box-shadow: 0 12px 30px -4px rgba(16, 185, 129, 0.45), 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 14px 34px -4px rgba(16, 185, 129, 0.6), 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.dl-spin-loader {
    animation: dlSpin 1.1s linear infinite;
    display: block;
}

@keyframes dlSpin {
    100% { transform: rotate(360deg); }
}

.dl-banner-loader-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    transition: width 0.35s ease, opacity 0.3s ease;
    border-radius: 0 0 16px 16px;
}

/* Download Guide Container (Matching App Page Content Container) */
.download-guide-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 30px;
    margin: 28px 0 32px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.dl-guide-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.dl-guide-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dl-guide-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.2px;
}

.dl-guide-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.dl-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.dl-step-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.dl-step-item:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.dl-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px -2px rgba(16, 185, 129, 0.4);
}

.dl-step-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}

.dl-step-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.dl-specs-summary-card {
    border-top: 1px solid #f1f5f9;
    padding-top: 22px;
}

.dl-specs-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
}

@media (max-width: 768px) {
    .dl-steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .download-guide-container {
        padding: 24px 18px;
    }
    .dl-guide-title {
        font-size: 17px;
    }
}

/* ==========================================================
   Header Live Search Dropdown & Search Page Styles
   ========================================================== */

/* Header Live Search Dropdown */
.header-search-box__inner {
    position: relative;
}

.header-live-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.15);
    z-index: 1050;
    display: none;
    overflow: hidden;
}

.live-search-list {
    max-height: 380px;
    overflow-y: auto;
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none !important;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item:hover {
    background: #f8fafc;
}

.live-search-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.live-search-info {
    flex: 1;
    min-width: 0;
}

.live-search-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.live-search-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-search-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.4px;
    flex-shrink: 0;
}

.live-search-badge.badge-game {
    background: #fee2e2;
    color: #ef4444;
}

.live-search-badge.badge-mod {
    background: #e0f2fe;
    color: #0284c7;
}

.live-search-meta {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-search-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    color: #10b981 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.live-search-footer:hover {
    background: #f1f5f9;
    color: #059669 !important;
}

.live-search-empty {
    padding: 18px 16px;
    font-size: 13.5px;
    color: #64748b;
    text-align: center;
}

/* Search Page Hero Container */
.search-hero-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px 26px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.search-page-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 6px 8px 6px 16px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.search-page-input-wrap:focus-within {
    border-color: #10b981;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.search-page-icon {
    color: #94a3b8;
    flex-shrink: 0;
}

.search-page-field {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15.5px;
    font-weight: 500;
    color: #0f172a;
}

.search-clear-btn {
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    transition: color 0.15s;
}

.search-clear-btn:hover {
    color: #0f172a;
}

.search-page-submit-btn {
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, transform 0.12s;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.search-page-submit-btn:hover {
    background: #059669;
}

.search-page-submit-btn:active {
    transform: scale(0.98);
}

/* Popular Search Tags Row */
.search-popular-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.popular-tags-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    margin-right: 2px;
}

.popular-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #334155 !important;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 11px;
    border-radius: 999px;
    text-decoration: none !important;
    transition: all 0.18s ease;
    border: 1px solid #e2e8f0;
}

.popular-tag:hover {
    background: #ecfdf5;
    color: #059669 !important;
    border-color: #a7f3d0;
    transform: translateY(-1px);
}

/* Search Results Header */
.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.search-results-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

.search-keyword {
    color: #10b981;
}

.search-results-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.search-count-highlight {
    font-weight: 700;
    color: #0f172a;
}

/* Filter Pills */
.search-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-filter-pill {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    padding: 6px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.search-filter-pill .pill-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    transition: all 0.18s ease;
}

.search-filter-pill:hover {
    border-color: #cbd5e1;
    color: #0f172a;
}

.search-filter-pill.is-active {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.28);
}

.search-filter-pill.is-active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Professional 404 / No Results Found Container */
.search-notfound-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 44px 30px;
    text-align: center;
    box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.search-notfound-visual {
    margin-bottom: 18px;
}

.search-empty-badge {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.18);
    margin-bottom: 12px;
}

.search-empty-code {
    display: inline-block;
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 6px;
}

.search-notfound-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -0.4px;
}

.search-notfound-subtitle {
    font-size: 15px;
    color: #64748b;
    max-width: 620px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.search-suggestions-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 24px;
    max-width: 620px;
    margin: 0 auto 28px;
    text-align: left;
}

.suggestions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 10px;
}

.suggestions-list {
    margin: 0;
    padding-left: 20px;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
}

.suggestions-list li {
    margin-bottom: 4px;
}

.search-action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-search-primary {
    background: #10b981;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.32);
    transition: all 0.18s ease;
}

.btn-search-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

.btn-search-secondary {
    background: #f8fafc;
    color: #334155 !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.18s ease;
}

.btn-search-secondary:hover {
    background: #ffffff;
    border-color: #94a3b8;
    color: #0f172a !important;
    transform: translateY(-1px);
}

/* Fallback Showcase */
.search-fallback-showcase {
    margin-top: 40px;
}

.search-fallback-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.search-fallback-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

.search-fallback-desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.search-fallback-more {
    font-size: 13.5px;
    font-weight: 700;
    color: #10b981 !important;
    text-decoration: none !important;
    transition: color 0.15s;
}

.search-fallback-more:hover {
    color: #059669 !important;
}

@media (max-width: 768px) {
    .search-hero-box {
        padding: 18px 16px;
    }
    .search-page-submit-btn {
        padding: 9px 16px;
        font-size: 13px;
    }
    .search-notfound-card {
        padding: 32px 18px;
    }
    .search-notfound-title {
        font-size: 21px;
    }
    .search-action-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-search-primary,
    .btn-search-secondary {
        width: 100%;
        justify-content: center;
    }
    .search-results-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

