/* === fontawesome.min.css === */
@font-face{font-family:'Font Awesome 6 Free';font-style:normal;font-weight:900;font-display:swap;src:url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2')}
@font-face{font-family:'Font Awesome 6 Free';font-style:normal;font-weight:400;font-display:swap;src:url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.woff2') format('woff2')}
@font-face{font-family:'Font Awesome 6 Brands';font-style:normal;font-weight:400;font-display:swap;src:url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2') format('woff2')}

.fa-solid,.fas{font-family:'Font Awesome 6 Free';font-weight:900;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}
.fa-regular,.far{font-family:'Font Awesome 6 Free';font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}
.fa-brands,.fab{font-family:'Font Awesome 6 Brands';font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}

.fa-bolt::before{content:'\f0e7'}
.fa-gamepad::before{content:'\f11b'}
.fa-shapes::before{content:'\f61f'}
.fa-gift::before{content:'\f06b'}
.fa-newspaper::before{content:'\f1ea'}
.fa-house::before{content:'\f015'}
.fa-magnifying-glass::before{content:'\f002'}
.fa-moon::before{content:'\f186'}
.fa-sun::before{content:'\f185'}
.fa-bars::before{content:'\f0c9'}
.fa-xmark::before{content:'\f00d'}
.fa-download::before{content:'\f019'}
.fa-star::before{content:'\f005'}
.fa-shield-halved::before{content:'\f3ed'}
.fa-circle-check::before{content:'\f058'}
.fa-circle-exclamation::before{content:'\f06a'}
.fa-envelope::before{content:'\f0e0'}
.fa-scale-balanced::before{content:'\f24e'}
.fa-layer-group::before{content:'\f5fd'}
.fa-puzzle-piece::before{content:'\f12e'}
.fa-film::before{content:'\f008'}
.fa-headphones::before{content:'\f025'}
.fa-camera::before{content:'\f030'}
.fa-microchip::before{content:'\f2db'}
.fa-cubes::before{content:'\f1b3'}
.fa-boxes-stacked::before{content:'\f468'}
.fa-filter::before{content:'\f0b0'}
.fa-angle-right::before{content:'\f105'}
.fa-angle-up::before{content:'\f106'}
.fa-flag-checkered::before{content:'\f11e'}
.fa-dice::before{content:'\f522'}
.fa-brain::before{content:'\f5dc'}
.fa-wrench::before{content:'\f0ad'}
.fa-ticket::before{content:'\f145'}
.fa-book-open::before{content:'\f518'}
.fa-gun::before{content:'\e19b'}
.fa-check::before{content:'\f00c'}
.fa-copy::before{content:'\f0c5'}
.fa-share-nodes::before{content:'\f1e0'}
.fa-android::before{content:'\f17b'}
.fa-telegram::before{content:'\f2c6'}
.fa-youtube::before{content:'\f167'}
.fa-twitter::before{content:'\f099'}
.fa-x-twitter::before{content:'\e61b'}
.fa-discord::before{content:'\f392'}
.fa-chevron-right::before{content:'\f054'}
.fa-chevron-down::before{content:'\f078'}
.fa-arrow-down::before{content:'\f063'}
.fa-clock::before{content:'\f017'}
.fa-user::before{content:'\f007'}
.fa-eye::before{content:'\f06e'}
.fa-comment::before{content:'\f075'}

/* === 01-tokens.css === */
/* ═══════════════════════════════════════════════════════════
   01-TOKENS.CSS — CoolModAPK Emerald Glass Design System Tokens
   ══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS — Emerald Glass System
══════════════════════════════════════════════════════════ */
:root {
    /* Colors (Dark Default) */
    --c-bg:          #020617;
    --c-surface:     #0b1326;
    --c-surface-2:   #131c31;
    --c-surface-3:   #1a2540;
    --c-primary:     #00FF66;
    --c-primary-dk:  #00cc52;
    --c-text:        #e2e8f0;
    --c-text-muted:  #94a3b8;
    --c-border:      rgba(255,255,255,0.08);
    --c-border-em:   rgba(0,255,102,0.30);

    /* Glass layers */
    --glass-1: rgba(255,255,255,0.04);
    --glass-2: rgba(255,255,255,0.07);
    --glass-3: rgba(255,255,255,0.11);

    /* Typography */
    --font-ui:   'Hanken Grotesk', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html.light,
html:not(.dark) {
    --c-bg:          #f8fafc;
    --c-surface:     #ffffff;
    --c-surface-2:   #f1f5f9;
    --c-surface-3:   #e2e8f0;
    --c-text:        #0f172a;
    --c-text-muted:  #64748b;
    --c-border:      #e2e8f0;
    --c-border-em:   rgba(16,185,129,0.30);
    --glass-1: rgba(0,0,0,0.02);
    --glass-2: rgba(0,0,0,0.04);
    --glass-3: rgba(0,0,0,0.06);
}


/* === 02-resets.css === */
/* ═══════════════════════════════════════════════════════════
   02-RESETS.CSS — Global Resets, Geometry, Anti-Ribbons & Pure B/W
   ══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   GLOBAL RESETS — override Appyn defaults
══════════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Screen Reader Only Utility */
.sr-only, .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
}

/* Font Awesome 6 Font-Family Protection Override */
.fa, .fas, .fa-solid, .far, .fa-regular, .fab, .fa-brands,
i.fa, i.fas, i.fa-solid, i.far, i.fa-regular, i.fab, i.fa-brands,
span.fa, span.fas, span.fa-solid, span.far, span.fa-regular, span.fab, span.fa-brands {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
}
.fab, .fa-brands, i.fab, i.fa-brands, span.fab, span.fa-brands {
    font-family: 'Font Awesome 6 Brands' !important;
    font-weight: 400 !important;
}

/* WordPress Header & Ticker Alignment Fix - Seamless Top Positioning */
#site-header {
    top: 0 !important;
    width: 100% !important;
}
body.admin-bar #site-header {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar #site-header {
        top: 46px !important;
    }
}

.news-ticker-wrapper {
    top: 64px !important;
}
body.admin-bar .news-ticker-wrapper {
    top: 96px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar .news-ticker-wrapper {
        top: 110px !important;
    }
}

