@font-face {
    font-family: iransans;
    font-style: normal;
    font-weight: normal;
    src: url('fonts/IRANSansWeb.eot');
    src: url('fonts/IRANSansWeb.eot-.htm#iefix') format('embedded-opentype'),
         url('fonts/IRANSansWeb.woff2') format('woff2'),
         url('fonts/IRANSansWeb.woff') format('woff'),
         url('fonts/IRANSansWeb.ttf') format('truetype');
}

/* استایل پایه مشترک بین همه تم‌ها */
.ssb-social-sidebar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
    padding: 12px 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.ssb-sidebar-left { left: 20px; }
.ssb-sidebar-right { right: 20px; }

.ssb-social-item {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.ssb-social-item svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke-width: 2;
    transition: all 0.25s ease;
}

.ssb-social-item:hover {
    transform: scale(1.18) translateY(-6px);
}

.ssb-social-item:hover svg {
    animation: ssb-bounce 0.5s ease-in-out forwards;
}

@keyframes ssb-bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(3deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

/* تولتیپ */
.ssb-social-item::after {
    content: attr(data-name);
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    white-space: nowrap;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10000;
    font-family: inherit;
}

.ssb-sidebar-left .ssb-social-item::after { left: 65px; }
.ssb-sidebar-right .ssb-social-item::after { right: 65px; }
.ssb-social-item:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(4px);
}

