
  /* GAME */
  
  #game-container {
    margin-top: 8px;
    margin-bottom: 8px; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  
  #game-canvas {
    background-image: url("../img/game-bg-2.jpg");
    background-repeat: no-repeat;
    background-size: cover; /* Ensures the background covers the entire canvas */
    background-position: 35% 55%; /* Centers the background */
    border: 2px solid #000;
    display: block;
}
  #leaderboard-button, #restart-button, #start-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 40px;
    font-size: 18px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    font-family: 'Bitroad', sans-serif;
    width: 200px;
    border-radius: 10px;
  }
  #leaderboard-button {
    top: 65%;
  }
  #restart-button {
    top: 55%;
  }
  #start-button {
    top: 55%;
  }
  #nickname-input {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    padding: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-family: 'Bitroad', sans-serif;
    width: 250px;
  }

  #leaderboard-button:hover, #restart-button:hover, #start-button:hover {
    background-color: var(--secondary-color);
}


i {
    font-size: 30px; /* Adjust size */
    color: var(--primary-color);    /* Make sure it’s visible */
  }  



/* HOME */

:root {
    --primary-color: #f3c64b; /* Golden yellow */
    --secondary-color: #e5a828; /* Deeper golden yellow */
    --dark-color: #573e23;     /* Brown tone */
    --light-color: #ffffff;    /* White */
    --background-dark: #121212; /* Dark background */
    --background-light-dark: #1e1e1e; /* Darker background for sections */
    --font-heading: 'Baloo 2', cursive;
    --font-body: 'Open Sans', sans-serif;
    --font-weight-regular: 400;
    --font-weight-bold: 700;
    --font-size-base: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 2rem;
    --border-radius: 8px;
    --transition-time: 0.3s;
  }
  
  /* RESET & GLOBAL STYLES */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--font-body);
    background: var(--background-dark);
    color: var(--light-color);
    line-height: 1.6;
    font-size: var(--font-size-base);
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  a {
    text-decoration: none;
    color: #ffffff;
    transition: color var(--transition-time) ease;
  }
  a:hover {
    color: var(--primary-color);
  }

  ul {
    list-style: none;
  }
  
  header {
    background-color: var(--background-light-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  
  /* HEADER */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  .logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
  }
  
  nav ul {
    display: flex;
    gap: 1.5rem;
  }
  
  nav ul li {
    cursor: pointer;
    font-size: var(--font-size-lg);
    transition: color var(--transition-time) ease;
  }
  
  nav ul li:hover {
    color: var(--secondary-color);
  }
  
  /* HERO SECTION */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
  }
  
  .hero h1 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: var(--dark-color);
  }
  
  .hero p {
    max-width: 700px;
    margin-bottom: 2.5rem;
    color: var(--light-color);
  }
  
  .hero video {
    max-width: 300px;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
  }
  
  .cta-button {
    background: var(--primary-color);
    color: #000;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: background var(--transition-time) ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  .cta-button:hover {
    background: var(--secondary-color);
  }
  
  /* HOW TO BUY */
  .how-to-buy {
    background: var(--background-light-dark);
    padding: 20px 50px;
    border-radius: var(--border-radius);
  }
  
  .how-to-buy h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    margin-bottom: 15px;
    text-align: center;
    color: var(--light-color);
  }
  
  .buy-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .step {
    background: #2c2c2c;
    border-radius: var(--border-radius);
    padding: 1.8rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid var(--primary-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
  
  .step .number {
    background: var(--primary-color);
    color: var(--light-color);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    width: 45px;
    height: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .step-two {
    background: #2c2c2c;
    border-radius: var(--border-radius);
    padding: 1.8rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid var(--primary-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
  
  .step-two .number-two {
    background: var(--primary-color);
    color: var(--light-color);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    width: 75px;
    height: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* ROADMAP */
  .roadmap {
    background: var(--background-light-dark);
    padding: 1.5rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
  }
  
  .roadmap h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    margin-bottom: 3rem;
    color: var(--light-color);
  }
  
  .roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .roadmap-phase {
    background: var(--background-light-dark);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary-color);
  }
  
  .roadmap-phase h3 {
    margin-bottom: 1.2rem;
    color: var(--primary-color);
  }
  
  .roadmap-phase ul li {
    margin-bottom: 0.8rem;
    color: var(--light-color);
  }
  
  /* FOOTER */
  footer {
    text-align: center;
    padding: 5px;
    background: var(--background-light-dark);
  }
  
  footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  
  footer .social-links a {
    color: var(--primary-color);
    font-size: 1.4rem;
    transition: color var(--transition-time) ease;
  }
  
  footer .social-links a:hover {
    color: var(--secondary-color);
  }
  
  footer p {
    font-size: 0.95rem;
    color: var(--light-color);
  }
  
  /* MEDIA QUERIES */
  @media (max-width: 768px) {
    header {
      padding: 1rem;
    }
  
    .hero {
      padding: 4rem 2rem;
    }
  
    .roadmap-timeline {
      grid-template-columns: 1fr;
    }
  
    .buy-steps {
      gap: 1.5rem;
    }
  
    .cta-button {
      padding: 1rem 2rem;
    }
  }
  

  /* Mobile Styles */
/* Base Styles for Desktop */
nav ul {
    display: flex; /* Flex layout for desktop */
    gap: 1.5rem;
  }
  .menu-toggle {
    display: none; /* Show hamburger icon on mobile */
  }
  
  nav ul li {
    cursor: pointer;
    font-size: var(--font-size-lg);
    transition: color var(--transition-time) ease;
  }
  
  nav ul li:hover {
    color: var(--secondary-color);
  }
  
  /* Mobile menu hidden by default */
  #nav-list {
    display: flex; /* Show the nav menu by default on large screens */
    gap: 1.5rem;
    background-color: var(--background-light-dark);
    position: relative;
  }
  
  /* Mobile menu hidden by default on mobile */
  @media (max-width: 768px) {
    nav ul {
      display: none; /* Hide default navigation list */
    }
  
    .menu-toggle {
      display: block; /* Show hamburger icon on mobile */
      right: 5%;
      position: absolute;
      font-size: 2rem;
    }
  
    #nav-list {
      display: none; /* Hide mobile menu initially */
      flex-direction: column;
      gap: 1.5rem;
      padding: 1.5rem;
      background-color: var(--background-light-dark);
      position: absolute;
      top: 70px;
      right: 2rem;
      border-radius: var(--border-radius);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
  
    #nav-list.active {
      display: flex; /* Show mobile menu when active */
    }

    .step .number {
        width: 150px;
        height: auto;
    }
    
    .step-two .number-two {
        width: 225px;
        height: auto;
    }
  }
  




  /* LEADERBOARD CSS */
 /* Leaderboard Table Styles */
 #leaderboardInfo{
  height: 80vh;
 }
#leaderboard {
  width: 100%;
  max-width: 800px;
  max-height: 75vh;
  border-radius: 8px;
  margin: 10px auto;
  border-collapse: collapse;
  background-color: #1c1c1c; /* Dark background for the table */
  border-radius: 10px;
  overflow: scroll;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow for the table */
}
#leaderboardTitle {
  text-align: center;
}

