.cypher-text {
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  font-size: 1.2rem;
  color: var(--skin-color);
  font-weight: 600;
  cursor: pointer;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10+ */
  user-select: none; /* Standard */
}

.cypher-text:hover {
  background: rgba(0, 191, 255, 0.1);
}

.name {
  display: inline-block;
  font-weight: 900;
  position: relative;
  color: #ff8c00;
  cursor: pointer;
  transition: all 0.3s ease;

  cursor: vertical-text;
}

.name::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  text-shadow: 0 0 2px #ff4500, 0 0 5px #ff4500, 0 0 10px #ff6347,
    0 0 20px #ff0000;
  z-index: -1;
  filter: blur(2px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform: scale(1.2);
}

.name:hover::before {
  opacity: 1;
  transform: scale(1);
}

.name:hover {
  transform: translateY(-3px);
  animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
  0%,
  18%,
  22%,
  25%,
  53%,
  57%,
  100% {
    text-shadow: 0 0 4px #ff8c00, 0 0 11px #ff8c00, 0 0 19px #ff8c00,
      0 0 40px #ff4500, 0 0 80px #ff4500, 0 0 90px #ff4500, 0 0 100px #ff4500,
      0 0 150px #ff4500;
  }
  20%,
  24%,
  55% {
    text-shadow: none;
  }
}

.action-verb {
  display: inline-block;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  color: var(--skin-color);
  user-select: none;
}

.action-verb:hover {
  transform: scale(1.1) rotate(-5deg);
  /* color: #ff69b4; */
}

.action-verb-1:hover {
  transform: scale(1.1) rotate(-5deg);
  color: #ff69e4;
}

.target-word {
  display: inline-block;
  position: relative; /* Needed for letter positioning */
  font-weight: bold;
}

/* Styling for the individual letters when broken */
.target-word .letter {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.6s ease;
}

/* --- The Bloody Div Easter Egg --- */
.div-joke {
  position: relative;
}

.bloody-div-text {
  font-style: italic;
  cursor: help;
}

.div-box {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  padding: 2px 8px;
  border: 2px dashed #ff4500;
  border-radius: 5px;
  margin-left: 5px;
  background-color: rgba(255, 69, 0, 0.1);
  color: var(--text-black-900);
  font-weight: bold;
  transition: all 0.3s ease;
  animation: wobble 2.5s infinite;
  position: relative;
}

.div-box.centered {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #29ad6b;
  border-color: var(--skin-color);

  font-weight: bold;
  animation: none;
  z-index: 100;
  padding: 20px;
  box-shadow: 0 0 30px var(--skin-color);
}
.success-message {
  display: inline-block;
  margin-left: 10px;
  font-weight: bold;
  color: #33ff99;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.success-message.visible {
  opacity: 1;
}
@keyframes wobble {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-3deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* --- Typing Effect --- */
/* --- Typing Effect --- */
.typing {
  font-weight: bold;
  color: var(--skin-color);
}

/* --- Email Link --- */
.email-link {
  display: inline-block;
  font-size: 1.2rem;
  transition: transform 0.2s, color 0.2s;
}

.email-link:hover {
  transform: skewX(-15deg);
  color: #ff69b4; /* Hot Pink */
}
/* --- Lego Click Animation --- */
.lego-text {
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  color: #ffde00; /* Lego Yellow */
  text-shadow: 1px 1px 0px #d90000; /* Lego Red shadow */
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lego-text:hover,
.lego-text:active {
  /* Animation on hover (desktop) or tap (mobile) */
  animation: lego-click 0.5s ease-in-out;
}

@keyframes lego-click {
  0% {
    transform: scale(1) rotate(0deg);
  }
  40% {
    transform: scale(1.15) rotate(-5deg) translateY(-5px);
  }
  60% {
    transform: scale(0.95) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* --- hiring Glow Animation --- */
.hiring-text {
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  color: #33ff99; /* A vibrant green */
  position: relative;
}

.hiring-text:hover,
.hiring-text:active {
  animation: text-glow 1.5s infinite alternate;
}

@keyframes text-glow {
  from {
    text-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 7px #33ff99, 0 0 10px #33ff99;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 8px #33ff99, 0 0 12px #33ff99,
      0 0 15px #33ff99;
  }
}

/* --- "hi" Pop Animation --- */
.hi-text {
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  color: var(--skin-color);
}

.hi-text:hover,
.hi-text:active {
  animation: text-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes text-pop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

/* --- Emoji Animations --- */
.shy-emoji,
.wave-emoji {
  display: inline-block;
  cursor: default;
}

.shy-emoji {
  /* This animation runs constantly but subtly */
  animation: shy-wiggle 2.5s infinite;
  transform-origin: center;
}

@keyframes shy-wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}

.wave-emoji {
  animation: wave-hand 2s infinite;
  transform-origin: bottom center;
}

@keyframes wave-hand {
  0%,
  60%,
  100% {
    transform: rotate(0deg);
  }
  10%,
  30% {
    transform: rotate(14deg);
  }
  20%,
  40% {
    transform: rotate(-8deg);
  }
}

/* email styles */
.email-container {
  position: relative;
  display: inline-block;
}

.email-link {
  display: inline-block;
  cursor: copy;
  position: relative;
  text-decoration: none;
  color: #00bfff;
  transition: color 0.2s ease-in-out;
}

.email-link::after {
  content: "Click to Copy";
  position: absolute;
  font-size: 0.75em;
  font-weight: bold;
  background-color: #00bfff;
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) scale(0);
  transform-origin: bottom;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.email-link:hover::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.email-link:hover {
  color: var(--skin-color);
}

.copy-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background-color: #33ff99; /* Success Green */
  color: #111;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none; /* Prevents tooltip from blocking clicks */
  z-index: 10;
}

.copy-tooltip.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* --- Main Container --- */
.info-line {
  position: relative;
}

/* --- Location Micro-interaction --- */
.location-text {
  position: relative;
  font-weight: bold;
  color: #1e90ff; /* DodgerBlue */
  cursor: pointer;
  display: inline-block;
}

.location-pin {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  background: #ff4757; /* A bright red */
  border-radius: 50% 50% 50% 0;
  transform: translateX(-50%) rotate(-45deg);
  opacity: 0;
  transition: all 0.3s ease;
}

.location-pin::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.location-text:hover .location-pin {
  opacity: 1;
  bottom: 150%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
  }
}

/* --- Degree & Grad Cap Micro-interaction --- */
.degree-text {
  position: relative;
  font-weight: bold;
  color: #f1c40f;
  cursor: pointer;
  display: inline-block;
  padding-right: 5px;
}

.grad-cap {
  display: inline-block;
  font-size: 1.2em;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: bottom center;
}

.degree-text:hover .grad-cap {
  animation: toss-cap 1s ease-in-out;
}

@keyframes toss-cap {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(360deg);
  }
  100% {
    transform: translateY(0) rotate(720deg);
  }
}

.confetti-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 100;
  animation: confetti-fall 1.5s ease-out forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100px) rotate(360deg);
    opacity: 0;
  }
}
