/* ===========================================
   RADIO WIDGET - F1 Style TV GRAPHIC
   =========================================== */
.radio-widget {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) translateX(100px);
  width: 420px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  z-index: 1000;
  overflow: hidden;
  border-radius: 2px;
}

.radio-widget.active {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

/* Top Section: Dark background with Name and Logo + RADIO */
.radio-widget__top {
  background: #18191e;
  padding: 30px 40px 5px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end; 
}

.radio-widget__username {
  font-family: "Formula1", sans-serif;
  font-size: 54px;
  font-weight: 700;
  color: var(--team-color, #00d2be);
  line-height: 0.9;
  text-transform: uppercase;
  text-align: right;
  letter-spacing: -2px;
  white-space: nowrap;
  overflow: visible;
  max-width: 100%;
}

.radio-widget__subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
}

.radio-widget__team-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
}

.radio-widget__team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.radio-widget__label {
  font-family: "Formula1", sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #ffffff;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -2px;
}

/* Wave Section */
.radio-widget__wave-strip {
  width: 100%;
  height: 50px;
  background: #18191e;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 0 10px;
  margin: 0;
}

.radio-widget__wave-bar {
  flex: 1;
  background: var(--team-color, #00d2be);
  min-height: 6px;
  border-radius: 2px;
  box-shadow: 0 0 12px var(--team-color, rgba(0, 210, 190, 0.4));
}

/* Divider */
.radio-widget__divider {
  display: none;
}

/* Message Section */
.radio-widget__body {
  background: #1d1e24;
  padding: 40px 40px 50px 40px;
  display: flex;
  justify-content: flex-end;
}

.radio-widget__message {
  font-family: "Formula1", sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--team-color, #00d2be);
  text-transform: uppercase;
  text-align: right;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -1px;
}

/* Animation */
@keyframes radioWave {
  0%, 100% { height: 15%; opacity: 0.5; }
  50% { height: 100%; opacity: 1; }
}

.radio-widget.active .radio-widget__wave-bar {
  animation: radioWave 0.5s ease-in-out infinite;
}
