 html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: linear-gradient(to bottom, #12002f, #47015e);
      color: #fff;
    }
    nav {
      background: #000;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    nav img { height: 50px; }
    nav ul {
      list-style: none;
      display: flex;
      gap: 20px;
      margin: 0;
      padding: 0;
    }
    nav ul li {
      font-weight: bold;
      color: #fff;
      cursor: pointer;
    }
    .btn-download {
      background: #ff944d;
      color: white;
      padding: 10px 20px;
      font-weight: bold;
      border-radius: 10px;
      border: none;
      cursor: pointer;
    }
    .container {
      max-width: 1100px;
      margin: auto;
      padding: 40px 20px;
    }
    .center { text-align: center; }
    .app-icon {
      width: 160px;
      border-radius: 20px;
    }
    .stars {
      color: gold;
      font-size: 24px;
      margin: 10px 0;
    }
    a {
      color: #ffcc00;
      font-weight: 600;
      text-decoration: none;
      position: relative;
      transition: all 0.3s ease;
    }
    a::after {
      content: "";
      position: absolute;
      width: 0;
      height: 2px;
      display: block;
      background: #ffcc00;
      left: 0;
      bottom: -2px;
      transition: width 0.3s ease;
    }
    a:hover::after { width: 100%; }
 .sticky-download-btn {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  background-color: #001F3F;     /* Dark blue */
  color: #ffffff;                /* White text */
  font-weight: bold;
  font-size: 1rem;
  padding: 12px 28px;
  border: 2px solid #FFD700;     /* Gold border */
  border-radius: 8px;

  text-align: center;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.sticky-download-btn:hover {
  background-color: #003366;     /* Slightly lighter blue on hover */
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 0 12px #FFD700;
}



    h1, h2 { color: #ffcc00; text-align: left; }
    p {
      text-align: left;
      line-height: 1.6;
      font-size: 1rem;
      margin-bottom: 16px;
    }
    ul {
      text-align: left;
      padding-left: 20px;
      margin-bottom: 20px;
    }
    .disclaimer {
      background: #330033;
      color: #ffcccb;
      padding: 20px;
      border-top: 2px solid #ff4444;
      border-bottom: 2px solid #ff4444;
      margin: 40px 0 0 0;
      font-size: 0.95rem;
    }
    footer {
      background: #000;
      text-align: center;
      padding: 15px;
      color: #aaa;
      font-size: 0.9rem;
    }
    @media (max-width: 600px) {
      nav ul { display: none; }
      .container { padding: 20px 10px; }
    }
    nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 20px;
  background-color: #1a0030;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.btn-download {
  background-color: #ffcc00;
  color: #000;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  nav ul.active {
    display: flex;
  }

  .btn-download {
    display: none; /* Optional: hide button on small screens */
  }
}
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
  }

  .app-box {
    background-color: #121639;
    color: white;
    border: 1px solid #ffd700;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .app-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 12px #ffd700;
  }

  .app-box img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .app-name {
    font-weight: bold;
    font-size: 0.9rem;
    color: #ffcc00;
    margin: 5px 0;
  }

  .stars {
    color: gold;
    font-size: 0.8rem;
  }

  .download-btn {
    display: inline-block;
    background: #ffa500;
    color: #000;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
    margin-top: 10px;
  }

  .download-btn:hover {
    background: #ffc107;
  }
  
  #hypnoticLoader {
    position: fixed;
    inset: 0;
    background: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .spiral {
    width: 200px;
    height: 200px;
    background: url('https://i.gifer.com/Q7b2.gif') no-repeat center center;
    background-size: cover;
    border-radius: 50%;
  }

  .loader-text {
    font-size: 1.5rem;
    color: #00e0ff;
    margin-top: 20px;
    white-space: pre;
    letter-spacing: 2px;
    font-weight: bold;
  }

  /* Blinking cursor */
  .cursor {
    display: inline-block;
    background-color: #00e0ff;
    width: 10px;
    margin-left: 2px;
    animation: blink 1s infinite;
  }

  @keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
  }
  a {
  text-decoration: none;
}

/* ============================================== */
/* GAME LIST FIX: Crucial Box-Sizing for Responsiveness */
/* ============================================== */

*, *::before, *::after {
  /* This single rule is essential to prevent horizontal scrollbars 
     when using padding/borders on responsive layouts. */
  box-sizing: border-box; 
}

/* ============================================== */
/* GAME LIST CONTAINER & LINE PREVIEW STYLES */
/* ============================================== */

.game-list-container {
  max-width: 600px;
  margin: 30px auto;
  /* Removed horizontal padding here for cleaner integration */
  padding: 0; 
  /* Subtle dark background to contrast against the body gradient */
  background-color: rgba(0, 0, 0, 0.2); 
  border-radius: 10px;
  /* Soft shadow for depth */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.game-listing {
  /* Core Flexbox layout: aligns items side-by-side */
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  /* Puts space around the content inside the container */
  padding: 15px 15px; 
  /* Subtle light line separator */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}

.game-listing:last-child {
  border-bottom: none; 
}

.game-name {
  /* Allows the text to shrink or wrap if a name is very long */
  flex-shrink: 1; 
  margin-right: 15px;
  font-size: 1.15em; 
  font-weight: 500;
  /* Off-white text for high readability on dark background */
  color: #f8f9fa; 
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.play-button {
  /* Prevents the button from shrinking too much */
  flex-shrink: 0; 
  min-width: 120px;
  text-decoration: none;
  font-weight: bold;
  /* Deep purple text (from your body background) for contrast */
  color: #3b0066; 
  /* Your bright yellow/gold accent color */
  background-color: #ffc107; 
  
  padding: 10px 20px; 
  border-radius: 8px; 
  text-align: center;
  
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); 
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.play-button:hover {
  background-color: #ffdb58; 
  transform: translateY(-1px); 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* ============================================== */
/* RESPONSIVENESS FIX: Stack on small phones */
/* ============================================== */

@media (max-width: 450px) {
  .game-listing {
    flex-direction: column; /* Stacks name and button vertically */
    align-items: flex-start;
  }
  
  .game-name {
    margin-bottom: 10px;
    margin-right: 0;
  }
  
  .play-button {
    width: 100%; /* Makes the button full-width for easy tapping */
    min-width: unset; 
    padding: 10px 0;
  }
}
  