/* Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://dz5xbhxy6sjp4.cloudfront.net/8ebc1abe-b6ba-4097-9f35-74b1881974bc_bg_livescore.jpg') no-repeat center center fixed;
    background-size: cover;
}

.header-custom {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #181818;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    border-bottom: 3px solid #c06d00;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    display: block;
    text-align: center;
}

.logo img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .logo img {
        max-width: 150px;
    }
}

@media (max-width: 767px) {
    .logo img {
        max-width: 120px;
    }
    
    /* Center logo on mobile view */
    .header-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0;
    }
    
    .header-container > * {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* Center the logo container */
    .logo {
        margin-bottom: 10px; /* Add margin if needed */
    }
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-buttons .btn {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s, transform 0.3s;
}

/* Styles for Login Button */
.auth-buttons .login-btn {
    background-color: #b43900;
    color: white;
    width: 100px;
}

/* Styles for Register Button */
.auth-buttons .register-btn {
    background-color: #238827;
    color: white;
    width: 100px;
}

/* Hover effects for desktop buttons */
.auth-buttons .login-btn:hover {
    background-color: #a32a00;
    transform: scale(1.05);
}

.auth-buttons .register-btn:hover {
    background-color: #1e6e1e;
    transform: scale(1.05);
}

/* Mobile Auth Buttons */
.mobile-auth-container {
    display: none;
}

.mobile-auth-container .btn {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 45%;
    transition: background-color 0.3s, transform 0.3s;
}

/* Styles for Login Button (Mobile) */
.mobile-auth-container .login-btn {
    background-color: #b43900;
    color: white;
}

/* Styles for Register Button (Mobile) */
.mobile-auth-container .register-btn {
    background-color: #238827;
    color: white;
}

/* Hover effects for mobile buttons */
.mobile-auth-container .login-btn:hover {
    background-color: #a32a00;
    transform: scale(1.05);
}

.mobile-auth-container .register-btn:hover {
    background-color: #1e6e1e;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    /* Show mobile buttons in mobile view */
    .desktop-auth-buttons {
        display: none;
    }

    .mobile-auth-container {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px 0;
    }
}

/* Slider Styles */
.slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto 10px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

.slides {
    display: flex;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 1 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 1000;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .slider {
        height: 125px;
    }
}

/* Container Styles */
.container {
    width: 100%;
    margin: 0 auto;
    display: flex;
}

@media (min-width: 1201px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .container {
        max-width: 100%;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
    }
}

/* Scroll Up Button Styles */
.scroll-up {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #ce9700; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 1000;
}

.scroll-up img {
    width: 24px;
    height: auto;
    color: white;
}

.scroll-up:hover {
    background-color: #ca6200;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

