@charset "UTF-8";
@font-face {
  font-family: "x12y16pxMaruMonica";
  src: url("./X12Y16PXMARUMONICA.TTF") format("truetype");
}
/* ==========================================================================
   Light-mode overrides for Post page (body class: .light-post)
   Scoped so only the Post page becomes bright/clean.
   ========================================================================== */
.light-post {
  background-color: #fbfbfe;
  color: #101018;
}
.light-post::before {
  display: none; /* hide scanline overlay on light page */
}
.light-post #header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
  border-bottom: 1px solid rgba(16, 24, 40, 0.04);
}
.light-post .headers {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 24, 40, 0.04);
  box-shadow: none;
  color: #111;
}
.light-post h1, .light-post h2 {
  color: #0b3d91;
  text-shadow: none;
  animation: none;
}
.light-post .container,
.light-post .card,
.light-post .project-item,
.light-post .project-detail-tab {
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, 0.04);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
  color: #222;
}
.light-post .qualification-item {
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  border: 1px solid rgba(0, 0, 0, 0.04);
  color: #111;
}
.light-post .project-item h3,
.light-post .project-summary p {
  color: #0b3d91;
}
.light-post .project-item p,
.light-post .project-detail-text,
.light-post .learning-status {
  color: #333;
}
.light-post .project-link {
  background: #eef6ff;
  color: #0b3d91;
  border: 1px solid #cfe4ff;
}
.light-post .list-content {
  background: linear-gradient(180deg, #ffffff, #f6f7fa);
  border-left: 1px solid rgba(16, 24, 40, 0.04);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.04);
}
.light-post .list-content ul li a {
  color: #0b3d91;
  background: none;
}
.light-post .insta-label {
  color: #6b6b6b;
  text-shadow: none;
}
.light-post .toggle-image-btn,
.light-post .insta-btn {
  background: #f4f6fb;
  border-color: #d0d8ee;
  color: #0b3d91;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
}
.light-post .project-icon {
  border: 2px solid rgba(11, 61, 145, 0.08);
  background: linear-gradient(180deg, #eef7ff, #ffffff);
  box-shadow: none;
}
.light-post .watermark-center {
  background: rgba(255, 255, 255, 0.8);
  color: #222;
  box-shadow: none;
}
.light-post footer {
  color: #0b3d91;
  border-top: 1px solid rgba(16, 24, 40, 0.04);
  background: transparent;
}
.light-post a {
  color: #0b3d91;
}
.light-post .copy-tip {
  background: #ffffff;
  color: #0b3d91;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  border: 1px solid rgba(11, 61, 145, 0.06);
}
.light-post img {
  filter: none;
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff, 0.025em 0.04em 0 #fffc00;
  }
  15% {
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff, 0.025em 0.04em 0 #fffc00;
  }
  16% {
    text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff, -0.05em -0.05em 0 #fffc00;
  }
  49% {
    text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff, -0.05em -0.05em 0 #fffc00;
  }
  50% {
    text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff, 0 -0.04em 0 #fffc00;
  }
  99% {
    text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff, 0 -0.04em 0 #fffc00;
  }
  100% {
    text-shadow: -0.05em 0 0 #00fffc, -0.025em -0.04em 0 #fc00ff, -0.04em -0.025em 0 #fffc00;
  }
}
body {
  background-color: #0a0a0f;
  font-family: "x12y16pxMaruMonica", monospace;
  color: #e0e0ff;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(transparent, transparent 2px, rgba(32, 32, 48, 0.3) 2px, rgba(32, 32, 48, 0.3) 4px);
  pointer-events: none;
  z-index: 1;
}

#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 255, 252, 0.15);
}

.headers {
  margin: 8px 20px;
  padding: 8px 20px;
  border-radius: 2px;
  background: rgba(16, 16, 32, 0.7);
  border: 1px solid #00fffc;
  box-shadow: 0 0 15px rgba(0, 255, 252, 0.3);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.headers h1 {
  font-size: 2rem;
  margin: 2px 0;
  color: #00fffc;
  text-shadow: 0 0 8px rgba(0, 255, 252, 0.5);
}

.headers h2 {
  font-size: 1.2rem;
  margin: 2px 0;
  color: #fc00ff;
  text-shadow: 0 0 6px rgba(252, 0, 255, 0.4);
}

.headers h3 {
  font-size: 0.85rem;
  margin: 2px 0;
  color: #ffffff;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

.visitor-count {
  margin-top: 6px;
  color: #ffdd99;
  font-size: 0.95rem;
  text-shadow: 0 0 6px rgba(252, 0, 255, 0.08);
}

.headers::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 20%, rgba(0, 255, 252, 0.1) 40%, transparent 60%);
  animation: shine 3s infinite linear;
  pointer-events: none;
}

