body {
  /* background: url('../storage/images/bg.gif') repeat center center fixed;*/
  background-color: black;
  background-size: 100%;
  font-family: Arial, sans-serif;
  margin: 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: white;
  z-index: 1000;
  overflow-x: auto;
}

.nav-buttons a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-text img {
  height: 40px;
  margin-right: 10px;
}

.game-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.game-button {
  position: relative;
  border-radius: 10px;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
}

.game-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.game-title {
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 36px;
  margin: 20px 0 10px 0;
}

.games-title {
  text-align: center;
  color: white;
  font-size: 24px;
  margin-bottom: 20px;
}

a {
  text-decoration: none;
}

.search-bar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  width: 100%;
}

.search-bar {
  width: 50%;
  max-width: 600px;
  padding: 10px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
  text-align: center;
}

.search-bar::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-bar:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.5);
}

/* ========================= */
/* Tooltip Styling */
/* ========================= */

.tooltip {
  position: absolute;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 14px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.1s ease;
  z-index: 9999;
  white-space: nowrap;
  transform: translateY(5px);
  font-family: "Comfortaa", sans-serif;
}

.tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

html,
body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}

html.in-frame,
html.in-frame body {
    background: transparent;
    background-color: transparent;
    background-image: none;
}

html.in-frame body::before,
html.in-frame body::after,
html.in-frame #minecraft-theme-layer,
html.in-frame #particles-js,
html.in-frame .particles-js-canvas-el {
    display: none;
    content: none;
}

body {
    box-sizing: border-box;
    padding: 28px 44px 150px;
}

.navbar {
    display: none;
}