:root {
  --bg: #000000;
  --nav: #263238;
  --nav-hover: #1f2a30;
  --accent: #ffc107;
  --nav-offset: 76px;
  --page-gutter: clamp(1rem, 4vw, 5rem);
  --page-max-width: calc(100rem + var(--page-gutter) * 3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

 /* Custom site scrollbar style */
    html {
      scrollbar-width: thin;
      scrollbar-color: #f0d210 #1b1b1b;
    }

    ::-webkit-scrollbar {
      width: 9px;
      background: #1b1b1b;
    }

    ::-webkit-scrollbar-track {
      background: #1b1b1b;
    }

    ::-webkit-scrollbar-thumb {
      background: #f0d210;
      border-radius: 999px;
      border: 2px solid #1b1b1b;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: #ffd233;
    }
    
 .game__control-height-two {
      max-width: 93%;
      margin: 0 auto;
    }

    .header {
      width: 100%;
      background: #000000;
      margin-bottom: 10px;
    }

    .brand-wrap {
      display: flex;
      justify-content: center;
      padding: 24px 12px 12px;
    }

    .brand {
      font-size: clamp(1.8rem, 7vw, 3rem);
      letter-spacing: 2px;
      font-weight: 900;
      text-transform: uppercase;
      background: #096e3f;
      color: #fff;
      padding: 8px 24px;
      border-radius: 14px;
      border: 8px solid #fff;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .brand img {
      height: 1.2em;
      width: auto;
      object-fit: contain;
    }

    .main-nav {
      background: #096e3f;
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 14px;
      border-top: 2px solid var(--accent);
      border-bottom: 2px solid var(--accent);
      position: relative;
      gap: 12px;
    }

    .burger {
      border: 0;
      background: transparent;
      color: var(--text);
      font-size: 1.6rem;
      cursor: pointer;
      display: none;
      padding: 12px;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 14px;
      color: #fff;
      align-items: center;
      margin: 0 auto;
      justify-content: center;
    }

    .nav-links a {
      color: var(--text);
      text-decoration: none;
      padding: 12px 10px;
      border-radius: 6px;
      transition: background 0.2s ease;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .nav-links a:hover {
      background: var(--nav-hover);
    }

    .nav-links li {
      position: relative;
    }

    .dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      background: var(--nav);
      min-width: 170px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      margin-top: 8px;
      z-index: 30;
      display: none;
      flex-direction: column;
      padding: 8px 0;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    }

    .dropdown li a {
      padding: 10px 14px;
      display: block;
      white-space: nowrap;
    }

    /* Desktop hover and mobile toggle both controlled via class */
    .has-dropdown.open>.dropdown {
      display: flex;
    }

    .search-btn {
      border: 0;
      background: transparent;
      color: var(--text);
      cursor: pointer;
      padding: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      gap: 6px;
    }

    .search-btn:hover {
      background: var(--nav-hover);
    }

    .search-icon {
      width: 18px;
      height: 18px;
      stroke: white;
      fill: none;
      stroke-width: 2;
    }

    .menu-open .nav-links {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--nav);
      border-bottom: 2px solid var(--accent);
      z-index: 20;
    }

    .overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.3);
      z-index: 10;
    }

    .overlay.active {
      display: block;
    }

    .hidden {
      display: none !important;
    }

    @media (max-width: 860px) {
      .main-nav {
        gap: 10px;
      }

      .burger {
        display: block;
      }

      .nav-links {
        display: none;
        width: 100%;
        margin: 0;
        padding: 8px 0;
        gap: 0;
      }

      .nav-links li {
        width: 100%;
      }

      .nav-links a {
        width: 100%;
        display: block;
        padding: 12px 16px;
      }

      .main-nav .search-btn {
        margin-left: auto;
      }
    }

 