.list-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  height: 50px;
  width: 50px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background-color: rgba(16, 16, 32, 0.8);
  border: 1px solid #fc00ff;
  box-shadow: 0 0 10px rgba(252, 0, 255, 0.3);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.list-btn span {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
}

.list-btn span::before {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
  bottom: 8px;
}

.list-btn span::after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
  top: 8px;
}

#list-btn-check:checked ~ .list-btn span {
  background-color: rgba(255, 255, 255, 0);
  /* メニューオープン時は真ん中の線を透明にする */
}

#list-btn-check:checked ~ .list-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#list-btn-check:checked ~ .list-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

#list-btn-check {
  display: none;
}

.list-content {
  width: 50%;
  height: 100%;
  position: fixed;
  top: 0;
  right: -50%;
  z-index: 80;
  background: linear-gradient(135deg, rgba(16, 16, 32, 0.9), rgba(32, 16, 48, 0.9));
  transition: all 0.5s;
  box-shadow: -5px 0 20px rgba(252, 0, 255, 0.3);
  border-left: 1px solid #fc00ff;
  backdrop-filter: blur(10px);
}

.list-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(252, 0, 255, 0.05) 10px, rgba(252, 0, 255, 0.05) 20px);
  pointer-events: none;
}

.list-content ul {
  padding: 0 10px 0;
}

.list-content ul li {
  border-bottom: solid 1px rgba(0, 255, 252, 0.3);
  list-style: none;
  position: relative;
}

.list-content ul li:hover {
  background: rgba(0, 255, 252, 0.1);
}

.list-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #00fffc;
  text-shadow: 0 0 5px rgba(0, 255, 252, 0.5);
  text-decoration: none;
  padding: 12px 15px;
  position: relative;
  transition: all 0.3s ease;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(252, 0, 255, 0.15) 10px, rgba(252, 0, 255, 0.15) 20px);
  pointer-events: auto;
}

.list-content ul li a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #00fffc;
  transform: translateX(5px);
}

.list-content ul li a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #ffffff;
  border-right: solid 2px #ffffff;
  transform: rotate(45deg);
  position: absolute;
  right: 70px;
  top: 16px;
}

/* Submenu styles */
.menu-item-with-submenu {
  position: relative;
}

.submenu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(16, 16, 32, 0.95);
  border-left: 3px solid #fc00ff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.menu-item-with-submenu.open .submenu {
  display: block;
  max-height: 200px;
}

.submenu li {
  border-bottom: solid 1px rgba(0, 255, 252, 0.2);
  list-style: none;
}

.submenu li a {
  display: block;
  padding: 10px 15px 10px 30px;
  color: #fc00ff;
  text-decoration: none;
  font-size: 14px;
  text-shadow: 0 0 4px rgba(252, 0, 255, 0.4);
  transition: all 0.2s ease;
  background: none;
}

.submenu li a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px #fc00ff;
  padding-left: 35px;
}

#list-btn-check:checked ~ .list-content {
  right: 0;
}

h1, h2 {
  color: #00fffc;
  text-shadow: 0 0 10px rgba(0, 255, 252, 0.5);
  position: relative;
  animation: glitch 2s infinite;
}

h1::before, h2::before {
  content: attr(data-text);
  position: absolute;
  left: -2px;
  text-shadow: 2px 0 #fc00ff;
  top: 0;
  color: #00fffc;
  background: #0a0a0f;
  overflow: hidden;
  animation: noise-1 3s linear infinite alternate-reverse;
}

h1::after, h2::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  text-shadow: -2px 0 #fffc00;
  top: 0;
  color: #00fffc;
  background: #0a0a0f;
  overflow: hidden;
  animation: noise-2 3s linear infinite alternate-reverse;
}

