/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

/* Player of the Month Section */
.potm-section {
    background: #f8f9fa;
}

.potm-card {
    max-width: 400px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.potm-img {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.potm-card:hover .potm-img {
    transform: scale(1.1);
}

.potm-card h3 {
    font-size: 1.8rem;
    margin: 10px 0;
}

.position {
    font-style: italic;
    color: #6c757d;
}

.stats {
    font-weight: bold;
    color: #007bff;
}

/* Filters Section */
.filters-section {
    background: #f1f1f1;
}

/* Players Grid */
.player-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border: none;
}

.player-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.player-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.player-card .card-body {
    text-align: center;
}

.player-card h5 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.player-card .position {
    font-size: 0.9rem;
}

.player-card .stats {
    font-size: 0.9rem;
    color: #555;
}

.player-card .bio {
    font-size: 0.85rem;
    color: #777;
}

/* Dark Mode */
body.dark-mode {
    background: #1a1a1a;
    color: #fff;
}

body.dark-mode .navbar,
body.dark-mode footer {
    background: #333 !important;
}

body.dark-mode .potm-section,
body.dark-mode .filters-section {
    background: #2c2c2c;
}

body.dark-mode .potm-card,
body.dark-mode .player-card {
    background: #333;
    color: #fff;
}

body.dark-mode .player-card .stats {
    color: #ccc;
}

body.dark-mode .player-card .bio {
    color: #aaa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .potm-card {
        max-width: 100%;
    }
    .filters-section .col-md-4 {
        margin-bottom: 10px;
    }
}


/* Footer Styling */
footer {
    background-color: #1a2526; /* Matches the dark background in the image */
}

footer h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer .footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-link:hover {
    color: #007bff;
}

footer .footer-link i {
    margin-right: 8px;
}

footer p {
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    footer .col-md-3 {
        margin-bottom: 2rem;
    }
}

/* Marquee */
.marquee {
    width: 100%;
    overflow: hidden;
    background: #1a2526;
    color: #ffd700; /* Yellow text on dark background */
    padding: 1.5rem 1;
    font-size: 4.5rem;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.footer-marquee .marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 13s linear infinite; /* Slower speed */
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}