/* ═══════════════════════════════════════════════════════════════
   askAIModeKit.com — Premium Design System (v3.0 Ultra)
   Vercel & Linear-grade dark aesthetic with high-polish micro-details
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ─── Global Design Tokens (3-Color Cohesive Palette) ────────── */
/* 1. Midnight Obsidian (#080b11) — Deep luxury canvas & surfaces
   2. Electric Indigo   (#6366f1) — Brand authority & structure
   3. Cyber Cyan        (#06b6d4) — High-voltage clarity & accents */

:root {
    /* 3 Core Colors */
    --canvas-obsidian:  #0f172a;
    --brand-indigo:     #6366f1;
    --accent-cyan:      #06b6d4;

    /* Color 2: Electric Indigo Scale */
    --primary:          #6366f1;
    --primary-hover:    #4f46e5;
    --primary-light:    #818cf8;
    --primary-glow:     rgba(99, 102, 241, 0.22);

    /* Color 3: Radiant Cyber Cyan Scale */
    --accent:           #06b6d4;
    --accent-hover:     #0891b2;
    --accent-light:     #22d3ee;
    --accent-glow:      rgba(6, 182, 212, 0.25);

    /* Harmonized Dual Gradients */
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --accent-gradient:  linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --card-gradient:    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);

    /* Utility Indicators */
    --secondary:        #06b6d4;
    --secondary-hover:  #0891b2;
    --warning:          #f59e0b;
    --danger:           #ef4444;
    --success:          #10b981;
    --info:             #06b6d4;
    --accent-primary:   #6366f1;
    --bg-surface:       #243247;

    /* Theme Surfaces (Significantly Lighter Slate Dim — GitHub/Linear Grade) */
    --canvas-obsidian:  #1e293b;
    --bg-primary:       #1e293b; /* Slate 800 base */
    --bg-secondary:     #283548; /* Slate mid-tone */
    --bg-tertiary:      #334155; /* Slate 700 */
    --bg-card:          #243247; /* Elevated card surface */
    --bg-card-hover:    #2d3e58; /* Interactive hover */
    --bg-glass:         rgba(30, 41, 59, 0.94);
    --bg-input:         #1d2839;

    --border:           rgba(255, 255, 255, 0.16);
    --border-color:     rgba(255, 255, 255, 0.16);
    --border-hover:     rgba(6, 182, 212, 0.55);
    --border-active:    #06b6d4;

    --text-primary:     #ffffff;
    --text-secondary:   #e2e8f0;
    --text-muted:       #cbd5e1;

    --shadow-sm:        0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md:        0 8px 24px -4px rgba(0, 0, 0, 0.45);
    --shadow-lg:        0 16px 36px -6px rgba(0, 0, 0, 0.6);
    --shadow-glow:      0 0 24px rgba(6, 182, 212, 0.2);

    /* Typography */
    --font-body:        'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono:        'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing & Radii */
    --radius-sm:        6px;
    --radius-md:        10px;
    --radius-lg:        14px;
    --radius-xl:        18px;
    --radius-full:      9999px;

    --transition:       all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════════════════════════
   Light Theme: Ultra-Clean Modern SaaS (Vercel & Linear Grade)
   ═══════════════════════════════════════════════════════════════ */
