:root {
  --bg-top: #220750;
  --bg-mid: #14053a;
  --bg-base: #09011f;
  --panel: rgba(11, 10, 40, 0.78);
  --panel-2: rgba(8, 12, 38, 0.82);
  --line: rgba(124, 255, 112, 0.42);
  --line-soft: rgba(124, 255, 112, 0.2);
  --text: #edf1ff;
  --muted: #b3bee0;
  --accent: #7dff6b;
  --accent-cyan: #45e7ff;
  --accent-blue: #295eff;
  --radius: 16px;
  --neon-shadow: 0 0 0 1px rgba(124, 255, 112, 0.24), 0 0 22px rgba(69, 231, 255, 0.16), 0 14px 40px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  background: #09011f;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -8%, #3e1690 0%, var(--bg-top) 18%, var(--bg-mid) 48%, var(--bg-base) 100%);
  position: relative;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 255, 112, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 255, 112, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.55) 56%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.bg-floor {
  position: fixed;
  left: -18vw;
  right: -18vw;
  bottom: -32vh;
  height: 62vh;
  transform: perspective(460px) rotateX(68deg);
  transform-origin: bottom;
  background-image:
    linear-gradient(rgba(53, 95, 255, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 95, 255, 0.42) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.46;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  width: 460px;
  height: 460px;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-left {
  left: -150px;
  top: -130px;
  background: rgba(124, 255, 112, 0.18);
}

.bg-glow-right {
  right: -130px;
  top: 40px;
  background: rgba(69, 231, 255, 0.18);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 62px 0 80px;
  position: relative;
  z-index: 1;
}

.topbar,
.hero,
.card,
.footer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  box-shadow: var(--neon-shadow);
  backdrop-filter: blur(4px);
}

.topbar {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.label {
  margin: 0;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 2px;
  background: rgba(0, 0, 0, 0.34);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.76rem/1 "IBM Plex Mono", monospace;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.lang-switch button.active {
  color: #061d0f;
  background: linear-gradient(90deg, var(--accent), #a0ff80);
}

.hero {
  margin-top: 16px;
  padding: 44px 34px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1,
h2 {
  margin: 0;
  line-height: 1.03;
}

.hero-name {
  font-size: clamp(2.1rem, 8.4vw, 5.6rem);
  letter-spacing: -0.025em;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.06);
}

.hero-name-accent {
  color: var(--text);
  text-shadow: none;
}

.lead {
  margin: 18px 0 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.lead-strong {
  color: #dde6ff;
}

.availability-note {
  margin-top: 24px;
  width: min(760px, 100%);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0%, rgba(69, 231, 255, 0.1), rgba(124, 255, 112, 0.08) 52%, rgba(0, 0, 0, 0.12) 100%);
  padding: 12px 22px 14px;
  text-align: center;
  box-shadow: inset 0 0 24px rgba(69, 231, 255, 0.08), 0 0 20px rgba(124, 255, 112, 0.08);
}

.availability-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2px;
}

.availability-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.availability-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(124, 255, 112, 0.42);
  background: rgba(124, 255, 112, 0.08);
  color: #d5ffd0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(124, 255, 112, 0.75);
  animation: livePulse 1.6s infinite;
}

.availability-value {
  color: #e8efff;
  font-size: 1rem;
  font-weight: 500;
}

.card {
  margin-top: 18px;
  padding: 30px;
}

.contact-card h2,
.profile-card h2 {
  font-size: clamp(1.35rem, 2.7vw, 2.25rem);
  margin-bottom: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.contact-box {
  border: 1px solid rgba(179, 190, 224, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(13, 21, 58, 0.65), rgba(10, 16, 46, 0.52));
  padding: 16px;
}

.contact-box h3 {
  margin: 0 0 12px;
  font-size: 1.03rem;
}

.contact-row {
  border-top: 1px solid rgba(179, 190, 224, 0.18);
  padding-top: 12px;
  margin-top: 12px;
}

.contact-row:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.contact-label {
  display: block;
  margin-bottom: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.contact-value {
  color: #f0f5ff;
}

.contact-link {
  color: #dff0ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(69, 231, 255, 0.5);
}

.contact-link:hover {
  color: #ffffff;
  border-bottom-color: rgba(124, 255, 112, 0.9);
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(124, 255, 112, 0.32);
  background: rgba(124, 255, 112, 0.08);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: #e8f6ff;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px 28px;
  margin: 0;
}

.item {
  padding: 14px 0;
  border-top: 1px solid rgba(179, 190, 224, 0.2);
}

dt {
  font-weight: 700;
  margin-bottom: 7px;
  color: #ecf2ff;
}

dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
  color: #f0f7ff;
}

.footer {
  margin-top: 18px;
  padding: 18px 24px;
}

.footer p {
  margin: 0;
  color: #ced9f8;
  text-align: center;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 760ms ease forwards;
}

.reveal:nth-child(1) {
  animation-delay: 120ms;
}

.reveal:nth-child(2) {
  animation-delay: 250ms;
}

.reveal:nth-child(3) {
  animation-delay: 380ms;
}

.reveal:nth-child(4) {
  animation-delay: 510ms;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 255, 112, 0.75);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(124, 255, 112, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(124, 255, 112, 0);
  }
}

@media (max-width: 760px) {
  .container {
    padding: 28px 0 48px;
  }

  .topbar,
  .hero,
  .card,
  .footer {
    border-radius: 14px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .card {
    padding: 22px;
  }

  .lead {
    font-size: 0.98rem;
  }

  .availability-note {
    margin-top: 18px;
    border-radius: 14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .availability-head {
    flex-wrap: wrap;
  }

  .bg-floor {
    bottom: -38vh;
    left: -34vw;
    right: -34vw;
  }
}