@keyframes shine {
  to {
    transform: translate(25%, 25%);
  }
}
@keyframes noise-1 {
  0%, 20%, 40%, 60%, 70%, 90% {
    clip-path: inset(80% 0 0 0);
  }
  10%, 30%, 50%, 65%, 80%, 100% {
    clip-path: inset(0 0 80% 0);
  }
}
@keyframes noise-2 {
  0%, 20%, 40%, 60%, 70%, 90% {
    clip-path: inset(0 0 80% 0);
  }
  10%, 30%, 50%, 65%, 80%, 100% {
    clip-path: inset(80% 0 0 0);
  }
}
/* ============================================================================
   Steampunk Layout Additions (container, card, projects, languages, tree)
   ============================================================================ */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 28px;
  background: rgba(16, 16, 32, 0.8);
  border: 2px solid #00fffc;
  box-shadow: 0 0 20px rgba(0, 255, 252, 0.2);
  border-radius: 4px;
}

.card {
  margin-bottom: 30px;
  padding: 24px;
  background: rgba(32, 32, 48, 0.7);
  border: 1px solid #fc00ff;
  box-shadow: 0 0 15px rgba(252, 0, 255, 0.2);
  border-radius: 4px;
  position: relative;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #00fffc;
  font-size: 1.8rem;
}

/* Qualification card styles */
.qualifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px 0 0;
}

.qualification-item {
  background: linear-gradient(135deg, rgba(16, 16, 32, 0.85), rgba(32, 16, 48, 0.85));
  border: 1px solid rgba(252, 0, 255, 0.12);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(252, 0, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}

.qualification-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(252, 0, 255, 0.18);
}

.qualification-item h3 {
  margin: 0 0 6px 0;
  color: #fc00ff;
  text-shadow: 0 0 8px rgba(252, 0, 255, 0.25);
}

.qualification-meta {
  font-size: 13px;
  color: #bffcf9;
  margin-bottom: 8px;
}

.qualification-sep {
  border: none;
  border-top: 1px dashed rgba(191, 252, 249, 0.18);
  margin: 10px 0;
}

.qualification-desc {
  margin: 0;
  color: #e6ffff;
  line-height: 1.6;
  font-size: 0.95rem;
}

.qualification-year {
  color: #bffcf9;
  font-size: 0.7em;
  margin-left: 0.5em;
  white-space: nowrap; /* ← 折り返し防止 */
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.project-item {
  padding: 16px;
  background: linear-gradient(135deg, rgba(16, 16, 32, 0.9), rgba(32, 16, 48, 0.9));
  border: 1px solid #fc00ff;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-item:hover {
  box-shadow: 0 0 20px rgba(252, 0, 255, 0.4);
  transform: translateY(-4px);
}

.project-item h3 {
  margin-top: 0;
  color: #00fffc;
  font-size: 1.2rem;
}

.project-item p {
  color: #e0e0ff;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 8px 0;
}

.project-item p.artwork-title {
  color: #fc00ff;
  font-size: 1rem;
  font-weight: 600;
  min-height: 1.2em;
}

.project-item .gear {
  display: inline-block;
}

.project-item--interactive {
  overflow: hidden;
}

.project-card-trigger {
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: center;
}
.project-card-trigger:focus-visible {
  outline: 2px solid #00fffc;
  outline-offset: 4px;
}

.project-icon {
  width: 150px;
  height: 150px;
  border-radius: 16px;
  border: 2px solid rgba(0, 255, 252, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 255, 252, 0.15), rgba(0, 0, 0, 0.6)), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0 12px, rgba(0, 0, 0, 0.2) 12px 24px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0 12px, rgba(0, 0, 0, 0.2) 12px 24px);
  box-shadow: 0 0 35px rgba(0, 255, 252, 0.25), inset 0 0 15px rgba(0, 255, 252, 0.2);
  position: relative;
}

.othello-icon::after, .othello-icon::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 252, 0.3);
}

.onlyup-icon {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 55%), linear-gradient(160deg, rgba(0, 0, 0, 0.85), rgba(15, 10, 25, 0.95));
  overflow: hidden;
}

