/* --- کانتینر نوار بازی‌ها --- */
.games-ticker-wrapper {
    width: 100%;
    background: #0a0a0f;
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

html.light-mode .games-ticker-wrapper {
    background: #e2e8f0;
    border-color: rgba(0, 0, 0, 0.08);
}

/* --- افکت محو شدن (Fade) در دو طرف --- */
.games-ticker-wrapper::before,
.games-ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s ease;
}
.games-ticker-wrapper::before { left: 0; background: linear-gradient(to right, #0a0a0f, transparent); }
.games-ticker-wrapper::after { right: 0; background: linear-gradient(to left, #0a0a0f, transparent); }

html.light-mode .games-ticker-wrapper::before { background: linear-gradient(to right, #e2e8f0, transparent); }
html.light-mode .games-ticker-wrapper::after { background: linear-gradient(to left, #e2e8f0, transparent); }

/* --- کانتینر متن تایپ رایتر --- */
.game-typing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    /* درخشش نئونی ملایم در حالت شب */
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* --- مکان‌نما --- */
.game-typing-cursor {
    font-weight: 100;
    color: inherit;
    animation: blink-cursor 0.8s step-end infinite;
    margin-left: 4px;
    transition: color 0.4s ease;
}

@keyframes blink-cursor {
    50% { opacity: 0; }
}

/* --- حالت لایت: متن بنفش پررنگ --- */
html.light-mode .game-typing-container {
    color: #6d28d9;
    text-shadow: 0 0 15px rgba(109, 40, 217, 0.3);
}

/* --- واکنش‌گرا (موبایل) --- */
@media (max-width: 768px) {
    .game-typing-container {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    .games-ticker-wrapper::before, .games-ticker-wrapper::after { width: 40px; }
    .games-ticker-wrapper { padding: 1.2rem 0; }
}