:root {
  --bg: #04091f;
  --bg-deep: #020513;
  --panel: rgba(8, 18, 49, 0.76);
  --panel-border: rgba(150, 178, 255, 0.18);
  --text: #f6f8ff;
  --muted: #b8c5ee;
  --blue: #3b8cff;
  --blue-soft: #7db8ff;
  --purple: #8e5dff;
  --purple-soft: #b08cff;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #081540 0%, var(--bg) 50%, var(--bg-deep) 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    url("assets/profile.png") center top / cover no-repeat;
  filter: blur(24px) saturate(1.08) brightness(0.7);
  transform: scale(1.08);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 4%, rgba(59, 140, 255, 0.26), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(142, 93, 255, 0.24), transparent 30%),
    radial-gradient(circle at 50% 45%, rgba(42, 93, 190, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(4, 9, 31, 0.58) 0%, rgba(4, 9, 31, 0.8) 52%, rgba(2, 5, 19, 0.92) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 30px 14px 40px;
}

.profile {
  width: 100%;
  max-width: 470px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 18px 28px;
  border: 1px solid rgba(150, 178, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(59, 140, 255, 0.12), transparent 35%),
    radial-gradient(circle at top right, rgba(142, 93, 255, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(4, 9, 31, 0.96) 0%, rgba(3, 8, 26, 0.97) 100%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  min-height: 510px;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;

  overflow: hidden;
  isolation: isolate;
  border-radius: 26px;

  background: #04091f;

  transform: translateZ(0);
  -webkit-transform: translateZ(0);

  -webkit-mask-image: -webkit-radial-gradient(
    white,
    black
  );
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 5%;
  left: 50%;
  width: 100%;
  height: 82%;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 38%, rgba(59, 140, 255, 0.24), transparent 34%),
    radial-gradient(circle at 78% 34%, rgba(142, 93, 255, 0.24), transparent 36%),
    radial-gradient(ellipse at 50% 64%, rgba(20, 38, 92, 0.34), transparent 58%);
  filter: blur(28px);
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(4, 9, 31, 0),
      rgba(4, 9, 31, 0.28) 34%,
      rgba(4, 9, 31, 0.72) 74%,
      rgba(4, 9, 31, 0.96) 100%
    );
}

.hero-backdrop {
  position: absolute;
  z-index: 1;
  inset: -2px;
  overflow: hidden;
  opacity: 0.28;
  pointer-events: none;

  border-radius: inherit;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(4, 9, 31, 0.08),
      rgba(4, 9, 31, 0.28) 55%,
      rgba(4, 9, 31, 0.72) 82%,
      rgba(4, 9, 31, 0.96) 100%
    );
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: blur(26px) saturate(1.15) brightness(0.92);
  transform: scale(1.12);
}

.hero-foreground {
  position: relative;
  z-index: 3;
  width: min(100%, 100%);
  min-height: 505px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.hero-foreground::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(4, 9, 31, 0) 0%,
      rgba(4, 9, 31, 0) 48%,
      rgba(4, 9, 31, 0.3) 74%,
      rgba(4, 9, 31, 0.84) 100%
    );
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 505px;
  display: block;
  object-fit: cover;
  object-position: center top;

  border-radius: 0;

  filter:
    saturate(1.05)
    contrast(1.03)
    brightness(0.98);

  transform: scale(1.002);
  -webkit-transform: scale(1.002);
}

.profile-intro {
  position: relative;
  z-index: 5;
  margin-top: -110px;
  padding: 18px 4px 0;
  text-align: center;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.72);
}

.profile-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10px -18px -20px;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(4, 9, 31, 0.84) 0%,
      rgba(4, 9, 31, 0.44) 44%,
      transparent 76%
    );
  filter: blur(12px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.06;
}

.bio {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.social-links a,
.start-section {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.social-links a {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  border-radius: 50%;
  color: var(--text);

  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(125, 184, 255, 0.58);
  background: rgba(31, 72, 154, 0.76);
}

.social-links--icons svg {
  width: 23px;
  height: 23px;
  display: block;
  flex: 0 0 auto;
  fill: currentColor;
}

.start-section {
  padding: 22px;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.section-label {
  margin-bottom: 8px;
  color: var(--purple-soft);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.start-section h2 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.15;
}

.start-section p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.video-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-section h2 {
  margin: 0;
  text-align: center;
  font-size: 28px;
  line-height: 1.1;
}

.youtube-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background: #080c18;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.youtube-card__trigger {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.youtube-card__trigger:focus-visible {
  outline: 2px solid rgba(125, 184, 255, 0.9);
  outline-offset: -2px;
}

.youtube-card img,
.youtube-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.youtube-card img {
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.youtube-card:hover img,
.youtube-card__trigger:focus-visible img {
  transform: scale(1.035);
  filter: brightness(0.92);
}

.youtube-card__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.38)),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.28));
}

.youtube-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 54px;
  transform: translate(-50%, -50%);
  display: block;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.42));
  transition: transform 0.2s ease;
}

.youtube-card__play svg {
  width: 100%;
  height: 100%;
  display: block;
}

.youtube-card__play svg path:first-child {
  fill: #ff0033;
}

.youtube-card__play svg path:last-child {
  fill: #ffffff;
}

.youtube-card:hover .youtube-card__play,
.youtube-card__trigger:focus-visible .youtube-card__play {
  transform: translate(-50%, -50%) scale(1.06);
}

.youtube-card__label {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.8);
}

.cta-section {
  padding-bottom: 8px;
  text-align: center;
}

.cta-button {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(59, 140, 255, 0.36);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(142, 93, 255, 0.38);
}

.cta-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (min-width: 640px) {
  .page {
    padding: 30px 20px 50px;
  }

  .profile {
    max-width: 500px;
    gap: 24px;
    padding: 24px 20px 30px;
  }

  .hero {
    min-height: 552px;
  }
  
  .hero::before {
    width: min(100%, 640px);
  }
  
  .hero-foreground {
    min-height: 548px;
  }
  
  .hero-photo {
    height: 548px;
  }
  
  .profile-intro {
    margin-top: -126px;
  }

  h1 {
    font-size: 40px;
  }

  .bio {
    font-size: 16px;
  }
}