body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #000000, #000000);
    color: #fff;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

header {
    background: url('/images/background-image.jpg') center center / cover no-repeat; /* Background GIF */
    color: #fff;
    padding: 10px; /* Adjusted padding */
    text-align: center;
    position: relative; /* Establishes a positioning context for pseudo-elements */
}

/* Dimmed Overlay */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust alpha value for dimming */
    z-index: 1; /* Ensures the overlay is above the background but below text content */
}

/* Header Text */
header > * {
    position: relative; /* Ensures text is above the overlay */
    z-index: 2; /* Places text above the dimming overlay */
}

/* Animated Decorative Line at the Bottom */
header::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px; /* Thickness of the line */
    position: absolute;
    bottom: 0; /* Position it at the bottom of the header */
    left: 0;
    background-color: #fff; /* Base color of the line */
    z-index: 1; /* Places it below the text but above the overlay */
    animation: glowing 1.5s infinite alternate; /* Apply animation */
}

/* Line Keyframes for the glow/fade effect */
@keyframes glowing {
    0% {
        box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
        background-color: #fff; /* Base color */
    }
    100% {
        box-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff, 0 0 40px #ff00ff;
        background-color: rgba(255, 255, 255, 0.5); /* Lighten the line */
    }
}


/* memebers list names */
.members-list {
    position: relative;
    top: -300px;
    z-index: 6;
    max-width: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: calc(100% - 10px); /* Adjust to ensure small icons are visible */
    padding-right: 5px; /* Space for hidden scrollbar */
}

/* Hide scrollbar for webkit browsers */
.members-list::-webkit-scrollbar {
    width: 0; /* Hide scrollbar */
}

.members-list::-webkit-scrollbar-thumb {
    background: transparent; /* Optional: set transparent color */
}

.members-list::-webkit-scrollbar-track {
    background: transparent; /* Optional: set transparent background */
}

.member {
    display: flex;
    flex-direction: row; /* Align icon and text horizontally */
    align-items: center; /* Center items vertically */
    margin: 10px 0; /* Space between members */
    width: calc(100% - 10px);
}


.member span {
    font-size: 30px; /* Adjust font size */
    font-weight: bold;
    font-stretch: expanded; 
    padding-top: 10px; /* Add space above the text */
    padding-bottom: 5px; /* Space below the text */
    white-space: nowrap; /* Prevents text from wrapping */
    overflow:visible; /* Ensures text doesn't overflow */
    text-overflow: ellipsis; /* Adds ellipsis for long names */
    max-width: calc(100% - 70px); /* Allow space for icon and text */
}

.icon {
    width: 60px; /* Fixed width for the icon */
    height: 60px; /* Fixed height for the icon */
    border-radius: 50%;
    position: relative; /* Enables positioning of child elements */
    overflow: hidden; /* Prevents the image from overflowing */
    margin-right: 10px; /* Spacing between icon and text */
}

.icon .icon-img {
    width: 100%; /* Ensure the image fills the icon's width */
    height: 100%; /* Ensure the image fills the icon's height */
    object-fit: cover; /* Maintain the aspect ratio */
    border-radius: 50%; /* Keeps the image circular */
}

.flare {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 85%;
    height: 85%;
    border-radius: 40%;
    border: 6px solid transparent;
    animation: flair-animation 2s linear infinite, fade-animation 2s linear infinite;
    z-index: 1;
}

.text-gold {
    color: gold;
}

.text-white {
    color: white;
}

.text-light-green {
    color: lightgreen;
}

.text-gray {
    color: gray;
}

.text-light-blue {
    color: lightblue;
}

.flare.gold {
    border-color: gold;
}

.flare.white {
    border-color: white;
}

.flare.light-green {
    border-color: lightgreen;
}

.flare.gray {
    border-color: gray;
}

.flare.light-blue {
    border-color: lightblue;
}

@keyframes flair-animation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

