/* ===================================
   COMPLEX CONFIDENT
   PREMIUM LINKTREE
=================================== */

:root {
  --bg: #0c0d0f;
  --card: #17181b;
  --surface: #202125;
  --surface-hover: #292a2e;
  --gold: #c8a774;
  --gold-light: #e7d0a5;
  --gold-dark: #8e7046;
  --white: #f6f3ed;
  --muted: #a4a2a0;
  --border: rgba(200, 167, 116, 0.16);

  --radius: 18px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

/* BACKGROUND */

.background-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.22;
  z-index: 0;
}

.glow-one {
  width: 380px;
  height: 380px;
  background: #977448;
  top: -180px;
  right: -160px;
}

.glow-two {
  width: 300px;
  height: 300px;
  background: #7a5c35;
  bottom: -150px;
  left: -140px;
}

.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  padding: 38px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.profile-card {
  width: 100%;
  max-width: 550px;
  background: linear-gradient(160deg, #1d1e20 0%, #151618 60%, #131416 100%);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 44px 35px 26px;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.45);
}

/* HEADER */

.profile-header {
  text-align: center;
}

.top-decoration {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 27px;
}

.top-decoration span {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.top-decoration span:last-child {
  transform: rotate(180deg);
}

/* LOGO */

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.logo-circle {
  width: 115px;
  height: 115px;
  padding: 6px;
  background: linear-gradient(
    135deg,
    var(--gold-light),
    var(--gold-dark),
    #5b4529
  );
  border-radius: 50%;
  box-shadow: 0 7px 30px rgba(200, 167, 116, 0.13);
}

.company-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #111;
}

.logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #151515;
  align-items: center;
  justify-content: center;
}

.logo-fallback span {
  font-family: "Manrope", sans-serif;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--gold-light);
}

.logo-circle.fallback-mode .company-logo {
  display: none;
}

.logo-circle.fallback-mode .logo-fallback {
  display: flex;
}

/* BRAND */

.brand-label {
  font-family: "Manrope", sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 9px;
}

.brand-info h1 {
  font-size: 27px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.6px;
}

.brand-info h2 {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-top: 1px;
}

.brand-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 9px;
}

.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold);
  font-size: 8px;
  margin: 25px 0 19px;
}

