/* ==========================================
   CHROME/DARK PREMIUM THEME & EXTENSIONS (2026)
   ========================================== */aaa
.badge.arabic {
    background-color: rgba(235, 87, 87, 0.15);
    color: #eb5757;
    border: 1px solid rgba(235, 87, 87, 0.3);
}
:root {
    --bg-color: #0d1117;
    --card-bg: #161b22;
    --border-color: #30363d;
    --text-main: #c9d1d9;
    --text-muted: #8b949e;
    --neon-blue: #58a6ff;
    --neon-green: #2ea44f;
    --neon-purple: #bc8cff;
    --neon-yellow: #e3b341;
    --store-glow: #ff7b72;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 20px;
    line-height: 1.6;
}

/* --- HEADER & NAVIGATION --- */
header {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--neon-blue);
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-btn {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-btn { background: #22c55e; color: #fff; }
.shop-btn:hover { background: #16a34a; }
.stream-btn { background: #3b82f6; color: #fff; }
.stream-btn:hover { background: #2563eb; }
.content-btn { background: #eab308; color: #000; }
.content-btn:hover { background: #ca8a04; }

/* ABOUT BUTTON (HEADER) STYLE */
.nav-btn.about-btn {
    background: transparent;
    border: 1px solid #30363d;
    color: #8b949e;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.nav-btn.about-btn:hover {
    color: #c9d1d9;
    border-color: #8b949e;
    background: rgba(139, 148, 158, 0.1);
}

/* --- HERO SECTION --- */
.hero {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- FILTERS --- */
.filters-container {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--neon-blue);
    color: #fff;
    background-color: rgba(88, 166, 255, 0.1);
}

/* --- DIRECTORY GRID & CARDS --- */
.directory-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.tool-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: #444c56;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.tool-title {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
}

/* --- NEW BADGES SYSTEM (APPS & STREAMING) --- */
.badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.official {
    background-color: rgba(88, 166, 255, 0.15);
    color: var(--neon-blue);
    border: 1px solid rgba(88, 166, 255, 0.3);
}

.badge.github {
    background-color: rgba(139, 148, 158, 0.15);
    color: #c9d1d9;
    border: 1px solid var(--border-color);
}

.badge.online {
    background-color: rgba(46, 164, 79, 0.15);
    color: var(--neon-green);
    border: 1px solid rgba(46, 164, 79, 0.3);
}

.badge.storage {
    background-color: rgba(227, 179, 65, 0.15);
    color: var(--neon-yellow);
    border: 1px solid rgba(227, 179, 65, 0.3);
}

.badge.community {
    background-color: rgba(188, 140, 255, 0.15);
    color: var(--neon-purple);
    border: 1px solid rgba(188, 140, 255, 0.3);
}

.tool-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-type {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: #21262d;
    padding: 4px 10px;
    border-radius: 12px;
}

.visit-btn {
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.visit-btn:hover {
    text-decoration: underline;
}

/* --- OPTIMIZED FOOTER & DMCA BADGE --- */
.site-footer {
    background-color: #0b0f19;
    border-top: 1px solid #1e293b;
    padding: 25px 40px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.telegram-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.telegram-icon-fa {
    font-size: 28px;
    color: #0088cc;
    transition: color 0.3s ease, filter 0.3s ease;
}

.telegram-link:hover .telegram-icon-fa {
    color: #00a2ed;
    filter: drop-shadow(0 0 8px #00a2ed);
}

.telegram-link:hover {
    transform: scale(1.1);
}

.footer-center {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links-gap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-link {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #38bdf8;
}

/* DMCA Badge Styling */
.dmca-badge img {
    vertical-align: middle;
    display: block;
    height: 24px;
    transition: opacity 0.2s ease;
}

.dmca-badge img:hover {
    opacity: 0.8;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    color: #94a3b8;
    font-size: 0.9rem;
    white-space: nowrap;
}

.red-heart {
    color: #ef4444;
    display: inline-block;
}

/* ==========================================
   MINIMALIST LIGHT PORTFOLIO (2026) - FOR ABOUT.HTML
   ========================================== */

body.minimal-light-page {
    background-color: #fbfbfd;
    color: #4a4a4a;
    font-family: 'Inter', -apple-system, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.portfolio-wrapper {
    max-width: 650px;
    width: 100%;
    text-align: center;
    background: transparent;
    padding: 40px 20px;
}

/* BACK TO MAIN BUTTON */
.back-home-container {
    text-align: left;
    margin-bottom: 25px;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7a7a7a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    color: #2c2c2c;
    transform: translateX(-4px);
}

.avatar-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e2e2e2 0%, #ffffff 100%);
    border: 1px solid #d1d1d1;
    color: #7a7a7a;
    font-size: 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.03), -10px -10px 30px rgba(255,255,255,0.8);
}

.my-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.my-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #888888;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.my-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666666;
    margin: 0 auto 40px auto;
}

.my-bio p {
    margin-bottom: 15px;
}

.my-bio strong {
    color: #2c2c2c;
    font-weight: 600;
}

.social-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    color: #555555;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    box-shadow: 2px 4px 12px rgba(0,0,0,0.02);
}

.social-btn i, .social-btn svg {
    font-size: 1.2rem;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 4px 8px 20px rgba(0,0,0,0.06);
    border-color: #cccccc;
    color: #2c2c2c;
}

.social-btn:hover .icon-ig { color: #E1306C; }
.social-btn:hover .icon-tg { color: #0088cc; }
.social-btn:hover .icon-wa { color: #25D366; }
.social-btn:hover .icon-fiverr { color: #1dbf73; }
.social-btn:hover .icon-em { color: #ea4335; }

/* --- SUPPORT SECTION (ANIMATED) --- */
.support-wrapper {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #2c2c2c;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    animation: pulse 2s infinite;
}

.support-btn:hover {
    background-color: #000000;
    transform: scale(1.05);
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(44, 44, 44, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(44, 44, 44, 0); }
    100% { box-shadow: 0 0 0 0 rgba(44, 44, 44, 0); }
}

.footer-credit {
    font-size: 0.85rem;
    color: #aaaaaa;
    margin-top: 20px;
}

/* ==========================================
   CHAT WIDGET STYLES (INDEX.HTML)
   ========================================== */
.chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.chat-toggle-btn {
    background-color: var(--neon-blue);
    color: #fff;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    background-color: #3b82f6;
}

.chat-bubble {
    background-color: var(--card-bg);
    color: var(--text-main);
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-size: 0.9rem;
    cursor: pointer;
    max-width: 260px;
    text-align: center;
    animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.chat-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 340px;
    height: 420px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}

.chat-box.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    position: absolute;
}

.chat-bubble.hidden {
    display: none;
}

.chat-header {
    background-color: #1e293b;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.chat-title {
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-chat-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.close-chat-btn:hover {
    color: #ff7b72;
}

.chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message {
    background-color: #1e293b;
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-message {
    background-color: var(--neon-blue);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    background-color: #1e293b;
}

#chatInput {
    flex-grow: 1;
    background-color: #0d1117;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
}

#chatInput:focus {
    border-color: var(--neon-blue);
}

#sendMessageBtn {
    background-color: var(--neon-blue);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
}

#sendMessageBtn:hover {
    background-color: #3b82f6;
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .hero h1 { font-size: 1.8rem; }
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-left, .footer-center, .footer-right {
        justify-content: center;
        flex: unset;
    }
}

@media (max-width: 600px) {
    .nav-links { 
        width: 100%; 
        justify-content: center; 
        flex-wrap: wrap; 
    }
    .footer-links-gap { 
        flex-direction: column; 
        gap: 10px; 
    }
    .my-name { font-size: 1.8rem; }
    .my-bio { font-size: 1rem; padding: 0 1
    /* 1. Header مدرن ومثبت (Sticky & Glass) */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(13, 17, 23, 0.8); /* خلفية شبه شفافة */
    backdrop-filter: blur(10px); /* الـ Blur باش يبان احترافي */
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
    margin-bottom: 40px;
}

/* 2. Glassmorphism للـ Cards */
.tool-card {
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3. تأثير الـ Glow عند الـ Hover */
.tool-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 8px 30px rgba(88, 166, 255, 0.15);
    transform: translateY(-8px) scale(1.02);
}

/* Container لـ الكارد باش يولي رابط */
.tool-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* تاثير ملي نحطو الماوس على الكارد (Hover Effect) */
.tool-card-link:hover .tool-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #3498db; /* لون خفيف باش تبان بلي Clickable */
}

