﻿.offline-screen {
  background: radial-gradient(ellipse at center, #22223d 0%, #1a1a2e 70%);
  position: relative;
  overflow: hidden;
}

.offline-screen-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.offline-logo {
  width: 84px;
  height: 84px;
  opacity: 0.9;
  filter: drop-shadow(0 0 18px rgba(232, 93, 4, 0.55));
  animation:
    offline-logo-spin 22s linear infinite,
    offline-logo-pulse 4s ease-in-out infinite;
}

@keyframes offline-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes offline-logo-pulse {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

.offline-wordmark {
  font-family: Roboto, Helvetica, Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 2rem !important;
  letter-spacing: 0.25em !important;
  color: #f0efe8 !important;
  text-transform: uppercase;
  margin-top: 4px !important;
}

.offline-caption {
  font-family: Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  color: #e85d04 !important;
  font-weight: 400 !important;
}

#root,
#rtc-embed,
body,
html {
  height: 100%;
}

* {
  scrollbar-width: none;
}

::-webkit-scrollbar {
  width: 0;
  background: 0 0;
}

.admin-glow {
  color: #b23c17 !important;
  animation-name: admin-glow;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes admin-glow {
  from {
    text-shadow:
      0 0 5px #b23c17,
      0 0 5px #b71c1c;
  }

  to {
    text-shadow:
      0 0 20px #b23c17,
      0 0 20px #b71c1c;
  }
}

.mod-glow {
  color: #66ccff !important;
  animation-name: mod-glow;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes mod-glow {
  from {
    text-shadow:
      0 0 5px #66ccff,
      0 0 5px #99eaff;
  }

  to {
    text-shadow:
      0 0 20px #66ccff,
      0 0 20px #99eaff;
  }
}

.admin-glow span,
.mod-glow span,
.gold-pass span {
  display: inline-block;
}

.admin-glow span:hover,
.mod-glow span:hover,
.gold-pass span:hover {
  text-decoration: underline;
}

.admin-glow span::first-letter,
.mod-glow span::first-letter,
.gold-pass span::first-letter {
  text-transform: uppercase;
}

.neon-text {
  color: #ff9100;
  text-shadow:
    0 0 10px #ff9100,
    0 0 20px #ff9100;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.wrapper-comment:hover .wrapper-overlay {
  visibility: visible;
}

.emote {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-left: 2.5px;
  margin-right: 2.5px;
  border-radius: 4px;
  vertical-align: bottom;
}

img[hidden] {
  display: none !important;
}

.full-height {
  height: 100% !important;
}

#rtc-embed {
  width: 100%;
  border: none;
}

.scrollbar-custom {
  scrollbar-width: thin;
  scrollbar-color: #ff9100 transparent;
}

.scrollbar-custom::-webkit-scrollbar {
  width: 5px;
}

.scrollbar-custom::-webkit-scrollbar-track {
  background: 0 0;
}

.scrollbar-custom::-webkit-scrollbar-thumb {
  background-color: #ff9100;
  border-radius: 10px;
}

.scrollbar-custom-secondary::-webkit-scrollbar {
  height: 5px;
  width: 0px;
}

.santa-hat:before {
  content: url("../images/santa-hat.png");
  position: absolute;
  z-index: 1;
  left: 3px;
}

.halloween-hat:before {
  content: url("../images/halloween-hat.png");
  position: absolute;
  z-index: 1;
  left: 3px;
}

.santa-hat-primary {
  position: relative;
}

.santa-hat-primary:before {
  content: url("../images/santa-hat-big.png");
  position: absolute;
  z-index: 1;
  top: -12.5px;
  left: -5.5px;
}

.halloween-hat-primary {
  position: relative;
}

.halloween-hat-primary:before {
  content: url("../images/halloween-hat-big.png");
  position: absolute;
  z-index: 1;
  top: -12.5px;
  left: -10.5px;
}

.vjs-poster img {
  visibility: hidden;
}

.animated-background {
  position: relative;
  background: linear-gradient(135deg, #4b3a0a 0%, #3a2a00 100%);
  overflow: hidden;
}

.animated-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 180, 0.6) 0%,
    rgba(255, 225, 80, 0.4) 20%,
    rgba(255, 215, 0, 0.25) 40%,
    transparent 70%
  );
  opacity: 0.8;
  animation: glow-pulse 1s ease-in-out infinite alternate;
  will-change: opacity;
}

.animated-background::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 245, 120, 0.2) 44%,
    rgba(255, 230, 80, 0.5) 47%,
    rgba(255, 215, 0, 0.7) 49%,
    rgba(255, 245, 180, 0.9) 50%,
    rgba(255, 215, 0, 0.7) 51%,
    rgba(255, 230, 80, 0.5) 53%,
    rgba(255, 245, 120, 0.2) 56%,
    transparent 62%,
    transparent 100%
  );
  animation: ribbon-flow 3.5s linear infinite;
  transform: translateX(-100%);
  will-change: transform;
}

@keyframes glow-pulse {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

@keyframes ribbon-flow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
