/* استایل‌های پایه */
@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', 'Almarai', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* اسکرول بار سفارشی */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ff4500, #ff8c00);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #e63900, #e67e00);
}

/* استایل‌های سطح 2 */
body.verification-level-2 {
    --primary-color: #1e88e5;
    --secondary-color: #00c853;
    --accent-color: #64dd17;
}

body.verification-level-2 .nav-item i,
body.verification-level-2 .user-tokens i,
body.verification-level-2 .theme-toggle {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

body.verification-level-2 .login-btn,
body.verification-level-2 .auth-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
}

body.verification-level-2 .live-badge {
    background: var(--primary-color) !important;
}

/* استایل‌های سطح 3 */
body.verification-level-3 {
    --primary-color: #8a2be2;
    --secondary-color: #4b0082;
    --accent-color: #9370db;
}

body.verification-level-3 .nav-item i,
body.verification-level-3 .user-tokens i,
body.verification-level-3 .theme-toggle {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

body.verification-level-3 .login-btn,
body.verification-level-3 .auth-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
}

body.verification-level-3 .live-badge {
    background: var(--primary-color) !important;
}

/* شعار اصلی */
.slogan {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 600px;
    font-size: 2.5rem;
    color: #fff;
    z-index: -1;
    opacity: 0.9;
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
}

body.scrolled .slogan {
    opacity: 0;
    pointer-events: none;
}

.slogan .gold {
    color: gold;
    text-shadow: 0 0 10px rgba(255,215,0,0.7);
}

.slogan .white {
    color: white;
}

body.light-mode .slogan {
    color: #333;
}

/* هدر - نسخه بهینه شده */
header {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 8px 12px;
    width: 95%;
    max-width: 650px;
    margin: 0 auto;
    border-radius: 16px;
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border-bottom: 2px solid #464646;
}

body.light-mode header {
    background: rgba(245, 245, 245, 0.85);
    border: 1px solid rgba(0,0,0,0.1);
    border-bottom: 2px solid #ff4500;
}

/* منوی ناوبری - نسخه بهینه شده */
nav ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 4px;
}

nav ul li {
    flex: 1;
    text-align: center;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    padding: 8px 6px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid transparent;
}

nav ul li a:hover {
    border-bottom: 1px solid #ff4500;
}

body.light-mode nav ul li a {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

/* گرادیان فقط برای آیکون‌ها */
nav ul li a i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ff4500, #ffcc00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientColor 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientColor {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

nav ul li a.active i,
nav ul li a:hover i {
    animation: gradientColor 2s ease infinite;
}

nav ul li a.active {
    background: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid #ff4500;
}

body.light-mode nav ul li a.active {
    background: rgba(0, 0, 0, 0.1);
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.15);
}

body.light-mode nav ul li a:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* نوتفیکیشن رایگان */
.live-badge {
    position: absolute;
    top: -8px;
    right: 50%;
    transform: translateX(50%);
    background: #ff0000;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.6rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    display: none;
}

.live-badge.text {
    display: none;
}

.live-badge.dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    top: -2px;
    right: calc(50% - 15px);
    display: none;
}

@keyframes pulse {
    0% { transform: translateX(50%) scale(1); }
    50% { transform: translateX(50%) scale(1.1); }
    100% { transform: translateX(50%) scale(1); }
}

