body {
  padding-top: 100px;
}

.intro-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
}

.profile-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  padding: 4rem 2rem;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1;
  min-width: 260px;
  max-width: 600px;
}

.intro-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.intro-sub {
  margin-left: -12px;
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(4px);
  transform: translateY(-6px);
  transition: transform .3s ease, box-shadow .3s ease;
}

p,
.about-desc,
.future-desc,
.intro-sub,
.about h2,
.hobbies h2,
.future-goal h2,
.hobby-back {
  text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.9),
    0 0 25px rgba(0, 0, 0, 0.8);
}


.card-container {
  width: 260px;
  height: 360px;
  perspective: 1000px;
  cursor: pointer;
}

.card-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card-container:hover .card-flipper {
  transform: rotateY(180deg);
}

.card-side {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  padding-bottom: 40px;
  box-sizing: border-box;
}

.card-side img {
  width: calc(100% - 24px);
  height: auto;
  margin: 12px 0 0 0;
  object-fit: cover;
  display: block;
}

.card-back {
  transform: rotateY(180deg);
}

.info-section {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about h2 {
  margin-top: 120px;
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  color: #ff8a00;
}

.about-desc {
  font-size: 1.35rem;
  line-height: 1.7;
  max-width: 900px;
  color: inherit;
  margin-bottom: 100px;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  backdrop-filter: blur(4px);
  transform: translateY(-6px);
  transition: transform .3s ease, box-shadow .3s ease;
}

.hobbies h2 {
  font-size: 2rem;
  margin-top: 1.25rem;
  color: #ff8a00;
}

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(4, 210px);
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.hobby-card {
  width: 210px;
  height: 108px;
  perspective: 800px;
}

.hobby-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.hobby-card:hover .hobby-inner {
  transform: rotateY(180deg);
}


.hobby-front,
.hobby-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


.hobby-front {
  transform: rotateY(0deg);
  background: #ffffff00;
}


.hobby-back {
  transform: rotateY(180deg);
  background: #f1c0362d;
  color: #fff;
}


.hobby-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}




.future-goal {
  padding: 2.5rem 2rem;
  max-width: 900px;
  margin: 2rem auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.future-goal h2 {
  font-size: 2rem;
  color: #ff8a00;
  margin-bottom: 0.5rem;
}

.future-desc {
  font-size: 1.25rem;
  line-height: 1.6;
}

.glint-text {
  position: relative;
  display: inline-block;
  font-weight: bold;
  font-size: 4rem;
  background: linear-gradient(90deg,
      #ff8a00 0%,
      #ff8a00 45%,
      #ffcc80 50%,
      #ff8a00 55%,
      #ff8a00 100%);
  background-size: 200% 100%;
  background-position: 100% 0%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-only-glint 4s infinite;
  animation-fill-mode: forwards;
}

@keyframes text-only-glint {
  0% {
    background-position: 100% 0%;
  }

  12.5% {
    background-position: 0% 0%;
  }

  12.6% {
    background-position: 100% 0%;
  }

  100% {
    background-position: 100% 0%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.2, .9, .2, 1), transform .65s cubic-bezier(.2, .9, .2, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}