@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Space+Grotesk:wght@400;700&display=swap');

html {
  background: linear-gradient(135deg, #0f0f0f, #1a0033);
  background-attachment: fixed;
  min-height: 100%;
  overflow-x: hidden;
}

.logo-strip {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #0d1024; 
  display: flex;
  align-items: center;
  z-index: 9999;
  padding: 0 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cyan-logo {
  height: 60px;
  width: auto;
}

.wbb-logo {
  height: 140px;
  width: auto;
  padding-top: 15px;
}

body {
  margin: 0;
  padding-top: 90px;
  font-family: 'Space Grotesk', sans-serif;
  background: transparent;
  color: #00ffee;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #0f0f0f, #1a0033); 
  z-index: -1;
}


h1.main-title {
  text-align: center;
  font-family: 'Press Start 2P';
  font-size: 2rem;
  padding: 2rem;
  color: #00ffee; 
  text-shadow: 
    0 0 5px #ff00c8,
    0 0 15px #00ffee;
  margin-bottom: 1.5rem;
  animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
  from { opacity: 1; }
  to { opacity: 0.85; }
}

.carousel {
  overflow: hidden;
  width: 100%;
  margin: 0 auto 2rem auto;
}

.carousel-track {
  display: flex;
  animation: scroll 20s linear infinite;
}

.carousel-track img {
  width: 200px;
  margin: 0 10px;
  border-radius: 12px;
  box-shadow: 0 0 15px #ff00c8;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.tabs {
  text-align: center;
  margin-bottom: 2rem;
}

.tab-button {
  background: #111;
  border: 2px dashed #ff00c8;
  color: #00ffee;
  padding: 1rem 2rem;
  margin: 0.5rem;
  cursor: pointer;
  font-family: 'Press Start 2P';
  transition: all 0.3s ease;
  border-radius: 999px; 
}

.tab-button.active, .tab-button:hover {
  background: #ff00c8;
  color: black;
  box-shadow: 0 0 10px #ff00c8;
}

.tab-content {
  display: none;
  padding: 1rem 2rem;
  max-width: 900px;
  margin: auto;
}

.tab-content.active {
  display: block;
}

.info-box {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed #00ffee;
  padding: 1.5rem;
  border-radius: 2rem;
  margin-bottom: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00ffee;
}

.info-box h2 {
  font-family: 'Press Start 2P';
  font-size: 1.25rem;
  color: #ff00c8;
}

a {
  color: #00ffee;
  text-decoration: underline;
}

#backToTopBtn {
  display: none; 
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-family: 'Press Start 2P';
  font-size: 0.8rem;
  border: 2px dashed #ff00c8;
  outline: none;
  background-color: #111;
  color: #00ffee;
  cursor: pointer;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 0 10px #ff00c8;
  transition: 0.3s ease;
}

#backToTopBtn:hover {
  background-color: #ff00c8;
  color: black;
  box-shadow: 0 0 20px #ff00c8;
}

#arcade-game {
  text-align: center;
  margin: 3rem auto;
}

.game-title {
  font-family: 'Press Start 2P';
  font-size: 1.2rem;
  color: #00ffee;
  text-shadow: 
    0 0 5px #ff00c8,
    0 0 15px #00ffee;
  margin-bottom: 1rem;
}


#invadersGame{
  width:100%;
  max-width:900px;
  height:auto;
  display:block;
  margin:0 auto;
  background:#000;
  touch-action:none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0f0f0f, #1a0033);
  z-index: -1;
}

:root { --border: 3px; --speed: 12s; }
body::after {
  content: "";
  position: fixed;
  inset: 0;
  padding: var(--border);
  pointer-events: none;
  z-index: 9998;
  background: linear-gradient(90deg,
    rgba(170,0,255,.18),
    rgba(0,170,255,.18),
    rgba(255,0,200,.18),
    rgba(170,0,255,.18));
  background-size: 300% 100%;
  animation: neonFlow var(--speed) linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: 10px;
}
@keyframes neonFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


@media (max-width: 600px) {

  h1.main-title {
    font-size: clamp(1.7rem, 7.5vw, 2.8rem);
    line-height: 1.2;
  }

  .tab-button {
    font-size: clamp(0.8rem, 3vw, 1.05rem);
    line-height: 1.2;
    padding: 0.5rem 0.9rem; 
    margin: 0.25rem;
  }

}
