#weather {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Fira Code', monospace;
}

#boot-screen {
  font-family: 'Courier New', monospace;
  background: black;
  color: #00ff88;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 1s ease;
  pointer-events: none;
}

.boot-lines p {
  white-space: pre;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0;
  animation: bootLineIn 0.3s forwards;
}

 .boot-lines p:nth-child(1) { animation-delay: 0.2s; }
 .boot-lines p:nth-child(2) { animation-delay: 1.4s; }
 .boot-lines p:nth-child(3) { animation-delay: 2.6s; }
 .boot-lines p:nth-child(4) { animation-delay: 4s; }

 @keyframes bootLineIn {
   to { opacity: 1; }
 }

body {
  background-color: #0f0f0f;
  color: #e4e4e4;
  min-height: 100vh;
  margin: 0;
  font-family: 'Fira Code', monospace;
  overflow-x: hidden;
}

.container {
  left: 9rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: start;
  gap: 0; /* no spacing so cards can overlap */
  max-width: 1200px;
  margin: auto;
  min-height: 100vh;
  position: relative;
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* <-- Changed from center */
  justify-content: flex-start;
  padding: 2rem;
  gap: 2rem;
  width: 100%;
}
.bubble-card {
  left: 2rem;
  background: #1f1f1f;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 750px;
  display: none; /* shown on tab click */
  flex-direction: column;
  align-self: center;
  justify-content: center;
  margin-left: -40px; /* pull under profile card */
  position: relative;
  z-index: 1;
  transform: translateX(-50px);
  transition: all 0.3s ease;
  animation: slideFromBehind 0.4s ease forwards;
}
@keyframes slideFromBehind {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* Profile card */
.floating-pill {
  position: absolute;
  top: 28px;
  left: 0px;
  transform: translateY(-50%);
  z-index: 5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  background-color: rgba(158, 0, 254, 0.1);
  border: 1px solid rgba(158, 0, 254, 0.5);
  color: #d79bff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  margin: 0.5rem 0;
  transition: all 0.2s ease;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.status-pill .status-icon {
  margin-right: 8px;
  color: #9e00fe;
}
.profile-card {
  position: sticky;
  top: 10rem;
  width: 320px;
  background: #1c1c1c;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  flex-shrink: 0;
  z-index: 2; /* floats over */
  margin-right: -60px; /* overlaps content card */
}
.profile-card::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 10px;
  height: 100%;
  background: #1c1c1c;
  z-index: 2;
  border-radius: 20px;
}
.profile-card h1 {
  color: #9e00fe;
  margin-bottom: 1rem;
}
.profile-card p {
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
}
.profile-card img {
  margin-top: 40px;
}
.profile-tab {
  position: absolute;
  left: -112px; /* instead of right */
  width: 120px;
  padding: 10px 18px;
  background: #1C1C1C;
  color: #fff;
  text-align: center;
  border-radius: 10px 0 0 10px; /* round left, flat right */
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.4); /* shadow facing left */
  border: 1px solid #601f85;
  border-right: none;
  z-index: 1;
}
.profile-tab:hover {
  background: rgba(158, 0, 254, 0.2); /* translucent purple */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(158, 0, 254, 0.4);
  box-shadow: inset 0 0 10px rgba(158, 0, 254, 0.3), 0 0 12px rgba(158, 0, 254, 0.2);
  transform: translateX(5px);
}
.profile-tab.active {
  background: rgba(158, 0, 254, 0.2); /* translucent purple */
  color: #fff;
  font-weight: bold;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(158, 0, 254, 0.4);
  box-shadow: inset 0 0 10px rgba(158, 0, 254, 0.3), 0 0 12px rgba(158, 0, 254, 0.2);
}
#profileDetails {
  background: ##1db95433;
}
.profile-details {
  list-style: none;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #ccc;
}
.profile-details li {
  margin: 6px 0;
  display: flex;
  align-items: center;
}
.profile-details i {
  margin-right: 10px;
  color: #9e00fe;
  text-shadow:
    0 0 5px rgba(158, 0, 254, 0.4),
    0 0 10px rgba(158, 0, 254, 0.3),
    0 0 15px rgba(158, 0, 254, 0.2);
  font-size: 18px;
  transition: transform 0.3s ease;
}
.spotify-box {
  display: flex !important;
  align-items: center;
  gap: 12px;
  max-width: 212px;
  min-width: 212px;
  transition: all 0.3s ease;
  padding: 1rem 0.1rem 0rem 0.1rem !important;
}
.spotify-cover {
  width: 60px !important;
  height: 60px !important;
  border-radius: 10px !important;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-top: 0 !important;
}
.spotify-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  white-space: nowrap;
}
.spotify-song {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 180px;
}
.spotify-artist {
    font-size: 12px;
    color: #b3b3b3;
    display: flex;
    align-items: center;
}
.spotify-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  margin-top: 6px;
}
.progress-bar {
  flex-grow: 1;
  height: 6px;
  background-color: #333;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 8px;
  min-width: 40px;
  max-width: 40px;
}
.progress-fill {
  height: 200%;
  width: 0%;
  background-color: #9e00fe;
  transition: width 0.3s ease;
}
.social-icons {
  margin-top: 1rem;
  display: flex;
  gap: 14px;
  justify-content: center;
}
.social-icons a {
  font-size: 18px;
  color: #9e00fe;
  text-shadow:
    0 0 5px rgba(158, 0, 254, 0.4),
    0 0 10px rgba(158, 0, 254, 0.3),
    0 0 15px rgba(158, 0, 254, 0.2);
  font-size: 18px;
  transition: transform 0.3s ease;
}
.social-icons a:hover {
  color: #9e00fe; /* Accent on hover */
}
.copyright {
  padding-top: 2rem;
  font-size: 12px;
}
/*About me card */
.about-card {
  margin-top: 14.5rem;
  padding: 2rem;
  color: #e4e4e4;
  font-size: 13px;
  font-family: monospace;
}
.about-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 30px;
  color: #9e00fe;
  overflow: hidden;
}
.about-title::after {
  content: "";
  display: block;
  height: 5px;
  margin-top: 1px;
  width: 70px;
  background: rgb(78, 42, 132);
  border-radius: 25px;
}
.codeicons {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  flex-direction: row;
  margin-top: 1.5rem;
  flex-shrink: 0;
}
.codeicons img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Experinace Card */
#experienceCard {
  margin-top: 7rem;
}
#experienceCard h2 {
  font-size: 2rem;
  color: #bb00ff; /* Match your About Me color */
  font-family: 'JetBrains Mono', monospace;
  font-weight: bold;
  position: relative;
  margin-bottom: 1rem;
}

