/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--border-strong);
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-surface);
    border: 3px solid var(--border-strong);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    font-size: 24px;
}

.brand-title {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.1;
    color: var(--text-primary);
    text-shadow: 2px 2px 0px #fff;
}

.brand-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 600;
}

.meta-info {
    display: flex;
    gap: 0.5rem;
}

.version-pill,
.release-pill {
    background: var(--bg-elevated);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    border: 3px solid var(--border-strong);
    color: var(--text-primary);
    box-shadow: 2px 2px 0px var(--border-strong);
    font-weight: bold;
}

/* Footer */
.footer {
    margin-top: 4rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 2rem 0;
    border-top: 3px solid var(--border-strong);
    font-weight: 600;
    background: var(--bg-elevated);
    border-radius: 16px;
    border: 3px solid var(--border-strong);
    box-shadow: var(--shadow-md);
}

.footer a {
    color: var(--primary-strong);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer a:hover {
    opacity: 0.8;
}

.separator {
    margin: 0 0.5rem;
    color: var(--border-strong);
    opacity: 1;
}

/* Toast Popup */
.toast-popup {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(150px) scale(0.8);
    background: #fff;
    border: 3px solid var(--border-strong);
    border-radius: 16px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-primary);
    box-shadow: 4px 4px 0px var(--border-strong);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
}

.toast-popup.show {
    visibility: visible;
}

.toast-popup.success {
    background: #82c8bd; /* teal */
}

.toast-popup.error {
    background: #ff7eb6; /* pink */
}