/* ============================================
   TopUp70 - Homepage Redesign CSS
   Arabic-focused Premium Design
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    --primary-gradient-hover: linear-gradient(135deg, #6d28d9 0%, #1d4ed8 100%);
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --card-bg: rgba(30, 30, 50, 0.7);
    --card-hover-bg: rgba(40, 40, 65, 0.85);
    --glow-purple: 0 0 20px rgba(124, 58, 237, 0.3);
    --glow-blue: 0 0 20px rgba(37, 99, 235, 0.3);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --section-spacing: 80px;
    --font-ar: 'Cairo', sans-serif;
    --border-radius-lg: 20px;
    --border-radius-md: 14px;
    --border-radius-sm: 10px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Global Font & Background Overrides ---------- */
body, html {
    font-family: var(--font-ar), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    background-color: #0b0c16 !important;
}

body[dir="rtl"],
body.rtl {
    font-family: var(--font-ar), sans-serif !important;
}


h1, h2, h3, h4, h5, h6,
.section-title,
.section-desc,
.widget-title,
.section-badge span {
    font-family: var(--font-ar), sans-serif !important;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(124, 58, 237, 0.2); }
    50% { box-shadow: 0 0 25px rgba(124, 58, 237, 0.5); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(124, 58, 237, 0.3); }
    50% { border-color: rgba(37, 99, 235, 0.6); }
}

/* ---------- Section Common Styles ---------- */
.home-page .hero-section,
.home-page .trending-game-section,
.home-page .exclusive-offer-section,
.home-page .flash-deal-section,
.home-page .why-choose-us-section,
.home-page .testimonial-section,
.home-page .blog-section,
.home-page .contact-section,
.home-page .about-section {
    position: relative;
    overflow: hidden;
}

.home-page .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--primary-gradient);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    animation: pulseGlow 3s ease-in-out infinite;
}

.home-page .section-badge i {
    font-size: 14px;
}

.home-page .section-title {
    font-weight: 800 !important;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-page .section-desc {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 500px;
}

.home-page .explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--primary-gradient);
    border-radius: 50px;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.home-page .explore-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}

.home-page .explore-btn:hover::before {
    left: 100%;
}

.home-page .explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-purple);
}

.home-page .hero-section {
    position: relative;
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.06), transparent 60%),
                radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.04), transparent 50%),
                var(--bg-color1);
    padding-top: 85px !important;
    padding-bottom: 5px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
}

.home-page .hero-section .slider-box {
    border-radius: var(--border-radius-lg) !important;
    overflow: hidden;
    position: relative;
}

.home-page .hero-section .slider-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(10, 10, 30, 0.8), transparent);
    pointer-events: none;
    z-index: 1;
}

.home-page .hero-section .hero-nav-wrapper {
    position: relative;
    z-index: 5;
}

.home-page .hero-section .hero-nav-prev,
.home-page .hero-section .hero-nav-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.home-page .hero-section .hero-nav-prev:hover,
.home-page .hero-section .hero-nav-next:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: scale(1.1);
}

/* Stats Bar */
.home-page .stats-bar {
    width: 100%;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 40px !important; /* Perfect margin spacing below the swiper slider */
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 30px !important;
    background: rgba(18, 19, 35, 0.6) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.12) !important;
    border-radius: var(--border-radius-lg) !important;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
}

.home-page .stats-bar .stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.home-page .stats-bar .stat-number {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}

.home-page .stats-bar .stat-label {
    font-size: 13px;
    color: #b5b8c4;
    font-weight: 600;
    font-family: 'Cairo', sans-serif !important;
}

/* ---------- Game Cards (Top-Up, Card, Account) ---------- */
.home-page .game-card {
    display: block;
    background: var(--card-bg);
    border-radius: var(--border-radius-md) !important;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    text-decoration: none !important;
    position: relative;
}

.home-page .game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: var(--glow-purple), 0 20px 40px rgba(0,0,0,0.3);
    background: var(--card-hover-bg);
}

.home-page .game-card__thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0 !important;
}

.home-page .game-card__thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-page .game-card:hover .game-card__thumb img {
    transform: scale(1.08);
}

.home-page .game-card__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 30, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.home-page .game-card:hover .game-card__thumb::after {
    opacity: 1;
}

.home-page .game-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

body[dir="rtl"] .home-page .game-card__badge,
body.rtl .home-page .game-card__badge {
    left: auto;
    right: 10px;
}

.home-page .game-card__badge span {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 50px;
    animation: pulseGlow 2s ease-in-out infinite;
}

.home-page .game-card__info {
    padding: 14px;
}

.home-page .game-card__title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-page .game-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.home-page .game-card__price {
    font-size: 15px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-page .game-card__price-old {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-decoration: line-through;
}

/* ---------- Flash Deal / Campaign Section ---------- */
.home-page .flash-deal-section {
    position: relative;
}

.home-page .flash-deal-section .flash-deal-section-inner {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.home-page .flash-deal-section .flash-deal-section-inner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.home-page .flash-deal-section .single-countdown {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-sm);
    padding: 10px 16px;
    min-width: 60px;
    margin: 0 4px;
}

.home-page .flash-deal-section .single-countdown h5 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.home-page .flash-deal-section .single-countdown span {
    font-size: 10px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.home-page .flash-deal-section .product-box {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

.home-page .flash-deal-section .product-box:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: var(--glow-purple);
}

.home-page .flash-deal-section .product-box .img-box {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.home-page .flash-deal-section .product-box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .flash-deal-section .promo-price {
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-page .flash-deal-section .original-price {
    color: rgba(255,255,255,0.4) !important;
    font-size: 12px;
}

/* ---------- Why Choose Us Section ---------- */
.home-page .why-choose-us-section .cmn-list .item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    margin-bottom: 14px;
    transition: var(--transition-smooth);
}

.home-page .why-choose-us-section .cmn-list .item:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateX(5px);
    box-shadow: var(--glow-purple);
}

body[dir="rtl"] .home-page .why-choose-us-section .cmn-list .item:hover,
body.rtl .home-page .why-choose-us-section .cmn-list .item:hover {
    transform: translateX(-5px);
}

.home-page .why-choose-us-section .cmn-list .item .icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.home-page .why-choose-us-section .cmn-list .item h5 {
    font-weight: 700;
    margin-bottom: 4px;
}

/* ---------- Testimonial Section ---------- */
.home-page .testimonial-section .testimonial-box {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    transition: var(--transition-smooth);
}

.home-page .testimonial-section .testimonial-box:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: var(--glow-purple);
}

.home-page .testimonial-section .quote-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
}

