    :root {
      --blue-light: #4a9de0;
      --blue-dark: #1a3e5c;
      --blue: #008bfe;;
      --blue-accent: #236a8e;
      --background-light: #f9fbfd;
      --text-color: #16425b;
      --header-bg: var(--blue-light);
      --footer-bg: #3a7bbf;
      --border-radius: 12px;
      --transition-speed: 0.3s;
      --max-width: 900px;
    }

    /* Reset */
    * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
      color: var(--text-color);
      line-height: 1.6;
      background-color: var(--background-light);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    a {
      color: var(--blue);
      text-decoration: none;
      font-weight: 600;
      transition: color var(--transition-speed);
    }
    a:hover,
    a:focus {
      color: var(--blue-accent);
      outline: none;
    }

    header {
      background: var(--header-bg);
      padding: 1.5rem 1rem;
      box-shadow: 0 4px 8px rgba(74, 157, 224, 0.35);
    }
    nav {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-bottom: 1rem;
    }
    nav a {
      background: rgba(255 255 255 / 0.15);
      padding: 0.5rem 1.2rem;
      border-radius: 8px;
      font-size: 1rem;
      user-select: none;
      transition: background-color var(--transition-speed);
    }
    nav a:hover {
      background: rgba(255 255 255 / 0.35);
    }

     .nav-modern {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
    background-color: var(--header-bg);
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(74,157,224,0.25);
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1.4rem;
    color: #fff;
    background: transparent;
    border-radius: 14px;
    border: 2px solid transparent;
    transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
    user-select: none;
  }

  .nav-link .icon {
    width: 20px;
    height: 20px;
    stroke: #fff;
    transition: stroke 0.35s ease;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    background-color: #fff;
    color: var(--header-bg);
    border-color: #fff;
    outline-offset: 4px;
  }

  .nav-link:hover .icon,
  .nav-link:focus-visible .icon {
    stroke: var(--header-bg);
  }

  .nav-link.active {
    background-color: #236a8e;
    border-color: #236a8e;
    box-shadow: 0 0 15px #236a8eaa;
  }

  @media (max-width: 480px) {
    .nav-modern {
      flex-direction: column;
      gap: 1rem;
    }
    .nav-link {
      justify-content: center;
    }
  }

    header h1 {
      color: #fff;
      font-size: clamp(1.8rem, 4vw, 2.6rem);
      font-weight: 700;
      letter-spacing: 1.2px;
      text-align: center;
      margin: 0;
      font-size: 27px;
    }

    main {
      max-width: var(--max-width);
      margin: 2.5rem auto 3rem;
      padding: 0 1.5rem;
    }

    main p {
      margin-bottom: 1.4rem;
      color: var(--text-color);
      line-height: 1.7;
    }

    main img {
      width: 100%;
      max-width: 800px;
      height: auto;
      display: block;
      margin: 2rem auto;
      border-radius: var(--border-radius);
      box-shadow: 0 8px 24px rgba(26, 62, 92, 0.12);
      object-fit: cover;
    }

    h2 {
      color: var(--blue-dark);
      font-weight: 700;
      font-size: 1.8rem;
      margin-top: 3rem;
      margin-bottom: 1rem;
      border-bottom: 3px solid var(--blue-light);
      padding-bottom: 0.3rem;
      max-width: max-content;
    }

    h3 {
      color: var(--blue-accent);
      font-weight: 600;
      font-size: 1.4rem;
      margin-top: 3rem;
      margin-bottom: 1rem;
    }

    ul.features-list {
      list-style: inside disc;
      color: var(--blue-accent);
      font-size: 1rem;
      line-height: 1.5;
      margin-left: 0;
      padding-left: 1rem;
      max-width: 720px;
    }

    ul.features-list li {
      margin-bottom: 0.9rem;
    }

    ul.recommended-games {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      max-width: 720px;
    }

    ul.recommended-games li {
      background: white;
      border: 2px solid var(--blue-light);
      border-radius: var(--border-radius);
      box-shadow: 0 6px 12px rgba(74, 157, 224, 0.12);
      padding: 0.9rem 1.2rem;
      flex: 1 1 140px;
      text-align: center;
      transition: background-color var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
    }

    ul.recommended-games li a {
      display: block;
      font-weight: 600;
      color: var(--blue-dark);
      font-size: 1.05rem;
      user-select: none;
    }

    ul.recommended-games li:hover,
    ul.recommended-games li:focus-within {
      background-color: var(--blue-light);
      border-color: var(--blue-accent);
      box-shadow: 0 8px 20px rgba(35, 106, 142, 0.35);
    }

    ul.game-list {
      list-style: none;
      padding: 0;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1rem;
      max-width: var(--max-width);
    }

    li.game-item {
      background: #fff;
      border: 2px solid var(--blue-light);
      border-radius: var(--border-radius);
      box-shadow: 0 6px 15px rgba(74, 157, 224, 0.12);
      transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
    }

    li.game-item a {
      display: block;
      padding: 1rem 1.2rem;
      font-weight: 600;
      color: var(--blue-dark);
      font-size: 1.1rem;
      user-select: none;
      transition: color var(--transition-speed);
    }

    li.game-item:hover,
    li.game-item:focus-within {
      border-color: var(--blue-accent);
      box-shadow: 0 10px 25px rgba(35, 106, 142, 0.25);
    }

    li.game-item:hover a,
    li.game-item:focus-within a {
      color: var(--blue-accent);
    }


    footer {
      background: var(--footer-bg);
      color: #cce6ff;
      text-align: center;
      padding: 1rem 1rem;
      font-size: 0.9rem;
      box-shadow: inset 0 2px 5px rgba(26, 62, 92, 0.6);
      user-select: none;
    }

    footer a {
      color: #e0f0ff;
      font-weight: 600;
      text-decoration: underline;
    }

    footer a:hover,
    footer a:focus {
      color: #fff;
      outline: none;
    }

    @media (max-width: 600px) {
      nav {
        flex-direction: column;
        gap: 0.8rem;
      }
      ul.recommended-games {
        flex-direction: column;
      }
      ul.recommended-games li {
        flex: auto;
      }
    }