/* پنل کاربر */
.user-panel {
    position: fixed;
    left: 15px;
    top: 15px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

body.scrolled .user-panel {
    opacity: 0;
    pointer-events: none;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #ff4500;
}

body.light-mode .user-info {
    background: rgba(0, 0, 0, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4500, #ff8c00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

body.verification-level-2 .user-avatar {
    background: linear-gradient(135deg, #1e88e5, #00c853);
}

body.verification-level-3 .user-avatar {
    background: linear-gradient(135deg, #8a2be2, #9370db);
}

.user-name {
    font-size: 0.9rem;
    white-space: nowrap;
}

.user-tokens {
    background: rgba(0, 0, 0, 0.2);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid #ff4500;
}

.user-tokens i {
    color: gold;
}

body.verification-level-2 .user-tokens i {
    color: #00c853;
}

body.verification-level-3 .user-tokens i {
    color: #9370db;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2a2a;
    border-radius: 8px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1002;
    border-bottom: 2px solid #ff4500;
}

body.light-mode .user-dropdown {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: 2px solid #ff4500;
}

.user-dropdown a {
    display: block;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

body.light-mode .user-dropdown a {
    color: #333;
}

.user-dropdown a:hover {
    background: rgba(255,255,255,0.1);
}

body.light-mode .user-dropdown a:hover {
    background: rgba(0,0,0,0.1);
}

.logout-btn {
    color: #ff4444 !important;
}

/* دکمه ورود/عضویت */
.auth-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #ff4500;
}

body.light-mode .auth-btn {
    color: #333;
    background: rgba(0, 0, 0, 0.1);
}

.auth-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

body.light-mode .auth-btn:hover {
    background: rgba(0, 0, 0, 0.15);
}

/* دکمه تغییر تم */
.theme-toggle {
    position: fixed;
    right: 70px;
    top: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    color: #ff4500;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid #ff4500;
}

body.scrolled .theme-toggle {
    opacity: 0;
    pointer-events: none;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.2);
}

/* لوگو */
.logo {
    position: fixed;
    right: 10px;
    top: 5px;
    width: 65px;
    height: 65px;
    z-index: 1001;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: opacity 0.3s ease;
    border-bottom: 1px solid #ff4500;
}

body.scrolled .logo {
    opacity: 0;
    pointer-events: none;
}

/* برند ShahramGFX */
.brand-name {
    position: fixed;
    right: 115px;
    top: 20px;
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    z-index: 1001;
    display: none;
    background: linear-gradient(135deg, #ff4500, #ffcc00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientColor 5s ease infinite;
    background-size: 200% 200%;
    transition: opacity 0.3s ease;
}

body.scrolled .brand-name {
    opacity: 0;
    pointer-events: none;
}

/* مودال لاگین */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

body.scrolled .login-modal {
    opacity: 0;
    pointer-events: none;
}

.login-content {
    background: #2a2a2a;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-bottom: 3px solid #ff4500;
}

body.light-mode .login-content {
    background: #f5f5f5;
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-header h2 {
    color: #ff4500;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
}

body.light-mode .form-group label {
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #444;
    background: #333;
    color: #fff;
    border-bottom: 1px solid #ff4500;
}

body.light-mode .form-group input {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-bottom: 1px solid #ff4500;
}

.login-btn {
    background: linear-gradient(135deg, #ff4500, #ff8c00);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
    font-family: 'Vazir';
    transition: background 0.2s;
    margin-bottom: 10px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #e63900, #e67e00);
}

.google-login-btn {
    background: #4285F4;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
    font-family: 'Vazir';
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 1px solid #ff4500;
}

.google-login-btn:hover {
    background: #3367d6;
}

.google-logo {
    width: 18px;
    height: 18px;
}

.error-message {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

/* تغییرات جدید برای نسخه موبایل */
@media (max-width: 768px) {
    /* تغییر اندازه لوگو و دکمه تم در موبایل */
    .logo {
        width: 48px;
        height: 48px;
        right: 8px;
        top: 8px;
    }
    
    .theme-toggle {
        width: 28px;
        height: 28px;
        right: 40px;
        top: 8px;
    }
    
    /* تغییر دکمه ورود/عضویت در موبایل */
    .auth-btn {
        padding: 6px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        justify-content: center;
    }
    
    .auth-btn i {
        display: block;
        margin: 0;
        font-size: 1rem;
    }
    
    .auth-btn span {
        display: none;
    }
    
    /* تغییرات شعار اصلی */
    .slogan {
        font-size: 2.5rem;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        line-height: 1.3;
    }
    
    /* تغییر نام برند */
    .brand-name {
        display: none;
    }
    
    /* نمایش نقطه قرمز در موبایل */
    .live-badge.dot {
        display: block;
    }
    
    /* نمایش فقط سکه در پروفایل موبایل */
    .user-info {
        padding: 6px;
    }
    .user-avatar, .user-name {
        display: none;
    }
    .user-tokens {
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    /* تنظیمات برای صفحه‌های کوچک‌تر */
    .slogan {
        font-size: 2rem;
    }
    
    .theme-toggle {
        right: 35px;
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }
    
    .logo {
        width: 20px;
        height: 20px;
    }
    
    header {
        top: 8px;
        padding: 6px 8px;
        width: calc(100% - 120px);
        max-width: none;
        border-radius: 12px;
    }

    nav ul {
        justify-content: space-between;
        gap: 2px;
    }

    nav ul li {
        flex: none;
    }

    nav ul li a {
        font-size: 0.6rem;
        padding: 6px 4px;
        border-radius: 8px;
    }

    nav ul li a i {
        font-size: 0.9rem;
    }

    .user-panel, .theme-toggle, .logo {
        top: 10px;
    }

    .logo {
        right: 10px;
    }

    .theme-toggle {
        right: 40px;
    }

    .user-panel {
        left: 10px;
    }

    .user-info {
        padding: 4px;
    }

    .user-tokens {
        padding: 4px 6px;
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    /* تنظیمات برای صفحه‌های خیلی کوچک */
    .slogan {
        font-size: 1.8rem;
    }
    
    header {
        padding: 3px 5px;
        width: calc(100% - 150px);
    }

    nav ul li a {
        font-size: 0.45rem;
        padding: 3px 1px;
    }

    nav ul li a i {
        font-size: 0.6rem;
    }

    .auth-btn {
        padding: 6px;
        width: 32px;
        height: 32px;
    }
}

@media (min-width: 1200px) {
  .brand-name {
      display: block;
  }
  
  header {
      max-width: 630px;
      padding: 6px 10px;
  }
  
  nav ul li a {
      font-size: 0.85rem;
      padding: 8px 8px;
  }
  
  nav ul li a i {
      font-size: 1.2rem;
  }
  
  .slogan {
      font-size: 3rem;
  }
  
  .live-badge.text {
      display: inline-block;
  }
  
  .live-badge.dot {
      display: none;
  }

  nav ul li a.active {
    background: rgba(255, 255, 255, 0.083);
}

    
    /* نمایش کامل پروفایل در نمایشگرهای بزرگ */
    .user-info {
        padding: 6px 14px;
    }
    .user-avatar, .user-name {
        display: flex;
    }

/* استایل‌های اختصاصی برای Galaxy S24 Ultra */
@media screen and (device-width: 412px) and (device-height: 892px) and (-webkit-device-pixel-ratio: 3.5),
       screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) {
    
    /* تنظیمات فونت برای خوانایی بهتر */
    * {
        font-size: 1.05rem;
    }
    
    /* بهینه‌سازی هدر برای ناچ دوربین */
    header {
        width: 92%;
        margin-top: 30px;
        padding: 10px 15px;
        border-radius: 20px;
    }
    
    /* تنظیمات منوی ناوبری */
    nav ul {
        gap: 8px;
    }
    
    nav ul li a {
        font-size: 0.85rem;
        padding: 10px 8px;
    }
    
    nav ul li a i {
        font-size: 1.3rem;
    }
    
    /* بهینه‌سازی لوگو و دکمه‌ها */
    .logo {
        width: 70px;
        height: 70px;
        right: 20px;
        top: 20px;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        right: 90px;
        top: 20px;
        font-size: 1.2rem;
    }
    
    /* تنظیمات شعار اصلی */
    .slogan {
        font-size: 3rem;
        top: 45%;
        line-height: 1.4;
    }
    
    /* بهینه‌سازی پنل کاربر */
    .user-panel {
        left: 20px;
        top: 20px;
    }
    
    .user-info {
        padding: 8px 16px;
        border-radius: 25px;
    }
    
    .user-avatar {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .user-name {
        font-size: 1rem;
    }
    
    /* تنظیمات دکمه هوش مصنوعی */
    .ai-container {
        left: 30px;
        bottom: 30px;
    }
    
    .rgb-backdrop {
        width: 70px;
        height: 70px;
    }
    
    .ai-core {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    /* تنظیمات برای حالت‌های مختلف */
    body.verification-level-2 .ai-core,
    body.verification-level-3 .ai-core {
        border-width: 2px;
    }
    
    /* بهینه‌سازی برای نرخ تازه‌سازی 120Hz */
    @media (update: fast) {
        * {
            scroll-behavior: smooth;
        }
        
        .ai-container:hover .ai-core {
            transition-duration: 0.15s;
        }
        
        ::-webkit-scrollbar-thumb {
            transition: background 0.1s;
        }
    }
    
    /* پشتیبانی از حالت قلم S Pen */
    @media (pointer: fine) {
        nav ul li a:hover {
            transform: translateY(-2px);
        }
        
        .ai-container:hover .ai-core {
            transform: scale(1.1);
        }
    }
    
    /* تنظیمات برای حالت شب */
    @media (prefers-color-scheme: dark) {
        body:not(.light-mode) {
            background: #121212;
        }
        
        body:not(.light-mode) header {
            background: rgba(30, 30, 30, 0.9);
        }
    }
    
    /* تنظیمات برای صفحه نمایش همیشه روشن */
    @media (prefers-reduced-motion) {
        * {
            animation: none !important;
            transition: none !important;
        }
    }
}

/* تنظیمات اضافی برای نمایشگرهای با تراکم پیکسلی بالا */
@media (-webkit-min-device-pixel-ratio: 3.5),
       (min-resolution: 420dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
    }
    
    nav ul li a i {
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }
    
    .slogan {
        text-shadow: 0 2px 5px rgba(0,0,0,0.4);
    }
}

/* بهینه‌سازی برای حالت چند پنجره‌ای */
@media (max-aspect-ratio: 13/9) {
    header {
        width: 95%;
        max-width: none;
    }
    
    .slogan {
        font-size: 2.5rem;
    }
    
    .user-panel, .theme-toggle, .logo {
        top: 15px;
    }
}

/* تنظیمات خاص برای گلکسی S23 و S24 Ultra */
@media (min-width: 412px) and (max-width: 500px) and (min-height: 800px),
       (min-width: 412px) and (max-width: 500px) and (-webkit-device-pixel-ratio: 4) {
    
    header {
        width: calc(100% - 40px);
    }
    
    .slogan {
        font-size: 2.2rem;
    }
    
    nav ul li a {
        font-size: 0.6rem;
        padding: 5px 3px;
    }
    
    nav ul li a i {
        font-size: 0.9rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .theme-toggle {
        width: 30px;
        height: 30px;
    }
    
    .ai-container {
        left: 20px;
        bottom: 20px;
    }
}

    }
    /* استایل‌های جدید برای آیکون طلا */
    nav ul li a[data-page="gold"] i {
        color: gold;
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        animation: none;
        text-shadow: 0 0 5px rgba(255,215,0,0.3);
    }
    
    nav ul li a[data-page="gold"]:hover i {
        filter: brightness(1.1);
        text-shadow: 0 0 8px rgba(255,215,0,0.5);
    }
    
    nav ul li a[data-page="gold"].active i {
        filter: brightness(1.2);
        text-shadow: 0 0 10px rgba(255,215,0,0.7);
    }
    
    /* برای حالت‌های احراز هویت سطح 2 و 3 */
    body.verification-level-2 nav ul li a[data-page="gold"] i {
        color: #1e88e5;
        text-shadow: 0 0 5px rgba(30, 136, 229, 0.3);
    }
    
    body.verification-level-3 nav ul li a[data-page="gold"] i {
        color: #8a2be2;
        text-shadow: 0 0 5px rgba(138, 43, 226, 0.3);
    }
    /* استایل اصلی */
    .ai-container {
        position: fixed;
        left: 25px;
        bottom: 25px;
        z-index: 9999;
        cursor: pointer;
        transition: opacity 0.3s ease;
    }
    
    body.scrolled .ai-container {
        opacity: 0;
        pointer-events: none;
    }
    
    /* دایره RGB پشتی */
    .rgb-backdrop {
        width: 60px;
        height: 60px;
        background: linear-gradient(45deg, 
            #ff0000, #ff7300, #fffb00, #48ff00,
            #00ffd5, #002bff, #7a00ff, #ff00c8);
        background-size: 400% 400%;
        border-radius: 50%;
        position: absolute;
        animation: rgbSpin 4s linear infinite;
        filter: blur(8px);
        opacity: 0.7;
    }
    
    /* آیکون مرکزی */
    .ai-core {
        width: 50px;
        height: 50px;
        background: #2a2a2a;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 24px;
        position: relative;
        box-shadow: 0 4px 20px rgba(0,0,0,0.4);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid #ff4500;
    }
    
    /* نوتفیکیشن نارنجی */
    .ai-alert {
        position: absolute;
        top: -10px;
        right: -10px;
        background: #ff6b35;
        color: white;
        padding: 3px 8px;
        border-radius: 15px;
        font-size: 10px;
        font-weight: bold;
        border: 2px solid #fff;
        animation: alertPulse 1.5s infinite;
    }
    
    /* پنل هاور */
    .ai-hover-panel {
        position: absolute;
        left: 80px;
        bottom: 0;
        background: rgba(40,40,40,0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 15px;
        width: 220px;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.4s ease;
        pointer-events: none;
        border: 1px solid rgba(255,255,255,0.1);
        border-bottom: 2px solid #ff4500;
    }
    
    .ai-hover-panel h4 {
        color: #ff6b35;
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .ai-hover-panel p {
        color: #aaa;
        font-size: 12px;
        line-height: 1.4;
    }
    
    .ai-panel-btn {
        display: block;
        background: #ff6b35;
        color: white;
        padding: 6px 12px;
        border-radius: 8px;
        text-align: center;
        margin-top: 10px;
        font-size: 12px;
        text-decoration: none;
        transition: all 0.3s ease;
        border-bottom: 1px solid #ff4500;
    }
    
    /* انیمیشن‌ها */
    @keyframes rgbSpin {
        0% { background-position: 0% 50%; transform: rotate(0deg); }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; transform: rotate(360deg); }
    }
    
    @keyframes alertPulse {
        0%,100% { transform: scale(1); }
        50% { transform: scale(1.1); }
    }
    
    /* افکت‌های تعاملی */
    .ai-container:hover .ai-core {
        transform: scale(1.15) rotate(15deg);
    }
    
    .ai-container:hover .ai-hover-panel {
        opacity: 1;
        transform: translateX(0);
        pointer-events: all;
    }
    
    .ai-panel-btn:hover {
        background: #ff5722;
        transform: translateY(-2px);
    }