:root {
    --primary: #3a4380;
    --secondary: #1c2034;
    --third: #99aaff;
    --white: #ffffff;
    --footer: #d6d6d6;
}

body {
    background-color: #f8f9fa;
}

.card img {
    border-radius: 15px;
    width: 100px;
    height: 100px;
    margin: auto;
    object-fit: cover;
}

footer {
    font-size: 14px;
}

footer a {
    text-decoration: none;
    margin: 0 5px;
}

.news-bar {
    background: #fff3cd;
    color: #856404;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 15px;
}

.navbar {
    background-color: var(--primary);
}

.navbar-brand img {
    height: 40px;
}

.offcanvas-header {
    background-color: var(--primary);
    color: var(--white);
}

.offcanvas-body {
    background: var(--third);
}

.offcanvas-body .list-group {
    border-radius: 0;
}

.offcanvas-body .list-group-item {
    background-color: var(--third);
    color: var(--white);
    font-size: 1.1em;
    border: none;
    font-weight: 500;
    border-bottom: 1px solid var(--white);
}

.offcanvas-body .list-group-item a {
    color: var(--white);
    text-decoration: none;
}

.offcanvas-body .list-group-item:hover {
    color: var(--white);
    text-decoration: underline;
    filter: brightness(110%);
}

.game-item {
    text-decoration: none;
    color: inherit;
}

.game-item:hover {
    filter: brightness(120%);
}

.game-card {
    position: relative;
    display: inline-block;
}

.game-card img.game-thumb {
    border-radius: 20px;
    width: 150px;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.game-item:hover .game-card img.game-thumb {
    transform: scale(1.1);
}

.badge-label {
    position: absolute;
    top: -5px;
    right: -10px;
    width: 52px;
    height: auto;
    z-index: 10;
}

.marquee-container {
    display: flex;
    align-items: center;
    background: #fff;
    overflow: hidden;
    height: 50px;
    border-bottom: 2px solid var(--secondary);
}

.marquee-logo {
    flex: 0 0 auto;
}

.marquee-logo img {
    height: 40px;
}

.marquee-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    white-space: nowrap;
    color: #007bff;
    font-weight: bold;
    font-size: 16px;
    animation: marquee 40s linear infinite;
    will-change: transform;
}

.marquee-item {
    margin-right: 50px;
}

.marquee-item a {
    color: #ff9800;
    text-decoration: none;
    margin-left: 5px;
}

.marquee-item a:hover {
    text-decoration: underline;
}

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

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
