body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('img/09.png') no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container { 
  width: 100%;
  max-width: 400px;
  position: relative;
  background: none;

  padding: 2rem;
  box-shadow: 0 4px 12px rgba(16, 233, 179, 0.788);
  border-radius: 2.5rem;
  text-align: center;
  overflow: hidden;
}
.container::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* ขนาดจริงของรูป */
  z-index: 0;
}
.container::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 128, 128, 0.253); /* สีม่วงโปร่ง */
  z-index: 1;
}

/* เนื้อหาข้างใน container ให้อยู่ข้างบน */
.container > * {
  position: relative;
  z-index: 2;
}
.avatar {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  display: block;
  margin-bottom: 5px;
  padding-bottom: 0rem;
}

.name {
  font-family: 'Mali', sans-serif;
  font-size: 15px;
  margin: 0rem 0rem;
  line-height: 22px;
  padding-bottom: 1rem;
}

.description {
  font-size: 1rem;
  color: #d4d0d0;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.link-button {
  display: block;
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: #000000c5;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.link-button:hover {
  background-color: #333;
}

.footer {
  font-size: 0.875rem;
  color: #aaa;
}
@media (max-width: 390px) {
  .name {
    font-size: 12px;
    line-height: 22px;
  }
}

@media (max-width: 550px) {
  .container {
    margin: 1rem;
    padding: 1.5rem;
  }

  .link-button {
    font-size: 0.95rem;
    padding: 0.75rem;
  }

}

.fancy-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  font-weight: bold;
  color: #d0a45c;
  text-decoration: none;
  border-radius: 30px;
  background: linear-gradient(to bottom, #085301, #029b3d, #01a770);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  animation: bounce 2s infinite ease-in-out, glowTextColor 1s infinite alternate;
  transition: transform 0.2s;
}

/* เด้งเบาๆ */
@keyframes bounce {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-3px);
  }
}

/* กระพริบสีข้อความ */
@keyframes glowTextColor {
  0% {
      color: #d0a45c;
      text-shadow: 0 0 5px #d0a45c;
  }
  100% {
      color: #ffffff;
      text-shadow: 0 0 8px #ffffff;
  }
}


.image-container img {
max-width: 100%;
height: auto;
display: block;
margin-bottom: 8px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.575);
transition: transform 0.3s ease;
}

.image-container img:hover {
transform: scale(1.03);
cursor: pointer;
}
.cute-shake img {

animation: cuteWiggle 1.5s infinite ease-in-out;
transform-origin: center center;
}

/* Animation สั่นน่ารัก + ซูมเบาๆ */
@keyframes cuteWiggle {
0%, 100% {
  transform: rotate(0deg) scale(1);
}
25% {
  transform: rotate(1.5deg) scale(1.03);
}
50% {
  transform: rotate(0deg) scale(1.01);
}
75% {
  transform: rotate(-1.5deg) scale(1.03);
}
}
.DB1 {
color: #ffffff; /* อักษรสีขาว */
text-shadow:
  0 0 5px #aaffaa,
  0 0 10px #aaffaa,
  0 0 20px #55ff55,
  0 0 40px #55ff55;
animation: neonPulse 1.5s ease-in-out infinite;
}

@keyframes neonPulse {
0%, 100% {
  text-shadow:
    0 0 5px #aaffaa,
    0 0 10px #aaffaa,
    0 0 20px #55ff55,
    0 0 40px #55ff55;
  opacity: 1;
}
50% {
  text-shadow:
    0 0 2px #aaffaa,
    0 0 4px #aaffaa,
    0 0 8px #55ff55,
    0 0 16px #55ff55;
  opacity: 0.6;
}
}