/* style.css */
:root {
    /* Brand Colors */
    --color-primary: #FF3366;  /* Pinkish tone from your logo */
    --color-secondary: #FF9933; /* Orange tone from your logo */
  
    /* Text & Background Colors */
    --color-text: #333;
    --color-bg: #FFFFFF;
  
    /* Additional Colors (if needed) */
    --color-white: #FFFFFF;
    --color-gray-light: #F9F9F9;
    --color-gray-dark: #666;
  }
  
  /* Basic Reset / Global Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Arial", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
  }
  
  /* Navigation Bar */
  nav {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Updated logo styling to ensure visibility */
  .logo img {
    height: 50px; /* Adjust as needed for your layout */
    background-color: var(--color-white); /* Subtle white background for visibility */
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  .nav-links {
    list-style: none;
    display: flex;
  }
  
  .nav-links li {
    margin-left: 20px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 600;
    transition: color 0.2s ease-in-out;
  }
  
  .nav-links a:hover {
    color: var(--color-gray-light);
  }
  
  /* Main Content */
  main {
    width: 90%;
    margin: 40px auto;
    text-align: center;
  }
  
  /* Headings */
  h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--color-primary);
  }
  
  /* Game Grid */
  .game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .game-card {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .game-card:hover {
    transform: translateY(-5px);
  }
  
  /* Force a fixed thumbnail size and preserve aspect ratio */
  .game-card img {
    width: 100%;
    height: 200px;       /* Consistent thumbnail height */
    object-fit: cover;   /* Crops if aspect ratio differs */
    display: block;
  }
  
  .game-card h3 {
    margin: 10px 0;
    color: var(--color-secondary);
  }
  
  .game-card p {
    padding: 0 10px 10px;
    color: var(--color-gray-dark);
  }
  
  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
  }
  
  .modal-content {
    background: var(--color-white);
    width: 80%;
    max-width: 500px;
    margin: 10% auto;
    padding: 20px;
    position: relative;
    border-radius: 8px;
  }
  
  .close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
  }
  
  /* Footer */
  footer {
    background: var(--color-gray-light);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: var(--color-text);
  }
  
  /* Example: Additional styling for calls to action or buttons */
  .btn {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
  }
  
  .btn:hover {
    background: var(--color-secondary);
  }
  