:root {
  --bg: #111;
  --panel: #181818;
  --panel-dark: #141414;
  --line: #303030;
  --text: #f7f7f7;
  --muted: #8d8d8d;
  --accent: #f5f5f5;
  --accent-2: #ffffff;
}

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

html,
body {
  min-height: 100%;
}

body {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 6px
    ),
    #111;
  color: var(--text);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  overflow-x: hidden;
}

.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 9vw, 220px);
  background: #181818;
  border-bottom: 1px solid #222;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand img {
  width: 26px;
  height: 26px;
  opacity: 0.8;
}

.toplink {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.toplink:hover {
  color: #cfcfcf;
}

.page {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 80px;
}

.hero {
  width: min(100%, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cat {
  width: 110px;
  height: 110px;
  opacity: 0.55;
  margin-bottom: 32px;
}

h1 {
  position: relative;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 3px;
  text-align: center;
  color: transparent;
  text-transform: uppercase;
  margin-bottom: 80px;

  /* black / white animated title */
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 28%, #8f8f8f 42%, #111111 50%, #8f8f8f 58%, #ffffff 72%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
  filter: drop-shadow(0 10px 28px rgba(255, 255, 255, 0.08));
  animation: titleSweep 5.5s ease-in-out infinite;
}

h1::before,
h1::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
}

h1::before {
  transform: translate(2px, 0);
  opacity: 0.18;
  animation: titleDriftA 3.8s steps(2, end) infinite;
}

h1::after {
  transform: translate(-2px, 0);
  opacity: 0.12;
  animation: titleDriftB 4.4s steps(2, end) infinite;
}

@keyframes titleSweep {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes titleDriftA {
  0%, 88%, 100% { transform: translate(0, 0); opacity: 0; }
  90% { transform: translate(2px, -1px); opacity: 0.18; }
  92% { transform: translate(-1px, 1px); opacity: 0.08; }
}

@keyframes titleDriftB {
  0%, 82%, 100% { transform: translate(0, 0); opacity: 0; }
  84% { transform: translate(-2px, 1px); opacity: 0.14; }
  86% { transform: translate(1px, -1px); opacity: 0.08; }
}

.request-panel {
  width: min(100%, 760px);
  background: rgba(24, 24, 24, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.request-panel h2 {
  padding: 26px 30px;
  font-size: 22px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--line);
}

.request-panel p {
  padding: 28px 30px 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 30px 30px;
  height: 42px;
  min-width: 160px;
  padding: 0 24px;
  background: #f5f2eb;
  border: 1px solid #ffffff;
  border-radius: 4px;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.button:hover {
  background: #ffffff;
}

@media (max-width: 640px) {
  .topbar {
    padding: 0 18px;
  }

  .cat {
    width: 86px;
    height: 86px;
    margin-bottom: 24px;
  }

  h1 {
    margin-bottom: 46px;
    letter-spacing: 1.5px;
  }

  .request-panel h2,
  .request-panel p {
    padding-left: 22px;
    padding-right: 22px;
  }

  .button {
    margin-left: 22px;
    margin-right: 22px;
    width: calc(100% - 44px);
  }
}

body.enter-locked {
  overflow: hidden;
}

body.enter-locked .topbar,
body.enter-locked .page {
  filter: blur(14px);
  transform: scale(1.015);
  pointer-events: none;
  user-select: none;
}

.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 38%),
    rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.enter-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.enter-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid #343434;
  color: #fff;
  padding: 34px 46px;
  min-width: 260px;
  border-radius: 2px;
  cursor: pointer;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.enter-button:hover {
  transform: translateY(-3px);
  border-color: #6d6d6d;
  background: rgba(28, 28, 28, 0.96);
}

.enter-button:active {
  transform: translateY(0) scale(0.98);
}

.enter-button img {
  width: 64px;
  height: 64px;
  opacity: 0.65;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.08));
}

.enter-button span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f1f1f1;
}

.enter-button::after {
  content: "";
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  opacity: 0.22;
}
