:root {
  --bg-color: #0a0a0a;
  --white: #f4f4f5;
  --primary-color: #26e6ff; /* #00ff88 */
  --secondary-color: #a1a1aa;
  --card-bg: #111111;
  --border-color: #333333;
  --text-muted: #a1a1aa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  scroll-padding-top: 10vh;
  background-color: var(--bg-color);
  color: var(--white);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

hr {
  background-color: var(--border-color);
  border: none;
  height: 1px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 9vh;
  transition: 0.3s;
  z-index: 999;
}

header ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

header ul li {
  list-style: none;
}

header ul li a {
  color: var(--white);
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

header ul li a:hover {
  color: var(--primary-color);
}

header ul li a::after {
  content: "";
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  position: absolute;
  left: 0;
  bottom: -4px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

header ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

header .fas {
  display: none;
}

/* Main */
main {
  overflow: auto;
}

/* Profile Section */
.content-profile {
  padding-top: 10vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
}

.content-profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    var(--bg-color) 80%
  );
  pointer-events: none;
}

.content-profile .profile-photo {
  object-fit: cover;
  object-position: top center;
  width: 240px;
  height: 240px;
  border: 2px solid var(--white);
  box-shadow: 8px 8px 0px var(--primary-color);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.content-profile .profile-photo:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px var(--primary-color);
}

.content-profile .introduction {
  width: 100%;
  max-width: 800px;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.content-profile .introduction h1 {
  font-size: clamp(12px, 4.5vw, 48px);
  margin-bottom: 8px;
  line-height: 1.2;
  white-space: nowrap;
}

.content-profile .introduction .role-subtitle {
  font-size: clamp(10px, 3vw, 24px);
  color: var(--primary-color);
  margin-bottom: 24px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
}

#hello {
  color: var(--primary-color);
}

.content-profile .name {
  color: var(--white);
  position: relative;
  display: inline-block;
}

.content-profile .name::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: var(--primary-color);
  z-index: -1;
  opacity: 0.5;
}

.content-profile .introduction p {
  font-size: 18px;
  text-align: justify;
  margin-bottom: 20px;
}

/* Scrolling Chips */
.scrolling-chips-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 40px;
  padding: 10px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.scrolling-chips {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll-left 25s linear infinite;
}

.scrolling-chips:hover {
  animation-play-state: paused;
}

.scrolling-chips .chip {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--white);
  padding: 8px 20px;
  font-size: 14px;
  font-family: "Syne", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.scrolling-chips .chip:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 2px 2px 0px var(--primary-color);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 8px));
  }
}

/* Section Titles */
.title {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  display: inline-block;
}

.title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -60px;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -60px;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

/* Two Column Layout */
.content-two-column {
  display: flex;
  flex-direction: row;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 20px;
  gap: 0;
  border-top: 1px solid var(--border-color);
}

.column-left,
.column-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.column-left {
  border-right: 1px solid var(--border-color);
  padding-right: 40px;
}

.column-right {
  padding-left: 40px;
}

/* Experience Section */
.content-experience {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#experience-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-experience .company-group {
  width: 100%;
  max-width: 900px;
  margin-bottom: 20px;
}

.content-experience .company-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 24px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.content-experience .company-link {
  color: var(--primary-color);
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content-experience .company-link:hover {
  text-decoration: underline;
}

.content-experience .company-role-count {
  font-size: 11px;
  color: var(--text-muted);
  font-family: "Syne", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content-experience > a {
  color: var(--bg-color);
  background-color: var(--primary-color);
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 32px;
  border: 2px solid var(--primary-color);
  margin-bottom: 40px;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0px var(--white);
}

.content-experience > a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--white);
}

.content-experience .job {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 24px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 900px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  background-color: transparent;
  border: none;
}

.content-experience .job:hover {
  background-color: rgba(255, 255, 255, 0.03);
  transform: none;
  box-shadow: none;
}

.content-experience .job-duration-col {
  flex: 0 0 150px;
  padding-top: 4px;
}