@keyframes fade-animation {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.1;
    }
}

/* Video Section Title Styles */
.video-section-title {
    position: sticky;
    top: 0px; /* Adjust this value for when you want the title to stick */
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 1; /* Keeps the title visible above other elements */
    transition: opacity 0.5s ease; /* Smooth transition */
}

.social-links {
    margin: 10px 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: absolute;
    right: 10px;
    top: -10px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #000;
    color: #fff;
}

/* Button styles */
.button-section {
    display: flex;
    justify-content: center;
    position: relative;
    margin: 10px 20px 40px 20px;
}

.animated-border-btn {
    padding: 10px 30px;
    margin: 0 5px;
    font-size: 16px;
    color: white;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 30px;
    outline: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    background: transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.animated-border-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 30px;
    transition: border-color 0.4s;
}

.animated-border-btn:hover::after {
    border-color: #00FFA3;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Dropdown style */
.dropdown {
    position: relative;
    display: inline-block;
    z-index: 5;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2b2a2a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 5;
    left: -80px;
}

.dropdown-content a {
    color: rgb(255, 255, 255);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #424242;
}

.video {
    flex: 0 0 auto; /* Allow flex item to have a fixed width */
    width: 280px; /* Fixed width for each video item */
    position: relative;
    border-radius: 8px;
    overflow: hidden; /* Ensure content doesn't overflow */
    margin-right: 15px; /* Space between video items */
    height: 150px; /* Set a height for the videos */
}
   
.player-container {
    display: none; /* Initially hidden */
    margin: 20px auto;
    text-align: center;
    width: 100%;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
    opacity: 0; /* Initially transparent */
    max-height: 0; /* Collapse */
    position: relative;
    padding-top: 56.25%; /* Maintain a 16:9 aspect ratio */
}

.video-container {
    display: flex;
    overflow-x: auto; /* Allow horizontal scrolling */
    padding: 15px;
    scroll-behavior: smooth; /* Smooth scrolling */
    border-radius: 10px;
    background: linear-gradient(135deg, #3b3b3b, #1b1b1b);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    -webkit-overflow-scrolling: touch; /* Enable momentum scrolling for iOS */
}

.thumbnail {
    width: 100%;
    border-radius: 8px;
    display: block; /* Maintain block behavior */
    height: auto; /* Keep aspect ratio */
    transition: transform 0.2s; /* Transition for scaling */
}

.thumbnail:hover {
    transform: scale(1.05); /* Scale up on hover */
}

.player-container.active {
    display: block; /* Show the player when active */
    opacity: 1; /* Fully opaque when active */
    max-height: 720px; /* Allow flexibility */
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    overflow: hidden;
}

.video-preview iframe {
    position: absolute; /* Positioned absolutely within the parent */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* Remove default iframe border */
}

.controls {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    flex-direction: row; /* Arrange buttons in a column */
}

.control-button {
    background-color: #007bff68;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    margin: 5px 1px; /* Space between buttons */
    transition: background-color 0.3s;
    z-index: 9;
}

.control-button:hover {
    background-color: #0056b3;
}

/* Custom scrollbar for a futuristic feel */
.video-container::-webkit-scrollbar {
    height: 12px; /* Height of the horizontal scrollbar */
}

.video-container::-webkit-scrollbar-thumb {
    background: #ffffff; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded edges */
}

.video-container::-webkit-scrollbar-thumb:hover {
    background: #00e0ff; /* Change color on hover */
}

.video-container::-webkit-scrollbar-track {
    background: #2a2a2a; /* Color of the scrollbar track */
    border-radius: 10px; /* Rounded track */
}

/* Responsive styles for mobile view */
@media (max-width: 600px) {
    .video {
        width: 100%; /* Full width on mobile */
        height: auto; /* Adapt height */
    }

    .video-container {
        padding: 10px; /* Padding adjustment for smaller screens */
        -webkit-overflow-scrolling: touch; /* Enable momentum scrolling for iOS */
        min-height: 150px; /* Example: keep space for one video height */
    }
}

/* Media Query for Smaller Devices */
@media (max-width: 768px) {
    .video {
        width: calc(50% - 10px); /* Two per row for smaller devices */
    }
}

@media (max-width: 480px) {
    .video {
        width: calc(100% - 10px); /* One per row for very small screens */
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.video {
    transition: transform 0.3s; /* Smooth transition */
}

.element {
    animation: fade 2s ease-in-out infinite alternate; /* Repeat the fade */
}

/* Modal styles */
.modal {
    display: block;
    position: relative;
    z-index: 2;
    width: 1200x;
    height: 100%;
    overflow:visible;
    background-color: rgb(0, 0, 0);
    padding-top: 400px; /* Change from 600px to a smaller value */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.CodeFont {
    display: flex;
    justify-content: left;
    position: relative;
    margin-top: 5px;
}

.text-1 {
    font-size: .8em;
    color: rgba(255, 255, 255, 0.497);
    background-color: rgba(0, 0, 0, 0.363);
    text-align: left;
    margin-bottom: 15px;
    margin-right: 0px;
    padding: 5px;
}

.text-2 {
    font-size: 0.8em;
    font: bold;
    color: rgba(8, 0, 0, 0.572);
    background-color: rgb(230, 227, 28);
    display: inline;
    padding: 5px;
    margin-bottom: 15px;
}

.copy-button {
    margin-left: 0px;
    padding: 5px 10px;
    background-color: #007bffc7;
    color: rgba(255, 255, 255, 0.325);
    border: none;
    border-radius: 0px;
    cursor: pointer;
    margin-bottom: 14px;
}

.copy-button:hover {
    background-color: #0056b3;
}

.popup {
    display: none;
    position: left;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 1000;
    top: 100px;
    left: 60%;
    transform: translateX(-50%);
}

/* Position the arrow relative to the Game button */
.button-section {
    position: fix; /* Ensure the section is positioned for absolute children */
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Inner circle */
.center-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100px; /* Set to your header height or desired height */
    position: relative; /* Allows positioning context for child elements */
}

/* Ensure the logo styles remain the same */
.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

/* Glow effect */
.glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    background: rgba(0, 204, 255, 0.2); /* Change for different glow color */
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.5); /* Glow strength */
    z-index: -1; /* Behind the neon circle */
}

/* Outer neon circle */
.neon-circle {
    position: center;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    border-radius: 100%;
    border: 5px solid rgba(0, 204, 255, 0.8);
    animation: circulate 3s linear infinite;
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.8);
    z-index: 1; /* Above the glow */
}

@keyframes circulate {
    0% {
        transform: rotate(0deg) translateX(70px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(70px) rotate(-360deg);
    }
}

/* Inner circle */
.inner-circle {
    width: 100%;
    height: 100%;
    border: 0px solid transparent;
    border-radius: 50%;
    background-color: rgba(240, 244, 246, 0.15);
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

/* Image inside the inner circle */
.inner-image {
    width: 150%;
    height: 150%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0%;
    animation: shakeRotate 1.5s infinite;
    opacity: 0.5; /* Adjust this value for transparency */
}

@keyframes shakeRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    10% {
        transform: translate(-50%, -50%) rotate(-5deg);
    }

    20% {
        transform: translate(-50%, -50%) rotate(5deg);
    }

    30% {
        transform: translate(-50%, -50%) rotate(-10deg);
    }

    40% {
        transform: translate(-50%, -50%) rotate(10deg);
    }

    50% {
        transform: translate(-50%, -50%) rotate(-5deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.wrapper {
    max-width: 800px; /* Adjust this value as desired */
    margin: 20px auto; /* Center the wrapper */
    padding: 0 10px; /* Optional: adds horizontal padding */
}

p {
    text-align: center;
    font-size: 12px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: rgb(151, 140, 140);
}

