* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color:rgba(0, 0, 0, 1);
    font-family:system-ui, sans-serif;
}

#banner {
    flex-basis:100%;
    position:sticky;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    flex-direction:row;
    padding-top:18px;
    height:100px;
}

#banner-label {
    width:503px;
    height:88px;
    margin-left:10px;
}

#banner-logo {
    height:100%;
    margin-left:20px;
}

#cluster-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 50px));
  width: calc(min(100vw, 100vh) - 100px);
  height: calc(min(100vw, 100vh) - 100px);
  z-index: 100;
  pointer-events: none;
  container-type: size;
  background-image: url(../assets/tv.png);
  background-size: contain;
}

.link-panel {
  position: absolute;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: scale 0.3s ease;
  pointer-events: auto;
}

.link-panel img {
  width: 10cqw;
  height: auto;
  border-radius: 2cqw;
  transition: filter 0.3s ease;
}

.panel-label {
  margin-top: 2cqw;
  font-size: 3cqw;
  font-weight: bold;
  padding: 1cqw 2cqw;
  color: #ffffff;
}

.link-panel:hover {
  z-index: 10;
  scale: 1.1;
}

.link-panel:hover img {
  filter: invert();
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(5px, -5px) rotate(2deg);
  }

  66% {
    transform: translate(-5px, 5px) rotate(-1deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

#panel-1 {
  top: 30%;
  left: 15%;
  animation: float 6s ease-in-out infinite;
}

#panel-2 {
  top: 50%;
  left: 60%;
  animation: float 7s ease-in-out infinite -5s;
}

@keyframes flicker {
  0% { filter: brightness(1); }
  5% { filter: brightness(1.02); }
  10% { filter: brightness(0.98); }
  15% { filter: brightness(1.01); }
  20% { filter: brightness(0.99); }
  25% { filter: brightness(1.05); }
  30% { filter: brightness(0.97); }
  35% { filter: brightness(1.01); }
  40% { filter: brightness(1.02); }
  45% { filter: brightness(0.98); }
  50% { filter: brightness(1.03); }
  55% { filter: brightness(0.99); }
  60% { filter: brightness(1.02); }
  65% { filter: brightness(0.98); }
  70% { filter: brightness(1.01); }
  75% { filter: brightness(1.02); }
  80% { filter: brightness(0.97); }
  85% { filter: brightness(1.01); }
  90% { filter: brightness(0.99); }
  95% { filter: brightness(1.02); }
  100% { filter: brightness(1); }
}

#tv-screen{
    position: relative;
    width: 100%;
    height: 100%;
    animation: flicker 1s infinite alternate;
}

/* Footer Styles */
footer {
  position: fixed;
  bottom: 10px;
  left: 10px;
  text-align: center;
  z-index: 200;
}

footer a {
  color: rgb(120, 120, 120);
  text-decoration: none;
  font-size: 12px;
}

/* Cookie Banner Styles */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(20, 20, 20, 0.95);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  border-top: 1px solid #333;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

#cookie-banner p {
  margin: 0;
  font-size: 14px;
}

#cookie-banner button {
  background-color: white;
  color: rgba(20, 20, 20, 0.95);
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}

/* Legal Page Styles */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #ddd;
  line-height: 1.6;
}

.legal-container h1 {
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-top: 40px;
}

.legal-container h2 {
  margin-top: 30px;
}