/* Projects Content Behind Dots */
.projects-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  z-index: 5;
  overflow-x: hidden; /* keep horizontal clipping */
  overflow-y: auto;   /* allow vertical scrolling so all cards are accessible */
  padding: 2rem;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.projects-content.revealed {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.projects-content::-webkit-scrollbar {
  width: 8px;
}

.projects-content::-webkit-scrollbar-track {
  background: #131313;
  border-radius: 4px;
}

.projects-content::-webkit-scrollbar-thumb {
  background: #A8FF51;
  border-radius: 4px;
}

.projects-content::-webkit-scrollbar-thumb:hover {
  background: #8FE642;
}

.projects-content {
  scrollbar-width: thin;
  scrollbar-color: #A8FF51 #131313;
}

/* Projects Header with Tabs */
.projects-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 0 5rem 0; /* increased bottom padding to move divider down */
  border-bottom: 2px solid rgba(168, 255, 81, 0.1);
  margin-bottom: 1.5rem;
  flex-wrap: nowrap;
  gap: 2rem;
  position: relative;
}

.projects-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: #A8FF51;
  margin: 0;
  text-shadow: 0 0 20px rgba(168, 255, 81, 0.35);
  text-align: left;
  flex-shrink: 0;
}

.projects-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.projects-return-btn {
  position: relative;
  top: unset;
  right: unset;
  margin-left: unset;
  margin-top: 2rem;
  flex-shrink: 0;
  background: rgba(168, 255, 81, 0.1);
  border: 1px solid rgba(168, 255, 81, 0.3);
  color: #A8FF51;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  z-index: 1000;
}

/* Tab Content */
.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Experience Section - Avant-garde design */
.experience-container {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.experience-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.experience-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #A8FF51;
  text-transform: lowercase;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 0 20px rgba(168, 255, 81, 0.5);
}

.experience-subtitle {
  font-size: 1.1rem;
  color: rgba(168, 255, 81, 0.8);
  font-weight: 300;
  margin-top: 0.5rem;
  letter-spacing: 2px;
  text-transform: lowercase;
}

.experience-main {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  align-items: start;
  min-height: 600px;
  position: relative;
}

.experience-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 5;
}

.experience-card {
  background: linear-gradient(135deg, 
    rgba(21, 37, 37, 0.9) 0%, 
    rgba(21, 37, 37, 0.7) 100%);
  border: 2px solid rgba(168, 255, 81, 0.3);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  opacity: 0;
  transform: translateX(-100px) rotate(-5deg);
  animation: slideInExperience 0.8s ease forwards;
  cursor: pointer;
}

.experience-card:nth-child(even) {
  transform: translateX(100px) rotate(5deg);
  margin-left: 2rem;
}

