/* استایل منوی همبرگری */
.hamburger-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--light);
    cursor: pointer;
    z-index: 1000;
    margin-right: 30px;
}

.mobile-user-section {
    display: none;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 992px) {
    .hamburger-menu {
        display: block;
        order: -1;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--darker);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: all 0.3s ease;
        z-index: 999;
        border-left: 1px solid rgba(255, 186, 0, 0.2);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav a {
        padding: 12px 15px;
        border-radius: 5px;
        margin-bottom: 5px;
        width: 100%;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-user-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-user-image {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        overflow: hidden;
        margin-top: 15px;
        border: 3px solid var(--primary);
    }
    
    .mobile-user-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* تنظیمات هیرو برای موبایل */
    .top-line {
        font-size: 3rem;
    }
    
    .bottom-line {
        font-size: 4rem;
        margin-top: -5px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        padding: 10px 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-play, .btn-discord {
        width: 100%;
        justify-content: center;
    }
    
    /* تنظیمات نوار وضعیت برای موبایل */
    .status-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .server-info {
        justify-content: center;
    }
    
    .server-ip {
        margin-top: 5px;
    }
    
    /* تنظیمات بخش گیم مودها */
    .game-modes-list {
        grid-template-columns: 1fr;
    }
    
    /* تنظیمات بخش آموزش */
    .tutorial-container {
        flex-direction: column;
    }
    
    .tutorial-video iframe {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .top-line {
        font-size: 2.5rem;
    }
    
    .bottom-line {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        width: 95%;
    }
    
    .logo img {
        height: 35px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* استایل‌های جدید برای هیرو در موبایل */
@media (max-width: 992px) {
    /* تنظیمات لوگو در هدر */
    .header-content {
        justify-content: flex-start; /* تغییر جهت چینش */
    }
    
    .logo {
        margin-right: 0;
        margin-left: auto; /* لوگو را به راست می‌کشد */
        padding-right: 10px;
        transform: scale(0.9); /* کوچک کردن لوگو در موبایل */
    }
    
 
    
    /* تنظیمات هیرو */
    .hero-content {
        text-align: center;
        padding-top: 40px;
    }
    
    .main-title {
        flex-direction: column;
        gap: 5px;
    }
    
    .top-line {
        font-size: 4rem !important;
        line-height: 1;
    }
    
    .bottom-line {
        font-size: 5rem !important;
        margin-top: -15px !important;
    }
    
    .hero-subtitle {
        font-size: 1.5rem !important;
        margin: 20px auto 30px !important;
        max-width: 90%;
    }
    
    /* دکمه‌های هیرو - دقیقاً مشابه PC */
    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }
    
    .btn-play, .btn-discord {
        padding: 12px 25px !important;
        font-size: 1rem !important;
        flex-grow: 0;
        min-width: auto;
        max-width: none;
    }
    
    /* امضا در موبایل */
    .hero-signature img {
        height: 50px;
    }
    
    /* نوار وضعیت در یک خط */
    .status-bar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 5px 0;
    }
    
    .server-info {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 65%;
        font-size: 0.9rem;
    }
    
    .server-ip {
        margin-top: 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .top-line {
        font-size: 3.5rem !important;
    }
    
    .bottom-line {
        font-size: 4.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.3rem !important;
    }
    
    .hero-buttons {
        gap: 10px;
    }
    
    .btn-play, .btn-discord {
        padding: 10px 20px !important;
    }
}

@media (max-width: 576px) {
    .top-line {
        font-size: 2.8rem !important;
    }
    
    .bottom-line {
        font-size: 3.5rem !important;
        margin-top: -10px !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin: 15px auto 25px !important;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .btn-play, .btn-discord {
        min-width: 45%;
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
    }
    
    .logo img {
        height: 35px;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
      background-position: center center !important;
      background-size: cover !important;
    }
  }
  

  .game-icon {
    width: 820px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    transition: all 0.3s ease;
  }
  
  /* نسخه موبایل */
  @media (max-width: 820px) {
    .game-icon {
      width: 310px;
    }
  }
  

  
 @media (max-width: 992px) {
     .rules-tabs ul {
         flex-wrap: wrap;
     }
     
     .rules-tabs li {
         flex: 1 0 48%;
         margin-bottom: 10px;
     }
     
     .section-title {
         font-size: 2.2rem;
     }
     
     .section-header h2 {
         font-size: 1.6rem;
     }
     
     .rule-main-title {
         font-size: 1.3rem;
     }
 }
 
 @media (max-width: 768px) {
     .rules-hero {
         padding: 60px 0 40px;
     }
     
     .section-title {
         font-size: 2rem;
     }
     
     .hero-description {
         font-size: 1rem;
     }
     
     .rules-tabs li {
         flex: 1 0 100%;
     }
     
     .tab-link {
         flex-direction: row;
         justify-content: flex-start;
         padding: 12px 15px;
         gap: 15px;
     }
     
     .section-header {
         flex-direction: column;
         align-items: flex-start;
         gap: 10px;
     }
     
     .section-badge {
         margin-right: 0;
     }
 }
 
 @media (max-width: 480px) {
     .section-title {
         font-size: 1.8rem;
     }
     
     .section-header h2 {
         font-size: 1.4rem;
     }
     
     .section-header i {
         font-size: 1.2rem;
     }
     
     .rule-main-title {
         font-size: 1.2rem;
     }
     
     .rule-text {
         font-size: 0.95rem;
         padding-right: 20px;
     }
     
     .custom-bullet {
         width: 10px;
         height: 10px;
         top: 7px;
     }
 }

 @media (max-width: 768px) {
    .shop-hero {
        padding: 80px 0 40px;
    }
    
    .shop-controls {
        margin: 30px 0;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        padding-bottom: 5px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-details {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-desc {
        font-size: 0.85rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 8px;
        padding: 10px 15px;
    }
    
    .btn-buy, .btn-details {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .shop-hero {
        padding: 60px 0 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stat-box {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-icons img {
        height: 30px;
    }
    
    .shop-notice {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .shop-notice i {
        font-size: 1.2rem;
    }
}