:root {
  --bg: #000000;
  --gold: #c5a059;
  --gold-soft: #d4b06a;
  --white: #ffffff;
  --text: #f4f4f4;
  --card: #ffffff;
  --radius: 14px;
  --page-pad: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: var(--bg);
}

body {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 28px var(--page-pad) 36px;
  background-color: var(--bg);
  background-image: url("assets/background.jpeg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile {
  width: 100%;
  text-align: center;
  padding-top: 8px;
}

.avatar {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
}

.avatar__photo {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar:not(.avatar--fallback) .avatar__photo {
  display: block;
}

.avatar__fallback {
  display: none;
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.avatar--fallback .avatar__fallback {
  display: block;
}

.profile__name {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}

.profile__line {
  width: 40%;
  height: 1px;
  background: var(--gold-soft);
  margin: 12px auto;
}

.profile__titles {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-soft);
}

.profile__bio {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--white);
}

.cta {
  display: block;
  width: 100%;
  margin-top: 22px;
  transition: transform 0.2s ease;
}

.cta img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(255, 102, 0, 0.28));
}

.cta:hover {
  transform: translateY(-1px);
}

.cta:active {
  transform: scale(0.985);
}

.logos {
  width: 100%;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.logo-card {
  height: 92px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(197, 160, 89, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.connect {
  width: 100%;
  margin-top: 28px;
}

.connect__heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.connect__heading h2 {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--white);
}

.connect__line {
  position: relative;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.connect__line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.connect__line:first-child::after {
  right: auto;
  left: 0;
}

.connect__line:last-child::after {
  right: 0;
  left: auto;
}

.socials {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.social {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 3px 7px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease;
}

.social:hover {
  transform: translateY(-2px);
}

.social i {
  font-size: 22px;
  line-height: 1;
}

.social__label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.social--whatsapp {
  color: #25d366;
}

.social--linkedin {
  color: #0a66c2;
}

.social--snapchat {
  color: #e6c200;
}

.social--tiktok {
  color: #111;
}

.social--tiktok i {
  text-shadow: 1px 1px 0 #25f4ee, -1px -1px 0 #fe2c55;
}

.social--instagram i,
.social--instagram .social__label {
  background: radial-gradient(
    circle at 30% 110%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.social--x {
  color: #111;
}

@media (min-width: 480px) {
  .page {
    box-shadow: 0 0 0 1px #1a1a1a;
  }
}