.onlyup-rocket {
  width: 32px;
  height: 82px;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(180deg, #ffffff 0%, #a7c7ff 70%, #f5f5f5 100%);
  position: relative;
  display: inline-block;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.onlyup-rocket::before, .onlyup-rocket::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 22px;
  background: linear-gradient(180deg, #ff5f9e, #ffb347);
  bottom: -18px;
  border-radius: 10px;
  filter: blur(0.5px);
}
.onlyup-rocket::before {
  left: -16px;
}
.onlyup-rocket::after {
  right: -16px;
}

.onlyup-star {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #fff5c7 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}
.onlyup-star--1 {
  top: 24px;
  left: 28px;
}
.onlyup-star--2 {
  bottom: 22px;
  right: 34px;
}

.uniuni-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #333;
  position: relative;
}
.uniuni-icon .uniuni-face {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uniuni-icon .uniuni-face::before {
  content: "● _ ●";
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}

.othello-piece {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}
.othello-piece--circle {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #d8d8ff);
  border: 2px solid rgba(0, 0, 0, 0.4);
}
.othello-piece--triangle {
  position: relative;
}
.othello-piece--triangle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-bottom: 48px solid #fc00ff;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.5));
}

.project-summary h3,
.project-summary p {
  margin: 0;
}
.project-summary p {
  margin-top: 4px;
}

.project-hint {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #ffcc00;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.5);
}

.project-detail-tab {
  margin-top: 18px;
  padding: 16px 18px 20px;
  background: rgba(8, 8, 16, 0.95);
  border: 1px solid rgba(0, 255, 252, 0.4);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 -6px 24px rgba(0, 255, 252, 0.15);
  position: relative;
}
.project-detail-tab::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 24px;
  width: 80px;
  height: 12px;
  background: rgba(0, 255, 252, 0.7);
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -4px 12px rgba(0, 255, 252, 0.3);
}
.project-detail-tab[hidden] {
  display: none;
}

.project-detail-text {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border: 1px solid #fc00ff;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(252, 0, 255, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}
.project-link::after {
  content: "↗";
}
.project-link:hover {
  background: rgba(252, 0, 255, 0.3);
  transform: translateY(-1px);
}

.project-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-frame {
  flex: 1;
  max-width: 450px;
  width: min(100%, 450px);
  aspect-ratio: 1/1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 252, 0.2);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  position: absolute;
  inset: 0;
  padding: 6px;
  box-sizing: border-box;
}
.carousel-slide.is-active {
  display: block;
}

.carousel-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 252, 0.5);
  background: rgba(252, 0, 255, 0.2);
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.carousel-nav:hover {
  background: rgba(252, 0, 255, 0.35);
  transform: scale(1.05);
}

/* Skills Category */
.skills-category {
  margin-bottom: 40px;
}

.skills-category:last-child {
  margin-bottom: 0;
}

.skills-category-title {
  font-size: 1.3rem;
  color: #fc00ff;
  margin-bottom: 20px;
  margin-top: 0;
  text-shadow: 0 0 8px rgba(252, 0, 255, 0.4);
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(252, 0, 255, 0.3);
}

/* Languages Grid */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 120px));
  gap: 20px;
  margin-top: 20px;
  justify-content: start;
}

.learning-intro {
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(8, 8, 16, 0.7);
  border: 1px solid rgba(0, 255, 252, 0.3);
  border-radius: 6px;
  box-shadow: inset 0 0 12px rgba(0, 255, 252, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.learning-status {
  margin: 0;
  color: #e0e0ff;
  line-height: 1.6;
  font-size: 0.95rem;
}

.learning-books {
  padding: 12px 14px;
  background: rgba(252, 0, 255, 0.08);
  border: 1px dashed rgba(252, 0, 255, 0.4);
  border-radius: 6px;
}

.learning-books__title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffcc00;
  margin-bottom: 8px;
}

.learning-books__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.learning-book-item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  padding: 6px 8px;
}

.learning-book-item__title {
  font-weight: 600;
  color: #00fffc;
}

.learning-book-item__note {
  font-size: 0.8rem;
  color: #ffcc00;
}

.language-item {
  position: relative;
}

