/* Fast, lightweight Linktree-style layout (no frameworks) */
:root {
  --bg1: #0a0a0a;
  --bg2: #1a1a1a;
  --card: rgba(255, 255, 255, .08);
  --card2: rgba(255, 255, 255, .12);
  --text: #000;
  --muted: rgba(255, 255, 255, );
  --ring: rgba(255, 255, 255, .15);
  --shadow: 0 20px 60px rgba(0, 0, 0, .5);
  --radius: 22px;
  --btnRadius: 18px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

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

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .8;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.1), inset 0 0 20px rgba(255, 255, 255, .05);
  }

  50% {
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.2), inset 0 0 30px rgba(255, 255, 255, .1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes texture-shift {
  0% {
    background-position: 0% 0%;
    opacity: 0.08;
  }

  50% {
    opacity: 0.12;
  }

  100% {
    background-position: 100% 100%;
    opacity: 0.08;
  }
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(231, 231, 247, 0.9));
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(38, 42, 39, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(100, 200, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 20%, rgba(52, 33, 35, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: subtle-shift 30s ease-in-out infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, .1) 0px,
      rgba(255, 255, 255, .1) 1px,
      transparent 1px,
      transparent 2px),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .1) 0px,
      rgba(255, 255, 255, .1) 1px,
      transparent 1px,
      transparent 2px),
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, .05) 0px,
      rgba(255, 255, 255, .05) 2px,
      transparent 2px,
      transparent 4px);
  background-size:
    100% 100%,
    100% 100%,
    200% 200%;
  pointer-events: none;
  z-index: 1;
  animation: texture-shift 15s ease-in-out infinite;
}

@keyframes subtle-shift {

  0%,
  100% {
    background:
      radial-gradient(ellipse at 20% 50%, rgba(8, 8, 8, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 80%, rgba(100, 200, 255, 0.05) 0%, transparent 50%),
      radial-gradient(ellipse at 40% 20%, rgba(6, 4, 4, 0.06) 0%, transparent 50%);
  }

  50% {
    background:
      radial-gradient(ellipse at 25% 55%, rgba(1, 1, 1, 0.1) 0%, transparent 55%),
      radial-gradient(ellipse at 75% 75%, rgba(9, 11, 11, 0.07) 0%, transparent 55%),
      radial-gradient(ellipse at 45% 25%, rgba(8, 8, 8, 0.08) 0%, transparent 55%);
  }
}

.wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 12px calc(100px + env(safe-area-inset-bottom, 0px)) 12px;
  position: relative;
  z-index: 1;
}

/* 
.card {
  width: min(500px, 100%);
  max-width: 100%;
  background: linear-gradient(135deg, rgba(15, 15, 25, .50), rgba(20, 20, 35, .40));
  border: 1.5px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 -1px 0 rgba(0, 0, 0, .2);
  padding: 32px 24px 24px;
  backdrop-filter: blur(25px) saturate(200%);
  animation: fadeInUp 0.6s ease-out, float 5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;

} */
.card {
  width: min(500px, 100%);
  padding: 32px 24px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;

  /* Apple glass base */
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.15));

  backdrop-filter: blur(40px) saturate(180%) contrast(120%);
  -webkit-backdrop-filter: blur(40px) saturate(180%) contrast(120%);

  /* glass border */
  border: 1px solid rgba(255, 255, 255, 0.18);

  /* Apple shadow */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);

}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .01) 0%, transparent 50%);
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(76, 175, 80, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.logos {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  animation: slideInDown 0.5s ease-out;
}

.logo {
  width: 350px;
  height: 100px;
  display: grid;
  place-items: center;
  position: relative;
  animation: bounce 3s ease-in-out infinite;
}

/* .logo:hover {
  transform: translateY(-6px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .10));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
} */

.logo__text {
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, .7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__text img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3));
}

.avatar {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
  border: 2px solid var(--ring);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .15),
    0 0 20px rgba(76, 175, 80, 0.15);
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out 0.1s both, glow 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

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

.avatar__initials {
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 28px;
}

.handle {
  text-align: center;
  margin: 6px 0 2px;
  font-size: 24px;
  letter-spacing: .2px;
  font-weight: 700;
  animation: fadeInUp 0.6s ease-out 0.15s both;
  text-decoration: none;
}

.handle a {
  color: var(--text);
  text-decoration: none;
}

.bio {
  text-align: center;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.ramadan-text {
  text-align: center;
  margin: 8px 0 18px;
  color: rgba(76, 175, 80, 0.9);
  font-size: 16px;
  font-weight: 600;
  animation: fadeInUp 0.6s ease-out 0.22s both, pulse 3s ease-in-out infinite;
  letter-spacing: 1px;
}

.contact-info {
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease-out 0.25s both;
}

.phone-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.15));
  border: 1.5px solid rgba(76, 175, 80, 0.4);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  box-shadow:
    0 8px 20px rgba(76, 175, 80, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, .15),
    inset 0 -1px 0 rgba(0, 0, 0, .2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: pulse 4s ease-in-out infinite;
}

.phone-number::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .1);
  transition: left 0.3s ease;
  z-index: 0;
}

.phone-number:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.35), rgba(76, 175, 80, 0.25));
  border-color: rgba(76, 175, 80, 0.6);
  box-shadow: 0 12px 28px rgba(76, 175, 80, 0.3);
}

.phone-number:hover::before {
  left: 100%;
}

.phone-number:active {
  transform: translateY(-2px) scale(0.98);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(76, 175, 80, 0.2));
}

.phone-number svg {
  width: 20px;
  height: 20px;
  fill: rgba(76, 175, 80, 1);
  position: relative;
  z-index: 1;
}

