:root {
  --text: #ffffff;
  --btn-bg: #e2f2f2;
  --btn-text: #000000;
  --btn-shadow: 0 4px 6px rgba(0, 0, 0, 0.35);
  --font: "Gothic A1", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #000;
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Fixed background photo (stays put while the links scroll) */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #000 url("assets/background.jpg") center / cover no-repeat;
}

.page {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 48px 16px 32px;
}

/* ---------- Profile ---------- */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.title {
  margin: 16px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.bio {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 400;
  max-width: 420px;
}

.socials {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  border-radius: 50%;
  transition: transform 0.15s ease;
}

.socials a:hover {
  transform: scale(1.12);
}

.socials svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.socials svg.stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* ---------- Links ---------- */
.links {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.section-title:first-child {
  margin-top: 0;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 48px;
  background: var(--btn-bg);
  color: var(--btn-text);
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: var(--btn-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.link:hover {
  transform: scale(1.02);
}

.link:active {
  transform: scale(0.99);
}

.link:focus-visible,
.socials a:focus-visible,
.video:focus-visible,
.share-btn:focus-visible {
  outline: 3px solid #d4af37;
  outline-offset: 3px;
}

/* ---------- Video card ---------- */
.video-card {
  background: var(--btn-bg);
  color: var(--btn-text);
  box-shadow: var(--btn-shadow);
  padding: 12px;
}

.video-title {
  margin: 2px 0 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.video:hover img {
  transform: scale(1.03);
}

.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play svg {
  width: 68px;
  height: 48px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* ---------- Share button ---------- */
.share-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}

.share-btn:hover {
  transform: scale(1.08);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  opacity: 0.85;
}

.footer a {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 10px 18px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