.language-icon-trigger {
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.language-icon-trigger:focus-visible {
  outline: 2px solid #00fffc;
  outline-offset: 4px;
  border-radius: 4px;
}

.language-icon-trigger:hover {
  transform: scale(1.1);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(252, 0, 255, 0.08);
  border: 1px solid #fc00ff;
  border-radius: 8px;
  padding: 6px;
  transition: all 0.3s ease;
}

.language-icon-trigger:hover .icon-wrapper {
  background: rgba(252, 0, 255, 0.15);
  box-shadow: 0 0 15px rgba(252, 0, 255, 0.4);
}

.icon-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 255, 252, 0.3));
}

.language-icon-trigger p {
  color: #00fffc;
  font-size: 0.85rem;
  margin: 0;
}

.language-detail-tab {
  margin-top: 16px;
  padding: 16px;
  background: rgba(16, 16, 32, 0.85);
  border: 1px solid rgba(0, 255, 252, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease-out;
  overflow: hidden;
}

.language-detail-tab[hidden] {
  display: none;
}

.language-detail-text {
  margin: 0;
  color: #e0e0ff;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
  }
}
.proficiency {
  font-size: 0.75rem;
  margin-top: 4px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Proficiency level colors based on data-level attribute */
.proficiency[data-level="1"] {
  color: #ff6b6b; /* Red for + */
}

.proficiency[data-level="2"] {
  color: #ffa500; /* Orange for ++ */
}

.proficiency[data-level="3"] {
  color: #ffcc00; /* Yellow for +++ */
}

/* About Me Tree */
.about-tree {
  margin-top: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tree-item {
  margin: 0;
  padding-left: 34px;
  list-style: none;
  position: relative;
}

.tree-date {
  display: block;
  font-size: 0.95rem;
  color: #00fffc;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-shadow: 0 0 6px rgba(0, 255, 252, 0.3);
}

.tree-children {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tree-children > li {
  position: relative;
  padding: 18px 20px;
  background: rgba(16, 16, 32, 0.78);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 255, 252, 0.12);
}

.tree-children > li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0;
  bottom: 0;
  width: 12px;
  border-left: 2px solid rgba(0, 255, 252, 0.35);
}

.tree-children > li::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 28px;
  width: 18px;
  border-top: 2px solid rgba(0, 255, 252, 0.35);
}

.tree-children > li:last-child::before {
  -o-border-image: linear-gradient(to bottom, rgba(0, 255, 252, 0.35), rgba(0, 255, 252, 0)) 1;
     border-image: linear-gradient(to bottom, rgba(0, 255, 252, 0.35), rgba(0, 255, 252, 0)) 1;
}

.tree-node-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tree-node {
  display: block;
  padding: 10px 14px;
  margin: 0;
  background: rgba(252, 0, 255, 0.12);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #e0e0ff;
  font-size: 0.97rem;
  transition: all 0.2s ease;
}

.tree-node:hover {
  background: rgba(252, 0, 255, 0.22);
  color: #00fffc;
  text-shadow: 0 0 12px rgba(0, 255, 252, 0.45);
}

/* Gear element (Pure CSS) */
.gear {
  --size: 72px;
  width: var(--size);
  height: var(--size);
  display: inline-block;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 10%, rgba(0, 0, 0, 0.2) 80%), conic-gradient(#fc00ff 0deg 30deg, rgba(0, 0, 0, 0.1) 30deg 60deg, #fc00ff 60deg 90deg, rgba(0, 0, 0, 0.15) 90deg 120deg, #fc00ff 120deg 150deg, rgba(0, 0, 0, 0.1) 150deg 180deg, #fc00ff 180deg 210deg, rgba(0, 0, 0, 0.12) 210deg 240deg, #fc00ff 240deg 270deg, rgba(0, 0, 0, 0.08) 270deg 300deg, #fc00ff 300deg 330deg, rgba(0, 0, 0, 0.08) 330deg 360deg);
  box-shadow: 0 0 15px rgba(252, 0, 255, 0.4), inset 0 4px 8px rgba(255, 255, 255, 0.08);
}

/* Hobby page image styling */
.hobby-image {
  margin: 12px 0 8px;
  text-align: center;
}

.hobby-image img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  width: min(520px, 92%);
  border-radius: 6px;
  border: 2px solid #fc00ff;
  box-shadow: 0 8px 24px rgba(252, 0, 255, 0.12), 0 2px 6px rgba(0, 0, 0, 0.5) inset;
}

