/* Notion-inspired Portfolio */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* cursor: auto; */
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #e9e9e7;
  background: #fefefe;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding: 2rem;
  min-height: 100vh;
  position: relative;
}

/* Dynamic Background Images */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/bg1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.6;
  z-index: -2;
  transition: opacity 0.3s ease;
  /* Fallback gradient if image doesn't load */
  background-color: #f0f0f0;
}

/* Overlay to ensure readability */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(254, 254, 254, 0.75);
  z-index: -1;
  transition: background 0.3s ease;
}

/* General link styling with Notion-style underlines */
a {
  text-decoration: underline;
  text-decoration-color: rgba(55, 53, 47, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  color: inherit;
  transition: text-decoration-color 0.15s ease;
}

a:hover {
  text-decoration-color: rgba(55, 53, 47, 0.8);
}

/* Exception for navigation links - tab styling */
.nav-link {
  text-decoration: none !important;
  color: #6f6f6f;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  padding: 16px 20px 12px 20px;
  background: #f7f7f5;
  border: 1px solid #e9e9e7;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  position: relative;
  margin-right: 4px;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}

.nav-link:hover {
  color: #37352f;
  text-decoration: none !important;
  background: #fefefe;
  transform: translateY(-2px);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.nav-link:first-child {
  margin-left: 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #fefefe;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.nav-link:hover::after {
  opacity: 1;
}

/* Active/Current page tab styling */
.nav-link.active,
.nav-link[href="#home"]:target {
  background: #fefefe;
  color: #37352f;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.nav-link.active::after {
  opacity: 1;
}

/* Dark mode general links */
body.dark-mode a {
  text-decoration-color: rgba(233, 233, 231, 0.4);
}

body.dark-mode a:hover {
  text-decoration-color: rgba(233, 233, 231, 0.8);
}

body.dark-mode .nav-link {
  color: #9b9a97;
  text-decoration: none !important;
  background: #2f2f2f;
  border-color: #3f3f3f;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
}

body.dark-mode .nav-link:hover {
  color: #e9e9e7;
  text-decoration: none !important;
  background: #1a1a1a;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nav-link::after {
  background: #1a1a1a;
}

/* Dark mode active tab */
body.dark-mode .nav-link.active {
  background: #1a1a1a;
  color: #e9e9e7;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navbar {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 0 2rem;
  position: relative;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
}

/* Main Container */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 40px;
  background: #fefefe;
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 1px solid #e9e9e7;
  border-top: none;
  margin-top: -1px;
}

/* Main Content */
.main-content {
  padding: 0;
}

/* Tab Content Switching */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Profile Section */
.profile {
  margin-bottom: 28px;
  text-align: left;
}

.profile-image {
  margin-bottom: 24px;
}

.image-placeholder {
  width: 120px;
  height: 120px;
  background: #f7f7f5;
  border: 3px solid #e9e9e7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: #37352f;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /* Smooth image scaling to reduce pixelation */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: smooth;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* Additional smoothing properties */
  -webkit-filter: blur(0);
  filter: blur(0);
}

.image-placeholder img.active {
  opacity: 1;
}

.profile h1 {
  font-size: 40px;
  font-weight: 700;
  color: #37352f;
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.title {
  font-size: 18px;
  color: #6f6f6f;
  font-weight: 500;
  margin: 0 0 20px 0;
}

.description {
  font-size: 16px;
  color: #6f6f6f;
  line-height: 1.6;
  max-width: 580px;
  margin: 0;
}

.music-description {
  font-size: 16px;
  color: #6f6f6f;
  line-height: 1.6;
  max-width: 580px;
  margin: 0;
  margin-bottom: 12px;
}

/* Sections */
section {
  position: relative;
  padding-bottom: 28px;
}

section:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: #e9e9e7;
}

section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #37352f;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 16px;
}

section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #37352f;
  border-radius: 2px;
}

/* Work Experience */
.job {
  margin-bottom: 12px;
  padding-bottom: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 40px;
}

.job:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.job-header {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.job-expand-icon {
  position: absolute;
  left: -36px;
  top: 6px;
  color: #9b9a97;
  font-size: 16px;
  transition: transform 0.15s ease, color 0.15s ease;
  pointer-events: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-family: sans-serif;
}

.job:hover .job-expand-icon {
  color: #37352f;
}

.job.expanded .job-expand-icon {
  transform: rotate(90deg);
  color: #37352f;
}

.job-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  margin-top: 0;
  margin-left: 4px;
}

