/* ===== Base layout ===== */
body {
  font-family: "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;    /* default: tengah vertikal */
  align-items: center;        /* tengah horizontal */
  flex-direction: column;
  margin: 0;
  padding: 20px;
  position: relative;         
  overflow-x: hidden;
  background-color: #edffbc;  /* fallback */
}

/* ===== Background layer: gradient animasi ===== */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(237, 255, 188, 0.75),
    rgba(164, 250, 206, 0.75),
    rgba(237, 255, 188, 0.75),
    rgba(145, 255, 198, 0.75)
  );
  background-size: 400% 400%;
  animation: gradientMove 8s ease infinite;
  z-index: -1;
  pointer-events: none;

  /* trik agar animasi tetap jalan di mobile */
  will-change: transform, background-position;
}

/* Animasi gradient */
@keyframes gradientMove {
  0%   { background-position: 0% 50%;   transform: scale(1.05); }
  50%  { background-position: 100% 50%; transform: scale(1.1); }
  100% { background-position: 0% 50%;   transform: scale(1.05); }
}

/* ===== Card (tetap dengan gambar background + overlay) ===== */
.card {
  background-image:
    linear-gradient(to bottom, rgba(93, 223, 152, 0.575), rgb(188, 252, 114)),
    url("https://mtkpdakotamalang.pages.dev/assets/images/aisyiyah.webp");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center 0px;

  border-radius: 20px;
  padding: 30px;
  padding-bottom: 50px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-align: center;
  max-width: 400px;
  width: 100%;

  /* efek kaca tipis */
  background-clip: padding-box;
  backdrop-filter: blur(4px);
}

/* Avatar, text, link */
.avatar {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; margin-bottom: 15px; border: 4px solid #ebf785;
}
h1 { margin: 10px 0; font-size: 2rem; color: #184e35; }
h2 { margin: 10px 0; font-size: 1.5rem; color: #184e35; }
p  { font-size: 1.2rem; color: #184e35; margin-bottom: 25px; }
.link {
  display: flex; align-items: center; justify-content: center;
  margin: 10px 0; padding: 14px;
  background: linear-gradient(135deg, #91db5f 0%, #30b570 100%);
  color: #f8f2d9; font-weight: bold; text-decoration: none;
  border-radius: 12px; transition: transform 0.2s, background 0.3s;
}
.link svg { margin-right: 8px; }
.link:hover { transform: scale(1.05); background: #30b570; }

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px; /* jarak antar tombol */
  align-items: center;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;             /* jarak ikon & teks */
  width: 90%;            /* biar seragam lebarnya */
  max-width: 320px;
  padding: 20px 20px;
  background:linear-gradient(135deg,  #1e9463f8 0%,#37df6a79 100%); /* gradasi hijau */
  color: rgba(255, 255, 255, 0.932);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 20px;
  box-shadow: 0 6px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-5px) scale(1.1);
  background: linear-gradient(135deg, #45a049, #30b570);
  box-shadow: 0 8px 100px rgba(0, 0, 0, 0.582); 
}

.social-btn i {
  font-size: 20px;
  color: white; /* ikon putih */
}



/* ===== Mobile: card nempel atas tengah ===== */
@media (max-width: 768px) {
  body {
    justify-content: flex-start; /* nempel atas */
    align-items: center;         /* tetap tengah horizontal */
    padding-top: 0px;
  }
  .card {
    margin-top: 0;
    max-width: 100%;
    border-radius: 0px;
  }
}