.experience-card:nth-child(1) { animation-delay: 0.2s; }
.experience-card:nth-child(2) { animation-delay: 0.4s; }
.experience-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInExperience {
  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes slideInCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(168, 255, 81, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 255, 81, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.experience-card:hover::before {
  opacity: 1;
}

.experience-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(168, 255, 81, 0.6);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 10px 30px rgba(168, 255, 81, 0.2),
    inset 0 0 20px rgba(168, 255, 81, 0.1);
}

.experience-card:hover .experience-org {
  color: #A8FF51;
  text-shadow: 0 0 15px rgba(168, 255, 81, 0.6);
}

.experience-org {
  font-size: 1.8rem;
  font-weight: 700;
  color: #efeeec;
  margin-bottom: 0.5rem;
  text-transform: lowercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.experience-period {
  font-size: 1rem;
  color: rgba(168, 255, 81, 0.8);
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-transform: lowercase;
  letter-spacing: 1px;
}

.experience-roles {
  margin-bottom: 1.5rem;
}

.experience-role {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  margin-bottom: 0.8rem;
  background: rgba(168, 255, 81, 0.05);
  border: 1px solid rgba(168, 255, 81, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.experience-role:hover {
  background: rgba(168, 255, 81, 0.1);
  border-color: rgba(168, 255, 81, 0.4);
  transform: translateX(5px);
}

.experience-role-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #efeeec;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.experience-role-period {
  font-size: 0.9rem;
  color: rgba(168, 255, 81, 0.7);
  font-weight: 400;
  text-transform: lowercase;
}

.experience-summary {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(239, 238, 236, 0.9);
  font-weight: 300;
  text-align: justify;
}

/* Skills Constellation */
.skills-constellation {
  position: relative;
  background: radial-gradient(circle at center, 
    rgba(168, 255, 81, 0.05) 0%, 
    transparent 70%);
  border-radius: 50%;
  width: 350px;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(168, 255, 81, 0.2);
  backdrop-filter: blur(10px);
  margin-top: 2rem;
  overflow: visible;
  animation: constellationFloat 6s ease-in-out infinite;
}

@keyframes constellationFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.skills-header {
  text-align: center;
  margin-bottom: 2rem;
  z-index: 10;
  position: relative;
}

.skills-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #A8FF51;
  text-transform: lowercase;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 0 15px rgba(168, 255, 81, 0.5);
}

.skills-subtitle {
  font-size: 0.9rem;
  color: rgba(168, 255, 81, 0.7);
  font-weight: 300;
  margin-top: 0.3rem;
  letter-spacing: 1px;
  text-transform: lowercase;
}

.skills-orbits {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-orbit {
  position: absolute;
  border: 1px solid rgba(168, 255, 81, 0.2);
  border-radius: 50%;
  animation: orbitRotate 20s linear infinite;
}

.skill-orbit:nth-child(1) {
  width: 120px;
  height: 120px;
  animation-duration: 15s;
}

.skill-orbit:nth-child(2) {
  width: 180px;
  height: 180px;
  animation-duration: 25s;
  animation-direction: reverse;
}

.skill-orbit:nth-child(3) {
  width: 240px;
  height: 240px;
  animation-duration: 35s;
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.skill-node {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, 
    rgba(21, 37, 37, 0.9) 0%, 
    rgba(21, 37, 37, 0.7) 100%);
  border: 2px solid rgba(168, 255, 81, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #efeeec;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  backdrop-filter: blur(10px);
  text-transform: lowercase;
  letter-spacing: 0.5px;
  animation: nodeCounter 20s linear infinite reverse;
}

.skill-node:hover {
  transform: scale(1.2);
  border-color: #A8FF51;
  background: linear-gradient(135deg, 
    rgba(168, 255, 81, 0.2) 0%, 
    rgba(21, 37, 37, 0.8) 100%);
  color: #A8FF51;
  text-shadow: 0 0 10px rgba(168, 255, 81, 0.5);
  box-shadow: 
    0 0 20px rgba(168, 255, 81, 0.3),
    inset 0 0 15px rgba(168, 255, 81, 0.1);
  z-index: 10;
}

@keyframes nodeCounter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Skill category indicators */
.skill-category-label {
  position: absolute;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(168, 255, 81, 0.6);
  text-transform: lowercase;
  letter-spacing: 1px;
  pointer-events: none;
  white-space: nowrap;
}

.skill-category-label.engines {
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.skill-category-label.languages {
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.skill-category-label.tools {
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
}

/* Interests Section - Avant-garde design */
.interests-container {
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 800px;
  background:
    radial-gradient(circle at 20% 30%, rgba(168, 255, 81, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(70, 230, 255, 0.06) 0%, transparent 60%);
}

.interests-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  z-index: 10;
}

.interests-header h2 {
  font-size: 4rem;
  font-weight: 100;
  color: #A8FF51;
  text-transform: lowercase;
  letter-spacing: 8px;
  margin: 0;
  text-shadow: 0 0 40px rgba(168, 255, 81, 0.4);
  position: relative;
  animation: titlePulse 6s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { 
    text-shadow: 0 0 40px rgba(255, 76, 36, 0.4);
    transform: scale(1);
  }
  50% { 
    text-shadow: 0 0 60px rgba(255, 76, 36, 0.8);
    transform: scale(1.02);
  }
}

.interests-header h2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -200px;
  right: -200px;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(70, 230, 255, 0.25),
    rgba(168, 255, 81, 0.7),
    rgba(70, 230, 255, 0.25),
    transparent);
  transform: translateY(-50%);
  z-index: -1;
  animation: lineGlow 4s ease-in-out infinite alternate;
}

@keyframes lineGlow {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

.interests-subtitle {
  font-size: 1.1rem;
  color: rgba(168, 255, 81, 0.8);
  font-weight: 200;
  margin-top: 1.5rem;
  letter-spacing: 4px;
  text-transform: lowercase;
  position: relative;
  opacity: 0;
  animation: subtitleReveal 2s ease-out 0.5s forwards;
}

@keyframes subtitleReveal {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.interests-constellation {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 520px;
  display: grid;
  grid-template-columns: repeat(4, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
  justify-items: center;
  padding: 1rem;
}

.interest-node {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
  opacity: 0;
  animation: nodeReveal 0.6s ease-out forwards;
  z-index: 10;
}
.interest-node, .interest-node * { text-decoration: none; }

/* simple stagger for first few to preserve subtle reveal */
.interest-node:nth-child(1) { animation-delay: 0.1s; }
.interest-node:nth-child(2) { animation-delay: 0.2s; }
.interest-node:nth-child(3) { animation-delay: 0.3s; }
.interest-node:nth-child(4) { animation-delay: 0.4s; }

@keyframes nodeReveal {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.interest-orb {
  width: 280px;
  min-height: 200px;
  max-height: 300px;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(21,37,37,0.9) 100%),
    repeating-linear-gradient(90deg, rgba(168,255,81,0.12) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(70,230,255,0.08) 0 1px, transparent 1px 4px);
  border: 2px solid rgba(168, 255, 81, 0.7);
  border-radius: 8px;
  position: relative;
  overflow: visible;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  box-shadow: 
    0 0 0 2px rgba(0,0,0,0.4) inset, 
    0 4px 0 rgba(0,0,0,0.3),
    0 0 20px rgba(70, 230, 255, 0.1);
  z-index: 1;
}

@keyframes orbFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
  }
  50% { 
    transform: translateY(-8px) rotate(2deg);
  }
}

.interest-orb::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 60%);
  mix-blend-mode: overlay;
}

@keyframes orbRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.interest-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(168, 255, 81, 0.45);
  border-radius: 8px;
  pointer-events: none;
}

@keyframes innerRingPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.5;
  }
  50% { 
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.interest-node:hover .interest-orb {
  transform: translateY(-6px);
  border-color: rgba(168, 255, 81, 0.95);
  box-shadow:
    0 8px 18px rgba(0,0,0,0.45),
    0 0 14px rgba(168, 255, 81, 0.25);
  filter: brightness(1.05) saturate(1.05);
}

.interest-node:hover .interest-orb::before {
  opacity: 1;
}

.interest-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem;
  width: 100%;
  flex: 1;
  justify-content: flex-start;
  gap: 0.8rem;
}

/* Removed interest-icon styles since icons are no longer used */

.interest-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #A8FF51;
  text-transform: lowercase;
  letter-spacing: 2px;
  margin: 0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 10px rgba(168, 255, 81, 0.3);
  line-height: 1.2;
}