#experienceCard h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background-color: #601f85; /* Same as About Me underline */
  margin: 0.5rem 0 0 0;
  border-radius: 10px;
}
.experience-card {
  background-color: #1e1e1e;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(217, 150, 254, 0.2);
  color: #e4e4e4;
  max-width: 700px;
  margin: auto;
  font-size: 0.9rem;
  left: -15px;
}
.job {
  margin-bottom: 2rem;
}
.job h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  color: #faff00;
}
.job h3 .emoji {
  display: inline-block;
  width: 1.5rem;
  text-align: center;
}
.job h3 span {
  font-weight: normal;
  color: #aaa;
  font-size: 0.85rem;
  display: block;
  margin-top: 0.1rem;
}
.job-dates {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.6rem;
}
.job ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  line-height: 1.5;
}
.job ul li {
  margin-bottom: 0.3rem;
}

/* === Projects Card Layout === */
#projectsCard h2 {
  font-size: 2rem;
  color: #bb00ff; /* Match your About Me color */
  font-family: 'JetBrains Mono', monospace;
  font-weight: bold;
  position: relative;
  margin-bottom: 1rem;
}
#projectsCard h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background-color: #601f85; /* Same as About Me underline */
  margin: 0.5rem 0 0 0;
  border-radius: 10px;
}
.projects-card {
  margin-top: 12rem;
  max-height: 500px; /* or your fixed height */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px; /* nice spacing between project cards */
  padding: 20px 15px; /* top/bottom + avoid scrollbar overlap */
  box-sizing: border-box;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #601f85 transparent;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* === Individual Project Card === */
.project-card {
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 12px rgba(217, 150, 254, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 18px rgba(217, 150, 254, 0.25);
}

.project-card h3 {
  font-size: 1.2rem;
  color: #fbfb54;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.project-card .badges {
  margin-bottom: 0.8rem;
}

.project-card .badges span {
  display: inline-block;
  background: #2c2c2c;
  color: #e2e2e2;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  margin-right: 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === GIF Preview Image === */
.project-card .preview {
  width: 100%;
  max-height: 200px;
  border-radius: 8px;
  object-fit: cover;
  margin-top: 0.5rem;
  border: 1px solid #333;
}

/* === Project Link === */
.project-card a {
  display: inline-block;
  margin-top: 0.6rem;
  color: #9f6cff;
  text-decoration: none;
  font-weight: 500;
}

.project-card a:hover {
  text-decoration: underline;
}
