/* Main container for buttons and account stats */
.mode-buttons-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px; /* Reduced gap for better alignment */
    width: 100%;
    max-width: 1400px; /* Max width of container */
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 40px;
    box-sizing: border-box;
}

/* Account Stats Div - Left Side */
.account-stats {
    width: 45%; /* Keep same size */
    min-width: 300px; /* Adjusted minimum width */
    padding: 20px; /* Reduced padding */
    background-color: #f8f8f8; /* Light background */
    border-radius: 12px; /* Softer rounded corners */
    box-shadow: none; /* Removed outline shadow */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Reduced gap for better spacing */
    align-items: flex-start; /* Left-align the stats */
    margin-top: 20px; /* Pushed down slightly */
    transition: transform 0.3s ease;
}

.account-stats:hover {
    transform: scale(1.02); /* Slight hover effect */
}

.account-stats h3 {
    font-size: 24px; /* Heading size */
    font-weight: bold;
    color: #333;
    text-align: left; /* Left-align the heading */
}

.account-stats p {
    font-size: 16px; /* Stat text size */
    margin: 5px 0;
    text-align: left; /* Left-align the text */
    color: #555;
}

/* Buttons container - Right side (Training, Casual, Ranked) */
.mode-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Smaller gap between buttons */
    justify-content: flex-start;
    align-items: stretch; /* Ensure buttons take up the full width */
    width: 45%; /* Adjust width of buttons container */
    margin-top: 50px; /* Move buttons down by 50px */
}

/* Individual button wrapper to ensure same width */
.mode-button-wrapper {
    width: 100%; /* Full width of the container */
    height: 160px; /* Shrink height for smaller boxes */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px; /* Softer rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for buttons */
    overflow: hidden;
    position: relative;
}

.mode-button-wrapper:hover {
    transform: scale(1.02); /* Slight hover effect */
}

/* Individual buttons styling */
.mode-button {
    width: 100%; /* Ensure buttons take full width of wrapper */
    height: 100%; /* Take full height of wrapper */
    font-size: 20px; /* Smaller font size for buttons */
    font-weight: bold;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 12px; /* Softer rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mode-button:hover {
    background-color: #4CAF50;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Emoji background behind buttons */
.emoji-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 130px; /* Larger emoji */
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s ease;
}

.mode-button-wrapper:hover .emoji-background {
    opacity: 0.3;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .mode-buttons-container {
        flex-direction: column;
        gap: 40px;
    }

    .account-stats {
        width: 70%; /* More space for account stats */
        min-width: 280px; /* Adjust minimum width for smaller screens */
    }

    .mode-buttons {
        width: 80%; /* Make buttons take full width */
    }

    .mode-button-wrapper {
        width: 100%; /* Full width of the container */
        height: 220px; /* Slightly taller buttons for better touch targets */
    }

    .mode-button {
        font-size: 24px;
    }

    .emoji-background {
        font-size: 120px;
    }
}

@media (max-width: 768px) {
    .mode-buttons-container {
        flex-direction: column;
        gap: 30px;
    }

    .account-stats {
        width: 100%; /* Full width on smaller screens */
    }

    .mode-buttons {
        width: 100%; /* Full width of buttons container */
    }

    .mode-button-wrapper {
        width: 100%; /* Full width of screen */
        height: 200px;
    }

    .mode-button {
        font-size: 22px;
    }

    .emoji-background {
        font-size: 100px;
    }
}

@media (max-width: 500px) {
    .mode-buttons-container {
        gap: 20px;
    }

    .account-stats {
        width: 100%; /* Full width for tiny screens */
    }

    .mode-buttons {
        width: 100%; /* Full width of buttons container */
    }

    .mode-button-wrapper {
        width: 100%;
        height: 180px;
    }

    .mode-button {
        font-size: 20px;
    }

    .emoji-background {
        font-size: 80px;
    }
}

a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color from parent */
    cursor: pointer; /* Make the link act like a button */
  }
  