:root {
  --primary: #c79445;
  --primary-light: #e9c27b;
  --primary-dark: #8c6228;

  --background: #0e0d0b;
  --card-background: rgba(27, 25, 21, 0.94);
  --link-background: rgba(255, 255, 255, 0.065);
  --link-hover: rgba(199, 148, 69, 0.14);

  --white: #ffffff;
  --text-light: #d8d2c8;
  --text-muted: #a8a196;
  --border: rgba(233, 194, 123, 0.2);

  --shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;

  font-family: "Tajawal", sans-serif;
  color: var(--white);

  background:
    linear-gradient(rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.82)),
    radial-gradient(circle at top right, #4b3620 0%, transparent 40%),
    linear-gradient(145deg, #18140f, #080807);

  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='.4'/%3E%3C/svg%3E");
}

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

.shape-one {
  width: 280px;
  height: 280px;
  top: -100px;
  right: -80px;
  background: rgba(199, 148, 69, 0.13);
}

.shape-two {
  width: 330px;
  height: 330px;
  left: -140px;
  bottom: -130px;
  background: rgba(199, 148, 69, 0.09);
}

.page-container {
  width: 100%;
  min-height: 100vh;
  padding: 35px 18px;

  position: relative;
  z-index: 1;

  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card {
  width: 100%;
  max-width: 560px;
  padding: 40px 30px 24px;

  position: relative;
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 32px;

  background: var(--card-background);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow: var(--shadow);
  animation: cardEntry 0.8s ease forwards;
}

.profile-card::before {
  content: "";
  width: 180px;
  height: 3px;

  position: absolute;
  top: 0;
  left: 50%;

  transform: translateX(-50%);

  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-light),
    transparent
  );
}

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

.logo-circle {
  width: 120px;
  height: 120px;

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 2px solid var(--primary);
  border-radius: 50%;

  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent), #17140f;

  box-shadow:
    0 0 0 7px rgba(199, 148, 69, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.45);
}

.logo-circle::before,
.logo-circle::after {
  content: "";
  position: absolute;
  background: var(--primary);
  opacity: 0.8;
}

.logo-circle::before {
  width: 45px;
  height: 1px;
  top: 50%;
  left: -28px;
}

.logo-circle::after {
  width: 45px;
  height: 1px;
  top: 50%;
  right: -28px;
}

.logo-en {
  direction: ltr;
  color: var(--primary-light);
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1;
}

.logo-ar {
  margin-top: 5px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.profile-content {
  text-align: center;
  margin-bottom: 28px;
}

.welcome-text {
  margin-bottom: 4px;
  color: var(--primary-light);
  font-size: 14px;
  font-weight: 500;
}

.profile-content h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 900;
  line-height: 1.3;
}

.description {
  max-width: 420px;
  margin: 0 auto 13px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 7px 14px;

  color: var(--text-muted);
  font-size: 13px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;

  background: rgba(255, 255, 255, 0.035);
}

.location i {
  color: var(--primary);
}

.links-container {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.social-link {
  min-height: 76px;
  padding: 11px 14px;

  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: 55px 1fr 30px;
  align-items: center;
  gap: 13px;

  color: var(--white);
  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;

  background: var(--link-background);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.social-link::before {
  content: "";
  width: 5px;
  height: 45%;

  position: absolute;
  top: 50%;
  right: 0;

  transform: translateY(-50%);
  border-radius: 10px 0 0 10px;
  background: var(--primary);

  transition: height 0.25s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 194, 123, 0.38);
  background: var(--link-hover);

  box-shadow: 0 13px 25px rgba(0, 0, 0, 0.2);
}

.social-link:hover::before {
  height: 70%;
}

.social-link:active {
  transform: scale(0.985);
}

.link-icon {
  width: 53px;
  height: 53px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--white);
  font-size: 25px;

  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.social-link:hover .link-icon {
  transform: scale(1.06) rotate(-3deg);
}

.link-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.link-text strong {
  font-size: 16px;
  font-weight: 700;
}

.link-text small {
  color: var(--text-muted);
  font-size: 12px;
}

.link-arrow {
  color: var(--primary-light);
  font-size: 14px;
  text-align: center;

  transition: transform 0.25s ease;
}

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

/* Platform colors */

.whatsapp .link-icon {
  background: linear-gradient(135deg, #2bd36b, #128c49);
}

.phone .link-icon {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-dark)
  );
}

.instagram .link-icon {
  background: linear-gradient(135deg, #833ab4, #c13584, #e1306c, #f77737);
}

.facebook .link-icon {
  background: linear-gradient(135deg, #4385df, #1664ca);
}

.tiktok .link-icon {
  background: linear-gradient(135deg, #252525, #000000);
  text-shadow:
    -2px -1px 0 #25f4ee,
    2px 1px 0 #fe2c55;
}

/* Ripple created with JavaScript */

.ripple {
  position: absolute;
  z-index: 0;

  width: 20px;
  height: 20px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.23);

  pointer-events: none;

  transform: translate(-50%, -50%) scale(0);
  animation: rippleAnimation 0.6s ease-out;
}

.link-icon,
.link-text,
.link-arrow {
  position: relative;
  z-index: 2;
}

footer {
  padding-top: 26px;
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.8;
}

.powered-by {
  margin-top: 2px;
  opacity: 0.6;
}

@keyframes cardEntry {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rippleAnimation {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(25);
  }
}

@media (max-width: 600px) {
  .page-container {
    padding: 20px 13px;
    align-items: flex-start;
  }

  .profile-card {
    padding: 30px 17px 20px;
    border-radius: 26px;
  }

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

  .logo-en {
    font-size: 29px;
  }

  .profile-content {
    margin-bottom: 23px;
  }

  .description {
    padding: 0 5px;
    font-size: 14px;
  }

  .social-link {
    min-height: 72px;
    grid-template-columns: 50px 1fr 24px;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .link-icon {
    width: 49px;
    height: 49px;
    border-radius: 14px;
    font-size: 23px;
  }

  .link-text strong {
    font-size: 15px;
  }
}

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

  .social-link {
    grid-template-columns: 47px 1fr 20px;
    gap: 9px;
  }

  .link-icon {
    width: 46px;
    height: 46px;
  }
}

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

.logo-circle img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.google-reviews .link-icon {
  background: linear-gradient(
    135deg,
    #4285f4 0%,
    #34a853 35%,
    #fbbc05 68%,
    #ea4335 100%
  );
}