.home-page .testimonial-section .reviews li {
    color: #f59e0b;
}

/* ---------- Footer Redesign ---------- */
.home-page .footer-section,
.footer-section {
    position: relative;
}

.footer-section .newsletter-section-inner {
    background: rgba(30, 30, 50, 0.35) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: var(--border-radius-lg) !important;
    padding: 40px !important;
    position: relative;
    overflow: hidden;
}

.footer-section .newsletter-section-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
    opacity: 0.05 !important;
    pointer-events: none;
}

.footer-section .newsletter-form {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.footer-section .newsletter-form .form-control {
    background: rgba(11, 12, 22, 0.8) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 50px !important;
    padding: 14px 24px !important;
    color: #fff !important;
    font-family: var(--font-ar), sans-serif;
    transition: var(--transition-smooth);
}

.footer-section .newsletter-form .form-control:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
    background: rgba(11, 12, 22, 0.95) !important;
}

.footer-section .newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.4);
}

.footer-section .subscribe-btn {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 32px !important;
    color: #0b0c16 !important;
    font-weight: 800 !important;
    white-space: nowrap;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2) !important;
}

.footer-section .subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
}

.footer-section .footer-widget .widget-title {
    font-weight: 800 !important;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-family: var(--font-ar), sans-serif !important;
}

.footer-section .footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #aa7c11) !important;
    border-radius: 2px;
}

body[dir="rtl"] .footer-section .footer-widget .widget-title::after,
body.rtl .footer-section .footer-widget .widget-title::after {
    left: auto;
    right: 0;
}

.footer-section .social-box li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(30, 30, 50, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
    color: var(--text-secondary) !important;
}

.footer-section .social-box li a:hover {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
    border-color: transparent !important;
    color: #0b0c16 !important;
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4) !important;
}

/* Bullet markers & Link hover colors in Footer Widget */
.footer-widget .widget-link {
    font-family: var(--font-ar), sans-serif !important;
    transition: var(--transition-smooth) !important;
}

.footer-widget .widget-link::before {
    background-color: #e5c158 !important;
}

.footer-widget .widget-link:hover {
    color: #e5c158 !important;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
}

.contact-item i {
    color: #e5c158 !important;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
}

/* Payment Methods in Footer */
.payment-methods-section {
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.payment-methods-section .payment-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-ar), sans-serif !important;
}

.payment-methods-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.payment-method-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 48px;
    background: rgba(30, 30, 50, 0.4) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 8px;
    padding: 6px 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}

.payment-method-item:hover {
    background: rgba(212, 175, 55, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2) !important;
}

.payment-method-item svg,
.payment-method-item img {
    max-width: 100%;
    max-height: 100%;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.payment-method-item:hover svg,
.payment-method-item:hover img {
    opacity: 1;
}

.payment-method-item .payment-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.2;
    font-family: var(--font-ar), sans-serif !important;
}

/* ---------- Copyright Section ---------- */
.copyright-section {
    border-top: 1px solid var(--glass-border) !important;
    padding: 20px 0 !important;
}

.copyright-section .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ---------- Section Separators ---------- */
.home-page .trending-game-section,
.home-page .exclusive-offer-section,
.home-page .why-choose-us-section,
.home-page .testimonial-section,
.home-page .blog-section,
.home-page .contact-section {
    position: relative;
}

.home-page .trending-game-section::before,
.home-page .exclusive-offer-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* ---------- Section Backgrounds ---------- */
.home-page .trending-game-section {
    background: radial-gradient(ellipse at 20% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%), #0b0c16 !important;
}

.home-page .exclusive-offer-section {
    background: radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%), #0f1020 !important;
}

.home-page .why-choose-us-section {
    background: radial-gradient(ellipse at 50% 50%, rgba(124, 58, 237, 0.04) 0%, transparent 60%), #0f1020 !important;
}

/* ---------- Blog Section ---------- */
.home-page .blog-section .blog-box {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.home-page .blog-section .blog-box:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: var(--glow-purple);
}

.home-page .blog-section .blog-box .img-box {
    overflow: hidden;
}

.home-page .blog-section .blog-box .img-box img {
    transition: transform 0.5s;
}

.home-page .blog-section .blog-box:hover .img-box img {
    transform: scale(1.05);
}

.home-page .blog-section .blog-box .tag a {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ---------- Contact Section ---------- */
.home-page .contact-section .contact-item-list .item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.home-page .contact-section .contact-item-list .item:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
}

.home-page .contact-section .contact-item-list .icon-area {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
    color: #fff;
}

.home-page .contact-section .form-control {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--border-radius-sm) !important;
    color: #fff !important;
    font-family: var(--font-ar), sans-serif;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    :root {
        --section-spacing: 50px;
    }
    .home-page .stats-bar {
        gap: 20px;
        padding: 16px 20px;
    }
    .home-page .stats-bar .stat-number {
        font-size: 22px;
    }
    .payment-methods-list {
        gap: 10px;
    }
    .payment-method-item {
        width: 58px;
        height: 38px;
    }
}

