.worldcup-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    color: #000;
    padding: 18px 45px;
    font-size: 1.3rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Vazir', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    animation: goldShine 3s infinite;
    margin-top: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    width: auto;
    max-width: 100%;
}

.worldcup-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.worldcup-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 215, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.worldcup-button:active {
    transform: translateY(-4px) scale(1.02);
}

.worldcup-button i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.worldcup-button i.fa-futbol {
    animation: rotate 4s linear infinite;
}

/* ==========================================
   موبایل - زیر 768 پیکسل
   ========================================== */
@media (max-width: 768px) {
    .worldcup-button {
        padding: 15px 35px;
        font-size: 1.1rem;
        gap: 10px;
        margin-top: 15px;
        border-radius: 40px;
        width: 90%;
        max-width: 320px;
    }
    
    .worldcup-button i {
        font-size: 1.3rem;
    }
    
    .worldcup-button:hover {
        transform: translateY(-5px) scale(1.03);
    }
}

/* ==========================================
   موبایل کوچک - زیر 480 پیکسل
   ========================================== */
@media (max-width: 480px) {
    .worldcup-button {
        padding: 12px 28px;
        font-size: 1rem;
        gap: 8px;
        margin-top: 12px;
        border-radius: 35px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        width: 85%;
        max-width: 280px;
    }
    
    .worldcup-button i {
        font-size: 1.1rem;
    }
    
    /* کاهش انیمیشن‌ها برای بهبود عملکرد موبایل */
    .worldcup-button::before {
        animation: shine 4s infinite;
    }
}

/* ==========================================
   موبایل خیلی کوچک - زیر 360 پیکسل
   ========================================== */
@media (max-width: 360px) {
    .worldcup-button {
        padding: 10px 24px;
        font-size: 0.9rem;
        gap: 6px;
        margin-top: 10px;
        border-radius: 30px;
        width: 90%;
        max-width: 260px;
    }
    
    .worldcup-button i {
        font-size: 1rem;
    }
}

/* ==========================================
   تبلت - بین 768 تا 1024 پیکسل
   ========================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    .worldcup-button {
        padding: 16px 40px;
        font-size: 1.2rem;
        gap: 11px;
        margin-top: 18px;
    }
    
    .worldcup-button i {
        font-size: 1.4rem;
    }
}

/* ==========================================
   انیمیشن‌ها
   ========================================== */
@keyframes goldShine {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(255, 215, 0, 0.4),
            0 0 40px rgba(255, 215, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(255, 215, 0, 0.6),
            0 0 60px rgba(255, 215, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   بهینه‌سازی برای صفحه‌نمایش‌های Retina
   ========================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .worldcup-button {
        border-width: 2.5px;
    }
}

/* ==========================================
   حالت لندسکیپ موبایل
   ========================================== */
@media (max-width: 768px) and (orientation: landscape) {
    .worldcup-button {
        padding: 10px 30px;
        font-size: 0.95rem;
        margin-top: 10px;
    }
    
    .worldcup-button i {
        font-size: 1.1rem;
    }
}

/* ==========================================
   غیرفعال‌سازی انیمیشن‌ها برای کاربران با تنظیمات کاهش حرکت
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    .worldcup-button,
    .worldcup-button::before,
    .worldcup-button i {
        animation: none;
    }
    
    .worldcup-button {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
}