.interest-node:hover .interest-title {
  color: #46E6FF;
  text-shadow: 0 0 20px rgba(70, 230, 255, 0.6);
}

.interest-essence {
  font-size: 0.8rem;
  color: rgba(70, 230, 255, 0.8);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: lowercase;
  margin: 0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  font-style: italic;
  text-shadow: 0 0 8px rgba(70, 230, 255, 0.2);
  line-height: 1.3;
}

.interest-node:hover .interest-essence {
  color: #A8FF51;
  text-shadow: 0 0 12px rgba(168, 255, 81, 0.4);
}

.interest-description {
  position: static;
  width: 100%;
  margin: 0;
  padding: 0.6rem;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(21, 37, 37, 0.75) 100%),
    repeating-linear-gradient(90deg, rgba(70,230,255,0.06) 0 1px, transparent 1px 2px);
  border: 1px solid rgba(70, 230, 255, 0.3);
  border-radius: 6px;
  color: rgba(239, 238, 236, 0.9);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  z-index: 2;
  pointer-events: auto;
  user-select: text;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.interest-description::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, 
    rgba(255, 76, 36, 0.3), 
    transparent, 
    rgba(255, 76, 36, 0.3));
  border-radius: 15px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.interest-description:hover,
.interest-links:hover {
  opacity: 1;
  visibility: visible;
  transform: none !important;
}

.interest-links:hover { bottom: auto; }

.interest-links {
  position: static;
  margin: 0;
  display: flex;
  gap: 0.5rem;
  opacity: 1;
  transition: none;
  z-index: 3;
  position: relative;
  pointer-events: auto;
  min-height: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.interest-node:hover .interest-links { opacity: 1; }

.interest-link {
  background:
    linear-gradient(135deg, rgba(70, 230, 255, 0.15) 0%, rgba(168, 255, 81, 0.08) 100%),
    repeating-linear-gradient(90deg, rgba(70,230,255,0.12) 0 1px, transparent 1px 3px);
  border: 1px solid rgba(70, 230, 255, 0.5);
  color: #46E6FF;
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-transform: lowercase;
  letter-spacing: 1px;
  font-family: 'Courier New', monospace;
  pointer-events: auto;
}
.interest-title, .interest-essence, .interest-description, .interest-links { transform: none !important; }


.interest-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(168, 255, 81, 0.2), 
    transparent);
  transition: left 0.5s ease;
}

.interest-link:hover::before {
  left: 100%;
}

.interest-link:hover {
  background:
    linear-gradient(135deg, rgba(168, 255, 81, 0.25) 0%, rgba(70, 230, 255, 0.15) 100%),
    repeating-linear-gradient(90deg, rgba(168,255,81,0.18) 0 1px, transparent 1px 3px);
  border-color: #A8FF51;
  color: #A8FF51;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.3) inset, 0 4px 12px rgba(168, 255, 81, 0.2);
  text-shadow: 0 0 8px rgba(168, 255, 81, 0.4);
}

/* prevent any vertical nudge on hover/focus/active */
.interest-link,
.interest-link:hover,
.interest-link:focus,
.interest-link:active { transform: none !important; }