#leaderboard th, #leaderboard td {
  padding: 12px 20px;
  text-align: left;
  font-size: 16px;
  color: #f0f0f0; /* Light text color */
}

#leaderboard th {
  background-color: var(--secondary-color); /* Pink header for consistency with your site's color scheme */
  color: #0e0e0e; /* Dark text for header */
  font-weight: bold;
  text-transform: uppercase;
}

#leaderboard tbody tr {
  background-color: #2e2e2e; /* Slightly lighter dark background for rows */
  border-bottom: 1px solid #444; /* Thin separator between rows */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

#leaderboard tbody tr:hover {
  background-color: #3a3a3a; /* Lighter background on hover */
}

#leaderboard tbody td {
  border-left: 1px solid #444; /* Light separator lines between cells */
}

#leaderboard td:first-child {
  border-left: none; /* Remove left border from the first column */
}

#leaderboard .rank {
  text-align: center;
  font-weight: bold;
  color: var(--secondary-color); /* Highlight rank in pink */
}

#leaderboard .nickname {
  font-family: 'Arial', sans-serif;
  font-weight: 600;
}

#leaderboard .score {
  text-align: center;
  color: var(--secondary-color); /* Score in pink to match theme */
}

#leaderboard .twitter {
  font-size: 14px;
  color: var(--primary-color); /* Light blue color for Twitter URL */
  text-decoration: none;
  word-break: break-all;
}

#leaderboard .twitter:hover {
  color: var(--secondary-color); /* Highlight Twitter link on hover */
  text-decoration: underline;
}


/* Mobile responsive */
@media (max-width: 600px) {
  #leaderboard th, #leaderboard td {
    padding: 6px 8px; /* Smaller padding */
    font-size: 12px; /* Even smaller text size */
  }

  #leaderboard {
    width: 95%;
    max-width: 100%; /* Remove max-width */
  }

  #leaderboard td {
    word-wrap: break-word; /* Ensure long text wraps */
  }

  #leaderboard th, #leaderboard td {
    padding: 8px; /* Reduce padding further */
  }

}