.phone-number span {
  position: relative;
  z-index: 1;
}

.social {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: center;
  padding: 6px 0 14px;
  margin-top: 40px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
  overflow-x: auto;
}

.social__btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .06));
  border: 1.5px solid rgba(255, 255, 255, .18);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .1),
    inset 0 -1px 0 rgba(0, 0, 0, .2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.social__btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  z-index: 0;
}

.social__btn:hover {
  transform: translateY(-4px) scale(1.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .10));
  border-color: rgba(255, 255, 255, .32);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .4);
}

.social__btn:hover::before {
  width: 100px;
  height: 100px;
}

.social__btn:active {
  transform: translateY(-1px) scale(0.96)
}

.social__btn svg {
  width: 30px;
  height: 30px;
  fill: var(--text);
  opacity: .95;
  position: relative;
  z-index: 1;
  transition: opacity 0.25s ease;
}

.social__btn:hover svg {
  opacity: 1;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 40px;
  animation: fadeInUp 0.6s ease-out 0.35s both;

}

.link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: var(--btnRadius);
  background: linear-gradient(135deg, rgba(117, 117, 117, 0.12), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, .15);
  text-decoration: none;
  color: var(--text);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, .25),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .15);
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.link:hover::before {
  left: 100%;
}

.link:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .28);
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .08));
  box-shadow: 0 14px 28px rgba(0, 0, 0, .35);
}

.link:active {
  transform: translateY(-1px);
}

.link__title {
  font-weight: 700;
  font-size: 15px;
  text-align: center;

}

.link__sub {
  font-size: 13px;
  color: #000;
}

.foot {
  text-align: center;
  margin-top: 0;
  color: rgba(0, 0, 0, .5);
  font-size: 12px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

@media (max-width: 480px) {
  .card {
    padding: 22px 16px 16px;
    width: 100%;
  }

  .social__btn {
    width: 40px;
    height: 40px;
    border-radius: 13px
  }

  .handle {
    font-size: 22px;
  }

  .logo {
    border-radius: 14px;
  }
}

.address {
  text-align: center;
  letter-spacing: 0px;
  word-spacing: 1px;
  line-height: 1.4;
}

.ramadan-decoration {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 32px;
  animation: float 4s ease-in-out infinite;
  z-index: 10;
  opacity: 0.7;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(50, 140, 70, 0.12));
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 -4px 20px rgba(0, 0, 0, .1),
    inset 0 1px 0 rgba(255, 255, 255, .15);
  z-index: 100;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-bar__content {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 100px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.link__icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(193, 193, 193, 0.25), rgba(25, 26, 26, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}

.link__icon svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

.link__content {
  display: flex;
  flex-direction: column;
}

.link__title {
  font-weight: 700;
  font-size: 15px;
}

.link__sub {
  font-size: 13px;
  color: #000;
}

.link:hover .link__icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(76, 175, 80, .45), rgba(33, 150, 243, .45));
}

.bottom-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* padding: 13px 16px; */
  padding: 5px;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 16px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, .15),
    inset 0 1px 0 rgba(255, 255, 255, .2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.call-btn {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.35), rgba(33, 150, 243, 0.15));
  color: #ffffff;
  font-weight: 800;
  border-color: rgba(33, 150, 243, 0.4);
}

.call-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px rgba(33, 150, 243, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, .3);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.45), rgba(33, 150, 243, 0.25));
  border-color: rgba(33, 150, 243, 0.6);
}

.call-btn svg {
  fill: #ffffff;
}

.whatsapp-btn {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.35), rgba(76, 175, 80, 0.15));
  color: #ffffff;
  font-weight: 800;
  border-color: rgba(76, 175, 80, 0.4);
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px rgba(76, 175, 80, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, .3);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.45), rgba(76, 175, 80, 0.25));
  border-color: rgba(76, 175, 80, 0.6);
}

.whatsapp-btn svg {
  fill: #ffffff;
}

.whatsapp-btn svg {
  fill: #4CAF50;
}

.bottom-btn svg {
  width: 80px;
  height: 40px;
}

.share-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(200, 200, 200, 0.25));
  backdrop-filter: blur(12px);
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
  animation: slideInDown 0.5s ease-out;
}

.share-btn svg {
  width: 24px;
  height: 24px;
  fill: #000;
  transition: transform 0.3s ease;
}

.share-btn:hover {
  background: linear-gradient(135deg, rgba(69, 69, 69, 0.35), rgba(2, 2, 2, 0.35));
  box-shadow:
    inset 0 1px 2px rgba(231, 231, 231, 0.15),
    0 0 20px rgba(76, 175, 80, 0.2);
  transform: scale(1.05);
}

.share-btn:hover svg {
  transform: rotate(180deg);
}

.share-btn:active {
  transform: scale(0.95);
}

@media (max-width: 480px) {
  .share-btn {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
    padding: 6px;
  }

  .share-btn svg {
    width: 20px;
    height: 20px;
  }
}

.bottom-btn:active {
  transform: translateY(-1px) scale(0.98);
}

@media (max-width: 480px) {
  .bottom-bar {
    padding: 8px 8px;
  }

  .bottom-btn {
    padding: 11px 12px;
    font-size: 50px;
    gap: 6px;
  }

  .bottom-btn svg {
    width: 70px;
    height: 18px;
  }

  .ramadan-decoration {
    top: 10px;
    right: 10px;
    font-size: 24px;
  }

  .social__btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    gap: 4px;
  }

  .social__btn svg {
    width: 30px;
    height: 30px;
  }
}