/* ========== ۱. استایل دارک ========== */
.ssb-style-dark {
    background: rgba(15, 20, 35, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.ssb-style-dark .ssb-social-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.ssb-style-dark .ssb-social-item svg { stroke: #ffffff; }
.ssb-style-dark .ssb-social-item:hover {
    box-shadow: 0 18px 30px -8px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 215, 0, 0.4);
    background: rgba(255, 255, 255, 0.15);
}
.ssb-style-dark .ssb-social-item:hover svg { stroke: #ffffff; }

/* ========== ۲. استایل لایت ========== */
.ssb-style-light {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.ssb-style-light .ssb-social-item {
    background: #f5f7fa;
    border: 1px solid #e8ecf0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.ssb-style-light .ssb-social-item svg { stroke: #2c3e50; }
.ssb-style-light .ssb-social-item:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #d0d5db;
}
.ssb-style-light .ssb-social-item:hover svg { stroke: #1a1a2e; }

/* ========== ۳. استایل نئون ========== */
.ssb-style-neon {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.35), 0 0 5px rgba(0, 255, 255, 0.5);
    border: 1px solid #0ff;
}
.ssb-style-neon .ssb-social-item {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid #0ff;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}
.ssb-style-neon .ssb-social-item svg { 
    stroke: #0ff; 
    filter: drop-shadow(0 0 3px #0ff);
}
.ssb-style-neon .ssb-social-item:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.7), 0 0 0 2px #0ff;
    border-color: #0ff;
}
.ssb-style-neon .ssb-social-item:hover svg { 
    stroke: #fff; 
    filter: drop-shadow(0 0 8px #0ff);
}

/* ========== ۴. استایل گرادینت ========== */
.ssb-style-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    border: none;
}
.ssb-style-gradient .ssb-social-item {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.ssb-style-gradient .ssb-social-item svg { stroke: #ffffff; }
.ssb-style-gradient .ssb-social-item:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* ========== ۵. استایل اوشن (Ocean) - آبی آرامش‌بخش ========== */
.ssb-style-ocean {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(72, 187, 255, 0.3);
}
.ssb-style-ocean .ssb-social-item {
    background: rgba(72, 187, 255, 0.12);
    border: 1px solid rgba(72, 187, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.ssb-style-ocean .ssb-social-item svg { stroke: #48bbff; }
.ssb-style-ocean .ssb-social-item:hover {
    background: rgba(72, 187, 255, 0.3);
    box-shadow: 0 10px 25px rgba(72, 187, 255, 0.3);
    border-color: #48bbff;
}
.ssb-style-ocean .ssb-social-item:hover svg { stroke: #ffffff; }

/* ========== ۶. استایل سانست (Sunset) - غروب آفتاب گرم ========== */
.ssb-style-sunset {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ff9f43 100%);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.35);
    border: none;
}
.ssb-style-sunset .ssb-social-item {
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.ssb-style-sunset .ssb-social-item svg { stroke: #fff3e0; }
.ssb-style-sunset .ssb-social-item:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}
.ssb-style-sunset .ssb-social-item:hover svg { stroke: #ffffff; }

/* ========== ۷. استایل جنگل (Forest) - سبز طبیعی ========== */
.ssb-style-forest {
    background: linear-gradient(135deg, #0b3d3a 0%, #1b5e3f 50%, #2d6a4f 100%);
    box-shadow: 0 10px 30px rgba(27, 94, 63, 0.4);
    border: 1px solid rgba(72, 187, 120, 0.3);
}
.ssb-style-forest .ssb-social-item {
    background: rgba(72, 187, 120, 0.12);
    border: 1px solid rgba(72, 187, 120, 0.25);
}
.ssb-style-forest .ssb-social-item svg { stroke: #6fcf97; }
.ssb-style-forest .ssb-social-item:hover {
    background: rgba(72, 187, 120, 0.3);
    box-shadow: 0 10px 25px rgba(72, 187, 120, 0.3);
    border-color: #6fcf97;
}
.ssb-style-forest .ssb-social-item:hover svg { stroke: #ffffff; }

/* ========== ۸. استایل رویایی (Dreamy) - لاوندر جادویی ========== */
.ssb-style-dreamy {
    background: linear-gradient(135deg, #2d1b4e 0%, #6b2e6e 50%, #9b4d96 100%);
    box-shadow: 0 10px 30px rgba(107, 46, 110, 0.4);
    border: 1px solid rgba(200, 150, 255, 0.3);
}
.ssb-style-dreamy .ssb-social-item {
    background: rgba(200, 150, 255, 0.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(200, 150, 255, 0.25);
}
.ssb-style-dreamy .ssb-social-item svg { stroke: #d4a5ff; }
.ssb-style-dreamy .ssb-social-item:hover {
    background: rgba(200, 150, 255, 0.3);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 12px 28px rgba(200, 150, 255, 0.3);
    border-color: #d4a5ff;
}
.ssb-style-dreamy .ssb-social-item:hover svg { stroke: #ffffff; }

/* رنگ‌های هاور برای هر شبکه (مشترک در همه تم‌ها) */
.ssb-color-telegram:hover { background: #0088cc !important; }
.ssb-color-instagram:hover { background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949, #d6249f, #285AEB) !important; }
.ssb-color-whatsapp:hover { background: #25D366 !important; }
.ssb-color-youtube:hover { background: #FF0000 !important; }
.ssb-color-twitter:hover { background: #1DA1F2 !important; }
.ssb-color-facebook:hover { background: #1877F2 !important; }
.ssb-color-linkedin:hover { background: #0077b5 !important; }
.ssb-color-github:hover { background: #2b3137 !important; }
.ssb-color-discord:hover { background: #5865F2 !important; }
.ssb-color-tiktok:hover { background: linear-gradient(145deg, #000, #25F4EE) !important; }
.ssb-color-phone:hover { background: #34B7F1 !important; }
.ssb-color-email:hover { background: #EA4335 !important; }

.ssb-color-phone:hover svg,
.ssb-color-email:hover svg,
.ssb-color-telegram:hover svg,
.ssb-color-whatsapp:hover svg,
.ssb-color-youtube:hover svg,
.ssb-color-twitter:hover svg,
.ssb-color-facebook:hover svg,
.ssb-color-linkedin:hover svg,
.ssb-color-github:hover svg,
.ssb-color-discord:hover svg { stroke: #ffffff !important; }

.ssb-color-instagram:hover svg,
.ssb-color-tiktok:hover svg { stroke: #ffffff !important; }

/* ریسپانسیو */
@media (max-width: 768px) {
    .ssb-social-item { width: 44px; height: 44px; }
    .ssb-social-item svg { width: 22px; height: 22px; }
    .ssb-sidebar-left { left: 10px; }
    .ssb-sidebar-right { right: 10px; }
    .ssb-sidebar-left .ssb-social-item::after { left: 52px; font-size: 0.7rem; }
    .ssb-sidebar-right .ssb-social-item::after { right: 52px; font-size: 0.7rem; }
}

/* انیمیشن ورود آیتم‌ها */
@keyframes ssb-fade-slide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.ssb-social-item { animation: ssb-fade-slide 0.4s backwards; }


/* اضافه کنید به انتهای فایل style.css */

/* رنگ‌های هاور برای شبکه‌های ایرانی */
.ssb-color-aparat:hover { background: #E30613 !important; }
.ssb-color-eitaa:hover { background: #2E7D32 !important; }
.ssb-color-bale:hover { background: #1C75BC !important; }
.ssb-color-rubika:hover { background: #FF6B00 !important; }
.ssb-color-soroush:hover { background: #9C27B0 !important; }
.ssb-color-gap:hover { background: #F9A825 !important; }

/* استایل آیکون‌های ایرانی */
.ssb-color-aparat svg,
.ssb-color-eitaa svg,
.ssb-color-bale svg,
.ssb-color-rubika svg,
.ssb-color-soroush svg,
.ssb-color-gap svg {
    stroke: #ffffff;
}

.ssb-color-aparat:hover svg,
.ssb-color-eitaa:hover svg,
.ssb-color-bale:hover svg,
.ssb-color-rubika:hover svg,
.ssb-color-soroush:hover svg,
.ssb-color-gap:hover svg {
    stroke: #ffffff !important;
}


/* تاخیرهای انیمیشن */
.ssb-sidebar-left .ssb-social-item:nth-child(1) { animation-delay: 0.05s; }
.ssb-sidebar-left .ssb-social-item:nth-child(2) { animation-delay: 0.1s; }
.ssb-sidebar-left .ssb-social-item:nth-child(3) { animation-delay: 0.15s; }
.ssb-sidebar-left .ssb-social-item:nth-child(4) { animation-delay: 0.2s; }
.ssb-sidebar-left .ssb-social-item:nth-child(5) { animation-delay: 0.25s; }
.ssb-sidebar-left .ssb-social-item:nth-child(6) { animation-delay: 0.3s; }
.ssb-sidebar-left .ssb-social-item:nth-child(7) { animation-delay: 0.35s; }
.ssb-sidebar-left .ssb-social-item:nth-child(8) { animation-delay: 0.4s; }

.ssb-sidebar-right .ssb-social-item:nth-child(1) { animation-delay: 0.05s; }
.ssb-sidebar-right .ssb-social-item:nth-child(2) { animation-delay: 0.1s; }
.ssb-sidebar-right .ssb-social-item:nth-child(3) { animation-delay: 0.15s; }
.ssb-sidebar-right .ssb-social-item:nth-child(4) { animation-delay: 0.2s; }
.ssb-sidebar-right .ssb-social-item:nth-child(5) { animation-delay: 0.25s; }
.ssb-sidebar-right .ssb-social-item:nth-child(6) { animation-delay: 0.3s; }
.ssb-sidebar-right .ssb-social-item:nth-child(7) { animation-delay: 0.35s; }
.ssb-sidebar-right .ssb-social-item:nth-child(8) { animation-delay: 0.4s; }