﻿@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');

:root {
  --bg-1: #060d14;
  --bg-2: #0a1219;
  --text: #edf2f7;
  --muted: rgba(255, 255, 255, 0.8);
  --cyan: #74d9ff;
  --pink: #ff58c6;
  --gold: #f3c851;
  --panel-bg: rgba(10, 16, 22, 0.18);
  --button-bg: rgba(12, 17, 22, 0.82);
  --button-border: rgba(255, 170, 76, 0.5);
  --pan-x: 0px;
  --pan-y: 0px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  font-family: 'Oswald', sans-serif;
  background:
    linear-gradient(135deg, rgba(2, 7, 11, 0.7), rgba(6, 14, 20, 0.9)),
    url('oh_images/sksbuild/BackgroundOnceHuman.jpg') center center / cover no-repeat fixed,
    radial-gradient(circle at 10% 15%, rgba(92, 110, 140, 0.18), transparent 18%),
    linear-gradient(135deg, #02070b 0%, #0b1118 35%, #050b12 100%);
  background-position: calc(50% + var(--pan-x)) calc(50% + var(--pan-y));
  background-blend-mode: multiply, normal, screen, normal;
  color: var(--text);
  overflow: hidden;
  transition: background-position 220ms ease-out;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 16, 0.14);
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(circle at 18% 22%, rgba(118, 181, 255, 0.18), transparent 25%),
    radial-gradient(circle at 80% 18%, rgba(255, 88, 198, 0.11), transparent 22%),
    radial-gradient(circle at 50% 90%, rgba(64, 124, 192, 0.12), transparent 27%);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(18px);
}

.background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  filter: saturate(1.55) brightness(1.18) contrast(1.08);
  transform: translate3d(calc(var(--pan-x) * 0.7), calc(var(--pan-y) * 0.7), 0) scale(1.08);
  transition: transform 230ms ease-out, filter 230ms ease-out;
  will-change: transform, filter;
}

.effects-toggle {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 20;
  min-width: 126px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 170, 76, 0.7);
  background: rgba(12, 17, 22, 0.9);
  color: rgba(255, 255, 255, 0.94);
  font: 600 0.78rem/1.1 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 176, 82, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.effects-toggle:hover,
.effects-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 191, 92, 0.95);
  background: rgba(18, 24, 30, 0.96);
  outline: none;
}

.topbar {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  width: calc(100% - 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 10;
}

.utility-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.twitch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(255, 170, 76, 0.5);
  background: rgba(12, 17, 22, 0.82);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 176, 82, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.twitch-link img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.twitch-link span {
  font-size: clamp(0.72rem, 0.8vw, 1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.twitch-link:hover,
.twitch-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 191, 92, 0.9);
  background: rgba(18, 24, 30, 0.92);
  box-shadow: 0 0 12px rgba(255, 176, 82, 0.18);
}

@media (max-width: 768px) {
  .twitch-link {
    display: none;
  }
}

.utility-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 0 1px rgba(255, 176, 82, 0.08);
}

.utility-btn svg {
  width: 17px;
  height: 17px;
  display: block;
}

.utility-btn:hover,
.utility-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 191, 92, 0.9);
  background: rgba(18, 24, 30, 0.92);
  box-shadow: 0 0 12px rgba(255, 176, 82, 0.18);
}

.utility-label {
  color: rgba(123, 228, 255, 0.95);
  font-size: clamp(0.95rem, 1.1vw, 1.5rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(116, 217, 255, 0.38);
  white-space: nowrap;
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 26px 24px 60px;
}

.build-list {
  width: min(820px, 80vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  perspective: 1200px;
  margin-left: 0;
  padding-left: 0;
}

.build-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 2px 12px 2px 18px;
  margin-left: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.4rem, 2.1vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
  transform-style: preserve-3d;
  transition: transform 0.22s ease, color 0.22s ease, text-shadow 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}

@media (max-width: 768px) {
  .build-item {
    font-size: clamp(2.24rem, 3.36vw, 4.8rem);
    letter-spacing: 0.05em;
  }

  .utility-label {
    font-size: clamp(1.52rem, 1.76vw, 2.4rem);
  }
}

.build-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 0;
  background: transparent;
  transform: translateY(-50%);
  transition: width 0.22s ease;
}

.build-item::after {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
  transform: translateZ(-10px);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.build-item__marker {
  display: inline-block;
  min-width: 18px;
  color: rgb(255, 88, 198);
  text-shadow: 0 0 18px rgba(255, 88, 198, 0.84);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.build-item:hover,
.build-item:focus-visible,
.build-item.is-hovered {
  color: #fff;
  transform: perspective(1200px) rotateX(8deg) rotateY(1.5deg) translate3d(0, 0, 12px);
  text-shadow: 0 0 18px rgba(255, 88, 198, 0.95), 0 0 16px rgba(255, 255, 255, 0.32);
  opacity: 1;
  filter: drop-shadow(0 12px 16px rgba(8, 16, 26, 0.55));
}

.build-item:hover::before,
.build-item:focus-visible::before,
.build-item.is-hovered::before {
  width: 0;
}

.build-item:hover::after,
.build-item:focus-visible::after,
.build-item.is-hovered::after {
  opacity: 1;
  transform: translateZ(0);
}

.build-item:hover .build-item__marker,
.build-item:focus-visible .build-item__marker,
.build-item.is-hovered .build-item__marker {
  opacity: 1;
  transform: translateX(0);
}

.muted {
  color: rgba(255,255,255,0.88);
}

@media (max-width: 720px) {
  .topbar {
    margin-left: 12px;
    top: 14px;
  }

  .utility-group {
    gap: 8px;
  }

  .utility-btn {
    width: 32px;
    height: 32px;
  }

  .utility-label {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
  }

  .build-list {
    width: min(86vw, 520px);
    gap: 8px;
    transform: none;
  }

  .build-item {
    font-size: clamp(1.1rem, 3.5vw, 2rem);
    letter-spacing: 0.05em;
  }
}

@media (max-width: 480px) {
  .build-item {
    gap: 8px;
    min-height: 36px;
    font-size: clamp(1rem, 4vw, 1.5rem);
  }

  .build-item__marker {
    min-width: 12px;
  }
}
