:root {
  --bg-color: #181825;
  --text-color: #e0e0e0;
  --blue: #89b4fa;
  --peach: #fab387; /* Vibrant Orange for accents/keys */
  --red: #f38ba8; /* Vivid Pink/Red for highlights/titles */
  --overlay: #313244; /* Mid-Dark Gray for boxes/tags */
  --dark-overlay: #1e1e2e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Space Mono", monospace;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--overlay);
  border-radius: 4px;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

/* --- Header & Cat --- */
.cat-container {
  display: flex; /* Allow centering */
  justify-content: center; /* Center horizontally */
  margin-bottom: 1rem;
  width: 100%;
}

.cat {
  color: var(--blue); /* Neon Green Cat */
  font-weight: bold;
  line-height: 1.2;
  text-align: left;
}

.intro-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  min-height: 1.5em;
  width: 100%;
}

.prompt {
  color: var(--blue); /* Neon Green Prompt */
}
.intro {
  color: var(--text-color);
}

/* Blinking Cursor */
.cursor {
  color: var(--text-color);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* --- Menu --- */
.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-item {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: 1px dashed transparent; /* Dashed border for terminal look */
  transition: all 0.2s ease;
  border-radius: 4px;
  color: var(--blue); /* Menu text is standard text color */
}

.menu-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Icons */
.fi {
  color: var(--red); /* Vivid Pink/Red Icons */
}

a {
  text-decoration: none;
}

.menu-key {
  color: var(--peach); /* Orange menu keys */
  opacity: 1; /* Fully visible */
  font-weight: 700; /* Bold */
}

/* Hover Effects */
.menu-item:hover {
  background-color: transparent;
  border-color: var(--overlay);
}

/* --- Sections --- */
.content-section {
  display: none;
  width: 100%;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.section-title {
  color: var(--red);
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed var(--overlay);
  padding-bottom: 0.5rem;
}

/* --- About --- */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* --- Skills Grid --- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.skill-item {
  padding: 0.75rem;
  border: 1px solid var(--blue); /* Neon Green Border */
  text-align: center;
  color: var(--blue);
  transition: 0.2s;
  cursor: default;
}
.skill-item:hover {
  background-color: var(--blue);
  color: var(--bg-color); /* Invert text color on hover */
}

/* --- Projects --- */
.project-item {
  padding: 1.5rem;
  border: 1px solid var(--overlay);
  margin-bottom: 1rem;
  background-color: var(--dark-overlay);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.project-item:hover {
  border-color: var(--blue); /* Neon Green border on hover */
  transform: translateY(-2px);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.project-name {
  color: var(--peach); /* Orange Project Name */
  font-weight: bold;
  font-size: 1.1rem;
}

.project-desc {
  color: var(--text-color);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background-color: var(--overlay);
  color: var(--text-color);
  border-radius: 2px;
}

/* --- Back Button --- */
.back-button {
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--peach); /* Orange Border */
  color: var(--peach);
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s;
}
.back-button:hover {
  background-color: var(--peach);
  color: var(--bg-color); /* Invert text color on hover */
}

/* --- Social --- */
.social {
  margin-top: 4rem;
  border-top: 1px solid var(--overlay);
  padding-top: 1rem;
}
.social ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
}
.social-link {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s;
}
.social-link:hover {
  color: var(--peach); /* Orange on hover */
  text-decoration: underline;
}
