@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100vh;
    background-image: url('2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  width: 90%;
  max-width: 1200px;
}

/* Profile Card */
.profile-card {
/*   background: rgba(255,255,255,0.05); */
  background-image: url('1.png');
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  animation: fadeIn 1s ease;
}

.avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid #ff4654;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(255,70,84,0.7);
  transition: transform 0.4s;
}
.avatar:hover {
  transform: scale(1.1) rotate(5deg);
}

.profile-card h2 {
  color: #ff4654;
  margin-bottom: 0.5rem;
}

/* Social Links */
.social-links a {
  font-size: 1.5rem;
  margin: 0 10px;
  color: #bbb;
  transition: 0.3s;
}
.social-links a:hover {
  color: #ff4654;
  text-shadow: 0 0 15px #ff4654;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 8px;
  border: 2px solid #ff4654;
  border-radius: 8px;
  color: #ff4654;
  background: transparent;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn:hover {
  background: #ff4654;
  color: #fff;
  box-shadow: 0 0 15px #ff4654;
  transform: translateY(-3px);
}

/* Content */
.content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.card {
/*   background: rgba(255,255,255,0.05); */
  background-image: url('1.png');
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 1.5rem;
  animation: slideUp 0.8s ease;
}
.card h2 {
  margin-top: 0;
  color: #ff4654;
}

.card a {
  color: #ffffff; /* link jadi putih */
  text-decoration: none; /* hilangkan underline */
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
}

.modal-content {
/*   background: rgba(255,255,255,0.1); */
  background-image: url('1.png');
  backdrop-filter: blur(15px);
  margin: 10% auto;
  padding: 2rem;
  border-radius: 15px;
  width: 60%;
  text-align: center;
  animation: scaleIn 0.5s ease;
}
.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
  color: #ff4654;
}

/* Animations */
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
@keyframes slideUp { from {opacity: 0; transform: translateY(20px);} to {opacity: 1; transform: translateY(0);} }
@keyframes scaleIn { from {transform: scale(0.8); opacity: 0;} to {transform: scale(1); opacity: 1;} }

@media(max-width:768px){
  .container { grid-template-columns: 1fr; }
}
