/* Fullscreen video background */
#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Fullscreen black overlay with opacity */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* Centered container for logo and buttons */
.centered-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    /* Ensures content is above overlay */
}

/* Logo and buttons overlay */
.content-overlay {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 10px;
    /* Slightly rounded corners */
    display: inline-block;
    width: 100%;
    max-width: 500px;
    /* Limits the maximum width */
}

/* Logo styles */
.logo {
    max-width: 180px;
    /* Slightly smaller logo */
    margin-bottom: 20px;
}

/* Button styles */
.btn-custom {
    flex: 1;
    /* Allows buttons to grow equally */
    margin: 10px;
    padding: 12px 20px;
    /* Adjusted padding for a cleaner look */
    font-size: 16px;
    /* Slightly smaller font size */
    color: #fff;
    border: 2px solid #fff;
    background-color: transparent;
    border-radius: 5px;
    /* Slightly rounded corners */
    transition: background-color 0.3s, transform 0.3s;
    min-width: 120px;
    /* Ensures buttons have a minimum width */
}

.btn-custom:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    /* Subtle scaling effect */
}

/* Specific button colors */
#live {
    background-color: #ff4757;
    border-color: #ff4757;
}

#events {
    background-color: #1e90ff;
    border-color: #1e90ff;
}

#database {
    background-color: #2ed573;
    border-color: #2ed573;
}

#more {
    background-color: #ffa502;
    border-color: #ffa502;
}

/* Flexbox container for buttons */
.button-container {
    display: flex;
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens */
    justify-content: center;
    /* Centers the buttons horizontally */
}

/* Icon spacing */
.btn-custom i {
    margin-right: 8px;
    /* Adjusted spacing */
}

/* Live Results Section */
.live-results {
    margin-top: 20px;
    text-align: center;
    color: #fff;
}

.live-results h2 {
    margin-bottom: 20px;
    font-size: 26px;
    /* Slightly larger heading */
    color: #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-results a {
    display: block;
    margin: 8px 0;
    font-size: 16px;
    /* Slightly smaller font size */
    color: #1e90ff;
    text-decoration: none;
}

.live-results a:hover {
    text-decoration: underline;
}

/* Blinking Dot */
.live-results .blinking-dot {
    width: 10px;
    /* Smaller dot size */
    height: 10px;
    background-color: #ff0000;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: blink 1.5s infinite;
    /* Slower blink rate */
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}
/* Blinking Dot */
.live-results .blinking-dot {
    width: 20px;
    height: 20px;
    background-color: #ff0000;
    /* More vibrant red color */
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: blink 1s infinite;
    /* Faster blink rate */
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
        /* Make the dim phase more noticeable */
    }
}
/* Center the modal vertically */
.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
    /* Adjust height */
}

.modal-content {
    margin: auto;
    /* Center the modal */
    width: 100%;
    /* Ensure it takes up the full width available */
    max-width: 500px;
    /* Set the max-width */
}
