:root {
  --bg-deep: #091016;
  --bg-mid: #112434;
  --accent: #e5f4ff;
  --panel: #f4f7f2;
  --panel-2: #ffffff;
  --ink: #112031;
  --muted: #61778f;
  --line: #d4dde2;
  --menu-active: #d4e6f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: #fff;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 10%, #1f4668 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, #1b2b3d 0%, transparent 40%),
    linear-gradient(130deg, var(--bg-mid), var(--bg-deep));
}

.page {
  min-height: 100vh;
}

.coming-soon {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 56px);
  overflow: hidden;
  padding: 24px;
}

.fog-logo {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(71.5vw, 910px);
  transform: translate(-50%, -50%);
  opacity: 0.28;
  filter: blur(4px) saturate(0.9);
}

.fog-logo::after {
  content: "";
  position: absolute;
  inset: -20% -15%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), rgba(8, 15, 24, 0.72) 70%);
}

.fog-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-text {
  margin: 0;
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 0.08em;
  line-height: 1.72;
  padding-top: 0.2em;
  font-size: clamp(1.8rem, 4.2vw, 4.6rem);
  color: #ffe45a;
  max-width: 960px;
  text-shadow: 0 2px 0 rgba(8, 14, 21, 0.8), 0 0 18px rgba(255, 222, 110, 0.55), 0 0 34px rgba(255, 180, 80, 0.3);
  z-index: 2;
}

.hero-letter-anchor {
  display: inline-block;
}

.hero-text::before {
  content: "";
  position: absolute;
  inset: -0.24em -0.3em;
  border-radius: 26px;
  background: radial-gradient(ellipse at center, rgba(255, 206, 92, 0.34) 0%, rgba(255, 168, 89, 0.2) 42%, rgba(255, 168, 89, 0) 75%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.letter-pong-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.letter-paddle {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 104px;
  display: grid;
  place-items: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.9rem);
  font-weight: 700;
  line-height: 1;
  color: #ffe98d;
  text-shadow: 0 0 16px rgba(255, 233, 141, 0.42);
  user-select: none;
  transform: translate(-50%, -50%);
  will-change: transform;
}

#bouncing-ball {
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: #f8f3d5;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 248, 208, 0.85), 0 0 16px rgba(255, 216, 104, 0.58);
  pointer-events: none;
  z-index: 4;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 320px 1fr;
  background: linear-gradient(90deg, #e5ebef 0%, #f2f5f8 70%, #f8fafc 100%);
}

.sidebar {
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #f0f3f6 0%, #e9eff4 100%);
  padding: 24px 20px;
}

.brand-box {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.brand-logo {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #c8d4df;
}

.brand-sub {
  margin: 0;
  color: #31495f;
  font-weight: 700;
  font-size: 0.95rem;
}

.menu {
  display: grid;
  gap: 8px;
}

.menu-item,
.menu-subitem {
  width: 100%;
  text-align: left;
  border: 1px solid #c8d7e2;
  background: #fff;
  color: #193047;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.93rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.menu-item:hover,
.menu-subitem:hover {
  transform: translateX(3px);
  box-shadow: 0 5px 16px rgba(30, 64, 98, 0.14);
}

.menu-subitem {
  margin-left: 10px;
  width: calc(100% - 10px);
  background: #f8fbfe;
}

.menu-item.is-active,
.menu-subitem.is-active {
  background: var(--menu-active);
  border-color: #8fb6da;
}

.content {
  color: var(--ink);
  padding: 26px clamp(18px, 3vw, 44px);
}

.view {
  display: none;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(18px, 2vw, 32px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.view.is-active {
  display: block;
  animation: reveal 0.35s ease;
}

.view h2 {
  margin-top: 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
}

.view p,
.view li {
  color: #24384b;
  line-height: 1.65;
}

.is-hidden {
  display: none;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .letter-paddle {
    width: 58px;
    height: 92px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .menu {
    grid-template-columns: 1fr;
  }
}