body {
    background: #248308 !important;
    color: #fff;
    font-family: 'Arial', sans-serif;
}

.wrapper {
    display: block;
    width: 100%;
    min-height: 100vh;
    /* Removed top padding to eliminate gap below navbar */
}

/* --- New Navbar Styles --- */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid #ff3131;
    text-shadow: 1px 1px #000;
}

.navbar-brand {
    font-weight: bold;
    text-transform: uppercase;
    color: #ff3131 !important;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 70px;
    width: 70px;
    border-radius: 5px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    text-transform: uppercase;
    margin: 0 5px;
}

.navbar-nav .nav-item.active .nav-link {
    color: #ff3131 !important;
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    color: #ff3131 !important;
}

/* --- Page Content Styles --- */
.page-section {
    padding: 60px 0;
    padding-top: 140px;
    /* Added padding to offset fixed navbar on content pages */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(36, 131, 8, 1) 0%, rgba(15, 55, 3, 1) 100%);
}

.page-title {
    color: #ff3131;
    text-transform: uppercase;
    text-shadow: 2px 2px #000;
    font-weight: bold;
    margin-bottom: 30px;
}

.card {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #ff3131;
    margin-bottom: 20px;
}

.card-header {
    background-color: rgba(255, 49, 49, 0.8);
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px #000;
}

table {
    background-color: rgba(0, 0, 0, 0.5);
}

table th {
    background-color: #ff3131;
}

/* --- Home Page Specific Styles --- */
.home-hero {
    padding-top: 80px;
    /* Add padding to account for navbar height */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed linear-gradient overlay to show full brightness */
    background: url('assets/img/desktopbg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.live-button {
    margin-top: 30px;
    width: 170px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #dec130;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 6px #0000001a;
    transition: background-color .3s ease, box-shadow .3s ease;
}

.live-button:hover {
    background-color: #b2070f;
    box-shadow: 0 6px 8px #00000026;
    text-decoration: none;
    color: #fff;
}

.live-icon {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: red;
    border-radius: 50%;
}

.live-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: red;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

#playersection {
    padding: 40px 0 15px 0;
    /* Top: 40px, Bottom: 15px */
    background-color: rgba(0, 0, 0, 0.3);
}

#chatsection {
    padding: 15px 0 40px 0;
    /* Top: 15px, Bottom: 40px */
    background-color: rgba(0, 0, 0, 0.3);
}

#chatsection iframe {
    border: 1px solid #ff3131;
    border-radius: 5px;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.table-responsive {
    border: 1px solid #ff3131;
    border-radius: 5px;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .home-hero {
        /* Removed linear-gradient overlay for mobile */
        background: url('assets/img/mobilebg.webp');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .page-section {
        padding-top: 120px;
        /* Adjust padding for mobile */
    }
}
/* --- Footer Styles --- */
.site-footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 40px 0 0;
    /* Adds space inside the footer, top only */
    border-top: 3px solid #ff3131;
    font-size: 14px;
}

.footer-content {
    display: flex;
    /* Key property to align items horizontally */
    justify-content: space-between;
    /* Distributes space between items */
    align-items: flex-start;
    /* Aligns items to the top */
    flex-wrap: wrap;
    /* Allows items to wrap on smaller screens */
    gap: 20px;
    /* Adds space between wrapped items */
}

/* --- Social, Links, and Logo Sections --- */
.footer-social,
.footer-links,
.footer-logo {
    flex: 1;
    /* Allows the sections to share the space */
    min-width: 220px;
    /* Prevents them from becoming too narrow */
}

.site-footer h5 {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 1px 1px #000;
}

/* --- Social Media Icons --- */
.footer-social {
    text-align: left;
    /* Aligns social links to the left */
}

.footer-social a {
    color: #ccc;
    font-size: 24px;
    margin-right: 15px;
    /* Space between icons */
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ff3131;
}

/* --- Quick Links in the Middle --- */
.footer-links {
    text-align: center;
    /* Center aligns the "Quick Links" heading */
}

.footer-links .row {
    text-align: left;
    /* Aligns the actual links to the left within their columns */
}

.footer-links ul {
    padding-left: 0;
    /* Removes default list padding */
}

.footer-links ul li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: #ff3131;
}

/* --- Logo on the Right --- */
.footer-logo {
    text-align: right;
    /* Aligns the logo to the right */
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    border-radius: 5px;
}

/* --- Bottom Copyright Bar --- */
.footer-bottom-bar {
    background-color: #000;
    padding: 15px 0;
    margin-top: 30px;
}

/* --- Responsive Styles for Mobile --- */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        /* Stacks the sections vertically */
        align-items: center;
        /* Centers the stacked sections */
        text-align: center;
        /* Centers the text within each section */
    }

    .footer-social,
    .footer-links,
    .footer-logo {
        text-align: center;
        /* Ensures all content is centered on mobile */
        margin-bottom: 30px;
    }

    .footer-logo {
        order: -1;
        /* Moves the logo to the top on mobile */
    }
}

/* --- Logo on the Right --- */
.issa-logo {
    text-align: center;
    /* Aligns the logo to the right */
}
.player-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    vertical-align: middle;
    margin: 0 1px;
    transition: transform 0.2s;
}
.player-icon:hover {
    transform: scale(1.1);
}