[data-theme="light"] {
    /* 3 Core Identity Colors */
    --canvas-obsidian:  #f8fafc;
    --brand-indigo:     #2563eb; /* Modern Royal Blue */
    --accent-cyan:      #0ea5e9; /* Clean Sky Cyan */

    /* Blue Scale (Royal & Electric Blue) */
    --primary:          #2563eb;
    --primary-hover:    #1d4ed8;
    --primary-light:    #3b82f6;
    --primary-glow:     rgba(37, 99, 235, 0.18);

    /* Sky Cyan Scale */
    --accent:           #0ea5e9;
    --accent-hover:     #0284c7;
    --accent-light:     #38bdf8;
    --accent-glow:      rgba(14, 165, 233, 0.2);
    --accent-primary:   #2563eb;
    --bg-surface:       #ffffff;

    /* Harmonized Dual Gradients */
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 55%, #0ea5e9 100%);
    --accent-gradient:  linear-gradient(135deg, #0ea5e9 0%, #38bdf8 60%, #60a5fa 100%);
    --card-gradient:    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

    /* Theme Surfaces: Ultra-Clean Soft White & Slate */
    --bg-primary:       #f8fafc; /* Slate 50 */
    --bg-secondary:     #ffffff; /* Pure White */
    --bg-tertiary:      #f1f5f9; /* Slate 100 */
    --bg-card:          #ffffff; /* Elevated Card */
    --bg-card-hover:    #f8fafc; /* Card Hover */
    --bg-glass:         rgba(255, 255, 255, 0.94);
    --bg-input:         #f1f5f9;

    /* Crisp High-Contrast Typography */
    --text-primary:     #0f172a; /* Slate 900 */
    --text-secondary:   #334155; /* Slate 700 */
    --text-muted:       #64748b; /* Slate 500 */

    /* Crisp Subtle Borders */
    --border:           rgba(15, 23, 42, 0.08);
    --border-color:     rgba(15, 23, 42, 0.08);
    --border-hover:     rgba(37, 99, 235, 0.35);
    --border-active:    #2563eb;

    /* Soft Depth Shadows */
    --shadow-sm:        0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md:        0 4px 16px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg:        0 12px 28px -4px rgba(15, 23, 42, 0.08);
    --shadow-glow:      0 0 20px rgba(37, 99, 235, 0.12);
}

/* ─── Modern Soft Canvas & Subtle Ambient Lighting ─── */
[data-theme="light"] body {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(to right, rgba(15, 23, 42, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
    background-size: 24px 24px, 48px 48px, 48px 48px;
    color: var(--text-primary);
}

[data-theme="light"] body::before {
    background: radial-gradient(circle 900px at 50% -120px, rgba(37, 99, 235, 0.06) 0%, rgba(14, 165, 233, 0.03) 50%, transparent 75%);
}

[data-theme="light"] body::after {
    background-image: radial-gradient(rgba(15, 23, 42, 0.015) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    opacity: 0.5;
}

/* Light Mode: Navigation & Brand */
[data-theme="light"] a {
    color: #2563eb;
}
[data-theme="light"] a:hover {
    color: #1d4ed8;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .navbar-brand .brand-text {
    color: #0f172a;
}

[data-theme="light"] .brand-icon {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #0ea5e9 100%);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .navbar-links a {
    color: #475569;
}

[data-theme="light"] .navbar-links a:hover,
[data-theme="light"] .navbar-links a.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
}

[data-theme="light"] .hero-badge {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    font-weight: 600 !important;
}

[data-theme="light"] .hero-badge .badge-dot {
    background: #10b981 !important;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.4) !important;
}

/* Light Mode: Hero & Typography */
[data-theme="light"] .hero h1 {
    color: #0f172a !important;
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #0f172a 20%, #1d4ed8 75%, #4338ca 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .hero p {
    color: #3f3f46 !important;
}

/* Light Mode: Tool Hero Container & Header */
[data-theme="light"] .tool-hero {
    background: #ffffff !important;
    border: 1px solid rgba(9, 9, 11, 0.12) !important;
    border-top: 3px solid #d97706 !important;
    box-shadow: 0 12px 32px rgba(10, 15, 30, 0.05), 0 0 24px rgba(217, 119, 6, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

[data-theme="light"] .tool-hero::before {
    background: radial-gradient(circle, rgba(29, 78, 216, 0.07) 0%, rgba(217, 119, 6, 0.08) 50%, transparent 70%) !important;
}

[data-theme="light"] .tool-hero::after {
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, transparent 70%) !important;
}

[data-theme="light"] .tool-headline {
    color: #09090b !important;
    -webkit-text-fill-color: #09090b !important;
    background: none !important;
    font-weight: 800 !important;
}

[data-theme="light"] .tool-subtitle {
    color: #3f3f46 !important;
}

/* Light Mode: Breadcrumbs & Badges */
[data-theme="light"] .tool-breadcrumb {
    background: #f4f2eb !important;
    border: 1px solid rgba(9, 9, 11, 0.12) !important;
    color: #52525b !important;
}

[data-theme="light"] .tool-breadcrumb a {
    color: #52525b !important;
}

[data-theme="light"] .tool-breadcrumb a:hover {
    color: #1d4ed8 !important;
}

[data-theme="light"] .tool-breadcrumb .crumb-sep {
    color: rgba(9, 9, 11, 0.3) !important;
}

[data-theme="light"] .tool-breadcrumb .crumb-current,
[data-theme="light"] .tool-breadcrumb span:last-child {
    color: #09090b !important;
    font-weight: 700 !important;
}

[data-theme="light"] .tool-badge-pill {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #2563eb !important;
    font-weight: 700 !important;
}

[data-theme="light"] .badge-dot {
    background: #10b981 !important;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.5) !important;
}

/* Light Mode: Feature Highlights Bar & Chips */
[data-theme="light"] .tool-feature-chips,
[data-theme="light"] .tool-hero-features {
    border-top: 1px solid rgba(9, 9, 11, 0.1) !important;
}

[data-theme="light"] .tool-chip {
    color: #09090b !important;
    background: #ffffff !important;
    border: 1px solid rgba(9, 9, 11, 0.14) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    font-weight: 600 !important;
}

[data-theme="light"] .tool-chip:hover {
    background: rgba(29, 78, 216, 0.08) !important;
    border-color: rgba(29, 78, 216, 0.35) !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .tool-chip svg {
    color: #1d4ed8 !important;
}

/* Light Mode: Hero AdSense Slot */
[data-theme="light"] .hero-ad-wrapper {
    background: #ffffff !important;
    border: 1px dashed rgba(29, 78, 216, 0.35) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .hero-ad-underlay span,
[data-theme="light"] .hero-ad-title {
    color: #09090b !important;
}

[data-theme="light"] .hero-ad-underlay small,
[data-theme="light"] .hero-ad-meta {
    color: #52525b !important;
}

[data-theme="light"] .hero-ad-badge {
    background: rgba(29, 78, 216, 0.08) !important;
    border-color: rgba(29, 78, 216, 0.25) !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .ad-live-indicator {
    color: #059669 !important;
}

[data-theme="light"] .ad-label {
    background: #f4f2eb !important;
    color: #71717a !important;
    border: 1px solid rgba(9, 9, 11, 0.1) !important;
}

/* Light Mode: Modern Tabs & Dropzones */
[data-theme="light"] .pdf-tab-bar,
[data-theme="light"] .tab-bar {
    background: #f4f2eb !important;
    border: 1px solid rgba(9, 9, 11, 0.12) !important;
}

[data-theme="light"] .pdf-tab-btn,
[data-theme="light"] .tab-btn {
    color: #52525b !important;
}

[data-theme="light"] .pdf-tab-btn:hover:not(.active),
[data-theme="light"] .tab-btn:hover:not(.active) {
    color: #1d4ed8 !important;
    background: rgba(29, 78, 216, 0.08) !important;
}

[data-theme="light"] .pdf-tab-btn.active,
[data-theme="light"] .tab-btn.active {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3) !important;
}

[data-theme="light"] .dropzone-box {
    background: #ffffff !important;
    border-color: rgba(29, 78, 216, 0.35) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .dropzone-box:hover,
[data-theme="light"] .dropzone-active {
    border-color: #1d4ed8 !important;
    background: rgba(29, 78, 216, 0.03) !important;
}

[data-theme="light"] .dropzone-box h3 {
    color: #09090b !important;
}

[data-theme="light"] .dropzone-box p {
    color: #52525b !important;
}

/* Light Mode: Form Inputs & Selects */
[data-theme="light"] select {
    background-color: #ffffff !important;
    color: #09090b !important;
    border: 1px solid rgba(9, 9, 11, 0.15) !important;
}

[data-theme="light"] select option {
    background-color: #ffffff !important;
    color: #09090b !important;
}

[data-theme="light"] .input-field,
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="number"],
[data-theme="light"] textarea {
    background: #ffffff !important;
    color: #09090b !important;
    border-color: rgba(9, 9, 11, 0.16) !important;
}

[data-theme="light"] .input-field:focus,
[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus {
    border-color: #1d4ed8 !important;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12) !important;
}

/* Light Mode: Search Bar */
[data-theme="light"] .search-input-wrapper {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .search-input-wrapper:focus-within {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 8px 24px -4px rgba(37, 99, 235, 0.12) !important;
    background: #ffffff !important;
}

[data-theme="light"] .search-icon {
    color: #2563eb !important;
}

.search-input-wrapper input,
.search-input-wrapper input[type="text"],
#toolSearchInput,
[data-theme="light"] .search-input-wrapper input,
[data-theme="light"] .search-input-wrapper input[type="text"],
[data-theme="light"] #toolSearchInput {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    width: 100% !important;
}

[data-theme="light"] #toolSearchInput:focus,
[data-theme="light"] .search-input-wrapper input:focus {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

[data-theme="light"] .search-input-wrapper input::placeholder,
[data-theme="light"] #toolSearchInput::placeholder {
    color: #94a3b8 !important;
}

[data-theme="light"] .search-shortcut {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #64748b !important;
    box-shadow: none !important;
    border-radius: 6px !important;
    padding: 0.15rem 0.5rem !important;
    font-size: 0.75rem !important;
}


/* Light Mode: Category Chips */
[data-theme="light"] .category-chip {
    background: #ffffff;
    border: 1px solid rgba(9, 9, 11, 0.12);
    color: #27272a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .category-chip:hover {
    border-color: #1d4ed8;
    color: #1d4ed8;
    background: rgba(29, 78, 216, 0.04);
}

[data-theme="light"] .category-chip.active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
}

/* Light Mode: Tool Cards & Grid */
[data-theme="light"] .tool-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .tool-card:hover {
    background: #ffffff !important;
    border-color: #2563eb !important;
    border-top: 1px solid #2563eb !important;
    box-shadow: 0 16px 32px -4px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
    transform: translateY(-5px) !important;
}

[data-theme="light"] .tool-card::before {
    background: linear-gradient(90deg, transparent, #2563eb, #38bdf8, transparent) !important;
    opacity: 0 !important;
}


[data-theme="light"] .card,
[data-theme="light"] .arcade-card {
    border-top: 3px solid #d97706 !important;
    box-shadow: 0 12px 36px rgba(10, 15, 30, 0.05), 0 0 20px rgba(217, 119, 6, 0.06) !important;
}

[data-theme="light"] .card-title {
    color: #09090b !important;
}

[data-theme="light"] .card-desc {
    color: #3f3f46 !important;
}

/* Light Mode: Breadcrumbs, Badges & Chips */
[data-theme="light"] .tool-breadcrumb {
    background: #f4f2eb;
    border-color: rgba(9, 9, 11, 0.12);
    color: #52525b;
}

[data-theme="light"] .tool-breadcrumb a {
    color: #1d4ed8;
}

[data-theme="light"] .tool-breadcrumb .crumb-current {
    color: #09090b;
    font-weight: 700;
}

[data-theme="light"] .tool-badge-pill {
    background: rgba(217, 119, 6, 0.1) !important;
    border-color: rgba(217, 119, 6, 0.35) !important;
    color: #b45309 !important;
    box-shadow: 0 0 12px rgba(217, 119, 6, 0.15) !important;
}

[data-theme="light"] .badge-dot {
    background: #d97706 !important;
    box-shadow: 0 0 8px #d97706 !important;
}

[data-theme="light"] .tool-chip {
    background: #ffffff !important;
    border: 1px solid rgba(9, 9, 11, 0.12) !important;
    color: #27272a !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .tool-chip svg {
    color: #1d4ed8 !important;
}

/* Light Mode: Form Inputs & Fields */
[data-theme="light"] .input-field,
[data-theme="light"] input[type="text"]:not(#toolSearchInput),
[data-theme="light"] input[type="number"],
[data-theme="light"] input[type="password"],
[data-theme="light"] input[type="email"],
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    background: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Light Mode: Buttons */
[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
}

[data-theme="light"] .btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
}

[data-theme="light"] .btn-outline {
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    background: #ffffff !important;
}

[data-theme="light"] .btn-outline:hover {
    border-color: #2563eb !important;
    color: #2563eb !important;
    background: #eff6ff !important;
}

/* Light Mode: Footer */
[data-theme="light"] .footer {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .footer-heading {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .footer-tagline {
    color: #475569 !important;
}

[data-theme="light"] .footer-badge {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .footer-links a {
    color: #475569 !important;
}

[data-theme="light"] .footer-links a:hover {
    color: #2563eb !important;
}

[data-theme="light"] .footer-copy {
    color: #64748b !important;
}

[data-theme="light"] .footer-back-to-top {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

[data-theme="light"] .footer-back-to-top:hover {
    background: #eff6ff !important;
    color: #2563eb !important;
    border-color: #bfdbfe !important;
}

[data-theme="light"] .footer-disclaimer {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    border-left: 4px solid #d97706 !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.08) !important;
}

[data-theme="light"] .footer-disclaimer-icon {
    color: #d97706 !important;
}

[data-theme="light"] .footer-disclaimer-text {
    color: #334155 !important;
}

[data-theme="light"] .footer-disclaimer-tag {
    background: #fef3c7 !important;
    color: #92400e !important;
    border-color: #fcd34d !important;
}

[data-theme="light"] .about-disclaimer-box {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    border-left: 5px solid #d97706 !important;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.1) !important;
}

[data-theme="light"] .about-disclaimer-badge {
    background: #fef3c7 !important;
    color: #92400e !important;
    border-color: #fcd34d !important;
}

[data-theme="light"] .about-disclaimer-badge svg {
    color: #b45309 !important;
}

[data-theme="light"] .about-disclaimer-text {
    color: #78350f !important;
}

/* Light Mode: Arcade & Leaderboards */
[data-theme="light"] .arcade-card-arena,
[data-theme="light"] .leaderboard-hub-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .clash-hud-box {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .clash-hud-lbl {
    color: #64748b !important;
}

[data-theme="light"] .leaderboard-table-wrap {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .leaderboard-table th {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

    color: #52525b !important;
    border-bottom: 1px solid rgba(9, 9, 11, 0.1) !important;
}

[data-theme="light"] .leaderboard-table td {
    color: #09090b !important;
    border-bottom: 1px solid rgba(9, 9, 11, 0.08) !important;
}

[data-theme="light"] .podium-card {
    background: #ffffff !important;
    border: 1px solid rgba(9, 9, 11, 0.12) !important;
}

[data-theme="light"] .podium-player {
    color: #09090b !important;
}

[data-theme="light"] .podium-gold {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, #ffffff 80%) !important;
    border-color: rgba(217, 119, 6, 0.45) !important;
}

[data-theme="light"] .podium-score {
    color: #b45309 !important;
}

/* Light Mode: Filter Row, Hero Stats & Homepage Cards */
[data-theme="light"] .category-filters-row {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .filter-pill {
    color: #475569 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

[data-theme="light"] .filter-pill:hover {
    color: #2563eb !important;
    background: #f1f5f9 !important;
}

[data-theme="light"] .filter-pill.active {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    border-color: #2563eb !important;
}

[data-theme="light"] .filter-pill.active svg {
    stroke: #ffffff !important;
}

[data-theme="light"] .hero-stats {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .stat-number {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .stat-label {
    color: #64748b !important;
    font-weight: 600 !important;
}

[data-theme="light"] .hero-stat:not(:last-child)::after {
    background: linear-gradient(180deg, transparent, #e2e8f0, transparent) !important;
}

[data-theme="light"] .seo-pill {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #2563eb !important;
}

[data-theme="light"] .section-title,
[data-theme="light"] .directory-main-title {
    color: #0f172a !important;
}

[data-theme="light"] .section-subtitle {
    color: #475569 !important;
}


[data-theme="light"] .section-icon {
    background: rgba(29, 78, 216, 0.08) !important;
    border: 1px solid rgba(29, 78, 216, 0.2) !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .tool-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .tool-card::before {
    background: linear-gradient(90deg, transparent, #2563eb, #38bdf8, transparent) !important;
    opacity: 0;
}

[data-theme="light"] .tool-card:hover {
    background: #ffffff !important;
    border-color: #2563eb !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 32px -4px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .tool-card:hover::before {
    opacity: 1 !important;
    height: 3px !important;
}

[data-theme="light"] .tool-card-title {
    color: #0f172a !important;
}

[data-theme="light"] .tool-card:hover .tool-card-title {
    color: #2563eb !important;
}

[data-theme="light"] .tool-card-desc {
    color: #475569 !important;
}

[data-theme="light"] .tool-card-icon {
    background: #f1f5f9 !important;
    color: #2563eb !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: none !important;
}

[data-theme="light"] .tool-card:hover .tool-card-icon {
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
    color: #2563eb !important;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.15) !important;
    transform: scale(1.08) !important;
}

[data-theme="light"] .tool-card-arrow {
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #64748b !important;
}

[data-theme="light"] .tool-card:hover .tool-card-arrow {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

[data-theme="light"] .tool-card-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .tool-card-tag {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

[data-theme="light"] .tag-popular {
    background: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
}

[data-theme="light"] .tag-viral {
    background: rgba(168, 85, 247, 0.08) !important;
    color: #7c3aed !important;
    border-color: rgba(168, 85, 247, 0.25) !important;
}

[data-theme="light"] .tag-new {
    background: rgba(16, 185, 129, 0.08) !important;
    color: #059669 !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
}

[data-theme="light"] .tag-free {
    background: rgba(14, 165, 233, 0.08) !important;
    color: #0284c7 !important;
    border-color: rgba(14, 165, 233, 0.25) !important;
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-x: clip;
    position: relative;
}

/* ─── Security & Anti-Inspection UI Shield ─────────────────────── */
/* Prevents bulk UI scraping & dragging while allowing tool input/output copying */
.navbar, .footer, .hero-section, .tool-card, .game-card,
.arcade-header, .stat-badge, .btn, .nav-link, .category-chip {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Ensure users can select, edit, and copy tool inputs and outputs */
input, textarea, .tool-output, .output-box, pre, code, .result-text, [contenteditable="true"], .selectable {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Prevent image dragging / downloading shortcuts */
img, svg, .brand-logo {
    -webkit-user-drag: none;
    user-drag: none;
}

/* ─── Category-Specific Ambient Lighting & Background Visuals ──────── */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; height: 580px;
    background: radial-gradient(circle 850px at 50% -120px, rgba(99, 102, 241, 0.16) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 75%);
    pointer-events: none;
    z-index: 0;
    transition: background 0.4s ease;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

/* 🟢 1. FINANCE THEME (Loan EMI, GST Calculator, Wealth Arcade) */
body.theme-finance {
    --primary:          #10b981;
    --primary-hover:    #059669;
    --primary-light:    #34d399;
    --primary-glow:     rgba(16, 185, 129, 0.28);
    --accent:           #f59e0b;
    --accent-cyan:      #10b981;
    --accent-light:     #fbbf24;
    --accent-glow:      rgba(245, 158, 11, 0.28);
    --primary-gradient: linear-gradient(135deg, #10b981 0%, #059669 50%, #f59e0b 100%);
    --border-hover:     rgba(16, 185, 129, 0.4);
    --border-active:    #10b981;
}
body.theme-finance::before {
    background: radial-gradient(circle 900px at 50% -100px, rgba(16, 185, 129, 0.22) 0%, rgba(245, 158, 11, 0.10) 45%, transparent 75%);
}
body.theme-finance::after {
    background-image: 
        radial-gradient(rgba(16, 185, 129, 0.12) 1px, transparent 1px),
        linear-gradient(to right, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 32px 32px, 64px 64px;
}
body.theme-finance .tool-badge-pill {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #34d399;
}
body.theme-finance .badge-dot {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}
body.theme-finance .tool-chip {
    border-color: rgba(16, 185, 129, 0.22);
    background: rgba(16, 185, 129, 0.06);
    color: #e2e8f0;
}
body.theme-finance .tool-chip svg {
    color: #10b981;
}

/* 🟣 2. WRITING & AI THEME (AI Humanizer, Word Counter, Text Case, Duplicate Remover) */
body.theme-writing {
    --primary:          #8b5cf6;
    --primary-hover:    #7c3aed;
    --primary-light:    #a78bfa;
    --primary-glow:     rgba(139, 92, 246, 0.28);
    --accent:           #ec4899;
    --accent-cyan:      #a855f7;
    --accent-light:     #f472b6;
    --accent-glow:      rgba(236, 72, 153, 0.25);
    --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #ec4899 100%);
    --border-hover:     rgba(139, 92, 246, 0.45);
    --border-active:    #8b5cf6;
}
body.theme-writing::before {
    background: radial-gradient(circle 900px at 50% -100px, rgba(139, 92, 246, 0.22) 0%, rgba(99, 102, 241, 0.12) 40%, rgba(236, 72, 153, 0.06) 65%, transparent 75%);
}
body.theme-writing::after {
    background-image: radial-gradient(rgba(139, 92, 246, 0.12) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}
body.theme-writing .tool-badge-pill {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.35);
    color: #c4b5fd;
}
body.theme-writing .badge-dot {
    background: #a855f7;
    box-shadow: 0 0 10px #a855f7;
}
body.theme-writing .tool-chip {
    border-color: rgba(139, 92, 246, 0.22);
    background: rgba(139, 92, 246, 0.06);
    color: #e2e8f0;
}
body.theme-writing .tool-chip svg {
    color: #a78bfa;
}

/* 🔴 3. MEDIA & IMAGE THEME (Image Compressor, PDF Tools, Video Downloaders) */
body.theme-media {
    --primary:          #f43f5e;
    --primary-hover:    #e11d48;
    --primary-light:    #fb7185;
    --primary-glow:     rgba(244, 63, 94, 0.28);
    --accent:           #fb923c;
    --accent-cyan:      #f43f5e;
    --accent-light:     #fca5a5;
    --accent-glow:      rgba(251, 146, 60, 0.25);
    --primary-gradient: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #fb923c 100%);
    --border-hover:     rgba(244, 63, 94, 0.45);
    --border-active:    #f43f5e;
}
body.theme-media::before {
    background: radial-gradient(circle 900px at 50% -100px, rgba(244, 63, 94, 0.22) 0%, rgba(236, 72, 153, 0.10) 40%, rgba(251, 146, 60, 0.08) 65%, transparent 75%);
}
body.theme-media::after {
    background-image: 
        linear-gradient(to right, rgba(244, 63, 94, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244, 63, 94, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
body.theme-media .tool-badge-pill {
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.35);
    color: #fda4af;
}
body.theme-media .badge-dot {
    background: #f43f5e;
    box-shadow: 0 0 10px #f43f5e;
}
body.theme-media .tool-chip {
    border-color: rgba(244, 63, 94, 0.22);
    background: rgba(244, 63, 94, 0.06);
    color: #e2e8f0;
}
body.theme-media .tool-chip svg {
    color: #fb7185;
}

/* 🔵 4. SECURITY & DEV THEME (SSL Checker, Webhook Tester, Burner Note, QR Code) */
body.theme-security {
    --primary:          #06b6d4;
    --primary-hover:    #0891b2;
    --primary-light:    #22d3ee;
    --primary-glow:     rgba(6, 182, 212, 0.28);
    --accent:           #10b981;
    --accent-cyan:      #06b6d4;
    --accent-light:     #67e8f9;
    --accent-glow:      rgba(16, 185, 129, 0.25);
    --primary-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #10b981 100%);
    --border-hover:     rgba(6, 182, 212, 0.45);
    --border-active:    #06b6d4;
}
body.theme-security::before {
    background: radial-gradient(circle 900px at 50% -100px, rgba(6, 182, 212, 0.22) 0%, rgba(59, 130, 246, 0.12) 40%, rgba(16, 185, 129, 0.08) 65%, transparent 75%);
}
body.theme-security::after {
    background-image: 
        radial-gradient(rgba(6, 182, 212, 0.14) 1px, transparent 1px),
        linear-gradient(to right, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 28px 28px, 56px 56px;
}
body.theme-security .tool-badge-pill {
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.35);
    color: #67e8f9;
}
body.theme-security .badge-dot {
    background: #06b6d4;
    box-shadow: 0 0 10px #06b6d4;
}
body.theme-security .tool-chip {
    border-color: rgba(6, 182, 212, 0.22);
    background: rgba(6, 182, 212, 0.06);
    color: #e2e8f0;
}
body.theme-security .tool-chip svg {
    color: #22d3ee;
}

/* ⚡ 5. ARCADE GAMES THEME (Spot the Bot, Brain Clash, Retro Arcade) */
body.theme-arcade {
    --primary:          #ff007f;
    --primary-hover:    #e0006f;
    --primary-light:    #ff4da6;
    --primary-glow:     rgba(255, 0, 127, 0.35);
    --accent:           #facc15;
    --accent-cyan:      #a855f7;
    --accent-light:     #fde047;
    --accent-glow:      rgba(250, 204, 21, 0.35);
    --primary-gradient: linear-gradient(135deg, #ff007f 0%, #a855f7 50%, #facc15 100%);
    --border-hover:     rgba(255, 0, 127, 0.5);
    --border-active:    #ff007f;
}
body.theme-arcade::before {
    background: radial-gradient(circle 950px at 50% -100px, rgba(255, 0, 127, 0.25) 0%, rgba(168, 85, 247, 0.15) 40%, rgba(250, 204, 21, 0.10) 65%, transparent 75%);
}
body.theme-arcade::after {
    background-image: 
        linear-gradient(to right, rgba(255, 0, 127, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(168, 85, 247, 0.07) 1px, transparent 1px);
    background-size: 36px 36px;
}
body.theme-arcade .tool-badge-pill {
    background: rgba(255, 0, 127, 0.15);
    border-color: rgba(255, 0, 127, 0.4);
    color: #ff80bf;
}
body.theme-arcade .badge-dot {
    background: #ff007f;
    box-shadow: 0 0 12px #ff007f;
}
body.theme-arcade .tool-chip {
    border-color: rgba(255, 0, 127, 0.25);
    background: rgba(255, 0, 127, 0.08);
    color: #fce7f3;
}
body.theme-arcade .tool-chip svg {
    color: #facc15;
}

/* Light Mode Overrides for Arcade Pages */
[data-theme="light"] body.theme-arcade {
    --primary:          #2563eb;
    --primary-hover:    #1d4ed8;
    --primary-light:    #3b82f6;
    --primary-glow:     rgba(37, 99, 235, 0.18);
    --accent:           #d97706;
}
[data-theme="light"] body.theme-arcade::before {
    background: radial-gradient(circle 900px at 50% -120px, rgba(37, 99, 235, 0.06) 0%, rgba(14, 165, 233, 0.03) 50%, transparent 75%);
}
[data-theme="light"] body.theme-arcade .tool-badge-pill {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #2563eb;
}
[data-theme="light"] body.theme-arcade .badge-dot {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}
[data-theme="light"] body.theme-arcade .tool-chip {
    border-color: rgba(15, 23, 42, 0.1);
    background: #ffffff;
    color: #0f172a;
}
[data-theme="light"] body.theme-arcade .tool-chip svg {
    color: #2563eb;
}

a {
    color: #38bdf8;
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: #22d3ee;
}

/* ─── Header & Navbar ────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.52rem 1.75rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}
.navbar-brand:hover {
    opacity: 0.9;
}

.brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.45), 0 0 4px rgba(99, 102, 241, 0.35);
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.navbar-brand:hover .brand-icon {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 0 22px rgba(6, 182, 212, 0.75), 0 0 8px rgba(99, 102, 241, 0.6);
}

.brand-text {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.navbar-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.navbar-links a.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    font-weight: 600;
}

.nav-arcade-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.arcade-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #06b6d4;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.9);
    animation: pulseDot 2s infinite ease-in-out;
}

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

/* ─── PWA Standalone WebApp Install Trigger ──────────────────── */
.btn-install-app {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #22d3ee;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-install-app:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35) 0%, rgba(6, 182, 212, 0.3) 100%);
    border-color: #22d3ee;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.35);
    transform: translateY(-1px);
}

.btn-install-app:active {
    transform: scale(0.97);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.theme-toggle, .theme-toggle-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.theme-toggle:hover, .theme-toggle-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.menu-toggle {
    display: none;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ─── Mobile App Bottom Navigation Dock (Hidden on Desktop) ──── */
.mobile-app-dock {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-app-dock {
        display: flex !important;
    }
}


/* ─── Tool Layout & Container System ─────────────────────────── */
.tool-layout {
    max-width: 1440px;
    width: 95%;
    margin: 0.4rem auto 1.5rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    position: relative;
    z-index: 1;
}

.tool-main {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    width: 100%;
    position: static;
    margin-top: 1rem;
}

/* ─── Ultra-Premium 2-Column Tool Hero Section ────────────────── */
.tool-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.90) 0%, rgba(30, 41, 59, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 3px solid rgba(245, 158, 11, 0.85);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.6rem;
    margin-bottom: 1.35rem;
    box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.35), 0 0 24px rgba(245, 158, 11, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.tool-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -30px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.tool-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -20px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.09) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.tool-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); /* 60% content, 40% ad container */
    gap: 1.75rem;
    align-items: center;
}

.tool-hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.tool-hero-ad {
    width: 100%;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

.hero-ad-wrapper {
    width: 100% !important;
    min-height: 250px !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.85) 0%, rgba(30, 41, 59, 0.95) 100%);
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden !important;
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.18), 0 8px 24px -4px rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s ease, transform 0.2s ease;
    padding: 1rem 0.5rem;
}

.hero-ad-wrapper ins.adsbygoogle {
    display: block !important;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    overflow: hidden !important;
}

.hero-ad-underlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    text-align: center;
}

.hero-ad-title {
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-ad-meta {
    color: #64748b;
    font-size: 0.68rem;
    font-family: var(--font-mono);
}

.hero-ad-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.ad-live-indicator {
    font-size: 0.7rem;
    font-weight: 700;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.ad-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    display: inline-block;
}

/* ─── Global Form Select & Option Styling ──────────────────── */
select {
    background-color: var(--bg-card, #0f172a);
    color: var(--text-primary, #f8fafc);
}

select option {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    padding: 8px 12px;
}

.hero-ad-wrapper:hover {
    border-color: rgba(99, 102, 241, 0.35);
    border-style: solid;
}

.hero-ad-wrapper .ad-label {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    opacity: 0.65;
    text-transform: uppercase;
    margin: 0;
}

.hero-ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 1.25rem;
}

.hero-ad-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: #22d3ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.45rem;
}

.hero-ad-placeholder span {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -0.01em;
}

.hero-ad-placeholder small {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    font-family: var(--font-mono);
}

.ad-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.6rem;
    font-size: 0.66rem;
    font-weight: 600;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
}

.ad-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
}

@media (max-width: 992px) {
    .tool-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .tool-hero-ad {
        justify-content: center;
        width: 100%;
    }
    .hero-ad-wrapper {
        width: 100%;
        max-width: 320px;
    }
}

.tool-hero-top, .tool-top-row {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

/* Breadcrumbs inside Tool Hero */
.tool-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.035);
    padding: 0.28rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0;
}

.tool-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.tool-breadcrumb a:hover {
    color: #38bdf8;
}

.tool-breadcrumb .crumb-sep, .tool-breadcrumb span:not(.crumb-current) {
    color: rgba(148, 163, 184, 0.4);
}

.tool-breadcrumb .crumb-current, .tool-breadcrumb span:last-child {
    color: #e2e8f0;
    font-weight: 600;
}

/* Badge Pill with glowing pulsing dot */
.tool-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: #38bdf8;
    box-shadow: 0 0 16px -4px rgba(6, 182, 212, 0.3);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22d3ee;
    display: inline-block;
    box-shadow: 0 0 8px #22d3ee;
    animation: badgeDotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes badgeDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px #22d3ee;
    }
    50% {
        opacity: 0.55;
        transform: scale(0.85);
        box-shadow: 0 0 2px #22d3ee;
    }
}

/* Tool Headline & Subtitle */
.tool-hero-content, .tool-title-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: 0.35rem;
}

.tool-headline {
    font-size: clamp(1.45rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin: 0 0 0.35rem;
    background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 70%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tool-subtitle {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.55;
    max-width: 860px;
    margin: 0;
}

/* Feature Highlights Bar in Tool Header */
.tool-feature-chips, .tool-hero-features {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tool-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.73rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.tool-chip:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.35);
    color: #e0e7ff;
    transform: translateY(-1px);
}

.tool-chip svg {
    color: #38bdf8;
    flex-shrink: 0;
}

/* ─── Ultra-Premium Card Container ───────────────────────────── */
.card, .arcade-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 2px solid rgba(245, 158, 11, 0.6);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    scroll-margin-top: 75px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.85), rgba(217, 119, 6, 0.85), transparent);
}

/* ─── Inputs & Form Controls ─────────────────────────────────── */
.input-field {
    width: 100%;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.input-field:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.22);
    background: var(--bg-secondary);
}

/* Custom Scrollbar for Textareas & Code */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 182, 212, 0.4);
}


/* ─── Buttons Design ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 26px rgba(6, 182, 212, 0.45);
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.08);
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-pulse {
    position: relative;
    animation: gentlePulse 3s infinite;
}

@keyframes gentlePulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35); }
    50%      { box-shadow: 0 4px 28px rgba(6, 182, 212, 0.5); }
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: #20ba59;
    transform: translateY(-1px);
}

/* ─── Global Tool Tabs & Segmented Controls ──────────────────── */
.pdf-tab-bar, .tab-bar, .loan-type-selector {
    display: inline-flex;
    gap: 6px;
    background: var(--bg-tertiary);
    padding: 6px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 1.75rem;
    max-width: 100%;
    overflow-x: auto;
}

.pdf-tab-btn, .tab-btn, .loan-type-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.pdf-tab-btn:hover:not(.active), .tab-btn:hover:not(.active), .loan-type-btn:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.08);
}

.pdf-tab-btn.active, .tab-btn.active, .loan-type-btn.active {
    background: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 4px 16px var(--primary-glow);
}

/* ─── Global Interactive Dropzone Arena ──────────────────────── */
.dropzone-box {
    border: 2px dashed var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dropzone-box:hover, .dropzone-box.dropzone-active {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dropzone-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: inline-block;
    animation: dropzoneFloat 3s ease-in-out infinite;
}

@keyframes dropzoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.dropzone-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}

.dropzone-box p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0.5rem 0 0;
}

.dropzone-box .btn {
    margin-top: 1.25rem;
}

/* ─── Global Two-Column Tool Editor & Output Arena ───────────── */
.humanizer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
}

.text-box-wrap {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.text-box-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

.box-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--primary);
    text-transform: uppercase;
}

.box-stats {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-weight: 500;
}

.box-meter {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-theme="light"] .box-meter {
    background: #f4f2eb !important;
    border-top: 1px solid rgba(9, 9, 11, 0.1) !important;
}

.humanizer-textarea {
    width: 100%;
    height: 380px;
    min-height: 260px;
    background: transparent;
    border: none;
    padding: 1rem 1.15rem;
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--text-primary);
    resize: vertical;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.humanizer-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.75;
}

/* ─── Markdown Live Preview Pane ─────────────────────────────── */
.md-preview-pane {
    height: 380px;
    min-height: 260px;
    padding: 1rem 1.15rem;
    overflow-y: auto;
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: transparent;
    box-sizing: border-box;
}

.md-preview-pane h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0.75rem 0 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--border);
    letter-spacing: -0.02em;
}

.md-preview-pane h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.85rem 0 0.4rem;
    letter-spacing: -0.015em;
}

.md-preview-pane h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.65rem 0 0.3rem;
}

.md-preview-pane p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.md-preview-pane ul, .md-preview-pane ol {
    margin: 0.5rem 0 0.75rem 1.4rem;
    color: var(--text-secondary);
}

.md-preview-pane li {
    margin-bottom: 0.25rem;
}

.md-preview-pane blockquote {
    border-left: 4px solid var(--primary);
    padding: 0.5rem 0.85rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    margin: 0.75rem 0;
}

.md-preview-pane pre {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    overflow-x: auto;
    margin: 0.75rem 0;
    font-family: var(--font-mono);
    font-size: 0.86rem;
    color: var(--text-primary);
}

.md-preview-pane code {
    background: rgba(99, 102, 241, 0.14);
    color: var(--primary);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.88em;
    font-family: var(--font-mono);
}

.md-preview-pane a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.md-preview-pane hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}

.md-preview-pane table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.85rem 0;
}

.md-preview-pane th, .md-preview-pane td {
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.md-preview-pane th {
    background: var(--bg-tertiary);
    font-weight: 700;
    color: var(--text-primary);
}

@media (max-width: 820px) {
    .humanizer-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Global SEO Article & Educational Guide Container ──────── */
.article-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
    line-height: 1.75;
}

.article-content h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 1.5rem 0 0.85rem;
    letter-spacing: -0.02em;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.25rem 0 0.65rem;
}

.article-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.1rem;
    line-height: 1.7;
}

.article-content ul, .article-content ol {
    margin: 0.75rem 0 1.25rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.article-content li {
    margin-bottom: 0.45rem;
    line-height: 1.6;
}

.article-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.article-content code {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary);
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.88em;
}

/* Light Theme Overrides for Text Areas & Articles */
[data-theme="light"] .text-box-wrap {
    background: #ffffff !important;
    border: 1px solid rgba(9, 9, 11, 0.14) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .box-header {
    background: #f4f2eb !important;
    border-bottom: 1px solid rgba(9, 9, 11, 0.1) !important;
}

[data-theme="light"] .box-label {
    color: #1d4ed8 !important;
}

[data-theme="light"] .box-stats {
    color: #71717a !important;
}

[data-theme="light"] .humanizer-textarea {
    color: #09090b !important;
}

[data-theme="light"] .humanizer-textarea::placeholder {
    color: #71717a !important;
}

[data-theme="light"] .md-preview-pane {
    color: #09090b !important;
}

[data-theme="light"] .md-preview-pane h1,
[data-theme="light"] .md-preview-pane h2,
[data-theme="light"] .md-preview-pane h3 {
    color: #09090b !important;
}

[data-theme="light"] .md-preview-pane p,
[data-theme="light"] .md-preview-pane li {
    color: #27272a !important;
}

[data-theme="light"] .md-preview-pane blockquote {
    background: #f4f2eb !important;
    color: #3f3f46 !important;
    border-left-color: #1d4ed8 !important;
}

[data-theme="light"] .md-preview-pane pre {
    background: #f4f2eb !important;
    border-color: rgba(9, 9, 11, 0.12) !important;
    color: #09090b !important;
}

[data-theme="light"] .md-preview-pane code {
    background: rgba(29, 78, 216, 0.08) !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .article-content {
    background: #ffffff !important;
    border: 1px solid rgba(9, 9, 11, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .article-content h2,
[data-theme="light"] .article-content h3,
[data-theme="light"] .article-content strong {
    color: #09090b !important;
}

[data-theme="light"] .article-content p,
[data-theme="light"] .article-content li {
    color: #3f3f46 !important;
}

[data-theme="light"] .article-content code {
    background: rgba(29, 78, 216, 0.08) !important;
    color: #1d4ed8 !important;
}

/* ─── Modern Ad Placement Styling (Polished, Non-Intrusive) ──── */
.ad-unit {
    position: relative;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ad-incontent {
    min-height: 100px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.ad-sidebar {
    min-height: 280px;
    padding: 1.5rem;
}

.ad-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.ad-placeholder-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ─── Sidebar Tool Recommendations Box ───────────────────────── */
.sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.sidebar-box-title,
.sidebar-title {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-tool-list,
.sidebar-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-tool-list li,
.sidebar-links li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-links a:hover {
    border-color: var(--primary, #6366f1);
    background: var(--bg-card-hover);
    color: var(--primary, #6366f1);
    transform: translateX(3px);
    text-decoration: none;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    transition: var(--transition);
}

.sidebar-link:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateX(3px);
}

.sidebar-tool-icon {
    font-size: 1.35rem;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-link strong {
    font-size: 0.88rem;
    color: var(--text-primary);
    display: block;
}

.sidebar-link small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ─── SEO Article Section (AdSense Ready) ────────────────────── */
.article-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.article-content h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 1.75rem 0 0.75rem;
    letter-spacing: -0.02em;
}
.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.25rem 0 0.5rem;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content ul {
    margin: 0.75rem 0 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ─── FAQ Dropdown Accordion (Google Rich Snippet Optimized) ─── */
.faq-accordion-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.faq-dropdown {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-dropdown:hover {
    border-color: var(--border-hover);
}

.faq-dropdown[open] {
    border-color: var(--primary);
    box-shadow: 0 4px 20px var(--primary-glow);
    background: var(--bg-card);
}

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.25rem;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    user-select: none;
    transition: var(--transition);
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    color: var(--primary-light);
}

.faq-summary h3,
.faq-summary h4,
.faq-question {
    font-size: 1rem;
    font-weight: 700;
    color: inherit;
    margin: 0;
    line-height: 1.4;
    text-align: left;
    display: inline;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    display: inline-block;
}

.faq-dropdown[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.faq-body {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 0.25rem;
    padding-top: 1rem;
}


/* ─── Homepage: Hero & Live Search ───────────────────────────── */
.hero {
    text-align: center;
    padding: 4.5rem 1.5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: min(680px, 100vw);
    max-width: 100%;
    height: 340px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.18) 0%, rgba(6, 182, 212, 0.12) 45%, transparent 70%);
    filter: blur(55px);
    pointer-events: none;
    z-index: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.14;
    color: #fff;
    margin-bottom: 1.25rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #818cf8 75%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 2.25rem;
    line-height: 1.6;
}

/* ─── Hero Instant Search Bar ────────────────────────────────── */
.search-container {
    max-width: 620px;
    margin: 0 auto 1.75rem;
    position: relative;
    z-index: 2;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(19, 27, 44, 0.85) 0%, rgba(12, 17, 30, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 0.75rem 1.35rem;
    box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-input-wrapper:focus-within {
    border-color: #22d3ee;
    box-shadow: 0 12px 36px -4px rgba(6, 182, 212, 0.35), 0 0 0 3px rgba(6, 182, 212, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(23, 32, 54, 0.95) 0%, rgba(15, 21, 38, 0.98) 100%);
    transform: translateY(-2px);
}

.search-icon {
    display: flex;
    align-items: center;
    margin-right: 0.85rem;
    color: #22d3ee;
    transition: transform 0.2s ease;
}

.search-input-wrapper:focus-within .search-icon {
    transform: scale(1.1);
}

.search-input-wrapper input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #f8fafc;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    outline: none;
}

.search-input-wrapper input::placeholder {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.search-shortcut {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ─── Category Filter Pills ──────────────────────────────────── */
.category-filters-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
    background: linear-gradient(135deg, rgba(19, 27, 44, 0.7) 0%, rgba(12, 17, 30, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 0.4rem;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    padding: 0.5rem 1.05rem;
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.filter-pill svg {
    color: inherit;
    transition: transform 0.2s ease;
}

.filter-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.filter-pill:hover svg {
    transform: scale(1.15);
}

.filter-pill.active {
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(6, 182, 212, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 760px;
    margin: 1.75rem auto 0;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, rgba(19, 27, 44, 0.6) 0%, rgba(12, 17, 30, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.625rem;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.stat-number {
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 40%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    margin-top: 0.3rem;
}

/* ─── Homepage: Sections & Categories ────────────────────────── */
.section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-bottom: 1.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(6, 182, 212, 0.14) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #22d3ee;
    flex-shrink: 0;
    box-shadow: 0 6px 20px -2px rgba(6, 182, 212, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ─── Homepage: Ultra-Premium Tool Cards Grid ────────────────── */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.25rem;
}

.tool-card {
    background: linear-gradient(145deg, rgba(20, 28, 46, 0.78) 0%, rgba(12, 17, 30, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.35rem 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 175px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top dynamic golden sheen highlight */
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.9), rgba(217, 119, 6, 0.9), transparent);
    opacity: 0.55;
    transition: opacity 0.3s ease, height 0.3s ease;
}

/* Hover Physics & Aura with Golden Accent (Dark Mode Default) */
:root:not([data-theme="light"]) .tool-card:hover,
[data-theme="dark"] .tool-card:hover {
    transform: translateY(-6px) scale(1.012);
    border-color: rgba(245, 158, 11, 0.55);
    background: linear-gradient(145deg, rgba(40, 52, 74, 0.94) 0%, rgba(28, 38, 55, 0.98) 100%) !important;
    box-shadow: 0 20px 42px -10px rgba(0, 0, 0, 0.45), 0 0 28px -4px rgba(245, 158, 11, 0.25), inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

:root:not([data-theme="light"]) .tool-card:hover::before,
[data-theme="dark"] .tool-card:hover::before {
    opacity: 1;
    height: 3px;
}

/* Light Mode Card Hover: Pure Crisp White with Soft Royal Blue Shadow & High-Contrast Typography */
[data-theme="light"] .tool-card:hover {
    transform: translateY(-5px) !important;
    border-color: #2563eb !important;
    background: #ffffff !important;
    box-shadow: 0 16px 32px -4px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .tool-card:hover::before {
    opacity: 1 !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #2563eb, #38bdf8, transparent) !important;
}

[data-theme="light"] .tool-card:hover .tool-card-title {
    color: #2563eb !important;
}

[data-theme="light"] .tool-card:hover .tool-card-desc {
    color: #334155 !important;
}


.tool-card-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.95rem;
    width: 100%;
}

/* Squircle Icon Container */
.tool-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16) 0%, rgba(6, 182, 212, 0.12) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #22d3ee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-card:hover .tool-card-icon {
    transform: scale(1.1) rotate(-3deg);
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.tool-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.015em;
    line-height: 1.32;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
    transition: color 0.2s ease;
}

.tool-card:hover .tool-card-title {
    color: #38bdf8;
}

/* Action Circle Arrow */
.tool-card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-card:hover .tool-card-arrow {
    background: rgba(6, 182, 212, 0.16);
    border-color: rgba(6, 182, 212, 0.45);
    color: #22d3ee;
    transform: translate(2px, -2px);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.35);
}

.tool-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 1.15rem;
}

.tool-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Luminous Badge Pills */
.tool-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.tag-popular { background: rgba(6, 182, 212, 0.12); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.32); box-shadow: 0 0 10px rgba(6, 182, 212, 0.15); }
.tag-viral   { background: rgba(168, 85, 247, 0.14); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.35); box-shadow: 0 0 10px rgba(168, 85, 247, 0.15); }
.tag-free    { background: rgba(16, 185, 129, 0.12); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.tag-new     { background: rgba(99, 102, 241, 0.14); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.32); }
.tag-offline { background: rgba(255, 255, 255, 0.06); color: #e2e8f0; border: 1px solid rgba(255, 255, 255, 0.15); }

/* ─── Homepage SEO & Editorial Sections ──────────────────────── */
.seo-section {
    max-width: 1200px;
    margin: 4.5rem auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.seo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.75rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.seo-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}



/* ─── Modern Luxury Footer ────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(8, 11, 17, 0.98) 100%);
    padding: 3.5rem 1.5rem 2rem;
    margin-top: 4.5rem;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

/* Footer Top: Brand & Badges */
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    max-width: 540px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    line-height: 1.6;
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    justify-content: flex-end;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
}

.footer-badge svg {
    color: var(--accent-cyan);
}

.footer-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

/* Footer Navigation Grid (3 Balanced Columns) */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 2.5rem;
}

.footer-col {
    min-width: 0;
}

.footer-heading {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 1.15rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-light);
    transform: translateX(4px);
}

/* Footer Bottom: Copyright & Back to Top */
.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-copy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.2);
}

.footer-back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.footer-back-to-top:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* Footer Highlighted Disclaimer (Permanent Risk-Mitigation Notice) */
.footer-disclaimer {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius-md, 10px);
    padding: 0.95rem 1.25rem;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.06);
    position: relative;
}

.footer-disclaimer-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.footer-disclaimer-icon {
    flex-shrink: 0;
    color: #fbbf24;
    margin-top: 0.18rem;
}

.footer-disclaimer-text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.65;
    color: #f8fafc;
}

.footer-disclaimer-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    padding: 0.16rem 0.55rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border: 1px solid rgba(245, 158, 11, 0.45);
    margin-right: 0.45rem;
    vertical-align: baseline;
}

/* About Page Disclaimer Banner (Prominent & High Visibility) */
.about-disclaimer-box {
    background: rgba(245, 158, 11, 0.09);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-left: 5px solid #f59e0b;
    border-radius: var(--radius-lg, 12px);
    padding: 1.35rem 1.6rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(245, 158, 11, 0.08);
}

.about-disclaimer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.22);
    color: #fbbf24;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    margin-bottom: 0.75rem;
}

.about-disclaimer-badge svg {
    color: #fbbf24;
    flex-shrink: 0;
}

.about-disclaimer-text {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.65;
    color: #fef08a;
    margin: 0;
}

/* ─── Homepage SEO & Knowledge Base Sections ─────────────────── */
.home-seo-container {
    max-width: 1200px;
    margin: 4.5rem auto 2.5rem;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.seo-block {
    position: relative;
}

.seo-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.seo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #22d3ee;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.seo-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.seo-subtitle {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Feature Grid 3 Columns */
.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.feature-item-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #22d3ee;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.feature-item-card h3,
.feature-item-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
}

.feature-item-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* Comparison Table */
.comparison-table-wrap {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.comparison-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1.15rem 1.4rem;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--bg-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.015);
}

.comparison-table .highlight-col {
    background: rgba(6, 182, 212, 0.04);
    font-weight: 600;
    color: var(--text-primary);
    border-left: 1px solid rgba(6, 182, 212, 0.25);
    border-right: 1px solid rgba(6, 182, 212, 0.25);
}

.comparison-table th.highlight-col {
    background: rgba(6, 182, 212, 0.1);
    color: #22d3ee;
}

.badge-check {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #10b981;
    font-weight: 600;
}

.badge-cross {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #ef4444;
}

/* Workflows Grid */
.workflows-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.workflow-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.workflow-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.workflow-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.workflow-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-transform: uppercase;
}

.workflow-card h3,
.workflow-card h4,
.workflow-card .workflow-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
}

.workflow-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.workflow-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.workflow-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
}

