/* =========================================
   1. CSS VARIABLES & THEME CONFIGURATION
   ========================================= */
:root {
    /* --- Default Dark Theme Colors --- */
    --bg-body: #050505;
    --bg-card: #121212;
    --bg-card-hover: #1a1a1a;
    --bg-input: rgba(13, 17, 23, 0.95);
    
    --text-main: #e0e0e0;
    --text-muted: #8b949e;
    --text-light: #ffffff;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.2);
    
    --glass-bg: rgba(20, 20, 20, 0.6);
    --shadow-color: rgba(0, 0, 0, 0.5);

    /* --- Brand Accents (Neons) --- */
    --accent-cyan: #00e5ff;
    --accent-magenta: #d124ff;
    --accent-purple: #6366f1;
    --accent-red: #ff0055;
    --accent-yellow: #ffcc00;
    --accent-green: #00f260;
    
    /* --- Gradients --- */
    --gradient-titan: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-textpro: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-fire: linear-gradient(90deg, #ff9966, #ff5e62);
    --gradient-primary: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
}

/* --- Light Mode Overrides (Activated via JS) --- */
[data-theme="light"] {
    --bg-body: #f4f6f8;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-input: rgba(255, 255, 255, 0.95);
    
    --text-main: #1f2937;
    --text-muted: #64748b;
    --text-light: #1f2937; /* In light mode, titles act differently */
    
    --border-color: rgba(0, 0, 0, 0.1);
    --border-color-hover: rgba(0, 0, 0, 0.2);
    
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* =========================================
   2. GLOBAL RESET & BASE STYLES
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* =========================================
   3. TELEGRAM BAR (STICKY HEADER)
   ========================================= */
.telegram-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85); /* Keep dark for branding or use variable */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 20px var(--shadow-color);
}
[data-theme="light"] .telegram-bar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tg-content { display: flex; align-items: center; gap: 8px; }
.tg-icon-pulse { color: #0088cc; font-size: 1.3rem; animation: pulse-tg 2s infinite; }
.tg-text { color: #fff; font-size: 0.9rem; font-weight: 500; }
[data-theme="light"] .tg-text { color: #333; }

.tg-btn {
    background: linear-gradient(90deg, #0088cc, #00aaff);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex; align-items: center; gap: 5px;
    transition: 0.3s;
}
.tg-btn:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(0, 229, 255, 0.4); }

/* =========================================
   4. HERO SECTION & TYPING EFFECT
   ========================================= */
/* আপনার style.css ফাইলে এই অংশটি আপডেট করুন */
.hero-header {
    /* আগের কোড থাকলে মুছে ফেলুন বা আপডেট করুন */
    padding: 80px 20px 60px;
    text-align: center;
    /* নতুন যুক্ত করা অংশ */
    background-image: linear-gradient(rgba(9, 12, 16, 0.85), rgba(9, 12, 16, 0.95)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* প্যারাল্যাক্স ইফেক্টের জন্য */
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
/* Center Glow */
.hero-header::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw; height: 60vw;
    max-width: 400px; max-height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.typewriter-container { display: inline-block; }

.typewriter-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(1.8rem, 5vw, 4rem); 
    color: var(--text-light); /* Will act as dark text in light mode based on var */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 4px solid var(--accent-cyan);
    width: 0;
    animation: 
        typing 3s steps(20, end) forwards, 
        blink-caret 0.75s step-end infinite,
        glowText 3s ease-in-out infinite alternate;
}
[data-theme="light"] .typewriter-text {
    color: #333;
    text-shadow: none;
    animation: typing 3s steps(20, end) forwards, blink-caret 0.75s step-end infinite;
}

.typewriter-text .highlight { color: var(--accent-cyan); }

.hero-subtitle {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    opacity: 0;
    animation: fadeIn 1s ease 2.5s forwards;
}

/* =========================================
   5. SEARCH BAR & CATEGORIES
   ========================================= */
.search-container {
    position: relative;
    max-width: 600px;
    margin: -40px auto 40px auto;
    z-index: 10;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 55px;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-main);
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.search-icon {
    position: absolute;
    left: 20px; top: 50%;
    transform: translateY(-50%);
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

/* Categories */
.category-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cat-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex; align-items: center; gap: 8px;
}

.cat-btn:hover, .cat-btn.active {
    background: var(--gradient-primary);
    color: #000; /* Text black on bright gradient */
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.3);
}

/* =========================================
   6. TOOLS GRID & CARD STYLES
   ========================================= */
.section-title {
    border-left: 5px solid var(--accent-cyan);
    padding-left: 15px;
    color: var(--text-light);
    margin-bottom: 25px;
}
[data-theme="light"] .section-title { color: #333; }

.tools-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 25px; 
    padding-bottom: 50px;
}

/* Base Card Style */
.tool-card {
    background: var(--bg-card); 
    border: 1px solid var(--border-color); 
    border-radius: 16px; 
    padding: 25px;
    text-align: center; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    cursor: pointer; 
    text-decoration: none; 
    color: var(--text-main);
    position: relative; 
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool-card:hover { 
    background: var(--bg-card-hover);
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px var(--shadow-color);
    border-color: var(--accent-cyan); 
}

/* Top Gradient Line for Cards */
.tool-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gradient-primary);
    opacity: 0; transition: 0.3s;
}
.tool-card:hover::before { opacity: 1; }

/* Card Content Elements */
.badge-container { position: absolute; top: 12px; right: 12px; z-index: 5; }
.badge {
    font-size: 0.65rem; padding: 2px 8px; border-radius: 4px; 
    font-weight: 800; text-transform: uppercase;
    /* Default badge style if specific not applied */
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
}

.icon { font-size: 3rem; margin-bottom: 15px; display: block; position: relative; }
.tool-title { 
    font-size: 1.3rem; font-weight: 700; margin-top: 12px; margin-bottom: 10px; 
    color: var(--text-light); 
}
[data-theme="light"] .tool-title { color: #333; }

.tool-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Mini tags inside description */
.mini-tags {
    display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; margin-bottom: 6px;
}
.tag {
    font-size: 0.7em; padding: 2px 8px; border-radius: 4px; 
    border: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   7. SPECIFIC CARD THEMES (Keeping Originality)
   ========================================= */

/* Titan Card */
.tool-card.titan-card:hover { border-color: #6366f1; box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2); }
.tool-card.titan-card::before { background: var(--gradient-titan); }

/* Audio Studio */
.tool-card.audio-studio-card:hover { box-shadow: 0 10px 30px rgba(255, 0, 85, 0.25); border-color: #ff0055; }
.tool-card.audio-studio-card::before { background: linear-gradient(90deg, #ff0055, #ffcc00); }

/* Fire Card (Sitemap) */
.tool-card.fire-card:hover { box-shadow: 0 10px 35px rgba(255, 94, 98, 0.25); border-color: #ff5e62; }
.tool-card.fire-card::before { background: var(--gradient-fire); }

/* Diff Card */
.tool-card.diff-card:hover { box-shadow: 0 10px 30px rgba(0, 242, 234, 0.25); border-color: #00f2ea; }
.tool-card.diff-card::before { background: linear-gradient(90deg, #00f2ea, #d124ff); }

/* Percentage (Finance) Card */
.tool-card.math-card:hover .fa-percent { transform: scale(1.1); transition: 0.3s; }

/* ... (Add more specific styles here as needed for other 100 tools) ... */

/* =========================================
   8. ANIMATIONS (Consolidated)
   ========================================= */
@keyframes pulse-tg { 50% { opacity: 0.7; transform: scale(1.1); } }
@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { 50% { border-color: transparent } }
@keyframes glowText { from { text-shadow: 0 0 5px rgba(0, 229, 255, 0.3); } to { text-shadow: 0 0 20px rgba(0, 229, 255, 0.7), 0 0 10px var(--accent-magenta); } }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

/* Icon Float Animations */
@keyframes float-key { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-4px) rotate(10deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes float-music { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-5px) rotate(15deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-4px); } 100% { transform: translateY(0px); } }
@keyframes float-thumb { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-6px) rotate(10deg) scale(1.1); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes cut-float { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-4px) rotate(-15deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes float-brush { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-5px) rotate(15deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes float-edit { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-5px) rotate(15deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes float-seo { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-5px) scale(1.1); } 100% { transform: translateY(0px) scale(1); } }
@keyframes float-wave { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-5px) scale(1.1); } 100% { transform: translateY(0px) scale(1); } }
@keyframes pulse-rec { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); } 70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(0, 229, 255, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); } }
@keyframes write-wiggle { 0% { transform: rotate(0deg) translate(0,0); } 25% { transform: rotate(-10deg) translate(-2px, 2px); } 50% { transform: rotate(0deg) translate(0,0); } 75% { transform: rotate(-5deg) translate(2px, -1px); } 100% { transform: rotate(0deg) translate(0,0); } }
@keyframes float-badge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 243, 255, 0.6); } }
@keyframes float-data { 0% { transform: translateY(0px); border-color: var(--accent-cyan); } 50% { transform: translateY(-6px); border-color: var(--accent-magenta); } 100% { transform: translateY(0px); border-color: var(--accent-cyan); } }
@keyframes float-money { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-4px) scale(1.1); } 100% { transform: translateY(0px) scale(1); } }
@keyframes pulse-radar { 0% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(0, 243, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); } }
@keyframes audio-vibe { 0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(0, 198, 255, 0.4)); } 50% { transform: scale(1.05); filter: drop-shadow(0 0 12px rgba(0, 198, 255, 0.7)); } 100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(0, 198, 255, 0.4)); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float-spark { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-6px) rotate(20deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes flame-flicker { 0% { filter: drop-shadow(0 0 5px rgba(255, 94, 98, 0.4)); opacity: 1; } 50% { filter: drop-shadow(0 0 15px rgba(255, 153, 102, 0.8)); opacity: 0.9; transform: scale(1.05); } 100% { filter: drop-shadow(0 0 5px rgba(255, 94, 98, 0.4)); opacity: 1; } }
@keyframes float-meme { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-5px) rotate(-5deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes float-json { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-6px) scale(1.1); } 100% { transform: translateY(0px) scale(1); } }
@keyframes float-text { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-4px) scale(1.1); } 100% { transform: translateY(0px) scale(1); } }
@keyframes float-email { 0% { transform: translateY(0px); } 50% { transform: translateY(-4px); } 100% { transform: translateY(0px); } }
@keyframes crawl-float { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(5px) rotate(20deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes float-fav { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-6px) scale(1.1); } 100% { transform: translateY(0px) scale(1); } }
@keyframes flip-glass { 0% { transform: rotate(0deg); } 45% { transform: rotate(180deg); } 55% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes orbit { 0% { transform: translateX(0) translateY(0) scale(1); } 50% { transform: translateX(-3px) translateY(-3px) scale(1.1); } 100% { transform: translateX(0) translateY(0) scale(1); } }
@keyframes float-cookie { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-4px) scale(1.1); } 100% { transform: translateY(0px) scale(1); } }
@keyframes float-md { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-4px) rotate(-10deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes float-diff { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-5px) rotate(-10deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes burn-pulse { 0% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.1); filter: brightness(1.3); box-shadow: 0 -4px 12px rgba(245, 158, 11, 0.7); } 100% { transform: scale(1); filter: brightness(1); } }
@keyframes float-math { 0% { transform: translateY(0px) rotate(0deg) scale(1); } 50% { transform: translateY(-6px) rotate(10deg) scale(1.1); } 100% { transform: translateY(0px) rotate(0deg) scale(1); } }
@keyframes flash-bolt { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes float-audio { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-6px) rotate(10deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes float-wa { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-6px) scale(1.1); } 100% { transform: translateY(0px) scale(1); } }
@keyframes float-omni { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-4px) scale(1.1); } 100% { transform: translateY(0px) scale(1); } }
@keyframes float-conv { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-5px) rotate(15deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes float-focus { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-4px) scale(1.1); } 100% { transform: translateY(0px) scale(1); } }

