/* --- macOS Status Bar --- */
.macos-status-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0; 
  font-size: 15px;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.status-left {
  padding-left: 10px; /* 10px from edge */
}

.status-right {
  padding-right: 10px; /* 10px from edge */
  display: flex !important;
  align-items: center !important;
  gap: 8px;
}

.status-left,
.status-right {
  display: flex;
  align-items: center;
}

.status-item {
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

#currentTime {
  font-family: "Digital Numbers", "Orbitron", sans-serif !important;
  color: #00f2ff !important;
  text-shadow: none !important; /* NO GLOW confirmed */
  font-size: 16px;
  margin-left: 10px; /* Separation from date */
  letter-spacing: 1px;
}

#currentDate {
    text-shadow: none !important; /* NO GLOW confirmed */
}

/* Hide 'All Rights Reserved' on small mobile screens to keep it one line */
@media screen and (max-width: 430px) {
  .status-left span:nth-child(3) {
    display: none;
  }

  .macos-status-bar {
    padding: 0 10px;
  }

  .status-left,
  .status-right {
    gap: 10px;
  }

  #currentTime {
    text-shadow: none !important;
  }
}

.status-logo {
  height: 18px;
  width: auto;
  padding-right: 8px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  cursor: pointer;
}

.brand-name {
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
  padding: 2px 6px;
  border-radius: 4px;
}

.brand-name:hover {
  background: rgba(255, 255, 255, 0.1);
}

.brand-name:active {
  opacity: 0.7;
}

/* Language Toggle Button */
.lang-toggle {
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  transition: all 0.2s ease;
  margin-right: 10px;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-toggle:active {
  opacity: 0.7;
}

.weather-widget {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 5px; /* Stay 5px away from Lang Toggle */
  cursor: pointer;
  font-size: 14px;
  color: #ffd700;
  text-shadow: none !important; /* NO GLOW */
}

.weather-icon {
  font-size: 16px;
}

.weather-temp {
  font-weight: 600;
}

@media screen and (max-width: 480px) {
  .weather-widget {
    margin-right: 5px;
  }
  .weather-temp {
    display: inline; /* Show temperature on mobile */
    font-size: 12px;
  }
  .brand-name {
    display: none; /* Hide brand name on mobile as requested */
  }
  .status-logo {
    cursor: pointer;
  }

  .macos-status-bar {
    font-size: 13px;
    padding: 0 5px;
  }
}

/* --- About This Site Popup --- */
.about-popup {
  position: fixed;
  top: 35px;
  left: 15px;
  width: 300px;
  background: rgba(255, 255, 255, 0.15); /* Transparent glassmorphism */
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255,255,255,0.1);
  color: white;
  z-index: 10001;
  padding: 18px;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-popup.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.about-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-logo-small {
  width: 45px;
  height: 45px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.about-title-group h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.about-title-group p {
  margin: 2px 0 0 0;
  font-size: 11px;
  opacity: 0.6;
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sitemap-item:last-child {
  border-bottom: none;
}

.sitemap-icon {
  font-size: 14px;
  width: 20px;
  text-align: center;
}

.sitemap-text {
  font-weight: 500;
}

.about-footer {
  margin-top: 15px;
  font-size: 11px;
  opacity: 0.5;
  text-align: center;
}