.constellation-web {
  position: absolute;
  inset: 0;
  pointer-events: none; /* do not block clicks */
  z-index: 1;
}

.web-connection {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(70, 230, 255, 0.15),
    rgba(168, 255, 81, 0.45),
    rgba(70, 230, 255, 0.15));
  transform-origin: left center;
  animation: connectionPulse 4s ease-in-out infinite;
}

.web-connection:nth-child(1) {
  top: 25%;
  left: 20%;
  width: 25%;
  transform: rotate(15deg);
  animation-delay: 0s;
}

.web-connection:nth-child(2) {
  top: 30%;
  right: 25%;
  width: 30%;
  transform: rotate(-25deg);
  animation-delay: 1s;
}

.web-connection:nth-child(3) {
  bottom: 35%;
  left: 15%;
  width: 35%;
  transform: rotate(45deg);
  animation-delay: 2s;
}

.web-connection:nth-child(4) {
  bottom: 40%;
  right: 20%;
  width: 25%;
  transform: rotate(-15deg);
  animation-delay: 3s;
}

@keyframes connectionPulse {
  0%, 100% { 
    opacity: 0.2;
    transform: scale(1) rotate(var(--rotation, 0deg));
  }
  50% { 
    opacity: 0.6;
    transform: scale(1.05) rotate(var(--rotation, 0deg));
  }
}

.interest-node:hover ~ .constellation-web .web-connection {
  animation-duration: 2s;
  opacity: 0.8;
}

/* Experience + Interests Refresh */
.experience-container,
.interests-container {
  isolation: isolate;
}

.experience-container {
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(168, 255, 81, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(168, 255, 81, 0.08), transparent 42%),
    radial-gradient(circle at bottom right, rgba(70, 230, 255, 0.09), transparent 40%),
    linear-gradient(145deg, rgba(8, 12, 13, 0.92), rgba(17, 27, 27, 0.82)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 22px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 30px 70px rgba(0, 0, 0, 0.28);
}

.experience-container::before,
.interests-container::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.03) 48%, transparent 100%),
    repeating-linear-gradient(90deg, rgba(168, 255, 81, 0.04) 0 1px, transparent 1px 90px);
  mix-blend-mode: screen;
  opacity: 0.5;
}

.experience-header,
.interests-header {
  text-align: left;
  margin-bottom: 2.4rem;
  max-width: 46rem;
}

.experience-header h2,
.interests-header h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.experience-header h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  color: #f0f4d8;
  text-shadow:
    0 0 24px rgba(168, 255, 81, 0.18),
    0 0 48px rgba(70, 230, 255, 0.08);
}

.experience-subtitle,
.interests-subtitle {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(239, 238, 236, 0.68);
}

.experience-main {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 380px);
  gap: 2rem;
  min-height: auto;
}

.experience-cards {
  gap: 1.35rem;
}

.experience-card {
  background:
    linear-gradient(155deg, rgba(12, 19, 20, 0.96), rgba(23, 35, 36, 0.84)),
    repeating-linear-gradient(135deg, rgba(168, 255, 81, 0.045) 0 2px, transparent 2px 16px);
  border: 1px solid rgba(168, 255, 81, 0.22);
  border-radius: 28px 10px 28px 10px;
  padding: 1.35rem;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: translateY(28px) rotate(-0.65deg);
}

.experience-card:nth-child(even) {
  margin-left: 0;
  transform: translateY(28px) rotate(0.8deg);
}

.experience-card::before {
  opacity: 1;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 28%, transparent 70%, rgba(70, 230, 255, 0.05)),
    radial-gradient(circle at top right, rgba(168, 255, 81, 0.1), transparent 36%);
}

.experience-card::after {
  content: '';
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(70, 230, 255, 0.12);
  border-radius: 20px 6px 20px 6px;
  pointer-events: none;
}

.experience-card:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.01);
  border-color: rgba(168, 255, 81, 0.42);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(168, 255, 81, 0.1),
    inset 0 0 24px rgba(168, 255, 81, 0.08);
}

.experience-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.experience-index,
.experience-chip,
.interest-code,
.interest-kicker,
.interest-tag {
  font-family: 'Courier New', Courier, monospace;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.experience-index {
  font-size: 0.72rem;
  color: #46e6ff;
}

.experience-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(70, 230, 255, 0.18);
  border-radius: 999px;
  background: rgba(70, 230, 255, 0.08);
  font-size: 0.66rem;
  color: rgba(239, 238, 236, 0.78);
}

.experience-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.experience-org {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 600;
  color: #f6f2df;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: lowercase;
  line-height: 1;
}

.experience-org:hover {
  color: #a8ff51;
}