@media (max-width: 575px) {
    .home-page .stats-bar {
        gap: 16px;
    }
    .home-page .stats-bar .stat-number {
        font-size: 18px;
    }
    .home-page .stats-bar .stat-label {
        font-size: 11px;
    }
    .home-page .game-card__info {
        padding: 10px;
    }
    .home-page .game-card__title {
        font-size: 12px !important;
    }
    .home-page .game-card__price {
        font-size: 13px;
    }
    .payment-method-item {
        width: 52px;
        height: 34px;
    }
    .footer-section .newsletter-form {
        flex-direction: column;
    }
}

/* ============================================
   Gulf / Arabic Premium Navigation Bar Styles
   ============================================ */

/* Navbar Wrapper */
.cusotm-nav {
    background: rgba(11, 12, 22, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 1px 15px rgba(212, 175, 55, 0.05) !important;
    transition: var(--transition-smooth);
}

@media (max-width: 991.98px) {
    .cusotm-nav {
        background: #0b0c16 !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    }
}

/* Desktop Inner View */
.desktop-view {
    background: transparent !important;
    border-bottom: none !important;
    padding: 12px 0 !important;
}

/* Logo styling */
.cusotm-nav .logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.2));
    transition: var(--transition-smooth);
}

.cusotm-nav .logo img:hover {
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    transform: scale(1.03);
}

/* Main Menu Links */
.main-menu ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-menu ul li a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition-smooth) !important;
    position: relative;
}

.main-menu ul li a:hover,
.main-menu ul li.active a {
    color: #e5c158 !important;
    background: rgba(212, 175, 55, 0.05) !important;
}

.main-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #aa7c11);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.main-menu ul li a:hover::after,
.main-menu ul li.active a::after {
    transform: translateX(-50%) scaleX(1);
}

/* Custom Nav Right Buttons */
.custom-nav {
    display: flex;
    align-items: center;
    gap: 14px !important;
}

/* Search Box Customization */
.search-box2 {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box2 .search-btn2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-box2 .search-btn2:hover {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    color: #0b0c16;
}

.search-box2 .form-control {
    background: rgba(11, 12, 22, 0.9) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #fff !important;
    border-radius: 30px !important;
    padding-left: 20px;
    padding-right: 20px;
}

.search-box2 .form-control:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
}

/* Shopping Cart */
.shopping-cart button.dropdown-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    transition: var(--transition-smooth);
}

.shopping-cart button.dropdown-toggle:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
    color: #e5c158;
}

.shopping-cart button.dropdown-toggle .count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
    color: #0b0c16 !important;
    font-size: 11px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Language and Currency Button */
.lang-currency-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-currency-btn:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    color: #e5c158 !important;
}

.lang-currency-btn img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Login Button */
a.nav-link.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(170, 124, 17, 0.05) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: #e5c158 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-radius: 30px !important;
    transition: var(--transition-smooth) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

a.nav-link.login-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
    border-color: transparent !important;
    color: #0b0c16 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    text-shadow: none;
}

/* Profile Icon Dropdown */
.profile-box .profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.4);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.profile-box .profile:hover {
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Dropdown Menus styling (Cart, User, Language selection Modal) */
.cart-dropdown,
.user-dropdown {
    background: rgba(15, 16, 28, 0.95) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

.cart-dropdown li a,
.user-dropdown li a {
    color: #fff !important;
    font-family: var(--font-ar), sans-serif;
    transition: var(--transition-smooth);
}

.cart-dropdown li a:hover,
.user-dropdown li a:hover {
    background: rgba(212, 175, 55, 0.08) !important;
    color: #e5c158 !important;
}

.user-dropdown li a i {
    color: #e5c158 !important;
    margin-left: 8px;
}

body[dir="ltr"] .user-dropdown li a i,
body:not(.rtl) .user-dropdown li a i {
    margin-left: 0;
    margin-right: 8px;
}

/* Modal Content override for gold styling */
#lang-currency-modal .modal-content {
    background: #0f101d !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
}

#lang-currency-modal .modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

#lang-currency-modal .modal-header h4 {
    color: #fff;
    font-weight: 700;
}

#lang-currency-modal .form-label {
    color: #e5c158;
}

#lang-currency-modal .select2-container--default .select2-selection--single {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
}

#lang-currency-modal .cmn-btn {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
    color: #0b0c16 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

#lang-currency-modal .cmn-btn:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-1px);
}

/* ============================================
   Premium Login & Register Page Redesign
   ============================================ */
.login-register-section {
    padding: 100px 0;
    background: radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.06) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
                #0b0c16 !important;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

.login-register-form {
    background: rgba(18, 19, 35, 0.65) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-top: 3px solid #d4af37 !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 35px rgba(212, 175, 55, 0.05) !important;
    padding: 45px 35px !important;
    position: relative;
    overflow: hidden;
}

.login-register-form::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.login-register-form .section-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-register-form .section-header h3 {
    font-family: 'Cairo', sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #aa7c11 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.login-register-form .section-header .description {
    color: #b5b8c4 !important;
    font-size: 14px;
    font-family: 'Cairo', sans-serif !important;
}

/* Social Buttons */
.login-register-form .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-radius: 30px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: var(--transition-smooth) !important;
    font-family: 'Cairo', sans-serif !important;
}

