﻿:root {
  --accent: #e63946;
  --bg: #000;
  --bg-mobile: #080707;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --text-dim: #7c7f82;
  --text-muted: rgba(255, 255, 255, 0.5);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
input, button { font-family: inherit; }

/* Layout */
.container {
  width: 100%;
  max-width: 580px;
  padding: 72px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Profile */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.profile__avatar {
  width: 91px;
  height: 91px;
  border-radius: var(--radius);
  object-fit: cover;
}
.profile__name {
  font-size: 25px;
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
}
.profile__bio {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 520px;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(180deg, #fff 0%, #a1a1a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Social chips */
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 14px;
  letter-spacing: 0.16px;
  line-height: 1.5;
  color: var(--text);
  transition: border-color 0.2s;
}
.chip:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
.chip__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.chip__icon svg { width: 100%; height: 100%; }

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}
.card__thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}
.card__body {
  flex: 1;
  min-width: 0;
}
.card__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.5;
  color: #f2f2f2;
}
.card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  margin-top: 2px;
}
.card__btn {
  flex-shrink: 0;
  padding: 8px 16px;
  background: #fff;
  color: #000;
  border: 1px solid #292929;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}
.card__btn:hover {
  background: #e5e5e5;
}
.card__arrow {
  display: none;
  align-items: center;
  flex-shrink: 0;
}
.card__arrow svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* YouTube */
.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #111;
}
.video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-wrap__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}
.video-wrap:hover .video-wrap__play { opacity: 0.8; }
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Newsletter */
.newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.newsletter__heading {
  font-size: 34px;
  font-weight: 500;
  text-align: center;
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.form-row {
  display: flex;
  gap: 12px;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-group__label {
  font-size: 12px;
  font-weight: 500;
  color: #888;
}
.form-group__input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group__input::placeholder { color: #555; }
.form-group__input:focus {
  border-color: var(--accent);
}
.newsletter__submit {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.newsletter__submit:hover {
  opacity: 0.88;
}

/* Footer */
.footer {
  padding: 24px 20px;
  text-align: center;
}
.footer__text {
  font-size: 14px;
  line-height: 22px;
  color: #7d7f83;
}

/* Mobile */
@media (max-width: 809px) {
  body { background: var(--bg-mobile); }
  .container { padding: 48px 16px 32px; }
  .profile__avatar { width: 72px; height: 72px; }
  .profile__bio { font-size: 24px; line-height: 1.3; }
  .card__thumb { width: 48px; height: 48px; }
  .card__btn { display: none; }
  .card__arrow { display: flex; }
  .newsletter__heading { font-size: 24px; line-height: 1.3; }
  .form-row { flex-direction: column; }
}
@media (min-width: 810px) {
  .card__arrow { display: none; }
}