.experience-period {
  margin-bottom: 0;
  padding: 0.45rem 0.75rem;
  border-left: 2px solid rgba(168, 255, 81, 0.35);
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(239, 238, 236, 0.72);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.experience-roles {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(4, 7, 8, 0.64), rgba(14, 22, 22, 0.42)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 18px);
  border: 1px solid rgba(70, 230, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.experience-roles::before {
  content: '';
  position: absolute;
  inset: 0.8rem 0.9rem;
  border-radius: 22px;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(239, 238, 236, 0.07) 0 1px,
      transparent 1px 18%
    );
  opacity: 0.5;
}

.experience-roles::after {
  content: '';
  position: absolute;
  top: 0.7rem;
  bottom: 0.7rem;
  left: 0.95rem;
  width: 0.6rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(70, 230, 255, 0.12), rgba(0, 0, 0, 0.22));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 18px rgba(70, 230, 255, 0.08);
  pointer-events: none;
}

.experience-role {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.95rem;
  align-items: start;
  padding: 1rem 1.15rem 1rem 0.9rem;
  margin-bottom: 0;
  border: 1px solid rgba(168, 255, 81, 0.18);
  border-radius: 999px 34px 34px 999px;
  background:
    linear-gradient(135deg, rgba(22, 37, 34, 0.9), rgba(11, 17, 18, 0.96)),
    radial-gradient(circle at 10% 50%, rgba(168, 255, 81, 0.1), transparent 18%),
    radial-gradient(circle at 88% 50%, rgba(70, 230, 255, 0.08), transparent 24%);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 10px 18px rgba(0, 0, 0, 0.12);
}

.experience-role:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(70, 230, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(31, 51, 47, 0.94), rgba(15, 24, 25, 0.99)),
    radial-gradient(circle at 10% 50%, rgba(168, 255, 81, 0.16), transparent 22%),
    radial-gradient(circle at 88% 50%, rgba(70, 230, 255, 0.14), transparent 28%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 14px 24px rgba(0, 0, 0, 0.18),
    0 0 24px rgba(70, 230, 255, 0.08);
}

.experience-role::before {
  content: '';
  position: absolute;
  left: 4.4rem;
  right: 3.6rem;
  top: 50%;
  height: 54%;
  transform: translateY(-50%);
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(239, 238, 236, 0.18) 0 1px,
      transparent 1px 8px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 14%, transparent 84%, rgba(70, 230, 255, 0.1));
  opacity: 0.78;
  pointer-events: none;
}

.experience-role::after {
  content: '';
  position: absolute;
  right: 2.55rem;
  top: 50%;
  width: 0.18rem;
  height: 56%;
  border-radius: 999px;
  transform: translateY(-50%);
  border: 1px solid rgba(70, 230, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(168, 255, 81, 0.7), rgba(70, 230, 255, 0.4));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 12px rgba(70, 230, 255, 0.12);
  opacity: 0.82;
  pointer-events: none;
}

.experience-role:nth-child(1) {
  width: 88%;
}

.experience-role:nth-child(2) {
  width: 96%;
  margin-left: 1.6rem;
}

.experience-role:nth-child(3) {
  width: 92%;
  margin-left: 0.7rem;
}

.experience-role:nth-child(4) {
  width: 98%;
  margin-left: 1.2rem;
}

.experience-role:nth-child(5) {
  width: 90%;
  margin-left: 2rem;
}

.experience-role-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(70, 230, 255, 0.16);
  border-radius: 999px 0.95rem 0.95rem 999px;
  position: relative;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(7, 12, 12, 0.96), rgba(18, 28, 28, 0.92)),
    radial-gradient(circle at 32% 50%, rgba(168, 255, 81, 0.15), transparent 50%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 16px rgba(70, 230, 255, 0.06);
  transform: translateX(0.15rem);
}

.experience-role-head::before,
.experience-role-head::after {
  content: '';
  position: absolute;
  right: 0.45rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: rgba(70, 230, 255, 0.8);
  box-shadow: 0 0 8px rgba(70, 230, 255, 0.18);
}

.experience-role-head::before {
  top: 0.72rem;
}

.experience-role-head::after {
  bottom: 0.72rem;
}

.experience-role-resonator {
  width: 2.7rem;
  height: 2.7rem;
  align-self: center;
  justify-self: end;
  border-radius: 46% 54% 52% 48%;
  border: 1px solid rgba(168, 255, 81, 0.18);
  background:
    radial-gradient(circle at 46% 50%, rgba(5, 10, 10, 0.96) 0 18%, rgba(168, 255, 81, 0.12) 19%, transparent 33%),
    radial-gradient(circle at 58% 50%, rgba(70, 230, 255, 0.08), transparent 68%),
    linear-gradient(135deg, rgba(11, 18, 18, 0.95), rgba(24, 36, 35, 0.82));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 18px rgba(168, 255, 81, 0.06);
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.experience-role-resonator::before {
  content: '';
  position: absolute;
  inset: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0.6;
}

.experience-role-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem 1rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-right: 0;
  padding-top: 0.18rem;
}

