/* Basic Reset & Body Styling */
body {
    margin: 0;
    font-family: "Comic sans MS", "comicsans", sans-serif; /* Use Comic Sans MS with fallbacks */
    background-color: #f0f0f0; /* Light grey background */
    color: #333; /* Dark grey text color */
}

/* Header Styling */
.header {
    background-color: #6E99C9; /* Dark blue, similar to old Roblox header */
    padding: 10px 20px; /* Reduced padding for the header itself, allowing the logo to stretch more */
    border-bottom: 2px solid #334e8a; /* Darker blue border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* max-width: 20px;  Removed max-width to allow content to stretch */
    margin: 0 auto;
}

/* Styling for the logo container */

.header .user-info {
    color: #fff; /* White text for user info */
    font-size: 14px;
    white-space: nowrap; /* Prevents text from wrapping, keeping it on one line */
    margin-left: 20px; /* Add some space between the logo and user info */
}

.header .user-info a {
    color: #ffcc00; /* Yellow links */
    text-decoration: none;
    margin-left: 5px;
}

.header .user-info a:hover {
    text-decoration: underline;
}

/* Navigation Styling */
.navigation {
    background-color: #6E99C9; /* Lighter blue for navigation */
    border-bottom: 1px solid #4a679e;
    padding: 5px 0;
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    max-width: 90px;
    margin: 0 auto;
}

.navigation ul li a {
    display: block;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.navigation ul li a:hover {
    background-color: #5a7ec2; /* Slightly darker on hover */
}

/* Content Wrapper & Layout */
.content-wrapper {
    display: flex;
    max-width: 98px;
    margin: 20px auto;
    gap: 20px; /* Space between sidebar and main content */
}

/* Sidebar Styling */
.sidebar {
    flex: 0 0 200px; /* Fixed width sidebar */
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.sidebar .section-title {
    background-color: #e9f5ff; /* Changed to lighter blue for titles */
    color: #4a679e;
    padding: 8px 10px;
    font-weight: bold;
    margin-bottom: 10px;
    border-radius: 3px;
    border: 1px solid #c7dbe8;
}

.character-preview {
    text-align: center;
    margin-bottom: 20px;
}

.character-preview img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    background-color: #eee;
}

.game-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.game-list li a {
    display: block;
    padding: 5px 0;
    color: #4a679e;
    text-decoration: none;
}

.game-list li a:hover {
    text-decoration: underline;
}

/* Main Content Styling */
.main-content {
    flex-grow: 1; /* Takes up remaining space */
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.welcome-banner {
    background-color: #e9f5ff; /* Very light blue background */
    border: 1px solid #cceeff;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 5px;
}

.welcome-banner h1 {
    color: #4a679e;
    margin-top: 0;
}

.welcome-banner p {
    font-size: 1.1em;
    line-height: 1.5;
}

/* Button Styling (Adjusted for larger size) */
.roblox-styled-button {
    padding: 15px 30px; /* Increased vertical and horizontal padding */
    font-size: 18px;    /* Increased font size */
    background-color: #007bff; /* Example: blue button, adjust to your preference */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none; /* Ensure it looks like a button even if it's an anchor */
    display: inline-flex; /* Use flex to align icon and text */
    align-items: center; /* Vertically align icon and text */
    justify-content: center; /* Center content horizontally */
    gap: 8px; /* Space between icon and text */
    font-weight: bold;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.roblox-styled-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.button-icon {
    width: 24px; /* Size of the icon */
    height: 24px;
}

/* Specific styling for the play button on game pages */
.play-now-button {
    background-color: #5cb85c; /* Green button for play now */
}

.play-now-button:hover {
    background-color: #4cae4c; /* Darker green on hover */
}

.games-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid for games */
    gap: 20px;
}

.game-card {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    background-color: #fdfdfd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.game-card h3 {
    color: #4a679e;
    margin-top: 0;
}

.game-card img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    margin-bottom: 10px;
}

/* Using the new roblox-styled-button for game card play button as well */
.game-card .roblox-styled-button {
    margin-top: 10px;
}

/* More Info button styling */
.more-info-button {
    padding: 12px 25px; /* Slightly less padding than the primary buttons */
    font-size: 16px;    /* Slightly smaller font size */
    background-color: #6c757d; /* Grey button for more info */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    margin-left: 10px; /* Space between play and more info buttons */
    transition: background-color 0.3s ease;
}

.more-info-button:hover {
    background-color: #5a6268; /* Darker grey on hover */
}

/* Footer Styling */
.footer {
    background-color: #4a679e;
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    margin-top: 30px;
    font-size: 0.9em;
}