.job.expanded .job-description {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
  margin-bottom: 8px;
}

.job-description p {
  margin: 0 0 12px 0;
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.5;
}

.job-title-with-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.company-logo {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  background: #f7f7f5;
  border: 1px solid #e9e9e7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.job-info {
  flex: 1;
}

.job h3 {
  font-size: 18px;
  font-weight: 600;
  color: #37352f;
  margin: 0 0 4px 0;
  line-height: 1.3;
  position: relative;
}

.company {
  color: #37352f;
  font-weight: 500;
  font-size: 16px;
  margin-right: 12px;
}

.date {
  color: #9b9a97;
  font-size: 14px;
  font-weight: 400;
}

.job ul {
  list-style: none;
  padding-left: 0;
  margin-top: 16px;
}

.job ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.5;
}

.job ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #9b9a97;
  font-weight: 600;
}

/* Technologies */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.tech-category {
  padding: 20px 0;
  border-bottom: 1px solid #f1f1ef;
}

.tech-category:last-child {
  border-bottom: none;
}

.tech-category h3 {
  font-size: 16px;
  font-weight: 600;
  color: #37352f;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.tech-category p {
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.5;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.project-item {
  padding-top: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f1ef;
  position: relative;
}

.project-item:last-child {
  border-bottom: none;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 12px;
}

.project-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #37352f;
  margin: 0 0 16px 0;
  line-height: 1.3;
  position: relative;
  padding-bottom: 8px;
}

.project-item h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #e9e9e7;
  border-radius: 1px;
}

.project-github-image {
  width: 100%;
  max-width: 400px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f7f5;
  border: 1px solid #e9e9e7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9b9a97;
  font-size: 48px;
  margin: 0 0 16px 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
}

.project-github-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none !important;
}

.project-github-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-item p {
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f7f7f5;
  color: #37352f;
  font-size: 12px;
  font-weight: 500;
  border-radius: 16px;
  border: 1px solid #e9e9e7;
}

.job-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.job-tech .tech-tag {
  background: #e8f4fd;
  color: #0969da;
  border-color: #d0d7de;
}

/* Contact */
.contact-info p {
  margin-bottom: 8px;
  font-size: 15px;
  color: #6f6f6f;
}

.contact-info strong {
  color: #37352f;
  font-weight: 500;
}

/* Recent Posts */
.recent-posts-list {
  margin-bottom: 16px;
}

.recent-post-item {
  padding: 16px 0;
  border-bottom: 1px solid #f1f1ef;
}

.recent-post-item:last-child {
  border-bottom: none;
}

.recent-post-item .post-date {
  color: #9b9a97;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.recent-post-item h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
}

.recent-post-item h3 a {
  color: #37352f;
  text-decoration: underline;
  text-decoration-color: rgba(55, 53, 47, 0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 0.15s ease;
}

.recent-post-item h3 a:hover {
  text-decoration-color: rgba(55, 53, 47, 0.6);
}

.recent-post-item p {
  margin: 0;
  color: #6f6f6f;
  font-size: 14px;
  line-height: 1.5;
}

.view-all-posts {
  text-align: right;
  margin-top: 12px;
}

.view-all-posts a {
  color: #6f6f6f;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(111, 111, 111, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 0.15s ease;
}

.view-all-posts a:hover {
  color: #37352f;
  text-decoration-color: rgba(55, 53, 47, 0.6);
}

/* Music Section */
.music-item {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f1f1ef;
}

.music-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.music-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #37352f;
  margin-bottom: 1rem;
}

.music-item iframe {
  border-radius: 8px;
  margin-bottom: 1rem;
}

.music-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.music-info .tech-tag {
  font-size: 12px;
}

/* Footer */
.footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #f1f1ef;
  text-align: center;
  color: #9b9a97;
  font-size: 14px;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-icons a {
  text-decoration: none !important;
  color: #6f6f6f;
  font-size: 20px;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 64px;
  background: #f7f7f5;
  border: 1px solid #e9e9e7;
}

