/* --- 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 5px;
    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,
.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: 0 0 5px rgba(0, 242, 255, 0.8) !important;
    font-size: 16px;
    padding-left: 8px;
    letter-spacing: 1px;
}

/* 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;
}


/* --- About This Site Popup --- */
.about-popup {
    position: fixed;
    top: 35px;
    left: 15px;
    width: 300px;
    background: rgba(25, 25, 25, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    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: 10px;
    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;
}