/* =========================================
   9. SEO SECTION & FEATURES
   ========================================= */
.seo-card {
    background: linear-gradient(145deg, #161b22, #0d1117);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}
[data-theme="light"] .seo-card {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.seo-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.seo-title {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 10px;
    text-transform: capitalize;
}
[data-theme="light"] .seo-title { color: #111; }

.seo-line {
    width: 60px; height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.seo-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex; align-items: center; gap: 15px; padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}
[data-theme="light"] .feature-item { background: #f9fafb; border-color: #eee; }

.feature-item:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    background: rgba(0, 229, 255, 0.05);
}

.feature-item i { font-size: 1.5rem; color: var(--accent-cyan); }
.feature-item span { font-size: 0.95rem; color: var(--text-main); }

/* =========================================
   10. COMMENT SECTION (Modernized)
   ========================================= */
.comment-section { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); }

.comment-box { 
    background: var(--bg-card); 
    padding: 25px; 
    border-radius: 12px; 
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
}

#auth-ui {
    display: flex; justify-content: space-between; align-items: center; 
    margin-bottom: 20px; padding-bottom: 15px; 
    border-bottom: 1px solid var(--border-color);
}

.input-group textarea { 
    width: 100%; 
    background: var(--bg-input); 
    color: var(--text-main); 
    border: 1px solid var(--border-color); 
    padding: 15px; 
    border-radius: 8px; 
    resize: vertical; 
    min-height: 100px;
    font-family: inherit;
    transition: 0.3s;
}
.input-group textarea:focus { 
    border-color: var(--accent-cyan); 
    outline: none; 
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

.submit-btn {
    background: var(--gradient-primary);
    color: #000;
    border: none; padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700; cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}
.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.4);
}

/* Comments List */
.single-comment { 
    background: var(--bg-card-hover); 
    padding: 20px; 
    border-radius: 12px; 
    margin-bottom: 15px; 
    display: flex; 
    gap: 15px; 
    border: 1px solid var(--border-color); 
}
[data-theme="light"] .single-comment { background: #f3f4f6; }

.comment-avatar img { 
    width: 45px; height: 45px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 2px solid var(--accent-cyan);
}

.comment-content { width: 100%; }

.comment-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 5px;
}
.comment-author { 
    color: var(--accent-cyan); 
    font-weight: bold; font-size: 0.95rem; 
}
[data-theme="light"] .comment-author { color: #0088cc; }

.comment-date { font-size: 0.75rem; color: var(--text-muted); }
.comment-text { color: var(--text-main); font-size: 0.95rem; line-height: 1.5; }

.reply-wrapper { 
    border-left: 2px solid var(--border-color); 
    margin-left: 22px; 
    padding-left: 15px; 
    margin-top: 10px; 
}

/* =========================================
   11. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    .category-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .category-wrapper::-webkit-scrollbar { display: none; }
    
    .telegram-bar { justify-content: space-between; padding: 8px 15px; }
    .tg-text { display: none; }
    .tg-content::after { content: "Join Channel"; color: var(--text-light); font-size: 0.85rem; font-weight: 600; }
    
    .typewriter-text { font-size: 2rem; }
    .hero-header { padding: 40px 15px 60px; }
    
    .seo-card { padding: 25px; }
    .features-list { grid-template-columns: 1fr; }
}




 /* --- Unique Variables for Footer --- */
        :root {
            --footer-bg-dark: #090c10; /* আরও গভীর কালো */
            --footer-text-muted: #8b949e;
            --accent-color: #00e5ff; /* সাইবার সায়ান */
            --accent-secondary: #d124ff; /* সাইবার পার্পল */
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: 1px solid rgba(0, 229, 255, 0.2);
        }

        /* --- Main Footer Structure --- */
        .cyber-footer {
            background-color: var(--footer-bg-dark);
            padding: 60px 20px 30px;
            margin-top: auto;
            font-family: 'Segoe UI', Roboto, sans-serif;
            text-align: center;
            position: relative;
            overflow: hidden;
            border-top: 1px solid rgba(0, 229, 255, 0.1);
        }

        .relative-z { position: relative; z-index: 2; }

        /* --- Special Background Effects (The "WOW" Factor) --- */
        /* ডিজিটাল গ্রিড ব্যাকগ্রাউন্ড */
        .footer-bg-grid {
            position: absolute; inset: 0;
            background-image: radial-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px);
            background-size: 30px 30px;
            mask-image: linear-gradient(to bottom, transparent, black 80%);
            z-index: 0; pointer-events: none; opacity: 0.6;
        }
        /* একটি ভাসমান আলোর বিন্দু */
        .footer-glow-point {
            position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
            width: 300px; height: 300px;
            background: radial-gradient(circle, rgba(0,229,255,0.2) 0%, rgba(0,0,0,0) 70%);
            filter: blur(50px); z-index: 0; pointer-events: none;
        }
        /* উপরের বর্ডারে চলমান আলোর ইফেক্ট */
        .cyber-footer::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent-color), var(--accent-secondary), transparent);
            animation: border-flow 5s linear infinite; background-size: 200% 100%;
        }
        @keyframes border-flow { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }


        .footer-container {
            max-width: 950px; margin: 0 auto; display: flex; flex-direction: column; gap: 35px;
        }

        /* --- Brand Section --- */
        .footer-brand {
            font-size: 1.8rem; font-weight: 800; color: white; margin-bottom: 8px;
            display: flex; align-items: center; justify-content: center; gap: 12px; text-transform: uppercase; letter-spacing: 1px;
        }
        .brand-icon { color: var(--accent-color); filter: drop-shadow(0 0 10px var(--accent-color)); }
        .brand-name .highlight { color: var(--accent-color); }
        .footer-tagline { font-size: 1rem; color: var(--footer-text-muted); margin: 0; letter-spacing: 0.5px; }

        /* --- Special Glass Navigation Panel --- */
        .glass-nav-panel {
            display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
            background: var(--glass-bg);
            backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            padding: 18px 25px; border-radius: 50px;
            border: var(--glass-border);
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5), inset 0 0 20px rgba(0, 229, 255, 0.05);
            position: relative; overflow: hidden;
        }
        /* প্যানেলের ওপর দিয়ে আলোর ঝলকানি */
        .glass-nav-panel::after {
            content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
            background: linear-gradient(to bottom right, transparent, transparent, rgba(255,255,255,0.1), transparent, transparent);
            transform: rotate(45deg); animation: glass-shine 6s infinite linear; pointer-events: none;
        }
        @keyframes glass-shine { 0% { transform: translateX(-100%) rotate(45deg); } 100% { transform: translateX(100%) rotate(45deg); } }

        .f-link {
            color: #e6edf3; text-decoration: none; font-size: 0.9rem; font-weight: 600;
            padding: 8px 16px; border-radius: 30px; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            display: flex; align-items: center; gap: 8px; border: 1px solid transparent;
            background: rgba(0,0,0,0.2);
        }
        .f-link i { font-size: 0.8rem; color: var(--accent-color); transition: 0.3s; }
        
        /* Hover Effect - Neon Pop */
        .f-link:hover {
            background: var(--accent-color); color: #090c10;
            box-shadow: 0 0 20px var(--accent-color);
            border-color: var(--accent-color); transform: translateY(-3px) scale(1.05);
        }
        .f-link:hover i { color: #090c10; }

        /* --- Bottom Section --- */
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.05); padding-top: 25px;
            display: flex; flex-direction: column; gap: 15px; align-items: center;
            font-size: 0.9rem; color: var(--footer-text-muted);
        }
        .copyright strong { color: white; }

        .developer-badge {
            background: rgba(0,0,0,0.3); padding: 8px 20px; border-radius: 20px;
            border: 1px solid rgba(255,255,255,0.05); display: inline-flex; align-items: center; gap: 8px;
        }
        .dev-link.glow-effect {
            color: var(--accent-secondary); text-decoration: none; font-weight: 800; letter-spacing: 0.5px;
            text-shadow: 0 0 10px rgba(209, 36, 255, 0.5); transition: 0.3s;
        }
        .dev-link.glow-effect:hover { text-shadow: 0 0 20px var(--accent-secondary); color: white; }


        /* --- Floating Contact Button with Pulse --- */
        .floating-contact {
            position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
            background: linear-gradient(135deg, #0088cc, #00aaff);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            color: white; font-size: 28px; z-index: 9999; text-decoration: none;
            box-shadow: 0 10px 25px rgba(0, 136, 204, 0.5);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 2px solid rgba(255,255,255,0.1);
        }
        /* Pulse Animation Ring */
        .pulse-ring {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%;
            border: 2px solid #00aaff; animation: pulse-animation 2s infinite; z-index: -1;
        }
        @keyframes pulse-animation {
            0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; }
        }

        .floating-contact:hover {
            transform: translateY(-5px) scale(1.1); background: var(--accent-secondary);
            box-shadow: 0 15px 35px rgba(209, 36, 255, 0.6); border-color: transparent;
        }
        .floating-contact:hover .pulse-ring { animation: none; } /* Hover করলে পালস থামবে */

        /* Tooltip styling */
        .tooltip {
            position: absolute; right: 75px; top: 50%; transform: translateY(-50%) translateX(20px);
            background: rgba(22, 27, 34, 0.95); backdrop-filter: blur(5px); padding: 8px 16px;
            border-radius: 12px; font-size: 0.85rem; font-weight: 700; white-space: nowrap;
            opacity: 0; pointer-events: none; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid var(--accent-color); color: var(--accent-color);
            box-shadow: 0 5px 20px rgba(0, 229, 255, 0.2);
        }
        .floating-contact:hover .tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

        /* Mobile Responsive */
        @media (max-width: 600px) {
            .glass-nav-panel { flex-direction: column; padding: 15px; gap: 8px; border-radius: 25px; }
            .f-link { justify-content: center; width: 100%; }
            .floating-contact { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
            .footer-brand { font-size: 1.5rem; }
        }

        /* Entry Animation (Optional - পেজ লোড হলে সুন্দর দেখাবে) */
        .animated-entry { opacity: 0; transform: translateY(20px); animation: fadeUp 0.6s forwards ease-out; }
        .delay-1 { animation-delay: 0.2s; }
        .delay-2 { animation-delay: 0.4s; }
        @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