.contact-icons a:hover {
  color: #37352f;
  text-decoration: none !important;
  transform: translateY(-2px);
  background: #fefefe;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid #e9e9e7;
  background: #fefefe;
  color: #6f6f6f;
  font-size: 16px;
  /* cursor: pointer; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.floating-btn:hover {
  background: #f7f7f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.back-to-top-btn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dark Mode Styles */
body.dark-mode {
  background: #191919;
  color: #e9e9e7;
}

/* Dark mode background image */
body.dark-mode::before {
  background-image: url("assets/bg1.png");
  opacity: 0.25;
  /* Fallback gradient if image doesn't load */
  background-color: #545353;
}

/* Dark mode overlay */
body.dark-mode::after {
  background: rgba(25, 25, 25, 0.75);
}

body.dark-mode .container {
  background: #1a1a1a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: #6c6c6c;
}

body.dark-mode .navbar {
  border-bottom-color: #3f3f3f;
}

body.dark-mode .image-placeholder {
  background: #2f2f2f;
  border-color: #3f3f3f;
  color: #9b9a97;
  border-width: 3px;
}

body.dark-mode .image-placeholder img {
  border-radius: 50%;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
  color: #e9e9e7;
}

body.dark-mode .title,
body.dark-mode .description,
body.dark-mode p {
  color: #9b9a97;
}

/* Dark mode pseudo-elements and borders */
body.dark-mode section h2::before {
  background: #e9e9e7;
}

body.dark-mode .job h3::after,
body.dark-mode .project-item h3::after,
body.dark-mode section:not(:last-child)::after {
  background: #3f3f3f;
}

body.dark-mode .job,
body.dark-mode .tech-category,
body.dark-mode .project-item {
  border-bottom-color: #2f2f2f;
}

body.dark-mode .company {
  color: #e9e9e7;
}

body.dark-mode .date {
  color: #6f6f6f;
}

body.dark-mode .company-logo {
  background: #2f2f2f;
  border-color: #3f3f3f;
}

body.dark-mode .job-expand-icon {
  color: #6f6f6f;
}

body.dark-mode .job:hover .job-expand-icon {
  color: #e9e9e7;
}

body.dark-mode .job.expanded .job-expand-icon {
  color: #e9e9e7;
}

body.dark-mode .project-github-image {
  background: #2f2f2f;
  border-color: #3f3f3f;
}

body.dark-mode .project-github-image:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .job-tech {
  color: #9b9a97;
}

body.dark-mode .job-tech span {
  background: #004080;
  color: #ffffff;
  border: 1px solid #0056b3;
}

body.dark-mode .job-tech span:hover {
  background: #0056b3;
  border-color: #007bff;
}

body.dark-mode .job-description p {
  color: #9b9a97;
}

/* Text Highlighting - Notion Style */
.highlight {
  background: #fff3cd;
  padding: 2px 4px;
  border-radius: 3px;
  color: #856404;
  font-weight: 500;
}

.highlight-blue {
  background: #cce7ff;
  padding: 2px 4px;
  border-radius: 3px;
  color: #0056b3;
  font-weight: 500;
}

.highlight-green {
  background: #d1f2eb;
  padding: 2px 4px;
  border-radius: 3px;
  color: #155724;
  font-weight: 500;
}

.highlight-pink {
  background: #f8d7da;
  padding: 2px 4px;
  border-radius: 3px;
  color: #721c24;
  font-weight: 500;
}

.highlight-purple {
  background: #e2d9f3;
  padding: 2px 4px;
  border-radius: 3px;
  color: #5a2d82;
  font-weight: 500;
}

.highlight-orange {
  background: #ffeaa7;
  padding: 2px 4px;
  border-radius: 3px;
  color: #b8860b;
  font-weight: 500;
}

/* Dark mode highlights */
body.dark-mode .highlight {
  background: #3d3d29;
  color: #d4c05e;
}

body.dark-mode .highlight-blue {
  background: #1e3a5f;
  color: #7fb3d3;
}

body.dark-mode .highlight-green {
  background: #1e3a32;
  color: #7fb07f;
}

body.dark-mode .highlight-pink {
  background: #3d1e26;
  color: #d17a85;
}

body.dark-mode .highlight-purple {
  background: #2f1e3d;
  color: #b79fd8;
}

body.dark-mode .highlight-orange {
  background: #3d3120;
  color: #d4a85e;
}

/* Notion-style underlined links */
.underline-link {
  text-decoration: underline;
  text-decoration-color: rgba(55, 53, 47, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  color: inherit;
  transition: text-decoration-color 0.15s ease;
}

.underline-link:hover {
  text-decoration-color: rgba(55, 53, 47, 0.8);
}

/* Dark mode underlined links */
body.dark-mode .underline-link {
  text-decoration-color: rgba(233, 233, 231, 0.4);
}

body.dark-mode .underline-link:hover {
  text-decoration-color: rgba(233, 233, 231, 0.8);
}

/* Alternative colored underlined links */
.underline-link-blue {
  text-decoration: underline;
  text-decoration-color: rgba(0, 86, 179, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  color: #0056b3;
  transition: all 0.15s ease;
}

.underline-link-blue:hover {
  text-decoration-color: rgba(0, 86, 179, 0.8);
  color: #003d82;
}

body.dark-mode .underline-link-blue {
  color: #7fb3d3;
  text-decoration-color: rgba(127, 179, 211, 0.4);
}

body.dark-mode .underline-link-blue:hover {
  text-decoration-color: rgba(127, 179, 211, 0.8);
  color: #9fc7e0;
}

body.dark-mode .job ul li {
  color: #9b9a97;
}

body.dark-mode .job ul li::before {
  color: #6f6f6f;
}

body.dark-mode .footer {
  border-top-color: #3f3f3f;
  color: #6f6f6f;
}

body.dark-mode .contact-icons a {
  background: #2f2f2f;
  border-color: #3f3f3f;
  color: #9b9a97;
}

body.dark-mode .contact-icons a:hover {
  background: #3f3f3f;
  color: #e9e9e7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .contact-info strong {
  color: #e9e9e7;
}

body.dark-mode .recent-post-item {
  border-bottom-color: #2f2f2f;
}

body.dark-mode .recent-post-item .post-date {
  color: #6f6f6f;
}

body.dark-mode .recent-post-item h3 a {
  color: #e9e9e7;
  text-decoration-color: rgba(233, 233, 231, 0.3);
}

body.dark-mode .recent-post-item h3 a:hover {
  text-decoration-color: rgba(233, 233, 231, 0.6);
}

body.dark-mode .recent-post-item p {
  color: #9b9a97;
}

body.dark-mode .view-all-posts a {
  color: #9b9a97;
  text-decoration-color: rgba(155, 154, 151, 0.4);
}

body.dark-mode .view-all-posts a:hover {
  color: #e9e9e7;
  text-decoration-color: rgba(233, 233, 231, 0.6);
}

body.dark-mode .music-item {
  border-bottom-color: #2f2f2f;
}

body.dark-mode .music-item h3 {
  color: #e9e9e7;
}

body.dark-mode .floating-btn {
  background: #2f2f2f;
  border-color: #3f3f3f;
  color: #9b9a97;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .floating-btn:hover {
  background: #3f3f3f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.4);
  color: #e9e9e7;
}

/* Blog Posts Styling */
.blog-list {
  margin-top: 16px;
}

.blog-post-item {
  padding: 24px 0;
  border-bottom: 1px solid #f1f1ef;
}

.blog-post-item:last-child {
  border-bottom: none;
}

.post-date {
  color: #9b9a97;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.blog-post-item h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
}

.blog-post-item h3 a {
  color: #1a1a1a;
  text-decoration: underline;
  text-decoration-color: rgba(26, 26, 26, 0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 0.15s ease;
}

.blog-post-item h3 a:hover {
  text-decoration-color: rgba(26, 26, 26, 0.6);
}

.blog-post-item p {
  margin: 0;
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.5;
}

/* Individual Blog Post Styles */
.back-link {
  margin-bottom: 32px;
}

.back-link a {
  color: #6f6f6f;
  text-decoration: underline;
  text-decoration-color: rgba(111, 111, 111, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.back-link a:hover {
  color: #37352f;
  text-decoration-color: rgba(55, 53, 47, 0.6);
}

.post-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f1ef;
}

.post-header h1 {
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.post-meta {
  color: #9b9a97;
  font-size: 14px;
  font-weight: 400;
}

.post-meta .separator {
  margin: 0 8px;
}

.post-content {
  line-height: 1.6;
  font-size: 16px;
}

.post-content h2 {
  margin: 40px 0 16px 0;
  font-size: 24px;
  font-weight: 600;
  color: #37352f;
  letter-spacing: -0.01em;
}

.post-content h3 {
  margin: 32px 0 12px 0;
  font-size: 20px;
  font-weight: 600;
  color: #37352f;
}

.post-content p {
  margin: 16px 0;
  color: #6f6f6f;
}

.post-content ul {
  margin: 16px 0;
  padding-left: 20px;
}

.post-content li {
  margin: 8px 0;
  color: #6f6f6f;
}

.post-content pre {
  background: #f7f7f5;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid #e9e9e7;
  font-size: 14px;
}

.post-content code {
  font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", monospace;
  color: #37352f;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 8px;
  border: 1px solid #e9e9e7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
}

body.dark-mode .post-content code {
  color: #e9e9e7;
}

body.dark-mode .post-content img {
  border-color: #3f3f3f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Dark mode blog styles */
body.dark-mode .blog-post-item {
  border-bottom-color: #2f2f2f;
}

body.dark-mode .blog-post-item h3 a {
  color: #e9e9e7;
  text-decoration-color: rgba(233, 233, 231, 0.3);
}

body.dark-mode .blog-post-item h3 a:hover {
  text-decoration-color: rgba(233, 233, 231, 0.6);
  color: #e9e9e7;
}

body.dark-mode .post-date {
  color: #6f6f6f;
}

body.dark-mode .post-header {
  border-bottom-color: #2f2f2f;
}

body.dark-mode .post-content pre {
  background: #2f2f2f;
  border-color: #3f3f3f;
}

body.dark-mode .back-link a {
  color: #9b9a97;
  text-decoration-color: rgba(155, 154, 151, 0.4);
}

body.dark-mode .back-link a:hover {
  color: #e9e9e7;
  text-decoration-color: rgba(233, 233, 231, 0.6);
}

/* Music Page Specific Styles */
.page-header {
  margin-bottom: 24px;
  text-align: left;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-header p {
  font-size: 18px;
  color: #6f6f6f;
  margin: 0;
}

.progress-entry {
  margin-bottom: 32px;
}

.progress-entry h3 {
  font-size: 18px;
  font-weight: 600;
  color: #37352f;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.progress-entry p {
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.progress-entry ul {
  list-style: none;
  padding-left: 0;
}

.progress-entry ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.5;
}

.progress-entry ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #9b9a97;
  font-weight: 600;
}

.hobby {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f1ef;
}

.hobby:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.hobby h3 {
  font-size: 18px;
  font-weight: 600;
  color: #37352f;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.hobby p {
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.project {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f1ef;
}

.project:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.project h3 {
  font-size: 18px;
  font-weight: 600;
  color: #37352f;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.project p {
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

/* Dark mode styles for music page */
body.dark-mode .page-header h1 {
  color: #e9e9e7;
}

body.dark-mode .page-header p {
  color: #9b9a97;
}

body.dark-mode .progress-entry h3,
body.dark-mode .hobby h3,
body.dark-mode .project h3 {
  color: #e9e9e7;
}

body.dark-mode .progress-entry p,
body.dark-mode .hobby p,
body.dark-mode .project p {
  color: #9b9a97;
}

body.dark-mode .progress-entry ul li {
  color: #9b9a97;
}

body.dark-mode .progress-entry ul li::before {
  color: #6f6f6f;
}

body.dark-mode .hobby,
body.dark-mode .project {
  border-bottom-color: #2f2f2f;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .container {
    padding: 30px 20px;
    border-radius: 0 8px 8px 8px;
    margin-top: -1px;
  }

  .navbar {
    padding: 0 1rem 0 1rem;
    margin-bottom: 0;
  }

  .nav-container {
    gap: 0;
    justify-content: center;
  }

  .nav-link {
    padding: 12px 16px 10px 16px;
    font-size: 13px;
    margin-right: 2px;
    border-radius: 6px 6px 0 0;
  }

  .nav-link:last-child {
    margin-right: 0;
  }

  .profile h1 {
    font-size: 32px;
  }

  .profile .title {
    font-size: 16px;
  }

  .profile .description {
    font-size: 15px;
  }

  .image-placeholder {
    width: 80px;
    height: 80px;
    font-size: 20px;
    border-width: 2px;
  }

  .job {
    padding-left: 32px;
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .job-expand-icon {
    left: -28px;
    top: 4px;
    font-size: 14px;
    width: 20px;
    height: 20px;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
  }

  .project-github-image {
    height: 150px;
    font-size: 36px;
  }

  .date {
    font-size: 13px;
  }

  .company-logo {
    width: 28px;
    height: 28px;
  }

  .floating-buttons {
    bottom: 20px;
    right: 20px;
  }

  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .post-header h1 {
    font-size: 28px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  section h2 {
    font-size: 20px;
    padding-left: 12px;
  }

  section h2::before {
    width: 2px;
  }
}