.login-register-form .social-btn:hover {
    background: rgba(212, 175, 55, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    color: #e5c158 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.login-register-form .social-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.login-register-form .divider {
    border-color: rgba(255, 255, 255, 0.08) !important;
    margin: 25px 0 !important;
    opacity: 1;
}

/* Form Inputs styling */
.login-register-form .form-control {
    background: rgba(10, 11, 22, 0.75) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 12px !important;
    color: #fff !important;
    height: 52px !important;
    font-size: 14.5px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: 'Cairo', sans-serif !important;
}

.login-register-form .form-control:not(#telephone) {
    padding: 12px 20px !important;
}

.login-register-form .form-control:focus {
    border-color: #ffd700 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25) !important;
    background: rgba(10, 11, 22, 0.95) !important;
}

.login-register-form .password-box {
    position: relative;
}

.login-register-form .password-box .password-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 16px;
}

body[dir="rtl"] .login-register-form .password-box .password-icon,
body.rtl .login-register-form .password-box .password-icon {
    right: auto;
    left: 20px;
}

.login-register-form .password-box .password-icon:hover {
    color: #ffd700;
}

/* Telephone specific dynamic padding fixes */
.login-register-form #telephone {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

body[dir="rtl"] .login-register-form #telephone,
body.rtl .login-register-form #telephone {
    padding-right: 98px !important;
    padding-left: 20px !important;
}

body[dir="ltr"] .login-register-form #telephone,
body.ltr .login-register-form #telephone {
    padding-left: 98px !important;
    padding-right: 20px !important;
}

/* Dark mode intlTelInput dropdown list style matches gaming theme */
.iti__country-list {
    background: #121323 !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85) !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 13.5px !important;
    padding: 8px 0 !important;
}

.iti__country {
    padding: 10px 15px !important;
    transition: background 0.2s ease !important;
}

.iti__country:hover, .iti__country.iti__highlight {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #ffd700 !important;
}

.iti__country-name {
    color: #e5c158 !important;
}

.iti__dial-code {
    color: #b5b8c4 !important;
}

/* Captcha styling */
#captcha_image2 {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 48px;
    overflow: hidden;
}

.login-register-form .input-group-text {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #fff !important;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.login-register-form .input-group-text:hover {
    color: #ffd700 !important;
    background: rgba(212, 175, 55, 0.08) !important;
}

/* Checkbox and links */
.login-register-form .form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.login-register-form .form-check-input:checked {
    background-color: #d4af37;
    border-color: #d4af37;
}

.login-register-form .form-check-label {
    color: #b5b8c4;
    font-size: 13.5px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif !important;
}

.login-register-form .forgot a,
.login-register-form .highlight a {
    color: #ffd700 !important;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: var(--transition-smooth);
    font-family: 'Cairo', sans-serif !important;
}

.login-register-form .forgot a:hover,
.login-register-form .highlight a:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Submit Button */
.login-register-form .cmn-btn {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #aa7c11 100%) !important;
    color: #0b0c16 !important;
    font-weight: 800 !important;
    font-size: 16.5px !important;
    height: 52px !important;
    border-radius: 12px !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3) !important;
    font-family: 'Cairo', sans-serif !important;
}

.login-register-form .cmn-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5) !important;
}

/* Footer bottom link text */
.login-register-form .pt-20 {
    color: #b5b8c4;
    font-size: 14.5px;
    font-family: 'Cairo', sans-serif !important;
}

/* ============================================
   Premium Arabian Cookie Alert Redesign
   ============================================ */
#cookieAlert {
    position: fixed !important;
    bottom: 24px !important;
    left: 24px !important;
    right: auto !important;
    max-width: 420px !important;
    background: rgba(15, 16, 28, 0.9) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: var(--border-radius-md) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.08) !important;
    padding: 24px !important;
    z-index: 99999 !important;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    font-family: var(--font-ar), sans-serif !important;
}

body[dir="rtl"] #cookieAlert,
body.rtl #cookieAlert {
    left: auto !important;
    right: 24px !important;
    direction: rtl !important;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cookieAlert h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #e5c158 !important;
    margin-bottom: 12px !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

#cookieAlert h4 i {
    font-size: 22px;
    color: #d4af37 !important;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
}

#cookieAlert p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

#cookieAlert p a.cookieSeemoreButton {
    color: #e5c158 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    transition: var(--transition-smooth);
}

#cookieAlert p a.cookieSeemoreButton:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

#cookieAlert .cookie-btns {
    display: flex;
    gap: 10px !important;
    justify-content: flex-start !important;
}

body[dir="rtl"] #cookieAlert .cookie-btns,
body.rtl #cookieAlert .cookie-btns {
    justify-content: flex-start !important;
}

#cookieAlert .cookie-btns .cmn-btn {
    height: auto !important;
    width: auto !important;
    padding: 8px 24px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition-smooth) !important;
    cursor: pointer !important;
}

/* Accept Button */
#cookieAlert .cookie-btns .cmn-btn:not(.close-btn) {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
    color: #0b0c16 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
}

#cookieAlert .cookie-btns .cmn-btn:not(.close-btn):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5) !important;
}

/* Close Button */
#cookieAlert .cookie-btns .cmn-btn.close-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#cookieAlert .cookie-btns .cmn-btn.close-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

@media (max-width: 575px) {
    #cookieAlert {
        left: 15px !important;
        right: 15px !important;
        bottom: 15px !important;
        max-width: calc(100% - 30px) !important;
        padding: 20px !important;
    }
}

/* ============================================
   Premium Arabian Dropdown (Mega Menu) Redesign
   ============================================ */
.main-menu ul li .mega-menu {
    background: rgba(15, 16, 28, 0.95) !important;
    backdrop-filter: blur(25px) saturate(185%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(185%) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.05) !important;
    padding: 20px !important;
    width: 520px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform-origin: top left !important;
}

/* RTL Mega Menu Alignment */
body[dir="rtl"] .main-menu ul li .mega-menu,
body.rtl .main-menu ul li .mega-menu {
    transform-origin: top right !important;
    left: auto !important;
    right: 0 !important;
}

