body {
  font-family: Arial, sans-serif;
  background-color: #070c24;
  background-size: 200px, 105px;
  margin: 0;
  padding: 0;
  display: flex;
  height: 100vh;
  overflow: hidden;
  text-shadow: 0 0 0.8px black;
}
*::-webkit-scrollbar {
  width: 15px;
  height: 15px
}

*::-webkit-scrollbar-track {
  background: rgba(5, 5, 5, 0.3);
}

*::-webkit-scrollbar-thumb {
  background: rgba(5, 5, 5, 0.5);
  border-radius: 10px;
  transition: background-color 0.3s ease-in-out;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(5, 5, 5, 0.7);
}
.container {
  display: flex;
  flex-grow: 1;
  height: 100vh;
  width: 100vw;
}
.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.button-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}
.button-bar button {
  background-color: #000;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  margin: 0 10px;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.button-bar button:hover {
  background-color: #ffc700;
  color: #000;
}
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url("/storage/images/bg.gif") repeat center center fixed;
  background-color: black;
  border: 2px solid gold;
  padding: 20px;
  text-align: center;
  display: none;
  z-index: 1000;
  border-radius: 10px;
  color: white;
}
.popup button {
  background: grey;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
  border-radius: 5px;
}
.popup button:hover {
  background: #ccc;
}
.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #222;
  padding: 10px 5px;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 50px;
  z-index: 1000;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.5);
}
.navbar .left-side {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  width: 100%;
}
.navbar .left-side img {
  height: 35px;
  margin-bottom: 10px;
}
.navbar .left-side a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #666;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: bold;
}
.navbar .left-side a:hover {
  background-color: #444;
  color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
.content {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 50px);
  height: 100vh;
}

#ad {
    background-color: rgba(0, 0, 0, 0.2);
    height: 600px;
    width: 160px;
    margin: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 15px;
    text-align: center;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.5);
}

.launch-screen {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: white;
    text-align: center;
}

.game-image {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.launch-btn {
    padding: 12px 28px;
    font-size: 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #4ade80;
    color: black;
    font-weight: bold;
}

.loading-bar {
    width: 260px;
    height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
    overflow: hidden;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg,#4ade80,#22c55e);
    transition: width 0.25s ease;
}
