* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f9d423, #ff4e50);
  color: #fff;
  overflow-x: hidden;
}

/* HERO SECTION */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url('images/goyoonjung2.jpg') center/cover no-repeat;
  position: relative;
  text-align: center;
  color: #fff;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: 3rem;
  z-index: 2;
  animation: fadeInDown 1.5s ease forwards;
}

.hero p {
  z-index: 2;
  margin-top: 10px;
  font-size: 1.2rem;
  animation: fadeInUp 1.8s ease forwards;
}

/* MUSIC TOGGLE */
#music-toggle {
  margin-top: 20px;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #ff6f91, #ff4d73);
  color: white;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#music-toggle:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #ff4d73, #ff6f91);
}

#music-toggle.active {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  box-shadow: 0 0 15px #4caf50;
}

/* PROFILE SECTION */
.profile {
  padding: 60px 10%;
  background: #1c1c1c;
}

.profile h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  position: relative;
}

.profile h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #f9d423, #ff4e50);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.bio {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}

.bio img {
  width: 280px;
  border-radius: 20px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.6);
  transition: transform 0.5s, box-shadow 0.5s;
}
.bio img:hover {
  transform: scale(1.07);
  box-shadow: 0px 8px 20px rgba(255,78,80,0.6);
}

.bio-text {
  max-width: 600px;
  line-height: 1.8;
  font-size: 1rem;
}

/* GALLERY */
.gallery {
  padding: 60px 10%;
  text-align: center;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.card {
  width: 250px;
  height: 350px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}
.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.6);
}

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

.card-back {
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
}

/* ADD PHOTO */
.add-photo {
  margin: 30px auto;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.add-photo input {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  width: 250px;
}

.add-photo button {
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6f91, #ff4d73);
  color: white;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.add-photo button:hover {
  background: linear-gradient(135deg, #ff4d73, #ff6f91);
  transform: scale(1.05);
}

/* FOOTER */
footer {
  padding: 20px;
  background: #111;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* Animations */
@keyframes fadeInDown {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