.main-menu ul li .mega-menu ul {
    gap: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.main-menu ul li .mega-menu ul li {
    width: calc(50% - 5px) !important;
    flex-grow: 1 !important;
    display: block !important;
}

.main-menu ul li .mega-menu ul li .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    font-family: var(--font-ar), sans-serif !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: 1px solid transparent !important;
}

/* Hover Action for Links */
.main-menu ul li .mega-menu ul li .nav-link:hover {
    background: rgba(212, 175, 55, 0.06) !important;
    color: #e5c158 !important;
    border-color: rgba(212, 175, 55, 0.1) !important;
    transform: translateX(4px) !important;
}

body[dir="rtl"] .main-menu ul li .mega-menu ul li .nav-link:hover,
body.rtl .main-menu ul li .mega-menu ul li .nav-link:hover {
    transform: translateX(-4px) !important;
}

/* Icon Box inside Links */
.main-menu ul li .mega-menu ul li .nav-link .icon-box {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    flex-shrink: 0 !important;
}

/* Hover Action for Icon Box */
.main-menu ul li .mega-menu ul li .nav-link:hover .icon-box {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
    color: #0b0c16 !important;
    border-color: transparent !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4) !important;
}

/* Text Box wrapper */
.main-menu ul li .mega-menu ul li .nav-link .text-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* Active count badge styling */
.main-menu ul li .mega-menu ul li .nav-link .text-box span {
    color: #e5c158 !important;
    background: rgba(212, 175, 55, 0.12) !important;
    padding: 2px 8px !important;
    border-radius: 30px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    margin-left: 8px !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

body[dir="rtl"] .main-menu ul li .mega-menu ul li .nav-link .text-box span,
body.rtl .main-menu ul li .mega-menu ul li .nav-link .text-box span {
    margin-left: 0 !important;
    margin-right: 8px !important;
}

.main-menu ul li .mega-menu ul li .nav-link:hover .text-box span {
    background: rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.2) !important;
}


/* ========================================================
   Unique Premium Footer Design (Arabized Luxury Theme)
   ======================================================== */
.unique-premium-footer {
    position: relative !important;
    z-index: 999 !important;
    background: #07080f !important;
    padding-top: 100px !important;
    padding-bottom: 40px !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    border-top: 1px solid rgba(212, 175, 55, 0.15) !important;
}

/* Glowing background blobs */
.footer-glow-blob {
    position: absolute !important;
    pointer-events: none !important;
    filter: blur(120px) !important;
    opacity: 0.12 !important;
    z-index: 0 !important;
}
.blob-gold {
    width: 350px !important;
    height: 350px !important;
    background: #d4af37 !important;
    right: -5% !important;
    bottom: 10% !important;
}
.blob-purple {
    width: 300px !important;
    height: 300px !important;
    background: #7c3aed !important;
    left: -5% !important;
    top: 20% !important;
}

/* Floating Newsletter Card */
.newsletter-floating-card {
    margin-top: -70px !important;
    margin-bottom: 50px !important;
    position: relative !important;
    z-index: 1000 !important;
}

.newsletter-card-inner {
    background: rgba(18, 19, 35, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    border-radius: 24px !important;
    padding: 35px 45px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Decor stars inside card */
.newsletter-decor-star {
    position: absolute !important;
    font-size: 24px !important;
    color: rgba(212, 175, 55, 0.08) !important;
    z-index: 0 !important;
}
.newsletter-decor-star.left-star {
    top: 15px !important;
    left: 20px !important;
}
.newsletter-decor-star.right-star {
    bottom: 15px !important;
    right: 20px !important;
}

/* Info content inside card */
.newsletter-info {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    position: relative !important;
    z-index: 1 !important;
}

.newsletter-icon-pill {
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.02)) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #d4af37 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1) inset !important;
    flex-shrink: 0 !important;
}

.newsletter-title {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    font-family: var(--font-ar), sans-serif !important;
    margin-bottom: 6px !important;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13.5px !important;
    font-family: var(--font-ar), sans-serif !important;
    margin-bottom: 0 !important;
}

/* Premium Form Group */
.newsletter-form-premium {
    position: relative !important;
    z-index: 1 !important;
}

.input-group-premium {
    display: flex !important;
    align-items: center !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 50px !important;
    padding: 6px 6px 6px 18px !important;
    transition: all 0.3s !important;
}

.input-group-premium:focus-within {
    border-color: #d4af37 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15) !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

.input-group-premium .input-icon {
    color: rgba(212, 175, 55, 0.6) !important;
    font-size: 16px !important;
    margin-right: 10px !important;
}

.form-control-premium {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 14.5px !important;
    outline: none !important;
    width: 100% !important;
    padding: 8px 0 !important;
    font-family: var(--font-ar), sans-serif !important;
}

.btn-subscribe-premium {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 28px !important;
    color: #0b0c16 !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    white-space: nowrap !important;
}

.btn-subscribe-premium:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45) !important;
}

/* Brand Widget */
.footer-brand-widget .brand-logo-container {
    margin-bottom: 25px !important;
}

.footer-brand-widget .brand-logo-container .footer-logo {
    max-height: 60px !important;
    min-width: auto !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.15)) !important;
}

.footer-brand-widget .brand-description {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13.5px !important;
    line-height: 1.8 !important;
    margin-bottom: 25px !important;
    font-family: var(--font-ar), sans-serif !important;
    text-align: start !important;
}

/* Social capsule */
.social-capsule {
    display: inline-flex !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 50px !important;
    padding: 6px 12px !important;
}

