@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Roboto:wght@400;500&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

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

img {
  display: block;
  max-width: 100%;
}

/* ===== PAGE WRAPPER ===== */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ===== BACKGROUND IMAGE ===== */
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 42px 16px 20px;
  gap: 24px;
  min-height: 100vh;
}

/* ===== PROFILE SECTION ===== */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

/* Avatar */
.avatar-wrapper {
  width: 128px;
  height: 128px;
  border-radius: 58px;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d7d8d9;
  flex-shrink: 0;
}

.avatar-inner {
  width: 126px;
  height: 126px;
  border-radius: 56px;
  overflow: hidden;
  border: 1px solid #000;
  flex-shrink: 0;
}

.avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Company Name */
.company-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 22px;
  color: #fff;
  text-align: center;
  white-space: pre;
  margin-top: 8px;
}

/* Subtitle */
.subtitle-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 427px;
  padding-top: 8px;
}

.subtitle-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  text-align: center;
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 105px;
  overflow: hidden;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 100px;
  background-color: #fff;
  border: 1px solid #d7d8d9;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.social-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-btn img {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

/* Instagram icon slightly different aspect ratio */
.social-btn.instagram img {
  width: 28px;
  height: 25px;
}

/* ===== LINK CARDS ===== */
.link-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.link-card {
  width: 40%;
  min-width: 280px;
  height: 84px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #d7d8d9;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 32px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.link-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.link-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-card-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: #000;
  white-space: pre;
  flex: 1;
  text-align: center;
}

.link-card-arrow {
  width: 50px;
  height: 50px;
  overflow: hidden;
  flex-shrink: 0;
}

.link-card-arrow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card 1 - gap: 42px */
.link-card.card-1 {
  gap: 42px;
}

/* Card 2 - gap: 88px */
.link-card.card-2 {
  gap: 88px;
}

/* Card 3 - gap: 79px */
.link-card.card-3 {
  gap: 79px;
}

/* ===== FOOTER ===== */
.footer {
  height: 94px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}

.footer-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  width: 100%;
}

/* ===== RESPONSIVE — MOBILE (< 810px) ===== */
@media (max-width: 809.98px) {
  .main-content {
    max-width: 390px;
    margin: 0 auto;
  }

  .avatar-wrapper {
    width: 108px;
    height: 107px;
    border-radius: 50px;
  }

  .avatar-inner {
    width: 107px;
    height: 107px;
    border-radius: 48px;
  }

  .social-icons {
    height: auto;
    padding: 12px 0;
  }

  .social-btn {
    width: 40px;
    height: 40px;
  }

  .social-btn img {
    width: 22px;
    height: 22px;
  }

  .social-btn.instagram img {
    width: 22px;
    height: 22px;
  }

  .link-card {
    width: 90%;
    min-width: unset;
    height: 55px;
    gap: 16px !important;
    padding: 0 20px;
  }

  .link-card-icon {
    width: 32px;
    height: 32px;
  }

  .link-card-text {
    font-size: 12px;
  }

  .link-card-arrow {
    width: 35px;
    height: 35px;
  }

  .footer {
    height: 57px;
  }
}

/* ===== RESPONSIVE — TABLET (810px - 1199.98px) ===== */
@media (min-width: 810px) and (max-width: 1199.98px) {
  .main-content {
    max-width: 810px;
    margin: 0 auto;
  }

  .avatar-wrapper {
    width: 110px;
    height: 110px;
  }

  .avatar-inner {
    width: 110px;
    height: 110px;
  }

  .social-icons {
    height: 105px;
  }

  .social-btn {
    width: 50px;
    height: 50px;
  }

  .social-btn img {
    width: 28px;
    height: 28px;
  }

  .link-card {
    width: 65%;
    height: 84px;
  }

  .link-card.card-1 {
    gap: 42px;
  }

  .link-card.card-2 {
    gap: 88px;
  }

  .link-card.card-3 {
    gap: 79px;
  }
}

/* ===== RESPONSIVE — DESKTOP (≥ 1200px) ===== */
@media (min-width: 1200px) {
  .main-content {
    max-width: 1200px;
    margin: 0 auto;
  }

  .social-icons {
    height: 105px;
  }

  .link-card {
    width: 40%;
    min-width: 340px;
    height: 84px;
  }
}
