/* Nerd Font */
@font-face {
  font-family: "Symbols Nerd Font";
  src: url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@latest/patched-fonts/NerdFontsSymbolsOnly/SymbolsNerdFontMono-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

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

body {
  font-family:
    "JetBrains Mono", "Fira Code", "SF Mono", "Monaco", "Inconsolata",
    "Roboto Mono", monospace;
  background-color: #1a1b26;
  color: #a9b1d6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Logo Section */
.logo-section {
  position: relative;
  margin-bottom: 3rem;
}

.logo {
  color: #7aa2f7;
  font-size: 0.85rem;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

.zzz {
  position: absolute;
  top: -10px;
  right: -30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.z {
  color: #7aa2f7;
  font-weight: bold;
}

.z1 {
  font-size: 0.8rem;
  margin-right: 0;
}

.z2 {
  font-size: 1rem;
  margin-right: 8px;
}

.z3 {
  font-size: 1.2rem;
  margin-right: 16px;
}

/* Menu */
.menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 300px;
}

.menu-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #7aa2f7;
  padding: 0.4rem 0;
  transition: all 0.15s ease;
}

.menu-item:hover {
  color: #bb9af7;
}

.menu-item:hover .icon {
  color: #bb9af7;
}

.icon {
  width: 24px;
  margin-right: 12px;
  color: #7dcfff;
  font-size: 1.1rem;
  text-align: center;
  font-family: "Symbols Nerd Font", monospace;
}

.label {
  flex: 1;
  color: #7aa2f7;
}

.highlight {
  color: #7aa2f7;
}

.shortcut {
  color: #ff9e64;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  margin-top: 3rem;
  color: #89dceb;
  font-size: 0.9rem;
}

.lightning {
  color: #e0af68;
}

.lazyvim-link {
  color: #f5a9b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.lazyvim-link:hover {
  color: #7aa2f7;
}

/* Status Bar */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1f2335;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  border-top: 1px solid #292e42;
}

.status-left {
  display: flex;
  gap: 0.5rem;
}

.tab-indicator {
  color: #7aa2f7;
}

.tab-name {
  color: #a9b1d6;
}

.tab-link {
  text-decoration: none;
  transition: color 0.15s ease;
}

.tab-link:hover {
  color: #7aa2f7;
}

.status-right {
  display: flex;
  gap: 1rem;
}

.hostname {
  color: #7dcfff;
}

.time,
.date {
  color: #a9b1d6;
}

/* Submenu Modal */
.submenu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.submenu-overlay.active {
  display: flex;
}

.submenu-modal {
  background-color: #1a1b26;
  min-width: 350px;
  max-width: 90vw;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 8px;
}

/* Double-line border using box-drawing characters */
.submenu-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px double #7aa2f7;
  pointer-events: none;
}

.submenu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #292e42;
}

.submenu-title {
  color: #7aa2f7;
  font-size: 1.1rem;
  font-weight: bold;
}

.submenu-close {
  background: none;
  border: none;
  color: #a9b1d6;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.15s ease;
}

.submenu-close:hover {
  color: #f7768e;
}

.submenu-content {
  padding: 12px 0;
  overflow-y: auto;
}

.submenu-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: #a9b1d6;
  text-decoration: none;
  transition: all 0.15s ease;
}

.submenu-item:hover {
  background-color: #292e42;
  color: #7aa2f7;
}

.submenu-item-icon {
  margin-right: 12px;
  color: #7dcfff;
  font-family: "Symbols Nerd Font", monospace;
}

.submenu-item-text {
  flex: 1;
}

.submenu-item-date {
  color: #565f89;
  font-size: 0.85rem;
}

.submenu-hint {
  padding: 8px 16px;
  border-top: 1px solid #292e42;
  color: #565f89;
  font-size: 0.75rem;
  text-align: center;
}

/* About Me content */
.about-content {
  padding: 8px 16px;
  line-height: 1.6;
}

.about-greeting {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.highlight-name {
  color: #7aa2f7;
  font-weight: bold;
}

.about-bio,
.about-details {
  margin-bottom: 12px;
  color: #a9b1d6;
}

.about-links {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.about-label {
  color: #565f89;
}

.about-links a {
  color: #7dcfff;
  text-decoration: none;
  transition: color 0.15s ease;
}

.about-links a:hover {
  color: #bb9af7;
}

/* Responsive */
@media (max-width: 600px) {
  .logo {
    font-size: 0.5rem;
  }

  .menu {
    width: 250px;
  }

  .zzz {
    right: -20px;
  }

  .submenu-modal {
    min-width: 90vw;
  }
}
