.sticky-nav {
  position: sticky;
  top: 0;
  display: flex; /* Use flexbox for easy centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  background-color: #2c3e50; /* Match the dark color of the previous nav bar */
  padding: 0.75rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.sticky-nav a {
  color: #ecf0f1; /* Light icon color */
  font-size: 2rem; /* Increase icon size for better visibility */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.sticky-nav a:hover {
  color: #3498db; /* Change color on hover */
}

/* General body styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Main content container */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    background: #003366;
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 40px;
}

.hero h1 {
    margin-top: 0;
    font-size: 3em;
}

.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 20px auto;
}

.cta-button {
    display: inline-block;
    background: #ffcc00;
    color: #333;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e6b800;
}

/* Featured Games Section */
.featured-games {
    margin-bottom: 40px;
}

.featured-games h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.game-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.game-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.game-card h3 {
    margin-top: 10px;
    font-size: 1.2em;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
    margin-top: 20px;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for the navigation bar (from `globe.css`) */
@media (max-width: 768px) {
    nav a {
        display: block;
        text-align: center;
        padding: 10px 0;
    }
}