.gold-divider span {
  width: 65px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.gold-divider span:last-child {
  transform: rotate(180deg);
}

.brand-description {
  color: #bcb8b1;
  font-size: 12px;
  font-weight: 500;
  line-height: 2.2;
  max-width: 385px;
  margin: 0 auto;
}

/* GENERAL SECTIONS */

.services-section,
.links-section,
.location-section {
  margin-top: 37px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 19px;
}

.section-heading h3 {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.small-line {
  height: 1px;
  width: 26px;
  background: var(--gold-dark);
  opacity: 0.8;
}

/* SERVICES */

.services-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.service-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  background: rgba(200, 167, 116, 0.065);
  border: 1px solid rgba(200, 167, 116, 0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: #e4d8c5;
}

.service-pill i {
  color: var(--gold);
  font-size: 12px;
}

/* LINKS */

.links-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links-section .section-heading {
  margin-bottom: 9px;
}

.action-link {
  width: 100%;
  min-height: 77px;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.action-link:hover {
  background: var(--surface-hover);
  border-color: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.link-icon {
  width: 47px;
  height: 47px;
  min-width: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(200, 167, 116, 0.1);
  color: var(--gold-light);
  font-size: 21px;
}

.link-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 3px;
  text-align: right;
}

.link-content strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.link-content small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
}

.link-content small[dir="ltr"] {
  text-align: right;
  unicode-bidi: isolate;
}

.link-arrow {
  color: var(--gold);
  font-size: 12px;
  opacity: 0.8;
  transition: transform var(--transition);
}

.action-link:hover .link-arrow {
  transform: translateX(-4px);
}

/* PRIMARY BUTTON */

.primary-link {
  background: linear-gradient(135deg, #dcc193 0%, #be985e 100%);
  border-color: transparent;
  color: #17130d;
}

.primary-link:hover {
  background: linear-gradient(135deg, #ead2aa, #cba66c);
  border-color: transparent;
}

.primary-link .link-icon {
  background: rgba(0, 0, 0, 0.1);
  color: #17130d;
}

.primary-link .link-content small {
  color: #493a26;
  font-weight: 700;
}

.primary-link .link-arrow {
  color: #17130d;
}

/* SOCIAL BRAND ICONS */

.instagram-icon {
  color: #e77fac;
  background: rgba(225, 77, 128, 0.12);
}

.facebook-icon {
  color: #75aafa;
  background: rgba(70, 121, 231, 0.12);
}

.tiktok-icon {
  color: #f2f2f2;
  background: #121316;
  text-shadow:
    -2px -1px #25f4ee,
    2px 1px #fe2c55;
}

.snapchat-icon {
  color: #ffea00;
  background: rgba(255, 234, 0, 0.11);
}

/* LOCATION */

.location-box {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 17px;
}

.location-info {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-bottom: 17px;
}

.location-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(200, 167, 116, 0.1);
  font-size: 17px;
}

.location-info strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 5px;
}

.location-info p {
  color: var(--muted);
  font-size: 11px;
  line-height: 2;
}

.map-container {
  overflow: hidden;
  border-radius: 12px;
  height: 220px;
  background: #303030;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.directions-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: rgba(200, 167, 116, 0.12);
  border: 1px solid rgba(200, 167, 116, 0.16);
  color: var(--gold-light);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
  margin-top: 13px;
  transition: all var(--transition);
}

.directions-button:hover {
  background: rgba(200, 167, 116, 0.23);
  border-color: var(--gold);
}

.directions-button i {
  font-size: 13px;
}

/* FOOTER */

.footer {
  text-align: center;
  margin-top: 43px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  margin: 0 auto 13px;
}

.footer-logo span {
  font-family: "Manrope", sans-serif;
  color: var(--gold);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -2px;
}

.footer-brand {
  font-family: "Manrope", sans-serif;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.footer-tagline {
  font-size: 11px;
  margin-top: 10px;
  color: var(--muted);
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 25px 0 29px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--gold-light);
  font-size: 15px;
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: var(--gold);
  color: #17130d;
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Manrope", sans-serif;
  color: #777570;
  font-size: 9px;
}

/* ANIMATIONS */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-card {
  animation: fadeUp 0.7s ease both;
}

.action-link {
  animation: fadeUp 0.6s ease both;
}

.action-link:nth-of-type(2) {
  animation-delay: 0.05s;
}

.action-link:nth-of-type(3) {
  animation-delay: 0.1s;
}

.action-link:nth-of-type(4) {
  animation-delay: 0.15s;
}

.action-link:nth-of-type(5) {
  animation-delay: 0.2s;
}

.action-link:nth-of-type(6) {
  animation-delay: 0.25s;
}

/* TABLET */

@media (max-width: 768px) {
  .page-wrapper {
    padding: 20px 13px;
  }

  .profile-card {
    padding: 36px 24px 24px;
  }
}

/* MOBILE */

@media (max-width: 480px) {
  .page-wrapper {
    padding: 0;
  }

  .profile-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    min-height: 100vh;
    padding: 35px 19px 25px;
  }

  .logo-circle {
    width: 105px;
    height: 105px;
  }

  .brand-info h1 {
    font-size: 24px;
  }

  .brand-info h2 {
    font-size: 15px;
    letter-spacing: 1.5px;
  }

  .brand-description {
    font-size: 11px;
    line-height: 2.1;
  }

  .services-section,
  .links-section,
  .location-section {
    margin-top: 31px;
  }

  .service-pill {
    padding: 9px 11px;
    font-size: 10px;
  }

  .action-link {
    padding: 12px;
    min-height: 72px;
    gap: 11px;
  }

  .link-icon {
    width: 43px;
    height: 43px;
    min-width: 43px;
    font-size: 19px;
  }

  .link-content strong {
    font-size: 12px;
  }

  .link-content small {
    font-size: 10px;
  }

  .map-container {
    height: 200px;
  }

  .location-box {
    padding: 13px;
  }

  .footer-bottom {
    font-size: 8px;
  }
}

/* SMALL PHONES */

@media (max-width: 350px) {
  .profile-card {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-info h1 {
    font-size: 21px;
  }

  .brand-info h2 {
    font-size: 13px;
  }

  .link-content strong {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
