﻿html,
body,
#root {
  height: 100%;
}

body,
#root {
  overflow: hidden;
}

* {
  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;
}

.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;
}

.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%);
  }
}
