/**
  FootyHub uses a compressed WOFF2 CJK font so Skia-rendered Chinese text is reliable while
  avoiding the larger original OTF package.
*/

@font-face {
  font-family: 'Noto Sans SC';
  src: url(./Assets/Fonts/noto-sans-sc-v40-chinese-simplified_latin-regular.woff2) format('woff2');
  font-weight: 400;
}
/* 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');
}

#uno-body::before {
  content: '比赛看板竞猜积分榜我的积分详情中文字体预热';
  font-family: 'Noto 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;
}

.footy-splash {
  --footy-dark: #061b16;
  --footy-green: #00a859;
  --footy-yellow: #fcd116;
  --footy-blue: #006ab6;
  --footy-red: #d71920;
  font-family: 'Noto Sans SC', 'Segoe UI', Arial, sans-serif;
}

.footy-splash .uno-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(252, 209, 22, 0.16), transparent 30%),
    radial-gradient(circle at 84% 78%, rgba(0, 168, 89, 0.13), transparent 32%),
    linear-gradient(120deg, #ffffff 0%, #f8fbff 45%, #ffffff 100%);
}

.footy-splash .uno-loader::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(255, 255, 255, 0.22) 72%, rgba(255, 255, 255, 0.58) 100%);
}

.footy-splash .uno-loader {
  position: relative;
  z-index: 5000;
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  color: #0a2a23;
}

.footy-splash .splash-stage {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-items: center;
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  padding: clamp(24px, 4vw, 52px);
  overflow: hidden;
}

.footy-splash .wallchart-panel {
  --wallchart-image: url('./Assets/Splash/fwc26-qualified-teams-wallchart.jpg');
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.00), rgba(255, 255, 255, 0.28)),
    var(--wallchart-image) center center / cover no-repeat;
  overflow: hidden;
  opacity: 0.88;
}

.footy-splash .wallchart-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 30%, rgba(255, 255, 255, 0.08) 56%, rgba(255, 255, 255, 0.66) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.74), transparent 48%);
}

.footy-splash .splash-foreground {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 34px 48px;
  border: 1px solid rgba(252, 209, 22, 0.44);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 28px 90px rgba(6, 27, 22, 0.20),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.footy-splash .ball-display {
  position: relative;
  display: grid;
  place-items: center;
  width: 220px;
  height: 218px;
  perspective: 900px;
}

.footy-splash .official-ball {
  position: relative;
  width: 176px;
  height: 176px;
  overflow: visible;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 22px 60px rgba(6, 27, 22, 0.18);
  isolation: isolate;
  transform-style: preserve-3d;
  transform: rotateY(-14deg) rotateZ(-4deg) translateY(-8px);
}

.footy-splash .ball-ground-shadow {
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 10px;
  height: 25px;
  border-radius: 50%;
  background: rgba(6, 27, 22, 0.24);
  filter: blur(12px);
  transform: scaleX(1.12);
}

.footy-splash .ball-photo {
  position: absolute;
  inset: -5px;
  z-index: 1;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  object-fit: contain;
  border-radius: 50%;
  transform: translateZ(18px);
  filter: saturate(1.08) contrast(1.04);
}

.footy-splash .ball-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 2;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.96) 0 12%, rgba(255, 255, 255, 0.46) 13% 23%, transparent 24%),
    linear-gradient(90deg, rgba(6, 27, 22, 0.42), transparent 28%, transparent 66%, rgba(6, 27, 22, 0.52)),
    radial-gradient(circle at 50% 50%, transparent 0 58%, rgba(6, 27, 22, 0.26) 74%, rgba(6, 27, 22, 0.58) 100%);
  pointer-events: none;
}

.footy-splash .splash-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: 0;
  color: var(--footy-yellow);
  text-shadow: 0 3px 22px rgba(6, 27, 22, 0.18);
}

.footy-splash .splash-subtitle {
  margin: 0;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 600;
  color: rgba(6, 27, 22, 0.78);
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.62);
}

.footy-splash .uno-loader progress {
  position: fixed;
  z-index: 2;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 56px));
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(252, 209, 22, 0.66);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 38px rgba(6, 27, 22, 0.18);
}

.footy-splash .uno-loader progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.86);
}

.footy-splash .uno-loader progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--footy-blue), var(--footy-green), var(--footy-yellow), var(--footy-red));
  transition: width 220ms ease;
}

.footy-splash .uno-loader progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--footy-blue), var(--footy-green), var(--footy-yellow), var(--footy-red));
}

.footy-splash .alert {
  position: fixed;
  z-index: 2;
  left: 50%;
  bottom: 58px;
  transform: translateX(-50%);
  color: rgba(6, 27, 22, 0.78);
  font-size: 13px;
}

@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;
}

