:root {
  --page-bg: #17203e;
  --card-bg: #272e45;
  --border-accent: #03144b;
  --headline-color: #f6e38a;
  --video-card-bg: #abb196;
  --icon-tile-bg: #463c41;
  --wide-link-bg: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.card {
  position: relative;
  width: 390px;
  max-width: 100%;
  overflow: hidden;
  background: var(--card-bg);
  padding: 24px;
}

/* Desktop treatment: same 390px card, framed and letterboxed on wider viewports. */
@media (min-width: 391px) {
  body {
    padding: 40px 20px;
  }

  .card {
    border-radius: 24px;
    border: 1px solid var(--border-accent);
  }
}

.bg-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 192px;
  object-fit: cover;
  opacity: 0.57;
  z-index: 0;
  pointer-events: none;
}

.stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Header */

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.profile-pic {
  width: 77px;
  height: 77px;
  border-radius: 100px;
  border: 5px solid var(--border-accent);
  background: #fff;
  overflow: hidden;
}

.profile-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headline {
  margin: 0;
  text-align: center;
  color: var(--headline-color);
  opacity: 0.97;
  line-height: 1.3;
}

.headline .first-letter {
  font-family: "feline", cursive;
  font-weight: 400;
  font-size: 63.6px;
  line-height: 1.3;
}

.headline .rest {
  font-family: "etna-condensed", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 63.4px;
  letter-spacing: -1.27px;
  line-height: 1.3;
}

/* Content */

.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 24px;
}

/* Latest video */

.video-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  background: var(--video-card-bg);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  padding: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
}

.video-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
}

.new-video-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  background: #ffd300;
  color: var(--card-bg);
  padding: 8px;
  border-radius: 24px;
  font-family: "soleil", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.24px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.video-title {
  margin: 0;
  padding: 0 8px;
  min-height: 40px;
  font-family: "meursault-variable", serif;
  font-weight: 500;
  font-size: 16px;
  color: #000;
  text-align: center;
  letter-spacing: -0.32px;
}

/* Links block */

.links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 8px;
  width: 100%;
  min-height: 78px;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-icon .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 7.8px;
  background: var(--icon-tile-bg);
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.social-icon:hover .tile {
  background-color: #574b52;
}

.social-icon .tile img {
  width: 32.5px;
  height: 32.5px;
  object-fit: contain;
}

.social-icon .tile-image {
  display: block;
  width: 52px;
  height: 52px;
}

.social-label {
  margin: 0;
  font-family: "soleil", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.24px;
  white-space: nowrap;
}

.wide-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.wide-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: var(--wide-link-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.wide-link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
}

.wide-link img {
  display: block;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}

.wide-link-title {
  margin: 0;
  flex: 1 0 0;
  font-family: "meursault-variable", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  color: #fff;
  letter-spacing: 0;
}