.social-list-premium {
    display: flex !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.social-link-premium {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 15px !important;
    transition: all 0.3s !important;
}

.social-link-premium:hover {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
    color: #0b0c16 !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Premium Widget Title */
.widget-title-premium {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 25px !important;
    position: relative !important;
    padding-bottom: 12px !important;
    display: inline-block !important;
    font-family: var(--font-ar), sans-serif !important;
}

.widget-title-premium .title-line {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 35px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #d4af37, #aa7c11) !important;
    border-radius: 2px !important;
}

/* Premium Link items */
.links-list-premium {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.links-list-premium li {
    display: block !important;
}

.links-list-premium li a.widget-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    font-family: var(--font-ar), sans-serif !important;
    transition: all 0.25s !important;
    position: relative !important;
    padding-left: 14px !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.links-list-premium li a.widget-link::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background-color: #d4af37 !important;
    transition: all 0.25s !important;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.4) !important;
}

.links-list-premium li a.widget-link:hover {
    color: #e5c158 !important;
    transform: translateX(4px) !important;
}

.links-list-premium li a.widget-link:hover::before {
    background-color: #fff !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8) !important;
}

/* Contact Cards container */
.contact-cards-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.contact-card-premium {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 14px !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
}

.contact-card-premium.actionable:hover {
    background: rgba(212, 175, 55, 0.04) !important;
    border-color: rgba(212, 175, 55, 0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.contact-card-premium .card-icon-box {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(212, 175, 55, 0.08) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    color: #d4af37 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
    transition: all 0.3s !important;
}

.contact-card-premium.actionable:hover .card-icon-box {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
    color: #0b0c16 !important;
    border-color: transparent !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3) !important;
}

.contact-card-premium .card-text-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.contact-card-premium .card-label {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: var(--font-ar), sans-serif !important;
}

.contact-card-premium .card-value {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    font-family: var(--font-ar), sans-serif !important;
    word-break: break-all !important;
}

.contact-card-premium.actionable:hover .card-value {
    color: #e5c158 !important;
}

/* Payment Ribbon Container */
.payment-ribbon-wrapper {
    margin-top: 65px !important;
}

.payment-ribbon-inner {
    position: relative !important;
    background: rgba(18, 19, 35, 0.4) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 20px !important;
    padding: 24px 30px !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.payment-ribbon-inner .ribbon-glow-line {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent) !important;
}

.payment-title-premium {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 16px !important;
    text-align: center !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-family: var(--font-ar), sans-serif !important;
}

.payment-icons-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

.payment-badge-premium {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 48px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 8px !important;
    padding: 6px !important;
    transition: all 0.3s !important;
}

.payment-badge-premium.text-badge {
    width: auto !important;
    padding: 6px 16px !important;
}

.payment-badge-premium.text-badge span {
    font-size: 12px !important;
    font-weight: 800 !important;
    font-family: var(--font-ar), sans-serif !important;
}

.payment-badge-premium:hover {
    background: rgba(212, 175, 55, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15) !important;
}

.payment-badge-premium svg,
.payment-badge-premium img {
    max-width: 100% !important;
    max-height: 100% !important;
    opacity: 0.75 !important;
    transition: all 0.3s !important;
}

.payment-badge-premium:hover svg,
.payment-badge-premium:hover img {
    opacity: 1 !important;
}

/* ========================================================
   RTL Overrides for Unique Premium Footer
   ======================================================== */
body[dir="rtl"] .newsletter-floating-card .newsletter-decor-star.left-star,
body.rtl .newsletter-floating-card .newsletter-decor-star.left-star {
    left: auto !important;
    right: 20px !important;
}

body[dir="rtl"] .newsletter-floating-card .newsletter-decor-star.right-star,
body.rtl .newsletter-floating-card .newsletter-decor-star.right-star {
    right: auto !important;
    left: 20px !important;
}

body[dir="rtl"] .input-group-premium,
body.rtl .input-group-premium {
    padding: 6px 18px 6px 6px !important;
}

body[dir="rtl"] .input-group-premium .input-icon,
body.rtl .input-group-premium .input-icon {
    margin-right: 0 !important;
    margin-left: 10px !important;
}

body[dir="rtl"] .widget-title-premium .title-line,
body.rtl .widget-title-premium .title-line {
    left: auto !important;
    right: 0 !important;
}

body[dir="rtl"] .links-list-premium li a.widget-link,
body.rtl .links-list-premium li a.widget-link {
    padding-left: 0 !important;
    padding-right: 14px !important;
}

body[dir="rtl"] .links-list-premium li a.widget-link::before,
body.rtl .links-list-premium li a.widget-link::before {
    left: auto !important;
    right: 0 !important;
}

body[dir="rtl"] .links-list-premium li a.widget-link:hover,
body.rtl .links-list-premium li a.widget-link:hover {
    transform: translateX(-4px) !important;
}

/* ========================================================
   intlTelInput Layout Fixes
   ======================================================== */
.iti {
    width: 100% !important;
}
.iti__country-list {
    z-index: 9999 !important;
}

/* ---------- Top Promo Bar ---------- */
.top-promo-bar {
    background: linear-gradient(90deg, #7c3aed 0%, #db2777 50%, #7c3aed 100%);
    background-size: 200% auto;
    animation: promoGlow 6s linear infinite;
    color: #ffffff;
    padding: 10px 20px;
    font-family: 'Cairo', sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1050;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

@keyframes promoGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.top-promo-bar .promo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.top-promo-bar .promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    text-align: center;
}

.top-promo-bar .promo-sparkle {
    font-size: 16px;
    animation: sparkleSpin 2s linear infinite;
    display: inline-block;
}

@keyframes sparkleSpin {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.top-promo-bar .promo-text {
    letter-spacing: 0.2px;
}

.top-promo-bar .promo-btn {
    background: #ffffff;
    color: #7c3aed;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
}

.top-promo-bar .promo-btn i {
    font-size: 11px;
    color: #db2777;
    transition: transform 0.2s ease;
}

.top-promo-bar .promo-btn:hover {
    background: #111322;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.4);
}

.top-promo-bar .promo-btn:hover i {
    transform: scale(1.2);
    color: #ffffff;
}

.top-promo-bar .promo-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.top-promo-bar .promo-close:hover {
    color: #ffffff;
}

/* Adjust header navbar top position to account for the top bar dynamically */
body.promo-bar-active .cusotm-nav {
    top: 0 !important;
}

@media (max-width: 768px) {
    .top-promo-bar {
        padding: 12px 35px 12px 15px;
        font-size: 12px;
    }
    .top-promo-bar .promo-content {
        gap: 8px;
    }
    .top-promo-bar .promo-btn {
        padding: 4px 12px;
        font-size: 11px;
    }
    .top-promo-bar .promo-close {
        right: 5px;
        left: auto;
    }
}

/* ========================================================
   Modern Horizontal Categories Filter Bar Redesign
   ======================================================== */
.categories-filter-wrapper {
    background: rgba(26, 27, 47, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 12px 16px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.categories-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    padding-bottom: 2px;
}

.categories-filter-bar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.filter-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 20px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.filter-pill i {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.25s ease;
}

.filter-pill .filter-count {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.25s ease;
}

/* Hover State */
.filter-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15);
}

.filter-pill:hover i {
    color: #db2777;
}

/* Active State */
.filter-pill.active {
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    border-color: transparent;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.filter-pill.active i {
    color: #ffffff;
}

.filter-pill.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Toolbar Styling */
.toolbar-wrapper {
    background: rgba(26, 27, 47, 0.2);
    border-radius: 12px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.toolbar-title {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.sort-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 500;
}

/* Nice Select Custom Tweaks */
.nice-select-section .nice-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 8px;
    height: 38px;
    line-height: 36px;
    font-size: 13px;
    font-weight: 600;
    padding-left: 15px;
    padding-right: 30px;
}

.nice-select-section .nice-select:after {
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    border-right: 2px solid rgba(255, 255, 255, 0.6);
}

.nice-select-section .nice-select .list {
    background: #111322;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nice-select-section .nice-select .option:hover,
.nice-select-section .nice-select .option.focus,
.nice-select-section .nice-select .option.selected.focus {
    background-color: rgba(124, 58, 237, 0.15);
    color: #ffffff;
}

/* Grid Layout Custom Spacing */
.game-card--compact {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card--compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

body[dir="rtl"] .nice-select-section .nice-select {
    padding-left: 30px !important;
    padding-right: 15px !important;
}

body[dir="rtl"] .nice-select-section .nice-select:after {
    left: 12px !important;
    right: auto !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .categories-filter-wrapper {
        padding: 8px 10px;
        border-radius: 12px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .categories-filter-bar {
        gap: 8px;
        -webkit-overflow-scrolling: touch; /* smooth scrolling for iOS/Android */
    }
    .filter-pill {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }
    .filter-pill i {
        font-size: 13px;
    }
    .filter-pill .filter-count {
        padding: 1px 5px;
        font-size: 10px;
    }
    .toolbar-wrapper {
        padding: 6px 10px;
    }
    .toolbar-title {
        font-size: 13px;
    }
    .sort-label {
        font-size: 12px;
    }
    .nice-select-section .nice-select {
        height: 34px;
        line-height: 32px;
        font-size: 12px;
        padding-left: 10px;
        padding-right: 25px;
    }
    body[dir="rtl"] .nice-select-section .nice-select {
        padding-left: 25px !important;
        padding-right: 10px !important;
    }
}

/* Fix navbar overlapping content on subpages using products-section */
.products-section {
    padding-top: 140px;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .products-section {
        padding-top: 110px;
        padding-bottom: 50px;
    }
}


/* ==========================================================================
   Premium Redesigned Hero Swiper Styles with Golden Radius
   ========================================================================== */
.hero-swiper {
    border-radius: var(--border-radius-lg) !important;
    overflow: hidden !important;
    border: 1px solid rgba(212, 175, 55, 0.16) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5) !important;
    position: relative;
    width: 100% !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    transform: translate3d(0, 0, 0) !important;
}

.hero-swiper .swiper-slide {
    border-radius: var(--border-radius-lg) !important;
    overflow: hidden !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    transform: translate3d(0, 0, 0) !important;
}

.home-page .hero-section .slider-box {
    aspect-ratio: 16 / 5.2;
    border-radius: var(--border-radius-lg) !important;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphic Dynamic Overlay Card with Premium Dark Reducer (تعتيم البنار بالكامل) */
.hero-overlay-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 12, 22, 0.9) 0%, rgba(11, 12, 22, 0.6) 50%, rgba(11, 12, 22, 0.45) 100%) !important;
    display: flex;
    align-items: center;
    padding: 0 8% !important;
    z-index: 2;
}

body[dir="rtl"] .hero-overlay-content,
body.rtl .hero-overlay-content {
    background: linear-gradient(270deg, rgba(11, 12, 22, 0.9) 0%, rgba(11, 12, 22, 0.6) 50%, rgba(11, 12, 22, 0.45) 100%) !important;
    padding: 0 8% !important;
}
.hero-glass-card {
    background: rgba(18, 19, 35, 0.45) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(212, 175, 55, 0.14) !important;
    border-radius: var(--border-radius-lg);
    padding: 30px 40px;
    max-width: 520px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

body[dir="rtl"] .hero-glass-card,
body.rtl .hero-glass-card {
    text-align: right;
}

.hero-card-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #e5c158 !important; /* Brand gold */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-family: var(--font-ar), sans-serif;
}

.hero-card-title {
    font-size: 34px !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-family: var(--font-ar), sans-serif !important;
    -webkit-text-fill-color: initial !important;
    background: none !important;
}

.hero-card-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6;
    margin-bottom: 24px;
    font-family: var(--font-ar), sans-serif;
}

.hero-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--primary-gradient);
    border-radius: 50px;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.hero-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
    background: var(--primary-gradient-hover);
}

.hero-default-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 12, 22, 0.6) 0%, rgba(11, 12, 22, 0.1) 60%, transparent 100%) !important;
    pointer-events: none;
    z-index: 1;
}