.workflow-pill-link:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.3);
    color: var(--primary-light);
}

/* ─── Global KPI Cards & Editor Controls ─────────────────────── */
.metrics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}
.kpi-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.4rem;
    text-align: center;
}
.kpi-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}
.kpi-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}
.case-editor-wrap {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 0.85rem;
    transition: border-color 0.2s ease;
}
.case-editor-wrap:focus-within {
    border-color: var(--accent);
}
.case-textarea, .humanizer-textarea {
    width: 100%;
    height: 300px;
    min-height: 200px;
    background: transparent;
    border: none;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
    resize: vertical;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

/* ─── Responsive Queries (Ultra-Mobile & Tablet Polish) ──────── */
@media (max-width: 1024px) {
    .tool-layout {
        padding: 0 0.85rem;
        margin: 0.5rem auto 1.5rem;
        gap: 1rem;
    }
    .tool-sidebar {
        order: 2;
        position: static;
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem 1.5rem;
    }
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .footer-trust-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 0.65rem 1rem;
    }
    .menu-toggle {
        display: flex;
    }
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
        gap: 0.4rem;
        z-index: 1000;
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }
    .navbar-links.open {
        display: flex;
        animation: mobileMenuSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes mobileMenuSlide {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .navbar-links a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        background: var(--bg-tertiary);
    }
    .nav-right {
        gap: 0.5rem;
    }
    .humanizer-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .features-grid-3 {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .home-seo-container {
        padding: 0 1.25rem;
        margin: 3.25rem auto 2rem;
        gap: 3rem;
    }
    .seo-header {
        margin-bottom: 2rem;
    }
    .seo-title {
        font-size: 1.55rem;
        line-height: 1.3;
    }
    .seo-subtitle {
        font-size: 0.94rem;
    }
    .directory-landmark {
        padding: 0 1.25rem !important;
        margin: 2.25rem auto 0.75rem !important;
    }
    .directory-main-title {
        font-size: 1.45rem !important;
    }
    .category-filters-row {
        gap: 0.4rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.35rem 0.5rem;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        max-width: 100%;
        border-radius: var(--radius-md);
        scrollbar-width: none;
    }
    .category-filters-row::-webkit-scrollbar {
        display: none;
    }
    .filter-pill {
        flex-shrink: 0;
        font-size: 0.82rem;
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Mobile App-First Transformation: Pure Tool Experience
   Hides non-tool clutter on mobile & standalone webapps so users
   enjoy tools like a native app. All content remains 100% visible
   on laptop/desktop (min-width: 769px) to preserve SEO & crawling.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px), (display-mode: standalone) {
    /* 0. Strict Viewport & Mobile Reset */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        overflow-x: clip !important;
    }

    main {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    /* 1. Safe-area Bottom Inset for Mobile Dock */
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* 2. Hide "Faltu ka Content" (SEO articles, bulky tables, link walls) */
    #seo-knowledge-base,
    .home-seo-container,
    .directory-landmark,
    .hero-stats,
    .hero p,
    .footer-grid,
    .footer-top,
    .footer-trust-badges,
    .footer-tagline,
    .tool-layout .article-content,
    .tool-layout .tool-sidebar,
    .tool-hero-ad,
    .hero-ad-wrapper,
    .ad-unit {
        display: none !important;
    }

    /* 3. Slim App Top Bar - Perfectly Fits Screen Without Overflow */
    .navbar {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        padding: 0.5rem 0.75rem !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .navbar-brand {
        display: flex !important;
        align-items: center !important;
        gap: 0.45rem !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
    }
    .brand-icon {
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
    }
    .brand-text {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        min-width: 0 !important;
    }
    .nav-right {
        display: flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        flex-shrink: 0 !important;
    }
    .navbar-links,
    .menu-toggle {
        display: none !important; /* Bottom dock handles app navigation */
    }
    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
    }
    .nav-cmd-trigger {
        padding: 0 !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: var(--radius-md) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    .nav-cmd-trigger .cmd-shortcut-text {
        display: none !important;
    }
    .btn-install-app {
        padding: 0 !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: var(--radius-md) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    .btn-install-app .install-text {
        display: none !important;
    }
    .theme-toggle, .theme-toggle-btn {
        width: 34px !important;
        height: 34px !important;
        flex-shrink: 0 !important;
    }

    /* 4. Compact Hero */
    .hero {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 1.15rem 0.75rem 0.35rem !important;
        margin-bottom: 0.15rem !important;
    }
    .hero::before {
        width: 100% !important;
        max-width: 100vw !important;
        height: 220px !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 50% !important;
    }
    .hero-badge {
        font-size: 0.72rem !important;
        padding: 0.22rem 0.65rem !important;
        margin-bottom: 0.5rem !important;
        max-width: 90% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .hero h1 {
        font-size: 1.55rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
        word-break: break-word !important;
    }

    /* 5. App Search Bar */
    .search-container {
        margin-bottom: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .search-input-wrapper {
        padding: 0.52rem 0.85rem !important;
        border-radius: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .search-input-wrapper input {
        min-width: 0 !important;
        width: 100% !important;
    }
    .search-shortcut {
        display: none !important;
    }

    /* 6. Horizontal Swipeable Category Filter Bar (Play Store / App Store Chips) */
    .category-filters-row {
        display: flex !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 0.3rem 0.4rem !important;
        gap: 0.4rem !important;
        margin-bottom: 1.15rem !important;
        border-radius: var(--radius-full) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .category-filters-row::-webkit-scrollbar {
        display: none !important;
    }
    .filter-pill {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding: 0.42rem 0.8rem !important;
        font-size: 0.8rem !important;
        border-radius: var(--radius-full) !important;
    }

    /* 7. Category Sections */
    .section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 1.1rem auto !important;
        padding: 0 0.65rem !important;
        overflow: hidden !important;
    }
    .section-header {
        margin-bottom: 0.65rem !important;
        padding-bottom: 0.35rem !important;
        gap: 0.55rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .section-icon {
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
    }
    .section-title {
        font-size: 1.08rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .section-subtitle {
        display: none !important;
    }

    /* 8. Native 2-Column App Grid */
    .tools-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .tool-card {
        padding: 0.85rem 0.75rem !important;
        min-height: 112px !important;
        border-radius: 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        -webkit-tap-highlight-color: transparent !important;
        background: linear-gradient(145deg, rgba(20, 28, 46, 0.88) 0%, rgba(12, 17, 30, 0.95) 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .tool-card:active {
        transform: scale(0.96) !important;
        background: rgba(25, 35, 58, 0.98) !important;
    }
    .tool-card-top {
        margin-bottom: 0.35rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.55rem !important;
        width: 100% !important;
    }
    .tool-card-icon {
        width: 34px !important;
        height: 34px !important;
        border-radius: 9px !important;
        flex-shrink: 0 !important;
    }
    .tool-card-arrow {
        display: none !important;
    }
    .tool-card-title {
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        margin-bottom: 0 !important;
        flex: 1 !important;
        min-width: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .tool-card-desc {
        display: none !important;
    }
    .tool-card-footer {
        border-top: none !important;
        padding-top: 0.2rem !important;
        margin-top: auto !important;
    }
    .tool-card-tag {
        font-size: 0.62rem !important;
        padding: 0.12rem 0.45rem !important;
    }

    /* 9. Minimal Mobile App Footer */
    .footer {
        padding: 1.25rem 0.75rem calc(1.25rem + 10px) !important;
        margin-top: 1.5rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    .footer-container {
        gap: 0.5rem !important;
    }
    .footer-bottom {
        padding-top: 0 !important;
        border-top: none !important;
        flex-direction: column !important;
        gap: 0.4rem !important;
        text-align: center !important;
    }
    .footer-copy {
        font-size: 0.72rem !important;
        color: var(--text-muted) !important;
        justify-content: center !important;
    }
    .footer-back-to-top {
        font-size: 0.74rem !important;
    }
    .footer-disclaimer {
        padding: 0.75rem 0.85rem !important;
        margin-top: 0.25rem !important;
        border-radius: 8px !important;
    }
    .footer-disclaimer-inner {
        gap: 0.6rem !important;
    }
    .footer-disclaimer-text {
        font-size: 0.85rem !important;
        line-height: 1.55 !important;
    }
    .footer-disclaimer-tag {
        font-size: 0.76rem !important;
        padding: 0.1rem 0.45rem !important;
    }
    .about-disclaimer-box {
        padding: 1rem 1.15rem !important;
        margin-bottom: 1.5rem !important;
    }
    .about-disclaimer-text {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
    }

    /* 10. Tool Pages: Clean Focus on Interactivity */
    .tool-layout {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        padding: 0 0.5rem !important;
        margin: 0.25rem auto 1rem !important;
    }
    .tool-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .tool-top-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.35rem !important;
    }
    .tool-hero {
        padding: 0.85rem 0.8rem !important;
        border-radius: var(--radius-lg) !important;
        margin-bottom: 0.55rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .tool-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 0.4rem !important;
    }
    .tool-badge-pill {
        font-size: 0.68rem !important;
        padding: 0.2rem 0.55rem !important;
    }
    .tool-headline {
        font-size: 1.22rem !important;
        line-height: 1.25 !important;
    }
    .tool-subtitle {
        font-size: 0.8rem !important;
        margin-top: 0.25rem !important;
    }
    .tool-feature-chips {
        display: none !important;
    }
    .card, .arcade-card, .leaderboard-hub-card {
        padding: 0.85rem 0.75rem !important;
        border-radius: var(--radius-lg) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* 11. Native Mobile Bottom App Navigation Dock */
    .mobile-app-dock {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
        padding: 0 0.35rem env(safe-area-inset-bottom, 0px) !important;
        background: rgba(8, 11, 17, 0.94) !important;
        backdrop-filter: blur(24px) saturate(190%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        z-index: 99999 !important;
        justify-content: space-around !important;
        align-items: center !important;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5) !important;
    }
    [data-theme="light"] .mobile-app-dock {
        background: rgba(255, 255, 255, 0.95) !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    }
    .dock-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--text-muted) !important;
        text-decoration: none !important;
        padding: 0.35rem 0.45rem !important;
        border-radius: 12px !important;
        position: relative !important;
        flex: 1 !important;
        max-width: 68px !important;
        -webkit-tap-highlight-color: transparent !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    .dock-item svg {
        width: 20px !important;
        height: 20px !important;
        stroke: currentColor !important;
        transition: transform 0.2s ease, stroke 0.2s ease !important;
    }
    .dock-label {
        font-size: 0.62rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.01em !important;
        margin-top: 2px !important;
        white-space: nowrap !important;
        color: inherit !important;
    }
    .dock-item.active,
    .dock-item:hover {
        color: #22d3ee !important;
    }
    .dock-item.active svg {
        stroke: #22d3ee !important;
        transform: translateY(-1px) scale(1.06) !important;
    }
    .dock-item:active {
        transform: scale(0.92) !important;
    }
    .dock-badge {
        position: absolute !important;
        top: 1px !important;
        right: 10px !important;
        background: #ff007f !important;
        color: #fff !important;
        font-size: 0.5rem !important;
        font-weight: 800 !important;
        padding: 0.1rem 0.28rem !important;
        border-radius: 999px !important;
        box-shadow: 0 0 8px rgba(255, 0, 127, 0.8) !important;
        line-height: 1 !important;
        animation: pulseDot 2s infinite ease-in-out !important;
    }

    /* ─── Arcade Games Mobile Screen Fit ─────────────────────── */
    .arcade-card {
        padding: 0.85rem 0.75rem;
    }
    .game-hud {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.4rem;
    }
    .hud-label {
        font-size: 0.65rem;
    }
    .hud-val {
        font-size: 1.1rem;
    }
    .timer-bar-track {
        margin-bottom: 0.75rem;
        height: 5px;
    }
    .cards-duo-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin: 0.65rem 0;
    }
    .choice-card {
        min-height: auto;
        padding: 0.85rem 0.95rem;
    }
    .choice-text {
        font-size: 0.92rem;
        line-height: 1.45;
    }
    .choice-badge {
        margin-bottom: 0.25rem;
        font-size: 0.7rem;
    }
    .choice-status-pill {
        margin-top: 0.4rem;
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
    .vs-badge {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        margin: -0.25rem auto;
    }
    .prompt-context {
        font-size: 0.82rem;
        margin-bottom: 0.35rem;
    }
    .category-indicator {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }
    .reveal-explanation {
        padding: 0.85rem 0.95rem;
        margin-top: 0.65rem;
    }
    .reveal-title {
        font-size: 1rem;
    }
    .reveal-desc {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    /* Stroop Brain Clash Mobile */
    .stroop-word-card {
        padding: 1.25rem 0.5rem;
        margin: 0.75rem 0;
    }
    .stroop-main-word {
        font-size: 2.35rem;
    }
    .color-options-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .color-btn {
        padding: 0.8rem 0.5rem;
        font-size: 0.95rem;
    }

    /* Broke or Billionaire Mobile */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin: 0.75rem 0;
    }
    .asset-card {
        min-height: auto;
        padding: 1.15rem 0.9rem;
    }
    .asset-icon {
        font-size: 2.2rem;
        margin-bottom: 0.25rem;
    }
    .asset-name {
        font-size: 1.05rem;
    }
    .price-val {
        font-size: 1.5rem;
    }

    /* Viral Share and Action Buttons */
    .share-actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .share-actions-row .btn {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .footer {
        padding: 2rem 0.8rem 1.25rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.85rem;
    }
    .footer-heading {
        font-size: 0.74rem;
        margin-bottom: 0.75rem;
    }
    .footer-links a {
        font-size: 0.82rem;
        line-height: 1.35;
    }
    .footer-links {
        gap: 0.4rem;
    }
    .footer-col:last-child {
        grid-column: span 2;
        padding-top: 0.65rem;
        border-top: 1px dashed rgba(255, 255, 255, 0.08);
    }
    .footer-col:last-child .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem 0.85rem;
    }
    .footer-trust-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    .btn-install-app .install-text {
        display: none !important;
    }
    .btn-install-app {
        padding: 0 !important;
        width: 34px !important;
        height: 34px !important;
    }
    .navbar {
        padding: 0.45rem 0.65rem !important;
    }
    .brand-text {
        font-size: 0.92rem !important;
    }
    .theme-toggle {
        width: 34px !important;
        height: 34px !important;
    }
}

@media (max-width: 380px) {
    .navbar {
        padding: 0.4rem 0.5rem !important;
    }
    .navbar-brand {
        gap: 0.35rem !important;
    }
    .brand-text {
        font-size: 0.88rem !important;
    }
    .nav-actions {
        gap: 0.25rem !important;
    }
    .nav-cmd-trigger,
    .btn-install-app,
    .theme-toggle {
        width: 30px !important;
        height: 30px !important;
    }
    }
    .metrics-kpi-grid {
        gap: 0.35rem;
    }
    .kpi-card {
        padding: 0.4rem 0.25rem;
    }
    .kpi-val {
        font-size: 1.05rem;
    }
    .kpi-label {
        font-size: 0.58rem;
    }
    .tool-headline {
        font-size: 1.18rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Command Palette (Ctrl + K) & Universal Quick Search
   ═══════════════════════════════════════════════════════════════ */
.nav-cmd-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.nav-cmd-trigger:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    color: var(--text-primary);
}
.cmd-shortcut-text {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}
.cmd-shortcut-text kbd,
.cmd-hint kbd,
.cmd-close-btn kbd {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.cmd-palette-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: clamp(60px, 12vh, 120px);
    animation: cmdFadeIn 0.18s ease-out;
}
@keyframes cmdFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.cmd-palette-dialog {
    width: 90%;
    max-width: 620px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(99, 102, 241, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cmd-search-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-primary);
}
.cmd-search-icon {
    color: var(--primary);
    flex-shrink: 0;
}
.cmd-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}
.cmd-search-input::placeholder {
    color: var(--text-muted);
    font-size: 0.92rem;
}
.cmd-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.cmd-results-wrapper {
    max-height: 380px;
    overflow-y: auto;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.cmd-group-label {
    padding: 0.5rem 0.75rem 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.cmd-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s ease;
}
.cmd-item:hover,
.cmd-item.selected {
    background: var(--bg-card-hover);
    outline: none;
}
[data-theme="dark"] .cmd-item.selected {
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(99, 102, 241, 0.35);
}
[data-theme="light"] .cmd-item.selected {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.cmd-item-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}
.cmd-item-body {
    flex: 1;
    min-width: 0;
}
.cmd-item-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cmd-item-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cmd-item-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.cmd-palette-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 1.15rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
}
.cmd-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.cmd-empty-state {
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   Smart Companion Tools Pairing Widget (Tool Footer)
   ═══════════════════════════════════════════════════════════════ */
.tool-pairing-section {
    max-width: 1100px;
    margin: 3.5rem auto 1.5rem;
    padding: 2rem 1.5rem 0;
    border-top: 1px solid var(--border);
}
.tool-pairing-header {
    margin-bottom: 1.5rem;
}
.pairing-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}
.pairing-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
}
.pairing-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
}
.pairing-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}
.tool-pairing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}
.tool-pairing-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.tool-pairing-card:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.pairing-card-icon {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.pairing-card-body {
    flex: 1;
    min-width: 0;
}
.pairing-card-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}
.pairing-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pairing-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.pairing-card-arrow {
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}
.tool-pairing-card:hover .pairing-card-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════
   Favorites / Pinned Tools Strip on Homepage
   ═══════════════════════════════════════════════════════════════ */
.pinned-tools-section {
    max-width: 1200px;
    margin: 1.5rem auto 2rem;
    padding: 0 1.5rem;
}
.pinned-tools-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}
.pinned-header-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}
.pinned-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
}
.pinned-tool-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}
.pinned-tool-chip:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}
.pinned-tool-icon {
    font-size: 1.3rem;
}
.pinned-tool-name {
    font-size: 0.88rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   Dedicated Arcade Gaming Hub Styles
   ═══════════════════════════════════════════════════════════════ */
.arcade-hub-hero {
    position: relative;
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}
.arcade-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.arcade-streak-flame {
    animation: flamePulse 1.2s infinite ease-in-out;
}
@keyframes flamePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.arcade-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.arcade-hero-title .gradient-arcade {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.arcade-hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.arcade-hero-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.arcade-sfx-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}
.arcade-sfx-btn:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
}
.arcade-daily-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(236, 72, 153, 0.12) 100%);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    box-shadow: 0 12px 36px -8px rgba(99, 102, 241, 0.2);
}
@media (max-width: 768px) {
    .arcade-daily-card {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        padding: 1.5rem;
    }
}
.arcade-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}
.arcade-game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.arcade-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 16px 36px -8px rgba(0,0,0,0.4), var(--shadow-glow);
}
.arcade-card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.arcade-card-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.arcade-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.arcade-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1.25rem;
}
.arcade-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.arcade-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--primary);
}

