@font-face {
  font-family: "Empresa";
  src: url("./assets/fonts/Metropolis-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Empresa";
  src: url("./assets/fonts/Metropolis-Thin.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Empresa";
  src: url("./assets/fonts/Metropolis-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Empresa";
  src: url("./assets/fonts/Metropolis-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  font-family: "Empresa", Arial, Helvetica, sans-serif;
  color: white;
  background:
    radial-gradient(
      circle at top left,
      rgba(33, 194, 168, 0.45),
      transparent 35%
    ),
    linear-gradient(135deg, #1f3c72 0%, #16304f 45%, #00c19f 100%);
}

.screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  padding: 11px 22px 11px 22px;
}

.top-bar {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.logo-card,
.clock-card {
  min-height: 48px;
  display: flex;
  align-items: center;
  background: rgba(14, 47, 63, 0.92);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.logo-card {
  border-radius: 0px 24px 24px 0;
}

.clock-card {
  border-radius: 24px 0px 0px 24px;
}

.logo-card {
  padding: 6px 22px;
  background: #00c19f;
}

.logo-card img {
  max-height: 42px;
  max-width: 170px;
  display: block;
}

.logo-fallback {
  display: none;
  font-size: 28px;
  font-weight: 100;
  letter-spacing: 1px;
}

.clock-card {
  gap: 16px;
  padding: 8px 20px;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 300;

  letter-spacing: 1px;
}

.carousel-stage {
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.slide-container {
  width: 100%;
  height: 100%;
}

.slide-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.empty-state {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.25);
}

.empty-state strong {
  font-size: clamp(28px, 4vw, 52px);
}

.empty-state span {
  font-size: clamp(16px, 2vw, 26px);
}

.ticker-wrapper {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 20px;
  z-index: 6;
  height: 45px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 29px;
  background: rgba(14, 47, 63, 0.94);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(6px);
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: tickerMove 22s linear infinite;
}

.ticker-track span {
  padding-right: 60px;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  letter-spacing: 0.5px;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
