/* ===== Base ===== */
* {
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, #4da0ff, #ff7eb3);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 380px;
  padding: 24px;
  z-index: 1;
}

/* ===== Profile ===== */
.profile {
  text-align: center;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease forwards;
}

.profile img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.6);
  object-fit: cover;
}

.profile h1 {
  margin: 16px 0 6px;
  color: #fff;
  font-size: 26px;
}

.profile p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}

/* ===== Links ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.25s;
}


.btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  width: 100%;              /* WAJIB */
  padding: 14px 16px;
  padding-left: 18px;

  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: white;

  text-align: left;         /* WAJIB */
  box-sizing: border-box;

  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}



.btn .icon {
  width: 24px;          /* kunci supaya teks tidak ketarik ke tengah */
  text-align: center;
  font-size: 18px;
  margin-right: 10px;
  flex-shrink: 0;
}


.btn .text {
  flex: 1;              /* WAJIB */
  text-align: left;     /* WAJIB */
}




.btn.primary {
  background: linear-gradient(135deg, #4da0ff, #6f7bff);
}

.btn.giveaway {
  background: linear-gradient(135deg, #ff8e4d, #f05630);
}
.btn.secondary {
  background: linear-gradient(135deg, #ff7eb3, #ff9acb);
}

.btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  filter: brightness(1.05);
}

.btn:active {
  transform: scale(0.97);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after {
  opacity: 0.08;
}

/* ===== Footer ===== */
footer {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Wave Background ===== */
.waves {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.waves span {
  position: absolute;
  bottom: -25%;
  width: 200%;
  height: 200px;
  background: rgba(255,255,255,0.15);
  border-radius: 45%;
  animation: waveMove 20s linear infinite;
}

.waves span:nth-child(1) {
  left: -50%;
  animation-duration: 22s;
}

.waves span:nth-child(2) {
  left: -60%;
  bottom: -30%;
  opacity: 0.12;
  animation-duration: 30s;
}

.waves span:nth-child(3) {
  left: -40%;
  bottom: -35%;
  opacity: 0.1;
  animation-duration: 38s;
}

@keyframes waveMove {
  from { transform: translateX(0) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}

/* ===== Fish Animation ===== */
.fish-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.fish {
  position: absolute;
  font-size: 26px;
  opacity: 0.3;
  animation: swim linear infinite;
}

.f1 {
  top: 30%;
  left: -10%;
  animation-duration: 25s;
}

.f2 {
  top: 55%;
  left: -15%;
  font-size: 22px;
  animation-duration: 35s;
  opacity: 0.25;
}

.f3 {
  top: 70%;
  left: -20%;
  font-size: 18px;
  animation-duration: 45s;
  opacity: 0.2;
}

@keyframes swim {
  from { transform: translateX(0); }
  to   { transform: translateX(120vw); }
}