.experience-role-title {
  font-size: 1rem;
  color: #efeeec;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.experience-role-period {
  font-size: 0.72rem;
  color: rgba(239, 238, 236, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(5, 11, 11, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-summary {
  padding: 1rem 1.1rem;
  border-left: 3px solid rgba(168, 255, 81, 0.45);
  border-radius: 0 14px 14px 0;
  background: rgba(3, 6, 6, 0.34);
  color: rgba(239, 238, 236, 0.84);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: left;
  position: relative;
  z-index: 1;
}

.skills-constellation {
  width: 100%;
  max-width: 380px;
  min-height: 520px;
  margin-top: 0;
  border-radius: 28px;
  border: 1px solid rgba(70, 230, 255, 0.18);
  background:
    radial-gradient(circle at center, rgba(70, 230, 255, 0.11) 0%, transparent 46%),
    linear-gradient(145deg, rgba(10, 15, 16, 0.95), rgba(21, 31, 32, 0.82));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 20px 50px rgba(0, 0, 0, 0.28);
  animation-duration: 8s;
}

.skills-constellation::before,
.skills-constellation::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(70, 230, 255, 0.12);
  border-radius: 22px;
  pointer-events: none;
}

.skills-constellation::after {
  inset: auto 18px 18px;
  height: 48%;
  border-top: none;
  border-left: none;
  border-right: none;
}

.skills-header {
  width: 100%;
  padding: 1.5rem 1.5rem 0;
  margin-bottom: 0;
  text-align: left;
}

.skills-header h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.1rem;
  font-weight: 400;
  color: #f0f4d8;
  text-shadow: none;
}

.skills-subtitle {
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.18em;
  color: rgba(239, 238, 236, 0.52);
}

.skills-orbits {
  width: 100%;
  height: 360px;
  margin-top: 0.3rem;
}

.skill-orbit {
  border-style: dashed;
  border-color: rgba(168, 255, 81, 0.12);
}

.skill-node {
  background:
    linear-gradient(135deg, rgba(17, 24, 24, 0.94), rgba(34, 48, 49, 0.9)),
    radial-gradient(circle at top left, rgba(168, 255, 81, 0.12), transparent 50%);
  border: 1px solid rgba(168, 255, 81, 0.26);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.skill-node:hover {
  transform: scale(1.15) rotate(-4deg);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(168, 255, 81, 0.2);
}

.skill-category-label.engines {
  top: 1.25rem;
  left: 1.5rem;
  transform: none;
}

.skill-category-label.languages {
  bottom: 1.2rem;
  left: 1.5rem;
  transform: none;
  width: calc(100% - 3rem);
}

.interests-container {
  padding: clamp(2rem, 4vw, 3rem);
  min-height: auto;
  border: 1px solid rgba(255, 107, 71, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 107, 71, 0.09), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(70, 230, 255, 0.08), transparent 32%),
    linear-gradient(160deg, rgba(10, 10, 11, 0.96), rgba(21, 24, 24, 0.86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 72px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 30px 72px rgba(0, 0, 0, 0.34);
}

.interests-header h2 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  color: #f8ede3;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 22px rgba(255, 107, 71, 0.14),
    0 0 40px rgba(70, 230, 255, 0.1);
  animation: none;
}

.interests-header h2::before {
  left: 0;
  right: auto;
  top: auto;
  bottom: -0.45rem;
  width: min(32vw, 320px);
  transform: none;
  background: linear-gradient(90deg, rgba(255, 107, 71, 0.7), rgba(70, 230, 255, 0.1), transparent);
  animation: none;
}

.interests-subtitle {
  margin-top: 0.9rem;
  opacity: 1;
  animation: none;
}

.interests-constellation {
  max-width: none;
  min-height: auto;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 0;
}

.interest-node {
  width: 100%;
  animation-duration: 0.75s;
}

.interest-node:nth-child(1) {
  grid-column: span 7;
}

.interest-node:nth-child(2) {
  grid-column: span 5;
}

.interest-node:nth-child(3) {
  grid-column: span 5;
}

.interest-node:nth-child(4) {
  grid-column: span 7;
}

.interest-node:nth-child(odd) .interest-orb {
  transform: rotate(-0.6deg);
}

.interest-node:nth-child(even) .interest-orb {
  transform: rotate(0.75deg);
}

.interest-node.tone-cinema {
  --interest-accent: #ff8d5c;
  --interest-accent-soft: rgba(255, 141, 92, 0.13);
  --interest-border: rgba(255, 141, 92, 0.3);
}

.interest-node.tone-music {
  --interest-accent: #f05ceb;
  --interest-accent-soft: rgba(240, 92, 235, 0.12);
  --interest-border: rgba(240, 92, 235, 0.28);
}

.interest-node.tone-books {
  --interest-accent: #46e6ff;
  --interest-accent-soft: rgba(70, 230, 255, 0.12);
  --interest-border: rgba(70, 230, 255, 0.28);
}

.interest-node.tone-games {
  --interest-accent: #a8ff51;
  --interest-accent-soft: rgba(168, 255, 81, 0.12);
  --interest-border: rgba(168, 255, 81, 0.28);
}

.interest-orb {
  width: 100%;
  min-height: 290px;
  max-height: none;
  border-radius: 28px 10px 28px 10px;
  border: 1px solid var(--interest-border, rgba(168, 255, 81, 0.24));
  background:
    linear-gradient(145deg, rgba(11, 14, 15, 0.96), rgba(25, 30, 31, 0.88)),
    radial-gradient(circle at top left, var(--interest-accent-soft, rgba(168, 255, 81, 0.11)), transparent 50%);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.interest-orb::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 32%, transparent 70%, var(--interest-accent-soft, rgba(168, 255, 81, 0.09))),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 14px);
}

