*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --page-bg: #5d8bf4;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family:
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 700;
  color: #000;
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

.home {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: clamp(0.5rem, 1.5vh, 1rem) clamp(1rem, 2vw, 2rem);
}

.corner {
  position: absolute;
  font-size: clamp(7.8rem, 34.32vw, 21.84rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  user-select: none;
}

.corner-tl {
  top: clamp(0.5rem, 2vh, 1.5rem);
  left: clamp(0.75rem, 2.5vw, 2rem);
}

.corner-tr {
  top: clamp(0.5rem, 2vh, 1.5rem);
  right: clamp(0.75rem, 2.5vw, 2rem);
}

.corner-bl {
  bottom: clamp(0.5rem, 2vh, 1.5rem);
  left: clamp(0.75rem, 2.5vw, 2rem);
}

.corner-br {
  bottom: clamp(0.5rem, 2vh, 1.5rem);
  right: clamp(0.75rem, 2.5vw, 2rem);
}

.title-top,
.title-bottom {
  margin: 0;
  font-size: clamp(1.408rem, 2.236vw, 1.863rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  z-index: 1;
}

.title-top {
  align-self: end;
  padding-bottom: 0;
}

.title-bottom {
  align-self: start;
  padding-top: 0;
}

.menu {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  margin: 0;
  font-size: clamp(1.408rem, 2.236vw, 1.863rem);
  font-weight: 700;
  line-height: 1.05;
}

.menu-link {
  position: relative;
  color: inherit;
  text-decoration: none;
  width: fit-content;
}

.menu-link:not(.menu-link--plain)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.14em;
  width: calc(100% + clamp(1.1rem, 3.2vw, 2.4rem));
  height: 2px;
  background: currentColor;
}

.menu-link--plain {
  text-decoration: none;
}

.menu-link--indent {
  margin-top: clamp(0.6rem, 1.8vh, 1.1rem);
  margin-left: clamp(2.75rem, 7vw, 5.5rem);
}

.menu-tl {
  top: clamp(2%, 4.5vh, 6%);
  left: clamp(16%, 19vw, 23%);
}

.menu-tr {
  top: clamp(2%, 4.5vh, 6%);
  right: clamp(16%, 19vw, 23%);
}

.menu-ml {
  top: 50%;
  left: clamp(0.75rem, 2.5vw, 2rem);
  transform: translateY(-50%);
}

.menu-mr {
  top: 50%;
  right: clamp(0.75rem, 2.5vw, 2rem);
  transform: translateY(-50%);
}

.wheel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}



.wheel {
  position: relative;
  z-index: 1;
  width: min(88vw, 82vh);
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  overflow: hidden;
}

.wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at 30% 26%,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 16%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.48) 72%,
    rgba(0, 0, 0, 0.82) 90%,
    rgba(0, 0, 0, 0.95) 100%
  );
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.68),
    inset 12px 14px 28px rgba(255, 255, 255, 0.1),
    inset -22px -26px 60px rgba(0, 0, 0, 0.92);
}

.wheel-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.wheel-spokes {
  position: absolute;
  inset: 0;
  z-index: 1;
  will-change: transform;
}

.wheel-spokes svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
