/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
}

.navbar .logo a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

/* Menu Styling */
.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin: 0 10px;
}

.menu li a {
    color: white;
    text-decoration: none;
    font-size: 12px;
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Menu for Small Screens */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 50px;
        right: 10px;
        width: 200px;
        padding: 10px 0;
        border-radius: 5px;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }
}

/* Dashboard Styling */
.dashboard-container {
    background: rgba(50, 50, 50, 0.8);
    padding: 20px;
    border-radius: 10px;
    margin-top: 100px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.dashboard-container h1 {
    text-align: center;
    margin-bottom: 20px;
}

.dashboard-container .info {
    margin: 10px 0;
    font-size: 16px;
}

.dashboard-container form {
    display: flex;
    flex-direction: column;
}

.dashboard-container label {
    margin-top: 10px;
    font-weight: bold;
}

.dashboard-container input {
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.dashboard-container button {
    margin-top: 20px;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.dashboard-container button:hover {
    background-color: #45a049;
}

.dashboard-container .wallet-connect {
    margin-top: 20px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
}

.dashboard-container .wallet-connect:hover {
    background-color: #0056b3;
}

.dashboard-container .cashout-request {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.dashboard-container .cashout-request h2 {
    margin-bottom: 10px;
}

.dashboard-container .cashout-request input {
    margin-bottom: 10px;
}

.dashboard-container .cashout-request button {
    background-color: #ffc107;
    color: #000;
}

.dashboard-container .cashout-request button:hover {
    background-color: #e0a800;
}

#main-container {
    display: flex; /* Enables flex layout */
    align-items: flex-start; /* Align both elements to the top */
    gap: 10px; /* Add space between game-container and info-panel */
    padding: 10px; /* Optional: Adds padding around the content */
}

#game-container {
    flex-grow: 1; /* Allow game container to take as much space as possible */
}

#info-panel {
    background-color: rgba(0, 0, 0, 0.7); /* Transparent grey */
    color: white; /* White text */
    padding: 20px; /* Space inside the panel */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Optional shadow */
    max-width: 800px; /* Set maximum width */
    height: fit-content; /* Automatically adjust height to content */
    text-align: left; /* Align text to the left */
    font-family: 'Press Start 2P', sans-serif; /* Use the pixel font */
    font-size: 12px; /* Adjust text size for readability */
}

#info-panel p {
    font-size: 12px; /* Smaller size for regular text */
}

#info-panel h1 {
    font-size: 14px; /* Larger size for headings */
    font-weight: normal; /* Bold text for headings */
    margin-bottom: 15px; /* Add spacing below heading */
}

#info-panel ul {
    margin: 10px 0; /* Add spacing above and below the list */
    padding-left: 20px; /* Indent the list items */
    font-size: 12px; /* Smaller size for list items */
}


/* Table inside the info panel */
#top-players-table {
    width: 100%; /* Table takes full width of the panel */
    margin-top: 20px; /* Space above the table */
    border-collapse: collapse; /* Remove default table spacing */
    font-size: 14px; /* Smaller font size */
    color: white; /* White text */
    text-align: center; /* Center-align table content */
}

#top-players-table th, #top-players-table td {
    padding: 8px 10px; /* Padding inside cells */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Subtle separator */
}

#top-players-table th {
    font-weight: bold; /* Bold column headers */
    background-color: rgba(0, 0, 0, 0.5); /* Slightly darker background for headers */
}

#top-players-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Highlight row on hover */
}

#top-players-table tbody tr:last-child td {
    border-bottom: none; /* Remove bottom border for the last row */
}

.link-style {
    color: #ff5722; /* Change this to your desired color (e.g., orange) */
    text-decoration: none; /* Remove underline if desired */
    font-weight: bold; /* Optional: Make it bold */
    transition: color 0.3s ease; /* Optional: Add a smooth hover effect */
}

.link-style:hover {
    color: #ff8a50; /* Optional: Change color on hover */
    text-decoration: underline; /* Optional: Add underline on hover */
}

/* Form Image Styling */
.form-image {
    width: 100%; /* Make the image span the full width of the form container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: Add rounded corners */
    margin-bottom: 20px; /* Add space below the image */
}




