/* assets/css/main.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#player-container {
  width: 100%;
  height: 100%;
  position: relative;
}

#layout-frame {
  display: block;
  border: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0a;
}

#loading-screen {
  position: fixed;
  inset: 0;
  background-color: #0a0a0a;
  color: #009ee2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 9999;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
}

.ea-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 158, 226, 0.18);
  border-top-color: #009ee2;
  border-radius: 50%;
  animation: ea-spin 0.75s linear infinite;
}

@keyframes ea-spin {
  to {
    transform: rotate(360deg);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


#loading-screen {
  position: fixed;
  inset: 0;
  background-color: #0a0a0a;
  color: #009ee2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Cuando se oculta, no solo se hace transparente, sino que deja pasar los toques */
#loading-screen.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
