:root {
  color-scheme: light only;
  --bg: #1d1918;
  --panel-border: rgba(255, 255, 255, 0.18);
  --panel-shadow: 0 36px 80px rgba(0, 0, 0, 0.42);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.9);
  --accent: #65f2ff;
  --accent-strong: #00e6ff;
  --button-bg: rgba(8, 19, 21, 0.42);
  --button-hover: rgba(12, 26, 29, 0.65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  inset: -6%;
  background:
    linear-gradient(145deg, rgba(38, 27, 20, 0.4), rgba(14, 12, 12, 0.78)),
    url("./pfp.jpg") center 22% / cover no-repeat;
  filter: blur(18px) saturate(0.85);
  transform: scale(1.08);
}

body::after {
  background:
    radial-gradient(circle at top left, rgba(191, 157, 122, 0.2), transparent 35%),
    linear-gradient(180deg, rgba(32, 26, 22, 0.4), rgba(16, 13, 12, 0.72));
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.hero-card {
  position: relative;
  width: min(100%, 34rem);
  min-height: min(78vh, 43rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 2.5rem;
  box-shadow: var(--panel-shadow);
  background:
    linear-gradient(180deg, rgba(112, 96, 83, 0.14) 28%, rgba(47, 40, 35, 0.92) 100%),
    url("./pfp.jpg") center 26% / cover no-repeat;
  isolation: isolate;
  transform: translateY(16px) scale(0.985);
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.9s ease;
}

body.is-ready .hero-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.hero-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(76, 62, 52, 0.18), rgba(19, 16, 15, 0.62)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(135deg, rgba(78, 63, 49, 0.18), rgba(171, 151, 129, 0.08));
}

.hero-card__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(2rem, 4vw, 3rem);
}

h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.5rem, 6vw, 3.35rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

p {
  margin: 0;
  max-width: 29rem;
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 300;
  color: var(--text-soft);
}

.cta-button {
  margin-top: 2rem;
  width: 100%;
  min-height: 3.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.35rem;
  border: 2px solid rgba(101, 242, 255, 0.85);
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--accent);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.cta-button:hover {
  transform: scale(0.985);
  background: var(--button-hover);
  border-color: rgba(101, 242, 255, 1);
  box-shadow: 0 18px 30px rgba(0, 230, 255, 0.14);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(101, 242, 255, 0.35);
  outline-offset: 4px;
}

.cta-button__label {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.cta-button__icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex: 0 0 auto;
}

.cta-button__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 736px) {
  .page-shell {
    padding: 1.25rem;
  }

  .hero-card {
    min-height: 34rem;
    border-radius: 2rem;
    background-position: center 20%;
  }

  .hero-card__content {
    padding: 2rem;
  }

  p {
    line-height: 1.75;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding: 0.9rem;
  }

  .hero-card {
    min-height: 31rem;
    border-radius: 1.75rem;
  }

  .hero-card__content {
    padding: 1.5rem;
  }

  .cta-button {
    min-height: 3.6rem;
    padding: 0.85rem 1.15rem;
  }
}
