body {
  font-family: "Bangers", cursive, sans-serif;
  background: #f9f6f2;
  background-image: url("/images/spidey.png");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
}

.comic-sidebar {
  border: 4px solid #222;
  box-shadow: 8px 8px 0 #ffeb3b;
  border-radius: 16px;
}

.comic-icon {
  display: flex;
  border: 3px solid #222;
  border-radius: 50%;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 1);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.comic-icon:hover {
  transform: scale(1.15) rotate(-3deg);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 1);
  background-color: #fff;
}

a[aria-label="Github"]:hover {
  background-color: #f3f4f6;
  color: #000;
}

a[aria-label="LinkedIn"]:hover {
  background-color: #dbeafe;
  color: #0077b5;
}

.comic-icon:active {
  transform: scale(0.95) translateY(2px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 1);
}

.comic-link {
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
  background: #ffeb3b;
  border: 3px solid #222;
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  box-shadow: 4px 4px 0 #e91e63;
  transition: background 0.2s, color 0.2s, transform 0.1s, box-shadow 0.1s;
  cursor: pointer;
  outline: none;
}

.comic-link:active {
  transform: scale(0.95) translateY(2px);
  box-shadow: 2px 2px 0 #e91e63;
  background: #ffe082;
}

.comic-link:hover {
  background: #e91e63;
  color: #fff;
}

.comic-panel {
  border: 4px solid #222;
  box-shadow: 8px 8px 0 #ffeb3b;
  background-color: #fff;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  background-image: radial-gradient(circle, #d1d5db 2px, transparent 2.5px);
  background-size: 20px 20px;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.comic-panel:hover {
  transform: translate(-5px, -5px);
  box-shadow: 13px 13px 0 #ffeb3b;
  border-color: #000;
}

.speech-bubble {
  position: relative;
  background: #fff;
  border: 3px solid #222;
  border-radius: 20px;
  padding: 1rem 2rem;
  margin: 1rem 0;
}

.speech-bubble:after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 40px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top: 10px solid #fff;
  border-bottom: 0;
  border-right: 0;
  margin-left: -10px;
}

.image-red-shadow {
  box-shadow: 8px 8px 0px #ef4444;
}

p,
li,
span.text_base {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  font-weight: 500;
  color: #333;
}

h1,
h2,
h3,
.comic-link,
.speech-bubble {
  font-family: "Bangers", cursive;
  letter-spacing: 1px;
}

@keyframes comicPop {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-2deg);
  }

  70% {
    transform: scale(1.02) rotate(1deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.comic-panel:not(.hidden) {
  animation: comicPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-word {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  animation: popFade 0.5s ease-out forwards;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

.action-word img {
  display: block;
  width: 200px;
  height: auto;
  filter: drop-shadow(5px 5px 2px rgba(0, 0, 0, 0.3));
}

@keyframes popFade {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(-20deg);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2) rotate(5deg);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -80%) scale(1) rotate(0deg);
    opacity: 0;
  }
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.comic-card {
  background: #fff;
  border: 4px solid #222;
  border-radius: 8px;
  box-shadow: 6px 6px 0 #222;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  position: relative;
}

.comic-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 #e91e63;
  z-index: 10;
}

.card-header {
  height: 120px;
  background-color: #f3f4f6;
  border-bottom: 4px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.tech-badge {
  display: inline-block;
  font-family: 'Bangers', cursive;
  font-size: 0.9rem;
  padding: 2px 8px;
  border: 2px solid #222;
  border-radius: 4px;
  margin-right: 4px;
  margin-bottom: 4px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.comic-btn-small {
  display: inline-block;
  background: #ffeb3b;
  border: 2px solid #222;
  font-family: 'Bangers', cursive;
  padding: 4px 12px;
  font-size: 1rem;
  box-shadow: 3px 3px 0 #222;
  transition: all 0.1s;
  text-decoration: none;
  color: #222;
}

.comic-btn-small:hover {
  background: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #000;
}

.sticker {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 70px;
  height: 70px;
  z-index: 20;
  pointer-events: none;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.5));
  animation: stickerFloat 3s ease-in-out infinite;
}

@keyframes stickerFloat {

  0%,
  100% {
    transform: rotate(10deg) scale(1);
  }

  50% {
    transform: rotate(15deg) scale(1.1);
  }
}

@keyframes attentionShake {

  0%,
  85% {
    transform: rotate(0deg) scale(1);
  }

  87% {
    transform: rotate(-10deg) scale(1.1);
  }

  89% {
    transform: rotate(10deg) scale(1.1);
  }

  91% {
    transform: rotate(-10deg) scale(1.1);
  }

  93% {
    transform: rotate(10deg) scale(1.1);
  }

  95% {
    transform: rotate(0deg) scale(1);
  }

  100% {
    transform: rotate(0deg) scale(1);
  }
}

.cv-attention {
  animation: attentionShake 3s ease-in-out infinite;
  z-index: 50;
  border-color: #ef4444;
}

.cv-attention:hover {
  animation-play-state: paused;
}

.hire-me-bubble {
  position: absolute;
  right: 120%;
  top: 50%;
  transform: translateY(-50%);
  background: #ffeb3b;
  border: 2px solid #000;
  padding: 4px 8px;
  font-family: 'Bangers', cursive;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 2px 2px 0 #000;
}

.hire-me-bubble::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #000;
}

.comic-burst-btn {
  background: #ffeb3b;
  color: #000;
  border: none;
  padding: 0.5rem 1.5rem;
  font-family: 'Bangers', cursive;
  font-size: 1.2rem;
  clip-path: polygon(10% 0%, 100% 0%, 95% 50%, 100% 100%, 10% 100%, 0% 50%);
  filter: drop-shadow(2px 2px 0 #000) drop-shadow(-1px -1px 0 #000);
  transition: transform 0.1s;
}

.comic-burst-btn:active {
  transform: scale(0.95);
}

@media (min-width: 768px) {
  .comic-panel {
    padding: 2.5rem;
  }
}