/**
  When adding fonts here, make sure to add them using a base64 data uri, otherwise
  fonts loading are delayed, and text may get displayed incorrectly.
*/

/* https://github.com/unoplatform/uno/issues/3954 */
@font-face {
  font-family: 'Segoe UI';
  src: local('Segoe UI'), local('-apple-system'), local('BlinkMacSystemFont'), local('Inter'), local('Cantarell'), local('Ubuntu'), local('Roboto'), local('Open Sans'), local('Noto Sans'), local('Helvetica Neue'), local('sans-serif');
}

@font-face {
  font-family: 'Source Han Sans SC';
  src: url(./Assets/Fonts/SourceHanSansSC-Regular.otf) format('opentype');
  font-weight: 400;
}

#uno-body::before {
  content: '比赛看板竞猜积分榜我的积分详情中文字体预热';
  font-family: 'Source Han Sans SC';
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

html,
body,
#uno-body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: #061b16;
}

body {
  margin: 0;
  overflow: hidden;
}

#uno-body {
  position: relative;
  background:
    linear-gradient(115deg, rgba(5, 24, 20, 0.92) 0%, rgba(7, 27, 22, 0.72) 42%, rgba(252, 209, 22, 0.16) 100%),
    linear-gradient(0deg, rgba(7, 27, 22, 0.58), rgba(7, 27, 22, 0.18)),
    url('./Assets/Splash/fwc26-qualified-teams-wallchart.jpg') center center / cover no-repeat;
}

#uno-body::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(252, 209, 22, 0.30), transparent 26%),
    radial-gradient(circle at 78% 76%, rgba(0, 168, 89, 0.24), transparent 30%);
  mix-blend-mode: screen;
  opacity: 0.72;
}

#uno-body .uno-loader {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 36px;
  color: #ffffff;
}

#uno-body .uno-loader::before {
  content: 'FootyHub';
  position: absolute;
  top: calc(50% + 106px);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Source Han Sans SC', 'Segoe UI', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

#uno-body .uno-loader .logo {
  width: 132px;
  height: 132px;
  padding: 24px;
  border: 1px solid rgba(252, 209, 22, 0.62);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(252, 209, 22, 0.92), rgba(0, 168, 89, 0.86)),
    url('./Assets/Splash/splash_screen.svg') center center / 68px 68px no-repeat;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42);
  opacity: 1;
}

#uno-body .uno-loader progress {
  position: absolute;
  top: calc(50% + 160px);
  left: 50%;
  transform: translateX(-50%);
  width: min(320px, 62vw);
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(252, 209, 22, 0.55);
  border-radius: 999px;
  background: rgba(7, 27, 22, 0.64);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
}

#uno-body .uno-loader progress::-webkit-progress-bar {
  background: rgba(7, 27, 22, 0.64);
}

#uno-body .uno-loader progress::-webkit-progress-value {
  background: linear-gradient(90deg, #fcd116, #00a859);
}

#uno-body .uno-loader progress::-moz-progress-bar {
  background: linear-gradient(90deg, #fcd116, #00a859);
}

@font-face {
  font-family: 'Roboto';
  src: url(./Uno.Fonts.Roboto/Fonts/Roboto-Light.ttf) format('truetype');
  font-weight: 300;
}

@font-face {
  font-family: 'Roboto';
  src: url(./Uno.Fonts.Roboto/Fonts/Roboto-Regular.ttf) format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url(./Uno.Fonts.Roboto/Fonts/Roboto-Medium.ttf) format('truetype');
  font-weight: 500;
}
