@font-face {
  font-family: 'Glory';
  src: url('go3v2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html, body {
  height: 100%;
  margin: 0;
  background-color: #050505;
  overflow: hidden;
  perspective: 1000px;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
}

#fade-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 1s ease-in-out;
}

#fade-overlay.active {
  opacity: 1;
}

@keyframes roboticApproach {
  0% { transform: translateZ(-500px) translateY(-50px) rotateX(-10deg); opacity: 0; }
  60% { transform: translateZ(50px) translateY(10px) rotateX(5deg); opacity: 1; }
  100% { transform: translateZ(0) translateY(0) rotateX(0); opacity: 1; }
}

.main-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: roboticApproach 2.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  width: 100%;
  height: 100%;
}

.tv-frame {
  position: relative;
  z-index: 10;
  padding: 12px;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, #777 0%, #333 10%, #222 50%, #111 90%, #555 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), inset 0 2px 2px rgba(255,255,255,0.2);
}

.tv-screen {
  aspect-ratio: 16 / 10;
  width: min(75vw, 420px);
  background: radial-gradient(circle at center, #151515 0%, #000 100%);
  border-radius: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.8rem;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 1);
  border: 1px solid #1a1a1a;
  overflow: hidden;
  position: relative;
}

.support-arm {
  position: absolute;
  background: linear-gradient(90deg, #222 0%, #888 50%, #222 100%);
  width: 28px;
  height: 150vh;
  bottom: 40%;
  transform-origin: bottom center;
  z-index: 1;
  border-radius: 10px;
  box-shadow: 10px 0 20px rgba(0,0,0,0.8);
}

.arm-left { left: 10%; transform: rotate(42deg); }
.arm-right { left: 40%; transform: rotate(38deg); }

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
  transform: translate(-0.5em, 0.8em);
}

.text-logo {
  font-family: 'Glory', sans-serif;
  font-size: clamp(9rem, 20vw, 30rem);
  color: #eee;
  line-height: 1;
}

.horn-text {
  font-family: 'Glory', sans-serif;
  font-size: clamp(3rem, 4vw, 6rem);
  color: #ff0000;
  letter-spacing: clamp(0.3em, 1vh, 0.9em);
  margin-right: calc(-1 * clamp(0.3em, 1vh, 0.9em));
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

.tv-screen::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
              linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 3px 100%;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .tv-screen {
    width: 600px;
    padding: 3rem;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 1);
  }

  .support-arm {
    width: 38px;
  }

  .arm-left {
    left: calc(50% - 180px); 
    transform: rotate(36deg);
  }

  .arm-right {
    left: calc(50% - 40px); 
    transform: rotate(42deg);
  }

  .text-logo {
    font-size: 18rem;
  }

  .horn-text {
    font-size: 5rem; 
    letter-spacing: 0.8em;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .tv-screen {
        width: 500px;
    }
    .arm-left { left: 22%; }
    .arm-right { left: 48%; }
}

