/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f0f0f;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* Navigation Bar */
  nav {
    display: flex;
    flex-wrap: wrap; /* Allow nav items to wrap if needed */
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #1a1a1a;
    position: fixed;
    top: 0;
    width: 100%;
    /* Removed fixed height so the nav can adjust if needed */
    /* Alternatively, you can use a fixed height and then use media queries */
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }
  
  .nav-left {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
  }
  
  .site-name {
    font-size: 1.5rem;
    color: #ff9e0f;
    font-weight: bold;
    margin-right: 20px;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* Allow wrapping of nav items on smaller screens */
  }
  
  .nav-link {
    color: #ff9e0f;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
  }
  
  .nav-link:hover {
    color: #ff5f5f;
  }
  
  .balance-display {
    font-size: 1.2rem;
    color: #ff9e0f;
    font-weight: bold;
    white-space: nowrap; /* Keep on one line */
    margin-left: 10px;
    flex-shrink: 0;
  }
  
  /* Main Content Container */
  .content,
  .container {
    margin-top: 90px; /* Push content below the fixed nav (70px nav + extra spacing) */
    padding: 20px;
    text-align: center;
  }
  
  /* Top Games Section (Index Page) */
  .top-games {
    margin-top: 40px;
  }
  
  .top-games h2 {
    font-size: 2rem;
    color: #ff9e0f;
  }
  
  /* Game Cards Section for Index Page */
  .game-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
  }
  
  .game-card {
    text-align: center;
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
  }
  
  .game-card:hover {
    transform: translateY(-5px);
  }
  
  .game-card img {
    width: 150px;
    height: 120px;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .game-card img:hover {
    transform: scale(1.05);
  }
  
  .game-card h3 {
    margin-top: 10px;
    color: white;
    font-size: 1.1rem;
  }
  
  /* Additional styles for account pages, games pages, etc. can be added below */
  