:root {
  --bg-color: #0a0a0a;
  --text-main: #d1d5db;
  --text-muted: #9ca3af;
  --text-bright: #ffffff;
  --kbd-bg: #27272a;
  --kbd-border: #3f3f46;
  --font-main: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.2s ease;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 20px;
  cursor: none;
}



.profile-card {
  width: 100%;
  max-width: 650px;
  background-color: transparent;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.weather i,
.time i {
  margin-right: 6px;
  font-size: 0.9rem;
}

.profile-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 16px;
}

.name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 2px;
}

.job-title {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
}

.bio-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.highlight {
  color: var(--text-bright);
  font-weight: 500;
}

.icon-blue {
  color: #3b82f6;
  font-size: 0.85rem;
  margin-left: 4px;
}

.icon-white {
  color: #ffffff;
  font-size: 0.85rem;
  margin-left: 4px;
}

.interaction-hint {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 30px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
}

kbd {
  font-family: var(--font-main);
  background-color: var(--kbd-bg);
  border: 1px solid var(--kbd-border);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-bright);
  margin: 0 8px;
  box-shadow: 0 2px 0 var(--kbd-border);
}

.section-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: #52525b;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.skills-section {
  margin-top: 60px;
}

.skills-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.skills-logos img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.8;
  transition: var(--transition);
  cursor: pointer;
}

.skills-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.blog-container {
  max-width: 650px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 40px;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--text-bright);
}

.markdown-body {
  color: var(--text-main);
  line-height: 1.7;
}

.markdown-body h1 {
  color: var(--text-bright);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.markdown-body h2 {
  color: var(--text-bright);
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.markdown-body h3 {
  color: var(--text-bright);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.markdown-body p {
  margin-bottom: 1.2rem;
}

.markdown-body a {
  color: var(--link-color);
  text-decoration: none;
  border-bottom: 1px dashed var(--link-color);
  transition: all 0.2s ease;
}

.markdown-body a:hover {
  color: var(--text-bright);
  border-bottom-color: var(--text-bright);
}

.markdown-body ul,
.markdown-body ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}

.markdown-body li {
  margin-bottom: 0.5rem;
}

.markdown-body strong {
  color: var(--text-bright);
  font-weight: 600;
}

.markdown-body em {
  color: var(--text-muted);
}

.projects-section {
  margin-top: 60px;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
  margin: 0 -16px;
  border-radius: 12px;
  transition: var(--transition);
  text-decoration: none;
}

.project-item:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.project-icon {
  width: 48px;
  height: 48px;
  background-color: var(--text-bright);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.project-icon i {
  color: #000000;
  font-size: 1.25rem;
}

.project-details {
  flex-grow: 1;
}

.project-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-bright);
  margin-bottom: 4px;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.project-arrow {
  color: var(--text-muted);
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-10px) translateY(10px);
  transition: all 0.2s ease;
}

.project-item:hover .project-arrow {
  opacity: 1;
  transform: translateX(0) translateY(0);
  color: var(--text-bright);
}

.writing-section {
  margin-top: 60px;
}

.writing-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.writing-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 16px;
  margin: 0 -16px;
  border-radius: 12px;
  transition: var(--transition);
  text-decoration: none;
}

.writing-item:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.writing-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-bright);
  max-width: 75%;
}

.writing-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-shrink: 0;
}


.contact-section {
  margin-top: 60px;
}

.contact-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.contact-btn i {
  font-size: 1rem;
}

.contact-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}


.contact-btn.linkedin:hover {
  color: #0A66C2;
  border-color: #0A66C2;
}

.contact-btn.github:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.contact-btn.x-twitter:hover {
  color: #ffffff;
  border-color: #ffffff;
}


.site-footer {
  margin-top: 40px;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-credits {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-credits .highlight {
  color: var(--text-bright);
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-location i {
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #ffffff;
  color: #000000;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 1000;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 600px) {
  body {
    padding: 20px 16px;
  }

  .top-bar {
    margin-bottom: 30px;
  }

  .avatar {
    width: 50px;
    height: 50px;
  }

  .name {
    font-size: 1.15rem;
  }

  .bio-content p {
    font-size: 1rem;
  }
}


.project-header {
  margin-bottom: 40px;
}

.project-links-top {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.section-block {
  margin-top: 50px;
}

.slideshow-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #1a1a1a;
  border: 1px solid var(--kbd-border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.placeholder-slide {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
}

.placeholder-slide i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.slideshow-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--kbd-border);
}

.slide-btn {
  background: none;
  border: none;
  color: var(--text-bright);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: var(--transition);
}

.slide-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.slide-indicator {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.demo-container {
  width: 100%;
  height: 600px;
  border: 1px solid var(--kbd-border);
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
}

.demo-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 600px) {
  .demo-container {
    height: 400px;
  }
}