/* discourage saving: project media wrapper + center watermark */
.project-media {
  position: relative;
  display: block;
  margin: auto;
  width: -moz-fit-content;
  width: fit-content;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  margin-top: auto;
}

.project-media img {
  -webkit-user-drag: none;
}

.watermark {
  position: absolute;
  pointer-events: none;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
  text-align: center;
  text-transform: none;
}

/* center horizontal bar watermark */
.watermark-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.3);
  color: #0a0a0a;
  padding: 8px 24px;
  font-size: 1rem;
  line-height: 1.2;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  max-width: 90%;
  white-space: normal;
  overflow-wrap: break-word;
}

/* stronger overlay variant: repeated faint stripes across image (optional) */
.project-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(252, 0, 255, 0.02) 0 8px, transparent 8px 16px);
  pointer-events: none;
}

@media (max-width: 640px) {
  .watermark-center {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}
@media (max-width: 640px) {
  .project-icon {
    width: 120px;
    height: 120px;
  }
  .project-detail-tab {
    padding: 14px;
  }
  .project-carousel {
    flex-direction: column;
  }
  .carousel-frame {
    width: 100%;
    min-height: 180px;
  }
  .carousel-nav {
    width: 42px;
    height: 42px;
  }
}
/* Disclaimer for images / works */
.disclaimer {
  font-size: 0.82rem;
  color: #e0c6ff;
  margin-top: 8px;
  opacity: 0.95;
  text-align: center;
  padding: 8px 12px;
  border-top: 1px solid rgba(252, 0, 255, 0.08);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: #f3e6ff;
  opacity: 0.9;
  margin: 12px 0 6px;
}

/* Bottom section: gear and instagram button side-by-side */
.bottom-section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 12px;
  gap: 12px;
}

.bottom-section .insta-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.insta-label {
  color: #ffddcc;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(252, 0, 255, 0.12);
  white-space: nowrap;
}

/* Image toggle button */
.toggle-image-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(252, 0, 255, 0.15);
  border: 1.5px solid #fc00ff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(252, 0, 255, 0.2);
}

.toggle-image-btn:hover {
  background: rgba(252, 0, 255, 0.25);
  box-shadow: 0 6px 16px rgba(252, 0, 255, 0.35);
  transform: scale(1.1);
}

.toggle-image-btn:active {
  transform: scale(0.95);
}

/* Instagram button under each work */
.insta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid #fc00ff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transition: all 0.3s ease;
}

.insta-btn svg {
  display: block;
}

.insta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.36);
}

.gear::after {
  content: "";
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #ffcccc, rgba(252, 0, 255, 0.1));
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.06);
}

.gear--small {
  --size: 44px;
}

.gear--large {
  --size: 110px;
}

.gear.spin {
  animation: slow-spin 18s linear infinite;
}

@keyframes slow-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
footer {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  color: #00fffc;
  font-size: 0.85rem;
  border-top: 1px solid #fc00ff;
}

.social-links {
  margin: 12px 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(252, 0, 255, 0.1);
  border: 1px solid #fc00ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(252, 0, 255, 0.3);
  box-shadow: 0 0 15px rgba(252, 0, 255, 0.5);
  transform: translateY(-2px);
}

.social-icon img {
  width: 24px;
  height: 24px;
  filter: invert(1) brightness(1.2);
}

/* social item wrapper and label */
.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.social-label {
  color: #00fffc;
  font-size: 0.75rem;
  margin-bottom: 4px;
}

/* Copy button for email */
.copy-btn {
  margin-top: 6px;
  padding: 6px 10px;
  font-size: 0.75rem;
  color: #0a0a0f;
  /* background: #ffcc00; */
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.copy-btn:hover {
  transform: translateY(-2px);
}

.copy-btn.copied {
  background: #9be23a;
  color: #06210a;
}

/* copy tip (cyberpunk style) */
.copy-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #00fffc;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(8, 6, 18, 0.85));
  box-shadow: 0 0 18px rgba(0, 255, 252, 0.35), 0 0 36px rgba(252, 0, 255, 0.12) inset;
  border: 1px solid rgba(0, 255, 252, 0.6);
  transform: translate(-50%, 8px);
  z-index: 20;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.22s ease;
}

.copy-tip.show {
  opacity: 1;
  transform: translate(-50%, -2px);
}/*# sourceMappingURL=style.css.map */