.game-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 82px;
  background: #1f8fd8;
  border-top: 2px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 1000;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  width: 100%;
}

.footer-link {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-link.active {
  color: #ffffff;
}

.footer-link.active::after {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(54px, 5vw, 68px);
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
}

.footer-corner {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.footer-corner::before,
.footer-corner::after {
  content: "";
  position: absolute;
  right: 0;
  width: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  transform-origin: right center;
}

.footer-corner::before {
  bottom: 2px;
  transform: rotate(-45deg);
}

.footer-corner::after {
  bottom: 6px;
  transform: rotate(-45deg);
}

/* Optional: make it a little tighter on small screens */
@media (max-width: 480px) {
  .game-footer,
  .footer-nav,
  .footer-link {
    min-height: 68px;
  }

  .footer-link {
    padding: 0 8px;
    font-size: 14px;
    letter-spacing: 0.3px;
  }

  .footer-link.active::after {
    bottom: 14px;
  }
}

/* footer size override */
.game-footer {
  min-height: 68px;
}

.footer-nav {
  min-height: 68px;
}

.footer-link {
  min-height: 68px;
  padding: 0 14px;
  font-size: clamp(15px, 1.2vw, 17px);
}

.footer-link.active::after {
  bottom: 14px;
  width: clamp(48px, 4.5vw, 62px);
}

/* tablet */
@media (max-width: 768px) {
  .game-footer,
  .footer-nav,
  .footer-link {
    min-height: 60px;
  }

  .footer-link {
    padding: 0 10px;
    font-size: 14px;
    letter-spacing: 0.35px;
  }

  .footer-link.active::after {
    bottom: 12px;
    width: 50px;
  }
}

/* phone */
@media (max-width: 480px) {
  .game-footer,
  .footer-nav,
  .footer-link {
    min-height: 54px;
  }

  .footer-link {
    padding: 0 8px;
    font-size: 13px;
    letter-spacing: 0.25px;
  }

  .footer-link.active::after {
    bottom: 10px;
    width: 42px;
  }
}
