/* Logo Loading Animation */
#youtube-works-container {
  width: 100%;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  width: 200px;
  height: 200px;
}

.loading-logo svg {
  width: 100%;
  height: 100%;
}

/* Hide main content during loading */
body.loading .site-wrap,
body.loading .site-header,
body.loading .masthead {
  opacity: 0;
}

body:not(.loading) .site-wrap,
body:not(.loading) .site-header,
body:not(.loading) .masthead {
  opacity: 1;
  transition: opacity 0.5s ease;
}