.interest-orb::after {
  inset: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px 6px 20px 6px;
}

.interest-node:hover .interest-orb {
  transform: translateY(-8px) rotate(0deg);
  border-color: var(--interest-accent, #a8ff51);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.34),
    0 0 0 1px var(--interest-border, rgba(168, 255, 81, 0.24)),
    0 0 26px var(--interest-accent-soft, rgba(168, 255, 81, 0.1));
  filter: none;
}

.interest-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem 0;
}

.interest-code {
  font-size: 0.68rem;
  color: var(--interest-accent, #a8ff51);
}

.interest-kicker {
  font-size: 0.64rem;
  color: rgba(239, 238, 236, 0.52);
}

.interest-content {
  align-items: flex-start;
  text-align: left;
  justify-content: flex-start;
  padding: 0.1rem 1.15rem 1.15rem;
  gap: 0.9rem;
}

.interest-heading {
  display: grid;
  gap: 0.25rem;
  width: 100%;
}

.interest-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.65rem, 2vw, 2.4rem);
  font-weight: 500;
  color: #f7f0df;
  letter-spacing: 0.04em;
  text-shadow: none;
}

.interest-node:hover .interest-title {
  color: var(--interest-accent, #a8ff51);
  text-shadow: 0 0 18px var(--interest-accent-soft, rgba(168, 255, 81, 0.14));
}

.interest-essence {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: rgba(239, 238, 236, 0.58);
  text-transform: uppercase;
  font-style: normal;
}

.interest-description {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(0, 0, 0, 0.24);
  color: rgba(239, 238, 236, 0.85);
  font-size: 0.92rem;
  line-height: 1.62;
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
}

.interest-footer {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.interest-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--interest-border, rgba(168, 255, 81, 0.22));
  background: var(--interest-accent-soft, rgba(168, 255, 81, 0.08));
  font-size: 0.62rem;
  color: rgba(239, 238, 236, 0.74);
}

.interest-links {
  justify-content: flex-end;
  gap: 0.55rem;
}

.interest-link {
  border-radius: 999px;
  border-color: var(--interest-border, rgba(70, 230, 255, 0.3));
  color: var(--interest-accent, #46e6ff);
  background:
    linear-gradient(135deg, var(--interest-accent-soft, rgba(70, 230, 255, 0.12)) 0%, rgba(255, 255, 255, 0.03) 100%),
    rgba(0, 0, 0, 0.12);
}

.interest-link:hover {
  border-color: var(--interest-accent, #a8ff51);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.28) inset,
    0 8px 20px var(--interest-accent-soft, rgba(168, 255, 81, 0.1));
}

.constellation-web {
  inset: 7% 3% 4%;
}

.web-connection {
  opacity: 0.38;
  filter: blur(0.2px);
}

/* Removed interest-svg styles since icons are no longer used */

/* Cinema SVG Animations */
.cinema-frame {
  animation: cinemaFrameGlow 3s ease-in-out infinite alternate;
  transform-origin: center;
}

.cinema-dot {
  animation: cinemaDotPulse 2s ease-in-out infinite;
}

.cinema-dot:nth-child(3) { animation-delay: 0.2s; }
.cinema-dot:nth-child(4) { animation-delay: 0.4s; }
.cinema-dot:nth-child(5) { animation-delay: 0.6s; }

.cinema-beam {
  animation: cinemaBeamSweep 4s linear infinite;
  transform-origin: 50px 15px;
}

@keyframes cinemaFrameGlow {
  0% { stroke-opacity: 0.5; transform: scale(1); }
  100% { stroke-opacity: 1; transform: scale(1.02); }
}

@keyframes cinemaDotPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes cinemaBeamSweep {
  0% { opacity: 0.2; transform: rotate(0deg); }
  50% { opacity: 0.6; transform: rotate(5deg); }
  100% { opacity: 0.2; transform: rotate(0deg); }
}

/* Music SVG Animations */
.music-wave {
  animation: musicWaveFlow 3s ease-in-out infinite;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.music-wave:nth-child(3) { animation-delay: 0.5s; }

.music-node {
  animation: musicNodeBeat 1.5s ease-in-out infinite;
}

.music-node:nth-child(4) { animation-delay: 0.2s; }
.music-node:nth-child(5) { animation-delay: 0.4s; }
.music-node:nth-child(6) { animation-delay: 0.6s; }

.music-bar {
  animation: musicBarDance 2s ease-in-out infinite;
  transform-origin: bottom;
}

.music-bar:nth-child(8) { animation-delay: 0.1s; }
.music-bar:nth-child(9) { animation-delay: 0.2s; }
.music-bar:nth-child(10) { animation-delay: 0.3s; }

@keyframes musicWaveFlow {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

@keyframes musicNodeBeat {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

@keyframes musicBarDance {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.4); }
}

/* Books SVG Animations */
.book-spine {
  animation: bookSpineShift 4s ease-in-out infinite;
  transform-origin: bottom;
}

.book-spine:nth-child(2) { animation-delay: 0.5s; }
.book-spine:nth-child(3) { animation-delay: 1s; }
.book-spine:nth-child(4) { animation-delay: 1.5s; }

.book-text {
  animation: bookTextReveal 3s ease-in-out infinite;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
}

.book-text:nth-child(6) { animation-delay: 1s; }

.book-dot {
  animation: bookDotGlow 2s ease-in-out infinite;
}

@keyframes bookSpineShift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.02); }
}