/* Floating Navigation Controls */
.hero-arrow-prev,
.hero-arrow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 19, 35, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
    transition: var(--transition-smooth);
    opacity: 0.65;
}

.hero-swiper:hover .hero-arrow-prev,
.hero-swiper:hover .hero-arrow-next {
    opacity: 1;
}

.hero-arrow-prev {
    left: 24px;
}

.hero-arrow-next {
    right: 24px;
}

body[dir="rtl"] .hero-arrow-prev,
body.rtl .hero-arrow-prev {
    left: auto;
    right: 24px;
}

body[dir="rtl"] .hero-arrow-next,
body.rtl .hero-arrow-next {
    right: auto;
    left: 24px;
}

.hero-arrow-prev:hover,
.hero-arrow-next:hover {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.45) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

/* Floating Pagination */
.hero-pagination-floating.swiper-pagination {
    position: absolute !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto !important;
}

.hero-pagination-floating .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    opacity: 1 !important;
    transition: var(--transition-smooth);
    cursor: pointer;
    margin: 0 !important;
    border: none !important;
}

.hero-pagination-floating .swiper-pagination-bullet-active {
    background: #e5c158 !important; /* Gold */
    width: 26px !important;
    border-radius: 6px !important;
    box-shadow: 0 0 12px rgba(229, 193, 88, 0.5) !important;
}

