:root {
  /* Base */
  --text: #ffffff;
  --panel: rgba(0, 0, 0, 0.30);
  --line: rgba(255, 255, 255, 0.55);
  --soft: rgba(255, 255, 255, 0.82);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  color: var(--text);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background-image: url("bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: grid;
  place-items: center;
  padding: 28px;
}

/* Subtle wash so text pops */
.hero__overlay {
  width: min(1050px, 92vw);
  background: rgba(0, 0, 0, 0.22);
  padding: 0;
  border-radius: 2px;
  margin: 0 auto;
}

/* Glass panel */
.hero__panel {
  background: var(--panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.10);

  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;

  padding: 54px 56px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}

/* Left */
.hero__name {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.02;
  font-size: clamp(44px, 5vw, 62px);
}

.hero__tagline {
  margin: 18px 0 0 0;
  font-size: 16px;
  color: var(--soft);
}

.hero__social {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  transition: 160ms ease;
  text-decoration: none;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.40);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  opacity: 0.95;
}

/* Right links */
.hero__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.hero__link {
  padding: 16px 0;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-top: 1px solid var(--line);

  transition: color 180ms ease, transform 180ms ease, letter-spacing 180ms ease;
}

.hero__link:last-child {
  border-bottom: 1px solid var(--line);
}

.hero__link:hover {
  color: #ffffff;
  transform: scale(1.04);
  letter-spacing: 0.5px;
}

/* Don’t do hover animations on touch devices */
@media (hover: none) {
  .hero__link:hover {
    transform: none;
    letter-spacing: 0;
  }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero__panel {
    grid-template-columns: 1fr;
    padding: 34px 22px;
    gap: 26px;
  }

  .hero__right {
    justify-content: flex-start;
  }
}

/* Mobile refinements + FIX for right-shift */
@media (max-width: 520px) {
  .hero {
    padding: 16px;
    min-height: 100svh;
  }

  /* Critical: use container width, NOT vw, so it centers perfectly inside padding */
  .hero__overlay {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__panel {
    width: 100%;
    padding: 22px 18px;
    gap: 18px;
  }

  .hero__name {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.05;
  }

  .hero__tagline {
    font-size: 14px;
    margin-top: 12px;
  }

  .hero__social {
    margin-top: 16px;
  }

  .icon-btn {
    width: 44px;
    height: 44px;
  }

  .hero__link {
    padding: 16px 0;
    font-size: 15px;
  }
}

/* Ultra-small phones */
@media (max-width: 360px) {
  .hero__panel {
    padding: 18px 14px;
  }
  .hero__name {
    font-size: 32px;
  }
}