.content-experience .job-duration {
  font-size: 12px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

.content-experience .job-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content-experience .job-title {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 4px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
}

.content-experience .job-status-indicator {
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--primary-color);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.content-experience .job-company {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content-experience .job-details {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.content-experience .job-details li {
  margin-bottom: 8px;
}

.content-experience .job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.content-experience .job-skills .skill-tag {
  background-color: color-mix(in srgb, var(--primary-color) 10%, transparent);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.content-experience .job.is-past .job-title {
  color: var(--secondary-color);
}

.content-experience .job.is-past .job-skills .skill-tag {
  background-color: color-mix(in srgb, var(--secondary-color) 12%, transparent);
  color: var(--secondary-color);
}

/* Skillsets Section */
.content-skillsets {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.content-skillsets .lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  width: 100%;
}

.content-skillsets .lists .skill {
  display: flex;
  align-items: center;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.content-skillsets .lists .skill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.content-skillsets .lists .skill:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px 0px var(--border-color);
  border-color: var(--white);
}

.content-skillsets .lists .skill:hover::before {
  transform: scaleY(1);
}

.content-skillsets .lists .skill img {
  width: 40px;
  height: 40px;
  margin-right: 16px;
  transition: transform 0.3s;
}

.content-skillsets .lists .skill:hover img {
  transform: scale(1.1);
}

.content-skillsets .lists .skill .container {
  display: flex;
  flex-direction: column;
}

.content-skillsets .lists .skill .container .skill-title {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 4px;
}

.content-skillsets .lists .skill .container .skill-level {
  font-size: 12px;
  color: var(--primary-color);
  font-family: "Syne", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Work Timeline Section */
.content-timeline {
  padding: 80px 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  border-top: 1px solid var(--border-color);
}

.timeline-scroll {
  width: 100%;
  max-width: 1200px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
}

.timeline-scroll::-webkit-scrollbar {
  height: 10px;
}

.timeline-scroll::-webkit-scrollbar-track {
  background: var(--bg-color);
}

.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.timeline-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.timeline-grid {
  display: flex;
  flex-direction: column;
}

.timeline-header,
.timeline-row {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.timeline-header {
  border-bottom: 1px solid var(--border-color);
}

.timeline-header-label {
  border-right: 1px solid var(--border-color);
  min-height: 56px;
}

.timeline-axis {
  position: relative;
  min-height: 70px;
  border-bottom: 1px solid var(--border-color);
}

.timeline-month {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px solid
    color-mix(in srgb, var(--border-color) 75%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  padding: 6px 0 8px 6px;
}

.timeline-month.is-year-start {
  border-left: 1px dashed var(--border-color);
}

.timeline-month-label {
  font-size: 10px;
  color: var(--text-muted);
  font-family: "Syne", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.timeline-year-label {
  font-size: 12px;
  color: var(--text-muted);
  font-family: "Syne", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-row {
  border-bottom: 1px solid var(--border-color);
}

.timeline-row:last-child {
  border-bottom: none;
}

.timeline-label {
  padding: 16px;
  border-right: 1px solid var(--border-color);
}

.timeline-role {
  font-size: 15px;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 4px;
}

.timeline-company {
  color: var(--primary-color);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-company-link {
  text-decoration: none;
}

.timeline-company-link:hover {
  text-decoration: underline;
}

.timeline-row-track {
  position: relative;
  min-height: 72px;
}

.timeline-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  border: 1px solid var(--timeline-color, var(--primary-color));
  background-color: color-mix(
    in srgb,
    var(--timeline-color, var(--primary-color)) 12%,
    transparent
  );
  display: flex;
  align-items: center;
  padding: 0 10px;
  white-space: nowrap;
}

.timeline-bar.is-past {
  --timeline-color: var(--secondary-color);
}

.timeline-bar span {
  font-size: 11px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Projects Section */
.content-projects {
  padding: 80px 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  border-top: 1px solid var(--border-color);
}

.content-projects .lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  max-width: 1200px;
  width: 100%;
}

.content-projects .lists .project {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.content-projects .lists .project::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary-color);
  z-index: -1;
  transition: all 0.3s ease;
}

.content-projects .lists .project:hover {
  transform: translate(-4px, -4px);
  border-color: var(--white);
}

.content-projects .lists .project:hover::after {
  transform: translate(8px, 8px);
  background-color: color-mix(in srgb, var(--primary-color) 5%, transparent);
}

.content-projects .lists .project .image-a {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.content-projects .lists .project .image-a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-projects .lists .project:hover .image-a img {
  transform: scale(1.05);
}

.content-projects .lists .project .image-a .cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 10, 10, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-projects .lists .project .image-a:hover .cover {
  opacity: 1;
}

.content-projects .lists .project .image-a .cover a {
  color: var(--bg-color);
  background-color: var(--primary-color);
  padding: 12px 24px;
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid var(--primary-color);
  transition: all 0.2s ease;
}

.content-projects .lists .project .image-a .cover a:hover {
  background-color: var(--white);
  border-color: var(--white);
}

.content-projects .lists .project .info {
  padding: 24px;
  flex-grow: 1;
}

.content-projects .lists .project .info h3 {
  font-size: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-projects .lists .project .info p {
  font-size: 15px;
  margin-bottom: 16px;
}

.content-projects .lists .project .info .external-link-mobile {
  display: none;
}

.content-projects .lists .project .tech-stack {
  padding: 0 24px 24px;
}

.content-projects .lists .project .tech-stack ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.content-projects .lists .project .tech-stack ul li {
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 4px 12px;
  font-size: 12px;
  font-family: "Syne", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.content-projects .lists .project:hover .tech-stack ul li {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--card-bg);
  padding: 40px 20px;
  text-align: center;
}

footer h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

footer ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
}

footer ul li a {
  color: var(--text-muted);
  font-size: 28px;
  transition:
    color 0.3s,
    transform 0.3s;
  display: inline-block;
}

footer ul li a:hover {
  color: var(--primary-color);
  transform: translateY(-4px);
}

footer .footer-note {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.8;
}

/* Responsive */
@media only screen and (max-width: 992px) {
  .content-two-column {
    flex-direction: column;
    gap: 80px;
  }

  .column-left {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 80px;
  }

  .column-right {
    padding-left: 0;
  }
}

@media only screen and (max-width: 768px) {
  .content-experience .company-heading {
    margin: 0 16px 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .content-experience .job {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .content-experience .job-duration-col {
    flex: none;
    padding-top: 0;
  }

  .content-profile .introduction {
    padding: 0 10px;
  }

  .title {
    font-size: 32px;
  }

  .title::before,
  .title::after {
    width: 20px;
  }

  .title::before {
    left: -30px;
  }
  .title::after {
    right: -30px;
  }

  header {
    padding: 0 20px;
  }

  header .fas {
    display: block;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
  }

  header ul {
    background-color: var(--card-bg);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    padding-top: 80px;
    transition: right 0.3s ease;
  }

  header ul .fas {
    position: absolute;
    top: 20px;
    left: 20px;
  }

  header ul li {
    margin: 16px 0;
  }

  .content-projects .lists .project .image-a .cover {
    display: none;
  }

  .content-projects .lists .project .info .external-link-mobile {
    display: inline;
  }

  .content-projects .lists .project .info .external-link-mobile a {
    color: var(--primary-color);
  }

  .timeline-header,
  .timeline-row {
    grid-template-columns: 180px 1fr;
  }

  .timeline-label {
    padding: 10px;
  }

  .timeline-role {
    font-size: 14px;
    line-height: 1.35;
  }

  .timeline-company {
    font-size: 11px;
  }

  .timeline-bar {
    height: 28px;
    padding: 0 8px;
  }

  .timeline-bar span {
    font-size: 10px;
  }

  .timeline-axis {
    min-height: 64px;
  }

  .timeline-month {
    padding-left: 4px;
  }

  .timeline-month-label {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .timeline-year-label {
    font-size: 10px;
  }
}