/* Responsive Adaptations */
@media (max-width: 991px) {
    .home-page .hero-section {
        padding-top: 75px !important;
        padding-bottom: 5px !important;
    }
    .home-page .hero-section .slider-box {
        aspect-ratio: 16 / 7.2;
    }
    .hero-overlay-content,
    body[dir="rtl"] .hero-overlay-content,
    body.rtl .hero-overlay-content {
        padding: 0 35px !important;
    }
    .hero-glass-card {
        padding: 24px 35px !important;
        max-width: 440px !important;
    }
    .hero-card-title {
        font-size: 28px !important;
    }
    .hero-card-desc {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    .hero-arrow-prev,
    .hero-arrow-next {
        width: 40px !important;
        height: 40px !important;
    }
}

@media (max-width: 768px) {
    .home-page .hero-section {
        padding-top: 70px !important; /* Perfect fit under small mobile headers, eliminating the giant gap! */
        padding-bottom: 5px !important;
    }
    .home-page .hero-section .slider-box {
        aspect-ratio: 16 / 15 !important; /* Taller ratio for mobile so background image scales vertically */
        min-height: 380px !important; /* Ensure ample breathing space for card + character */
    }
    .hero-overlay-content,
    body[dir="rtl"] .hero-overlay-content,
    body.rtl .hero-overlay-content {
        padding: 0 15px !important;
    }
    .hero-glass-card {
        padding: 24px 20px !important;
        max-width: 100% !important;
        border-radius: var(--border-radius-md) !important;
        background: rgba(18, 19, 35, 0.6) !important; /* Slightly more opaque glass on mobile for premium readability */
    }
    .hero-card-title {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }
    .hero-card-desc {
        font-size: 13px !important;
        margin-bottom: 16px !important;
        line-height: 1.5 !important;
    }
    .hero-card-btn {
        padding: 10px 22px !important;
        font-size: 13px !important;
    }
    .hero-arrow-prev,
    .hero-arrow-next {
        display: none !important; /* Hide navigation arrows on mobile as swipe works seamlessly */
    }
    .hero-pagination-floating.swiper-pagination {
        bottom: 16px !important;
    }
    
    /* Stats Bar Mobile Adaptations */
    .home-page .stats-bar {
        margin-top: 25px !important;
        padding: 15px 10px !important;
        gap: 15px !important;
    }
    .home-page .stats-bar .stat-item {
        flex: 1 1 40% !important; /* 2 columns wrap for a beautifully clean grid layout */
    }
    .home-page .stats-bar .stat-number {
        font-size: 20px !important;
    }
    .home-page .stats-bar .stat-label {
        font-size: 11px !important;
    }
}

/* ==========================================================================
   Infinite Scrolling Game Logos Marquee (شريط شعارات الألعاب اللانهائي)
   ========================================================================== */
.games-marquee-container {
    background: rgba(18, 19, 35, 0.45) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(212, 175, 55, 0.14) !important;
    border-radius: var(--border-radius-lg);
    padding: 16px 0 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    position: relative;
    overflow: hidden;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    width: 100%;
    direction: ltr !important;
}

.marquee-track-wrapper {
    overflow: hidden;
    display: flex;
    width: 100%;
    position: relative;
    direction: ltr !important;
    /* Soft cinematic fade at the edges */
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: infiniteMarquee 38s linear infinite;
    padding: 0 10px;
    will-change: transform;
    direction: ltr !important;
}

.games-marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-game-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 16px;
    border-radius: 50px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.marquee-game-card:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.marquee-game-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.marquee-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marquee-game-name {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.marquee-game-card:hover .marquee-game-name {
    color: #ffffff;
}

.marquee-game-verify {
    font-size: 11px;
    color: #00e676; /* Verified bright green */
    text-shadow: 0 0 8px rgba(0, 230, 118, 0.4);
}

/* Keyframes for flawless continuous hardware-accelerated loop */
@keyframes infiniteMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}