body {
    font-family: var(--font-ui) !important;
    background-color: var(--c-bg) !important;
    color: var(--c-text) !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Eradicate WordPress Core #error-page / install.css 700px max-width constraint */
html, body, body#error-page, #error-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* ═══════════════════════════════════════════════════════════
   SUPPRESS APPYN PARENT HEADER/FOOTER
   (our child theme header.php / footer.php take over)
══════════════════════════════════════════════════════════ */
/* Hide parent theme header elements if they bleed through */
.site-header:not(#site-header),
.main-navigation:not(#site-header nav),
.box-header:not(#site-header),
.nv-navbar:not(#site-header),
.header-main:not(#site-header) {
    display: none !important;
}

/* Hide parent theme footer if it bleeds through */
.site-footer:not(#site-footer),
.footer-widget-area:not(#site-footer),
.box-footer:not(#site-footer) {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-ui) !important;
    color: var(--c-text) !important;
    line-height: 1.25;
}

p, li, td, th, span, label {
    font-family: var(--font-ui) !important;
}

code, pre, kbd, .font-mono {
    font-family: var(--font-mono) !important;
}

a {
    text-decoration: none;
    transition: color 0.15s ease;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
══════════════════════════════════════════════════════════ */

/* Extra top spacing for fixed header on mobile and desktop */
main, #main-content {
    padding-top: 64px !important;
}
body.admin-bar main, body.admin-bar #main-content {
    padding-top: 96px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar main, body.admin-bar #main-content {
        padding-top: 110px !important;
    }
}

/* Ensure heading links inherit header text color */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit !important;
}

/* Appyn sidebar — suppress on mobile */
@media (max-width: 767px) {
    #sidebar,
    .sidebar,
    .widget-area,
    aside.widget-area {
        display: none !important;
    }

    /* Full-width content on mobile */
    #content, .content-area, .entry-content {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }

    /* Smaller headings on mobile */
    h1 { font-size: 26px !important; }
    h2 { font-size: 20px !important; }
    h3 { font-size: 16px !important; }

    /* Tighter padding on mobile */
    .max-w-container-max {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    h1 { font-size: 32px !important; }
}

/* ═══════════════════════════════════════════════════════════
   APPYN — DOWNLOAD PAGE OVERRIDES
══════════════════════════════════════════════════════════ */
/* Kill Appyn's sidebar on single post pages */
.single #sidebar,
.single .widget-area,
.single aside {
    display: none !important;
}

/* Appyn's box_single_app container */
.box_single_app,
#box_single_app {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   STRICT DEDUPLICATION — HIDE PARENT THEME #backtotop & FLOATING BUTTONS
══════════════════════════════════════════════════════ */
#backtotop,
#back-to-top,
.btt,
.scroll-top,
.btt-btn,
div[id*="backtotop"],
button[id*="backtotop"]:not(#cyber-back-to-top),
a[id*="backtotop"],
a[href="#top"]:not(#cyber-back-to-top),
.fa-angle-up:not(#cyber-back-to-top *) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ═══════════════════════════════════════════════════════════
   STRICT DEDUPLICATION — HIDE PARENT THEME .bloque-status CORNER RIBBONS & LAZYLOAD GREEN PLACEHOLDERS
══════════════════════════════════════════════════════ */
img[src*="image-palceholder.png"],
img[data-speedycache-original-src],
.item-app img,
.app-card-premium img {
    background-color: transparent !important;
    background-image: none !important;
}

.bloque-status,
.bloque-status.bs-new,
.bloque-status.bs-update,
.b-type,
.b-mod,
.b-app,
.datatype,
.mod-badge,
.bloq-des,
span.datatype,
span.b-mod,
span.b-app,
div.datatype,
div.b-mod,
.item-app .bloque-status,
.app-card-premium .bloque-status,
.item-box .bloque-status {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: none !important;
    clip: rect(0, 0, 0, 0) !important;
    max-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
}

background-color: /* ═══════════════════════════════════════════════════════════
   3. PURE BLACK & WHITE DARK MODE SYSTEM (ZERO GREY)
   ══════════════════════════════════════════════════════════ */
html.dark,
html.dark body,
body:not(.light-mode) {
    background-color: #000000 !important;
    color: #ffffff !important;
}

html.dark body {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Dark Mode Typography (Pure White & High-Vibrancy Accents) */
html.dark h1, html.dark h2, html.dark h3, html.dark h4, html.dark h5, html.dark h6,
body:not(.light-mode) h1, body:not(.light-mode) h2, body:not(.light-mode) h3, body:not(.light-mode) h4, body:not(.light-mode) h5, body:not(.light-mode) h6 {
    color: #ffffff !important;
}

html.dark p, html.dark li, html.dark span, html.dark label, html.dark strong, html.dark em, html.dark b, html.dark div,
body:not(.light-mode) p, body:not(.light-mode) li, body:not(.light-mode) span, body:not(.light-mode) label, body:not(.light-mode) strong, body:not(.light-mode) em, body:not(.light-mode) b {
    color: #ffffff !important;
}

/* Override all muted slate/grey classes to crisp white in Dark Mode */
html.dark .text-slate-100, html.dark .text-slate-200, html.dark .text-slate-300, html.dark .text-slate-400, html.dark .text-slate-500, html.dark .text-slate-600, html.dark .text-slate-700,
html.dark .text-gray-100, html.dark .text-gray-200, html.dark .text-gray-300, html.dark .text-gray-400, html.dark .text-gray-500, html.dark .text-gray-600, html.dark .text-gray-700,
body:not(.light-mode) .text-slate-100, body:not(.light-mode) .text-slate-200, body:not(.light-mode) .text-slate-300, body:not(.light-mode) .text-slate-400, body:not(.light-mode) .text-slate-500,
body:not(.light-mode) .text-gray-100, body:not(.light-mode) .text-gray-200, body:not(.light-mode) .text-gray-300, body:not(.light-mode) .text-gray-400, body:not(.light-mode) .text-gray-500 {
    color: #ffffff !important;
}

/* Dark Mode Pitch Black Glass & Surfaces */
html.dark .glass-level-1,
html.dark .glass-level-2,
html.dark .glass-level-3,
html.dark .sci-fi-glass,
html.dark .app-content-body,
html.dark .app-s .box,
html.dark .app-p .box,
html.dark .box_single_app,
html.dark .entry.bx-info-install,
body:not(.light-mode) .glass-level-1,
body:not(.light-mode) .glass-level-2,
body:not(.light-mode) .glass-level-3,
body:not(.light-mode) .sci-fi-glass,
body:not(.light-mode) .app-content-body,
body:not(.light-mode) .app-s .box,
body:not(.light-mode) .app-p .box,
body:not(.light-mode) .box_single_app,
body:not(.light-mode) .entry.bx-info-install {
    background: #000000 !important;
    background-color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

html.dark .border-white\/10,
html.dark .border-white\/20,
html.dark .border-slate-800,
html.dark .border-slate-700,
body:not(.light-mode) .border-white\/10,
body:not(.light-mode) .border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ═══════════════════════════════════════════════════════════
   4. PURE BLACK & WHITE LIGHT MODE SYSTEM (ZERO GREY)
   ══════════════════════════════════════════════════════════ */
html.light,
html:not(.dark),
body.light-mode,
html.light body,
html:not(.dark) body {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Light Mode Typography (Pure Solid Black) */
body.light-mode h1, body.light-mode h2, body.light-mode h3, body.light-mode h4, body.light-mode h5, body.light-mode h6,
html.light h1, html.light h2, html.light h3, html.light h4, html.light h5, html.light h6,
html:not(.dark) h1, html:not(.dark) h2, html:not(.dark) h3, html:not(.dark) h4, html:not(.dark) h5, html:not(.dark) h6 {
    color: #000000 !important;
}

body.light-mode p, body.light-mode li, body.light-mode span, body.light-mode label, body.light-mode strong, body.light-mode em, body.light-mode b, body.light-mode div,
html.light p, html.light li, html.light span, html.light label, html.light strong, html.light em, html.light b,
html:not(.dark) p, html:not(.dark) li, html:not(.dark) span, html:not(.dark) label, html:not(.dark) strong, html:not(.dark) em, html:not(.dark) b {
    color: #000000 !important;
}

/* Override all muted slate/grey classes to solid black in Light Mode */
body.light-mode .text-slate-400, body.light-mode .text-slate-300, body.light-mode .text-slate-500, body.light-mode .text-slate-600, body.light-mode .text-slate-700,
html.light .text-slate-400, html.light .text-slate-300, html.light .text-slate-500, html.light .text-slate-600, html.light .text-slate-700,
html:not(.dark) .text-slate-400, html:not(.dark) .text-slate-300, html:not(.dark) .text-slate-500, html:not(.dark) .text-slate-600, html:not(.dark) .text-slate-700,
body.light-mode .text-gray-400, body.light-mode .text-gray-500, body.light-mode .text-gray-600, body.light-mode .text-gray-700,
html.light .text-gray-400, html.light .text-gray-500, html.light .text-gray-600, html.light .text-gray-700,
html:not(.dark) .text-gray-400, html:not(.dark) .text-gray-500, html:not(.dark) .text-gray-600, html:not(.dark) .text-gray-700 {
    color: #000000 !important;
}

/* Light Mode Solid White Surfaces with Crisp Borders */
body.light-mode .glass-level-1,
body.light-mode .glass-level-2,
body.light-mode .glass-level-3,
body.light-mode .sci-fi-glass,
body.light-mode .app-content-body,
body.light-mode .app-s .box,
body.light-mode .app-p .box,
body.light-mode .box_single_app,
body.light-mode .entry.bx-info-install,
html.light .glass-level-1,
html.light .glass-level-2,
html.light .glass-level-3,
html.light .sci-fi-glass,
html.light .app-content-body,
html.light .app-s .box,
html.light .app-p .box,
html.light .box_single_app,
html.light .entry.bx-info-install,
html:not(.dark) .glass-level-1,
html:not(.dark) .glass-level-2,
html:not(.dark) .glass-level-3,
html:not(.dark) .sci-fi-glass {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    color: #000000 !important;
}

body.light-mode .border-white\/10,
body.light-mode .border-white\/20,
body.light-mode .border-slate-200,
body.light-mode .border-slate-300,
html.light .border-white\/10,
html.light .border-white\/20,
html.light .border-slate-200,
html.light .border-slate-300,
html:not(.dark) .border-white\/10,
html:not(.dark) .border-white\/20,
html:not(.dark) .border-slate-200,
html:not(.dark) .border-slate-300 {
    border-color: rgba(0, 0, 0, 0.15) !important;
}

body.light-mode .bg-slate-900\/80,
body.light-mode .bg-slate-900,
body.light-mode .bg-slate-800,
body.light-mode .bg-slate-100,
body.light-mode .bg-slate-50,
body.light-mode .bg-\[\#0b1326\],
body.light-mode .bg-\[\#080e1a\],
html.light .bg-slate-900\/80,
html.light .bg-slate-900,
html.light .bg-slate-800,
html.light .bg-slate-100,
html.light .bg-slate-50,
html.light .bg-\[\#0b1326\],
html.light .bg-\[\#080e1a\],
html:not(.dark) .bg-slate-900\/80,
html:not(.dark) .bg-slate-900,
html:not(.dark) .bg-slate-800,
html:not(.dark) .bg-slate-100,
html:not(.dark) .bg-slate-50,
html:not(.dark) .bg-\[\#0b1326\],
html:not(.dark) .bg-\[\#080e1a\] {
    background-color: #ffffff !important;
}

/* Headers & Footers */
body.light-mode #site-header,
html.light #site-header,
html:not(.dark) #site-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode #site-header a,
html.light #site-header a,
html:not(.dark) #site-header a {
    color: #000000 !important;
}

body.light-mode #site-header a:hover,
html.light #site-header a:hover,
html:not(.dark) #site-header a:hover {
    color: #059669 !important;
}

body.light-mode #site-search-input,
html.light #site-search-input,
html:not(.dark) #site-search-input {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: #000000 !important;
}

body.light-mode footer,
html.light footer,
html:not(.dark) footer,
body.light-mode #site-footer,
html.light #site-footer,
html:not(.dark) #site-footer {
    background-color: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #000000 !important;
}

html.dark footer,
html.dark #site-footer,
body:not(.light-mode) footer,
body:not(.light-mode) #site-footer {
    background-color: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}


/* === 03-utilities.css === */
/* ═══════════════════════════════════════════════════════════
   03-UTILITIES.CSS — Glass Surfaces, Glows, Overlays & Utilities
   ══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   PITCH BLACK TEXT ENFORCEMENT ON ALL BRIGHT CTA BUTTONS
══════════════════════════════════════════════════════════ */
body:not(.light-mode) .item-app div[style*="background"] span,
body:not(.light-mode) .item-app div[style*="background"] i,
body:not(.light-mode) .app-card-premium div[style*="background"] span,
body:not(.light-mode) .app-card-premium div[style*="background"] i,
body:not(.light-mode) .item-app span.text-black,
body:not(.light-mode) .item-app i.text-black,
body:not(.light-mode) span.text-black,
div[style*="background:#00FF66"] span,
div[style*="background:#00FF66"] i,
div[style*="background:#F59E0B"] span,
div[style*="background:#F59E0B"] i,
div[style*="background:#06B6D4"] span,
div[style*="background:#06B6D4"] i,
a[style*="background:#00FF66"],
a[style*="background:#F59E0B"],
a[style*="background:#06B6D4"] {
    color: #000000 !important;
}

/* ═══════════════════════════════════════════════════════════
   GLASS UTILITY CLASSES
══════════════════════════════════════════════════════════ */
.glass-level-1 {
    background: var(--glass-1) !important;
    border: 1px solid var(--c-border) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-level-2 {
    background: var(--glass-2) !important;
    border: 1px solid var(--c-border) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.glass-level-3 {
    background: var(--glass-3) !important;
    border: 1px solid var(--c-border) !important;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.emerald-glow {
    box-shadow: 0 0 24px rgba(78,222,163,0.15), 0 4px 16px rgba(0,0,0,0.4) !important;
}

.glass-header {
    background: rgba(11,19,38,0.88) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid var(--c-border) !important;
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR — Custom dark scrollbar
══════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: rgba(78,222,163,0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(78,222,163,0.5); }

.custom-scrollbar { scrollbar-width: thin; scrollbar-color: rgba(78,222,163,0.3) transparent; }
html.light .custom-scrollbar,
body.light-mode .custom-scrollbar {
    scrollbar-color: rgba(16, 185, 129, 0.4) transparent !important;
}

/* ═══════════════════════════════════════════════════════════
   ULTRA-SPEED RENDERING & FUTURISTIC GRAPHICS ENGINE
══════════════════════════════════════════════════════════ */

/* Hardware Accelerated Smooth Rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Below-the-fold content visibility optimization */
.related-apps-section,
.category-showcase-block,
footer#site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 400px;
}

/* Futuristic Cyber Text Gradient */
.cyber-title-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Futuristic Custom Cyber Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0b1326;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #10b981, #0d9488);
    border-radius: 4px;
    border: 2px solid #0b1326;
}

::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}

html.light #site-footer,
body.light-mode #site-footer {
    background: #0f172a !important;
    color: #94a3b8 !important;
}

html.light #site-footer h4,
body.light-mode #site-footer h4 {
    color: #ffffff !important;
}

html.light #mobile-bottom-nav,
body.light-mode #mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

html.light #drawer-panel,
body.light-mode #drawer-panel {
    background: rgba(255, 255, 255, 0.98) !important;
    border-right-color: rgba(0, 0, 0, 0.08) !important;
}

html.light #drawer-panel a,
body.light-mode #drawer-panel a {
    color: #334155 !important;
}

html.light #drawer-panel a:hover,
body.light-mode #drawer-panel a:hover {
    color: #10b981 !important;
}

html.light #searchModal,
body.light-mode #searchModal {
    background: rgba(15, 23, 42, 0.92) !important;
}

/* ═══════════════════════════════════════════════════════════
   5. BRAND ACCENTS (VIVID EMERALD & CYAN ONLY)
   ══════════════════════════════════════════════════════════ */
.text-brand-primary,
.accent-brand {
    color: #10b981 !important;
}

/* ── Overlays & Header Glass ── */
.theme-bg-overlay {
    background: #000000;
    transition: background 0.2s ease;
}
html.dark .theme-bg-overlay,
body:not(.light-mode) .theme-bg-overlay {
    background: #000000 !important;
}
html.light .theme-bg-overlay,
html:not(.dark) .theme-bg-overlay,
body.light-mode .theme-bg-overlay {
    background: #ffffff !important;
}

.site-header-glass {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
html.dark .site-header-glass,
body:not(.light-mode) .site-header-glass {
    background: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}
html.light .site-header-glass,
html:not(.dark) .site-header-glass,
body.light-mode .site-header-glass {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

html.light .site-header-glass a,
html:not(.dark) .site-header-glass a,
body.light-mode .site-header-glass a {
    color: #000000 !important;
}
html.light .site-header-glass a:hover,
html:not(.dark) .site-header-glass a:hover,
body.light-mode .site-header-glass a:hover {
    color: #059669 !important;
}

/* ═══════════════════════════════════════════════════════════
   TAILWIND GRID & LAYOUT UTILITIES — Required for app card grids
   ══════════════════════════════════════════════════════════ */

/* Base display */
.grid { display: grid; }
.flex { display: flex; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* Grid column templates */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* Colspan */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-9 { grid-column: span 9 / span 9; }
.col-span-12 { grid-column: span 12 / span 12; }
.col-span-full { grid-column: 1 / -1; }

/* Gap */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-y-4 { row-gap: 1rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-6 { row-gap: 1.5rem; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.flex-shrink-0 { flex-shrink: 0; }
.shrink-0 { flex-shrink: 0; }
.grow { flex-grow: 1; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }
.self-stretch { align-self: stretch; }

/* Sizing */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-fit { width: fit-content; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.min-h-0 { min-height: 0; }
.min-w-0 { min-width: 0; }
.max-w-full { max-width: 100%; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.\!max-w-none { max-width: none !important; }
.max-w-\[1280px\] { max-width: 1280px; }

/* Spacing — margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }

/* Spacing — padding */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-20 { padding-top: 5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pr-2 { padding-right: 0.5rem; }
.pl-2 { padding-left: 0.5rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }

/* Colors */
.text-white { color: #fff; }
.text-black { color: #000; }
.text-emerald-400 { color: #34d399; }
.text-emerald-500 { color: #10b981; }
.text-emerald-600 { color: #059669; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-900 { color: #0f172a; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-yellow-400 { color: #facc15; }
.text-red-400 { color: #f87171; }
.text-blue-400 { color: #60a5fa; }
.bg-emerald-500 { background-color: #10b981; }
.bg-emerald-600 { background-color: #059669; }
.bg-emerald-500\/10 { background-color: rgba(16,185,129,0.1); }
.bg-emerald-500\/20 { background-color: rgba(16,185,129,0.2); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.bg-black\/20 { background-color: rgba(0,0,0,0.2); }
.bg-black\/40 { background-color: rgba(0,0,0,0.4); }
.bg-transparent { background-color: transparent; }

/* Border */
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-t { border-top-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-style: solid; }
.border-l { border-left-width: 1px; border-style: solid; }
.border-r { border-right-width: 1px; border-style: solid; }
.border-emerald-500 { border-color: #10b981; }
.border-emerald-500\/30 { border-color: rgba(16,185,129,0.3); }
.border-emerald-500\/20 { border-color: rgba(16,185,129,0.2); }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-white\/20 { border-color: rgba(255,255,255,0.2); }
.dark\:border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-700 { border-color: #334155; }

/* Border radius */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }

/* Z-index */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }
.z-\[100\] { z-index: 100; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-hidden { overflow-y: hidden; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-100 { opacity: 1; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }

/* Object fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }

/* Aspect ratio */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }

/* Transition */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* Ring / Shadow */
.shadow { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }

/* Hover states */
.hover\:border-emerald-500\/30:hover { border-color: rgba(16,185,129,0.3); }
.hover\:bg-emerald-500\/10:hover { background-color: rgba(16,185,129,0.1); }
.hover\:text-emerald-400:hover { color: #34d399; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:opacity-80:hover { opacity: 0.8; }
.group:hover .group-hover\:text-emerald-400 { color: #34d399; }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* Focus */
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(16,185,129,0.5); }

/* Responsive breakpoints */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sm\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .sm\:col-span-6 { grid-column: span 6 / span 6; }
    .sm\:flex { display: flex; }
    .sm\:hidden { display: none; }
    .sm\:block { display: block; }
    .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .sm\:p-5 { padding: 1.25rem; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .md\:col-span-4 { grid-column: span 4 / span 4; }
    .md\:col-span-8 { grid-column: span 8 / span 8; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:flex-row { flex-direction: row; }
    .md\:gap-6 { gap: 1.5rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
    .lg\:col-span-4 { grid-column: span 4 / span 4; }
    .lg\:col-span-5 { grid-column: span 5 / span 5; }
    .lg\:col-span-6 { grid-column: span 6 / span 6; }
    .lg\:col-span-8 { grid-column: span 8 / span 8; }
    .lg\:col-span-9 { grid-column: span 9 / span 9; }
    .lg\:col-span-12 { grid-column: span 12 / span 12; }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:flex-col { flex-direction: column; }
    .lg\:items-start { align-items: flex-start; }
    .lg\:gap-8 { gap: 2rem; }
    .lg\:sticky { position: sticky; }
    .lg\:top-24 { top: 6rem; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:p-6 { padding: 1.5rem; }
    .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .xl\:col-span-9 { grid-column: span 9 / span 9; }
    .xl\:col-span-3 { grid-column: span 3 / span 3; }
    .xl\:px-12 { padding-left: 3rem; padding-right: 3rem; }
}


/* === 04-animations.css === */
/* ═══════════════════════════════════════════════════════════
   04-ANIMATIONS.CSS — Futuristic Cyber Keyframes & Hover Physics
   ══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   ULTRA HIGH PERFORMANCE MOBILE & CORE WEB VITALS OPTIMIZATIONS
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Disable continuous background animations on mobile to guarantee smooth 60fps */
    .futuristic-glow,
    .cyber-btn-shine,
    .cyber-scan-line {
        animation: none !important;
    }
    /* Content visibility for offscreen cards - boosts mobile rendering speed 3x */
    .app-card-premium,
    .item-app {
        content-visibility: auto;
        contain-intrinsic-size: 1px 260px;
    }
    /* Prevent double-tap zoom delay & improve touch responsiveness */
    a, button, input, select {
        touch-action: manipulation !important;
    }
}

/* Kill Appyn's default white backgrounds */
body, #page, #content, #main, .site, .site-content,
.entry-content, .content-area, .primary {
    background: transparent !important;
}

/* Kill Appyn's default container widths that fight ours */
.container, .wrap {
    max-width: 1280px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* ═══════════════════════════════════════════════════════════
   FUTURISTIC MARQUEE & KEYFRAME ANIMATIONS
══════════════════════════════════════════════════════════ */
@keyframes marqueeScroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes pulseEmeraldGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(78, 222, 163, 0.2); }
    50% { box-shadow: 0 0 35px rgba(78, 222, 163, 0.5); }
}

.futuristic-glow {
    animation: pulseEmeraldGlow 4s ease-in-out infinite;
}

/* Card Futuristic Hover Effects */
.app-card-premium,
.glass-level-1,
.glass-level-2 {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.app-card-premium:hover {
    transform: translateY(-4px) scale(1.01) !important;
    border-color: rgba(78, 222, 163, 0.4) !important;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.2) !important;
}

/* Light mode ticker text fix */
html.light .news-ticker-wrapper,
body.light-mode .news-ticker-wrapper {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

html.light .marquee-track,
body.light-mode .marquee-track {
    color: #0f172a !important;
}

/* ═══════════════════════════════════════════════════════════
   ULTRA-FUTURISTIC CYBER-EMERALD DESIGN & ANIMATION SUITE
══════════════════════════════════════════════════════════ */

/* Cyber-Grid Matrix Background Overlay for Dark Mode */
html.dark body {
    background-image: 
        radial-gradient(rgba(78, 222, 163, 0.07) 1px, transparent 1px),
        radial-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px) !important;
    background-size: 32px 32px, 64px 64px !important;
    background-position: 0 0, 16px 16px !important;
}

html:not(.dark) body,
html.light body,
body.light-mode {
    background-image: none !important;
}

/* Neon Cyber Glass Glow Cards */
.glass-level-2,
.glass-level-3 {
    position: relative;
}

.glass-level-2::before,
.glass-level-3::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(78, 222, 163, 0.3), rgba(255, 255, 255, 0.05), rgba(16, 185, 129, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Animated Cyber CTA Shine Sweep */
@keyframes cyberShine {
    0% { transform: translateX(-150%) rotate(25deg); }
    100% { transform: translateX(150%) rotate(25deg); }
}

.bg-gradient-to-r.from-emerald-500 {
    position: relative;
    overflow: hidden;
}

.bg-gradient-to-r.from-emerald-500::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 70%
    );
    transform: rotate(25deg);
    animation: cyberShine 6s infinite;
    pointer-events: none;
}

/* Glowing Neon Text Effect */
.emerald-text-glow {
    text-shadow: 0 0 20px rgba(78, 222, 163, 0.5), 0 0 40px rgba(16, 185, 129, 0.2);
}

/* 3D Cyber Hover Elevation */
.app-card-premium {
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.app-card-premium:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 16px 36px rgba(16, 185, 129, 0.25), 0 0 20px rgba(78, 222, 163, 0.15) !important;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.4s ease both;
}

@keyframes shimmer {
    0%   { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--glass-1) 0%, var(--glass-3) 50%, var(--glass-1) 100%);
    background-size: 1000px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════
   OUT-OF-THE-BOX FUTURISTIC CYBER ANIMATIONS & SCI-FI SUITE
══════════════════════════════════════════════════════════ */

/* Custom Selection Highlight */
::selection {
    background: rgba(16, 185, 129, 0.35) !important;
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.6) !important;
}

/* Cyber Matrix Background Floating Grid (GPU Static Optimized) */
body {
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px) !important;
    background-size: 100% 100%, 100% 100%, 28px 28px !important;
    background-attachment: fixed !important;
}

/* 3D Hologram Tilt & Neon Glow on Hover for All App Cards */
.item-app,
.app-card-premium,
.glass-level-1,
.glass-level-2 {
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease !important;
}

.item-app:hover,
.app-card-premium:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-8px) scale(1.01) !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7),
                0 0 25px rgba(52, 211, 153, 0.2),
                inset 0 0 15px rgba(52, 211, 153, 0.05) !important;
}

/* Animated Cyber Scanner Beam Overlay */
.glass-level-3::after,
.emerald-glow::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, transparent 0%, rgba(52, 211, 153, 0.08) 50%, transparent 100%) !important;
    animation: cyberScan 6s linear infinite !important;
    pointer-events: none !important;
    will-change: transform !important;
}

@keyframes cyberScan {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Pulsing Neon Beacon Badge Effect */
@keyframes cyberBeaconPulse {
    0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.animate-ping {
    animation: cyberBeaconPulse 2s infinite !important;
}

/* Cyber Button Shine Sweeper */
.btn-primary,
.premium-download-btn,
a.btn-dl {
    position: relative !important;
    overflow: hidden !important;
}

.btn-primary::before,
.premium-download-btn::before,
a.btn-dl::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -150% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent) !important;
    transform: skewX(-25deg) !important;
    animation: cyberBtnShine 4s infinite !important;
}

/* ═══════════════════════════════════════════════════════════
   STICKY CYBER NEWS TICKER MARQUEE ANIMATION
══════════════════════════════════════════════════════ */
@keyframes cyberMarquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: inline-flex;
    animation: cyberMarquee 25s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* ═══════════════════════════════════════════════════════════
   CYBER THEME TOGGLE WAVE RIPPLE ANIMATION
══════════════════════════════════════════════════════ */
.cyber-theme-ripple {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(52, 211, 153, 0.1) 70%, transparent 100%) !important;
    pointer-events: none !important;
    z-index: 99999 !important;
    animation: cyberRippleWave 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards !important;
}

@keyframes cyberRippleWave {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(300);
        opacity: 0;
    }
}


/* === 05-components.css === */
/* ═══════════════════════════════════════════════════════════
   05-COMPONENTS.CSS — Cards, Tables, Tickers, Forms, Single Blocks
   ══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   OVERRIDE APPYN APP CARDS
══════════════════════════════════════════════════════════ */
/* Appyn default .item-box / .box-content app card */
.item-box,
.box-content,
.app-item,
.post-item,
.grid-item {
    background: var(--glass-1) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-md) !important;
    color: var(--c-text) !important;
    box-shadow: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.item-box:hover,
.box-content:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important;
}

.item-box .btn-download,
.box-content .btn-download,
.download-btn,
.btn-dl,
.btn-green,
a.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 100px !important;
    padding: 6px 14px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: var(--font-ui) !important;
    box-shadow: 0 0 12px rgba(16,185,129,0.3) !important;
    transition: filter 0.15s ease, transform 0.15s ease !important;
}

.item-box .btn-download:hover,
.btn-dl:hover {
    filter: brightness(1.15) !important;
    transform: scale(1.02) !important;
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM APP CARDS — Emerald Glass System
══════════════════════════════════════════════════════════ */
.app-card-premium,
.item-app {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
}

.app-card-premium *,
.item-app * {
    box-sizing: border-box !important;
}

.app-card-premium .premium-download-btn,
.item-app .btn-download,
.item-app .download-btn,
.item-app a.btn-primary {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
}

.app-card-premium:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(78, 222, 163, 0.35) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 16px rgba(78, 222, 163, 0.12) !important;
}

.card-link-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit !important;
}

.card-body-flex {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.icon-container-wrapper {
    position: relative;
    flex-shrink: 0;
}

.premium-app-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-app-icon-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(78, 222, 163, 0.15);
    color: #4edea3;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(78, 222, 163, 0.3);
}

.card-details-wrapper {
    flex: 1;
    min-width: 0;
}

.premium-app-title {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.app-card-premium:hover .premium-app-title {
    color: #4edea3;
}

.premium-rating-row {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 3px;
    font-size: 11px;
}

.star-icon {
    color: #f59e0b;
}

.rating-val {
    font-family: var(--font-mono);
    color: #fbbf24;
    font-weight: 600;
}

.premium-excerpt {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.8;
}

.card-divider-dashed {
    height: 1px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    margin: 10px 0;
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.footer-meta-items {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: #64748b;
}

.meta-version, .meta-size {
    display: flex;
    align-items: center;
    gap: 2px;
}

.premium-download-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.app-card-premium:hover .premium-download-btn {
    filter: brightness(1.15);
    transform: scale(1.05);
}


/* Appyn widget overrides */
.widget, .widget_categories, .widget_recent_entries {
    background: var(--glass-1) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-md) !important;
    padding: 20px !important;
}

.widget-title, .widgettitle {
    color: var(--c-primary) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-family: var(--font-mono) !important;
}

.widget a {
    color: var(--c-text-muted) !important;
}
.widget a:hover {
    color: var(--c-primary) !important;
}

/* ═══════════════════════════════════════════════════════════
   FORMS — override Appyn defaults
══════════════════════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="password"],
textarea,
select {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--c-text) !important;
    font-family: var(--font-ui) !important;
    padding: 10px 14px !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}

input:focus, textarea:focus, select:focus {
    border-color: rgba(78,222,163,0.5) !important;
    box-shadow: 0 0 0 3px rgba(78,222,163,0.1) !important;
}

/* ═══════════════════════════════════════════════════════════
   PAGINATION — override Appyn defaults & modern emerald glass
══════════════════════════════════════════════════════════ */
a.page-numbers,
span.page-numbers,
.pagination a,
.page-numbers a,
.nav-links a,
.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #cbd5e1 !important;
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px);
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

a.page-numbers:hover,
.pagination a:hover,
.page-numbers a:hover,
.nav-links a:hover,
.pagination-wrapper a:hover {
    color: #00FF66 !important;
    border-color: #00FF66 !important;
    background: rgba(0, 255, 102, 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.25);
}

span.page-numbers.current,
.pagination .current,
.page-numbers .current,
.pagination-wrapper span.current {
    background: #00FF66 !important;
    color: #000000 !important;
    font-weight: 800 !important;
    border-color: #00FF66 !important;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.5) !important;
    cursor: default;
}

span.page-numbers.dots,
.page-numbers.dots {
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════
   LIGHT MODE — CoolModAPK (Crystal-Clear High Contrast)
══════════════════════════════════════════════════════════ */
html.light,
html.light body,
body.light-mode {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

html.light .glass-level-1,
html.light .glass-level-2,
html.light .glass-level-3,
body.light-mode .glass-level-1,
body.light-mode .glass-level-2,
body.light-mode .glass-level-3,
html.light .app-card-premium,
body.light-mode .app-card-premium {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

html.light .app-card-premium:hover,
body.light-mode .app-card-premium:hover {
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.12) !important;
}

html.light .text-white,
html.light .text-slate-100,
html.light .text-slate-200,
html.light .text-on-surface,
body.light-mode .text-white,
body.light-mode .text-slate-100,
body.light-mode .text-slate-200,
body.light-mode .text-on-surface,
html.light .premium-app-title,
body.light-mode .premium-app-title,
html.light .app-card-premium h3,
body.light-mode .app-card-premium h3,
html.light h1, html.light h2, html.light h3, html.light h4, html.light h5, html.light h6 {
    color: #0f172a !important;
}

html.light .text-slate-300,
html.light .text-on-surface-variant,
body.light-mode .text-slate-300,
body.light-mode .text-on-surface-variant {
    color: #334155 !important;
}

html.light .text-slate-400,
html.light .text-slate-500,
body.light-mode .text-slate-400,
body.light-mode .text-slate-500,
html.light .premium-excerpt,
body.light-mode .premium-excerpt,
html.light .app-card-premium span,
body.light-mode .app-card-premium span.truncate {
    color: #475569 !important;
}

html.light .border-white\/10,
body.light-mode .border-white\/10 {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

html.light #site-header,
body.light-mode #site-header {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

html.light #site-header button,
body.light-mode #site-header button,
html.light #header-search-btn,
body.light-mode #header-search-btn,
html.light #theme-toggle,
body.light-mode #theme-toggle,
html.light #mobile-menu-btn,
body.light-mode #mobile-menu-btn {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

html.light #site-header button svg,
body.light-mode #site-header button svg,
html.light #header-search-btn svg,
body.light-mode #header-search-btn svg,
html.light #theme-toggle svg,
body.light-mode #theme-toggle svg {
    stroke: #0f172a !important;
    color: #0f172a !important;
}

html.light #site-header nav a,
body.light-mode #site-header nav a {
    color: #334155 !important;
}

/* ═══════════════════════════════════════════════════════════
   TABLE & GLASS BOX OVERRIDES (Fix White Banding & Contrast)
══════════════════════════════════════════════════════════ */
table,
.glass-level-1 table,
.glass-level-2 table,
.glass-level-3 table,
table.table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin-bottom: 24px !important;
}

/* Base resets across all tables */
table th,
table td {
    padding: 12px 16px !important;
    vertical-align: middle !important;
    text-align: left !important;
}

/* ───────────────────────────────────────────────────────────
   DARK MODE TABLE STYLING (Default Theme)
   Neutralizes parent theme #f6f6f6 / #f9f9f9 white banding
─────────────────────────────────────────────────────────── */
html.dark table,
html.dark .box-content table,
html.dark .entry table {
    background-color: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Dark Mode Table Headers */
html.dark table th,
html.dark table thead th,
html.dark table tbody th {
    background: #0f172a !important;
    background-color: #0f172a !important;
    color: #38bdf8 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Dark Mode Table Rows - Reset Parent Theme #f9f9f9 white stripe! */
html.dark table tr,
html.dark table tr:nth-child(odd) {
    background: transparent !important;
    background-color: transparent !important;
}

html.dark table tr:nth-child(2n),
html.dark table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
}

/* Dark Mode Table Cells */
html.dark table td {
    background-color: transparent !important;
    color: #e2e8f0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-size: 0.95rem !important;
}

html.dark table tr:last-child td {
    border-bottom: none !important;
}

html.dark table td strong,
html.dark table td b {
    color: #ffffff !important;
}

html.dark table td.bg-white\/5,
html.dark table td.font-mono {
    color: #94a3b8 !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* ───────────────────────────────────────────────────────────
   LIGHT MODE TABLE STYLING
─────────────────────────────────────────────────────────── */
html.light table,
html:not(.dark) table,
body.light-mode table,
html.light .box-content table,
html:not(.dark) .box-content table,
body.light-mode .box-content table,
html.light .entry table,
html:not(.dark) .entry table,
body.light-mode .entry table {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

html.light table th,
html.light table thead th,
html.light table tbody th,
html:not(.dark) table th,
html:not(.dark) table thead th,
html:not(.dark) table tbody th,
body.light-mode table th,
body.light-mode table thead th,
body.light-mode table tbody th {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

html.light table tr,
html:not(.dark) table tr,
body.light-mode table tr,
html.light table tr:nth-child(odd),
html:not(.dark) table tr:nth-child(odd),
body.light-mode table tr:nth-child(odd) {
    background: transparent !important;
    background-color: transparent !important;
}

html.light table tr:nth-child(2n),
html.light table tr:nth-child(even),
html:not(.dark) table tr:nth-child(2n),
html:not(.dark) table tr:nth-child(even),
body.light-mode table tr:nth-child(2n),
body.light-mode table tr:nth-child(even) {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
}

html.light table td,
html:not(.dark) table td,
body.light-mode table td {
    background-color: transparent !important;
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-size: 0.95rem !important;
}

html.light table tr:last-child td,
body.light-mode table tr:last-child td {
    border-bottom: none !important;
}

html.light table td strong,
html.light table td b,
body.light-mode table td strong,
body.light-mode table td b {
    color: #0f172a !important;
}

html.light table td.bg-white\/5,
body.light-mode table td.bg-white\/5,
html.light table td.font-mono,
body.light-mode table td.font-mono {
    color: #475569 !important;
    background-color: rgba(0, 0, 0, 0.04) !important;
}

html.light .glass-level-1,
html.light .glass-level-2,
html.light .glass-level-3,
body.light-mode .glass-level-1,
body.light-mode .glass-level-2,
body.light-mode .glass-level-3 {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

html.light .bg-white\/5,
body.light-mode .bg-white\/5 {
    background-color: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* ═══════════════════════════════════════════════════════════
   AD PLACEMENT CENTERING & RESPONSIVE OPTIMIZATION
══════════════════════════════════════════════════════════ */
.ad-placement-wrapper,
.ad-placement-slot,
.ad-placement-wrapper iframe,
.ad-placement-wrapper img,
.ad-placement-wrapper ins,
.ad-placement-wrapper div {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    max-width: 100% !important;
}

.ad-placement-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

html.light #site-header nav a:hover,
body.light-mode #site-header nav a:hover {
    color: #10b981 !important;
}

/* ═══════════════════════════════════════════════════════════
   OUT-OF-THIS-WORLD SINGLE POST DESCRIPTION & FAQ SUITE
══════════════════════════════════════════════════════════ */
.cyber-title-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 24px rgba(52, 211, 153, 0.25);
}

.prose h2, .prose h3, .prose h4 {
    color: #ffffff !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    border-left: 3px solid #10b981 !important;
    padding-left: 12px !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.75em !important;
}

.prose blockquote {
    background: rgba(16, 185, 129, 0.05) !important;
    border-left: 4px solid #10b981 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    color: #e2e8f0 !important;
    font-style: normal !important;
}

.prose ul li::marker {
    color: #10b981 !important;
}

.prose a {
    color: #34d399 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    transition: color 0.15s ease !important;
}

.prose a:hover {
    color: #6ee7b7 !important;
}

/* ── Cyber Floating Back-to-Top Button ── */
#cyber-back-to-top,
button#cyber-back-to-top {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 99999 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #000000 !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1.5px solid #00ff88 !important;
    color: #00ff88 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.35), 0 8px 32px rgba(0, 0, 0, 0.8) !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#cyber-back-to-top.opacity-0 {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(12px) scale(0.9) !important;
}

#cyber-back-to-top.opacity-100 {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

#cyber-back-to-top:hover {
    background: #00ff88 !important;
    border-color: #00ff88 !important;
    color: #000000 !important;
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.7) !important;
}

#cyber-back-to-top svg {
    width: 24px !important;
    height: 24px !important;
    color: inherit !important;
    stroke: currentColor !important;
    fill: none !important;
    display: block !important;
}

#cyber-back-to-top i {
    color: inherit !important;
    font-size: 20px !important;
    display: block !important;
}

/* ═══════════════════════════════════════════════════════════
   6. PURE BLACK & WHITE CONTENT & SECTION SYSTEM (ZERO GREY)
   ══════════════════════════════════════════════════════════ */

/* ── News Ticker Bar ── */
.news-ticker-wrapper {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}
.news-ticker-wrapper .marquee-track {
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}
.news-ticker-wrapper .marquee-track a,
.news-ticker-wrapper .marquee-track span {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}
html.dark .news-ticker-wrapper,
body:not(.light-mode) .news-ticker-wrapper {
    background-color: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}
html.light .news-ticker-wrapper,
body.light-mode .news-ticker-wrapper,
html:not(.dark) .news-ticker-wrapper {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}
html.dark .news-ticker-wrapper .marquee-track,
html.dark .news-ticker-wrapper .marquee-track a,
html.dark .news-ticker-wrapper .marquee-track span,
html.dark .news-ticker-wrapper .ticker-item-title,
body:not(.light-mode) .news-ticker-wrapper .marquee-track,
body:not(.light-mode) .news-ticker-wrapper .marquee-track a,
body:not(.light-mode) .news-ticker-wrapper .marquee-track span,
body:not(.light-mode) .news-ticker-wrapper .ticker-item-title {
    color: #f1f5f9 !important;
}
html.light .news-ticker-wrapper .marquee-track,
html.light .news-ticker-wrapper .marquee-track a,
html.light .news-ticker-wrapper .ticker-item-title,
body.light-mode .news-ticker-wrapper .marquee-track,
body.light-mode .news-ticker-wrapper .marquee-track a,
body.light-mode .news-ticker-wrapper .ticker-item-title,
html:not(.dark) .news-ticker-wrapper .marquee-track,
html:not(.dark) .news-ticker-wrapper .marquee-track a,
html:not(.dark) .news-ticker-wrapper .ticker-item-title {
    color: #0f172a !important;
}

/* ── Ad Slot Containment Protection (Prevent Floating Overlay Ads) ── */
.coolmodapk-ad-slot {
    position: relative !important;
    z-index: 10 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}
.coolmodapk-ad-slot div[style*="fixed"],
.coolmodapk-ad-slot div[style*="absolute"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

/* ── Post Content Blocks (Key Features, Installation Guide, FAQ) ── */
html.dark .wp-block-group,
html.dark .key-features-section,
html.dark .installation-guide-section,
html.dark .faq-section,
html.dark .bluf-answer-box,
html.dark .coolmod-highlighted-features,
html.dark .coolmod-post-body,
body:not(.light-mode) .wp-block-group,
body:not(.light-mode) .key-features-section,
body:not(.light-mode) .installation-guide-section,
body:not(.light-mode) .faq-section,
body:not(.light-mode) .bluf-answer-box,
body:not(.light-mode) .coolmod-highlighted-features,
body:not(.light-mode) .coolmod-post-body {
    background: #000000 !important;
    background-color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-left: 4px solid #00ff88 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

html.dark .wp-block-group h2,
html.dark .wp-block-group h3,
html.dark .wp-block-group p,
html.dark .wp-block-group li,
html.dark .wp-block-group strong,
html.dark .key-features-section h2,
html.dark .key-features-section li,
html.dark .key-features-section strong,
html.dark .installation-guide-section h2,
html.dark .installation-guide-section p,
html.dark .installation-guide-section li,
html.dark .installation-guide-section strong,
html.dark .faq-section h2,
html.dark .faq-section h3,
html.dark .faq-section p,
html.dark .faq-section strong,
body:not(.light-mode) .wp-block-group h2,
body:not(.light-mode) .wp-block-group h3,
body:not(.light-mode) .wp-block-group p,
body:not(.light-mode) .wp-block-group li,
body:not(.light-mode) .wp-block-group strong,
body:not(.light-mode) .key-features-section h2,
body:not(.light-mode) .key-features-section li,
body:not(.light-mode) .key-features-section strong,
body:not(.light-mode) .installation-guide-section h2,
body:not(.light-mode) .installation-guide-section p,
body:not(.light-mode) .installation-guide-section li,
body:not(.light-mode) .installation-guide-section strong,
body:not(.light-mode) .faq-section h2,
body:not(.light-mode) .faq-section h3,
body:not(.light-mode) .faq-section p,
body:not(.light-mode) .faq-section strong {
    color: #ffffff !important;
}

html.dark .wp-block-group h2,
html.dark .key-features-section h2,
html.dark .installation-guide-section h2,
html.dark .faq-section h2,
body:not(.light-mode) .wp-block-group h2,
body:not(.light-mode) .key-features-section h2,
body:not(.light-mode) .installation-guide-section h2,
body:not(.light-mode) .faq-section h2 {
    color: #00f0ff !important;
}

/* Light Mode Post Content Blocks */
html.light .wp-block-group,
html.light .key-features-section,
html.light .installation-guide-section,
html.light .faq-section,
html.light .bluf-answer-box,
html.light .coolmod-highlighted-features,
html.light .coolmod-post-body,
body.light-mode .wp-block-group,
body.light-mode .key-features-section,
body.light-mode .installation-guide-section,
body.light-mode .faq-section,
body.light-mode .bluf-answer-box,
body.light-mode .coolmod-highlighted-features,
body.light-mode .coolmod-post-body,
html:not(.dark) .wp-block-group,
html:not(.dark) .key-features-section,
html:not(.dark) .installation-guide-section,
html:not(.dark) .faq-section {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-left: 4px solid #059669 !important;
    color: #000000 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

html.light .wp-block-group h2,
html.light .wp-block-group h3,
html.light .wp-block-group p,
html.light .wp-block-group li,
html.light .wp-block-group strong,
html.light .key-features-section h2,
html.light .key-features-section li,
html.light .key-features-section strong,
html.light .installation-guide-section h2,
html.light .installation-guide-section p,
html.light .installation-guide-section li,
html.light .installation-guide-section strong,
html.light .faq-section h2,
html.light .faq-section h3,
html.light .faq-section p,
html.light .faq-section strong,
body.light-mode .wp-block-group h2,
body.light-mode .wp-block-group h3,
body.light-mode .wp-block-group p,
body.light-mode .wp-block-group li,
body.light-mode .wp-block-group strong,
body.light-mode .key-features-section h2,
body.light-mode .key-features-section li,
body.light-mode .key-features-section strong,
body.light-mode .installation-guide-section h2,
body.light-mode .installation-guide-section p,
body.light-mode .installation-guide-section li,
body.light-mode .installation-guide-section strong,
body.light-mode .faq-section h2,
body.light-mode .faq-section h3,
body.light-mode .faq-section p,
body.light-mode .faq-section strong,
html:not(.dark) .wp-block-group h2,
html:not(.dark) .wp-block-group p,
html:not(.dark) .wp-block-group li {
    color: #000000 !important;
}

/* ── Content Tables (Pure Black & White) ── */
html.dark .prose table,
html.dark .app-content-body table,
body:not(.light-mode) .prose table,
body:not(.light-mode) .app-content-body table {
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}
html.dark .prose table th,
html.dark .app-content-body table th,
body:not(.light-mode) .prose table th,
body:not(.light-mode) .app-content-body table th {
    background-color: #059669 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
html.dark .prose table td,
html.dark .app-content-body table td,
body:not(.light-mode) .prose table td,
body:not(.light-mode) .app-content-body table td {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}
html.dark .prose table tbody tr:nth-child(even),
body:not(.light-mode) .prose table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05) !important;
}

html.light .prose table,
html.light .app-content-body table,
body.light-mode .prose table,
body.light-mode .app-content-body table,
html:not(.dark) .prose table,
html:not(.dark) .app-content-body table {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: #000000 !important;
}
html.light .prose table th,
html.light .app-content-body table th,
body.light-mode .prose table th,
body.light-mode .app-content-body table th,
html:not(.dark) .prose table th,
html:not(.dark) .app-content-body table th {
    background-color: #10b981 !important;
    color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}
html.light .prose table td,
html.light .app-content-body table td,
body.light-mode .prose table td,
body.light-mode .app-content-body table td,
html:not(.dark) .prose table td,
html:not(.dark) .app-content-body table td {
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #000000 !important;
}
html.light .prose table tbody tr:nth-child(even),
body.light-mode .prose table tbody tr:nth-child(even),
html:not(.dark) .prose table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02) !important;
}

/* ── In-Post Generator & Callout Cards ── */
html.dark .coolmod-youtube-wrapper,
body:not(.light-mode) .coolmod-youtube-wrapper {
    background: #000000 !important;
    border-color: rgba(0, 255, 136, 0.4) !important;
    color: #ffffff !important;
}
html.light .coolmod-youtube-wrapper,
body.light-mode .coolmod-youtube-wrapper,
html:not(.dark) .coolmod-youtube-wrapper {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #000000 !important;
}
html.light .coolmod-youtube-wrapper h3,
body.light-mode .coolmod-youtube-wrapper h3,
html:not(.dark) .coolmod-youtube-wrapper h3 {
    color: #059669 !important;
}

html.dark div[style*="background: #0d121e"],
html.dark div[style*="background:#0d121e"],
body:not(.light-mode) div[style*="background: #0d121e"],
body:not(.light-mode) div[style*="background:#0d121e"] {
    background: #000000 !important;
    border-color: #00ff88 !important;
    color: #ffffff !important;
}
html.light div[style*="background: #0d121e"],
html.light div[style*="background:#0d121e"],
body.light-mode div[style*="background: #0d121e"],
body.light-mode div[style*="background:#0d121e"],
html:not(.dark) div[style*="background: #0d121e"],
html:not(.dark) div[style*="background:#0d121e"] {
    background: #ffffff !important;
    border-color: #059669 !important;
    color: #000000 !important;
}
html.light div[style*="background: #0d121e"] h3,
html.light div[style*="background:#0d121e"] h3,
body.light-mode div[style*="background: #0d121e"] h3,
body.light-mode div[style*="background:#0d121e"] h3,
html:not(.dark) div[style*="background: #0d121e"] h3 {
    color: #000000 !important;
}
html.light div[style*="background: #0d121e"] p,
html.light div[style*="background:#0d121e"] p,
body.light-mode div[style*="background: #0d121e"] p,
body.light-mode div[style*="background:#0d121e"] p,
html:not(.dark) div[style*="background: #0d121e"] p {
    color: #000000 !important;
}