@keyframes bookTextReveal {
  0% { stroke-dashoffset: 20; opacity: 0.5; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -20; opacity: 0.5; }
}

@keyframes bookDotGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* Games SVG Animations */
.game-hex {
  animation: gameHexRotate 6s linear infinite;
  transform-origin: 50px 45px;
}

.game-hex:nth-child(3) { 
  animation: gameHexPulse 3s ease-in-out infinite;
  transform-origin: 50px 45px;
}

.game-node {
  animation: gameNodeOrbit 4s ease-in-out infinite;
  transform-origin: 50px 45px;
}

.game-node:nth-child(4) { animation-delay: 0s; }
.game-node:nth-child(5) { animation-delay: 1.3s; }
.game-node:nth-child(6) { animation-delay: 2.6s; }

.game-connect {
  animation: gameConnectPulse 2s ease-in-out infinite;
}

@keyframes gameHexRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes gameHexPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.6; }
}

@keyframes gameNodeOrbit {
  0% { transform: rotate(0deg) translateX(8px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(8px) rotate(-360deg); }
}

@keyframes gameConnectPulse {
  0%, 100% { opacity: 0.3; stroke-width: 1; }
  50% { opacity: 0.8; stroke-width: 2; }
}

/* Enhanced hover effects for SVGs */
.interest-node:hover .interest-svg {
  transform: scale(1.2);
}

.interest-node:hover .cinema-frame {
  animation-duration: 1s;
}

.interest-node:hover .music-node {
  animation-duration: 0.8s;
}

.interest-node:hover .book-spine {
  animation-duration: 2s;
}

.interest-node:hover .game-hex {
  animation-duration: 3s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .interests-container {
    padding: 3rem 1rem;
    min-height: 600px;
  }
  
  .interests-header h2 {
    font-size: 2.5rem;
    letter-spacing: 4px;
  }
  
  .interests-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
  }
  
  .interests-constellation {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 1.5rem;
    min-height: 0;
  }
  
  .interest-orb {
    width: 240px;
    min-height: 180px;
    max-height: 250px;
  }
  
  .interest-title {
    font-size: 1.1rem;
  }
  
  .interest-essence {
    font-size: 0.75rem;
  }
  
  .web-connection { display: none; }
}

@media (max-width: 480px) {
  .interests-container {
    padding: 2rem 1rem;
    min-height: 500px;
  }
  
  .interests-header h2 {
    font-size: 2rem;
    letter-spacing: 3px;
  }
  
  .interests-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  
  .interests-constellation {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
  }
  
  /* absolute offsets not needed in grid layout */
  
  .interest-orb {
    width: 220px;
    min-height: 160px;
    max-height: 220px;
  }
  
  .interest-title {
    font-size: 1rem;
  }
  
  .interest-essence {
    font-size: 0.7rem;
  }
  
  .interest-links { flex-direction: column; gap: 0.4rem; }
  
  .interest-link { padding: 0.4rem 0.7rem; font-size: 0.8rem; }
  
  .interest-description { max-width: 100%; width: 100%; padding: 0.75rem; font-size: 0.85rem; }
} 

