.logo { 
    display: block; 
    max-width: 540px; /* scaled up ~3x (was 180px) */ 
    width: 100%; 
    height: auto; 
    margin: 2rem auto 0.5rem auto; /* centers the image */ }

.logo-note { 
    font-size: 0.8rem; 
    opacity: 0.7; 
    margin-top: 0.25rem; 
}

/* Page layout styles (moved from index.html) */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

header {
    background: #111;
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

header p {
    margin-top: 0.5rem;
    opacity: 0.8;
}

.section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.section h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 4rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Accessibility: skip link */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 0.75rem;
    background: #111;
    color: #fff;
    z-index: 1000;
    text-decoration: none;
    border-radius: 4px;
}

/* Overlay area between header and footer showing the dragon image */
#imageOverlay {
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    z-index: 999;
    overflow: auto;
}

#imageOverlay img#overlayImage {
    display: block;
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
}

/* Back button in the top-left of the overlay area */
#overlayBack {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.95);
    border: 0;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Members Only button in the top bar, aligned to the right and bottom */
.header-actions {
    position: absolute;
    right: 1.25rem;
    bottom: 0.6rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.members-only {
    background: #111; /* match header background */
    color: #fff; /* white text */
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 0; /* squared corners */
    font-weight: 600;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.9); /* thin white outline */
}

/* Signup overlay styles */
#signupOverlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    padding: 1rem;
}

#signupOverlay #signup {
    background: #fff;
    color: #222;
    padding: 1.25rem;
    max-width: 480px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

/* position the close button inside signup box */
#signupOverlay #signup { position: relative; }
.signup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: 0;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0.2rem 0.4rem;
}
.signup-close:hover { color: #111; }

#signupOverlay #signup h2 { margin-top: 0; margin-bottom: 0.5rem; }
#signupOverlay #signup form { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
#signupOverlay #signup input[type="email"] { flex: 1; padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
#signupOverlay #signup button[type="submit"] { padding: 0.5rem 0.75rem; background: #111; color: #fff; border: 0; cursor: pointer; }

/* Members-only page: left black panel */
.members-page .left-panel {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 260px;
        background: #111;
        color: #fff;
        padding: 1.5rem;
        box-sizing: border-box;
        z-index: 60;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
}
.members-page .left-panel .small-logo { max-width: 140px; width: 100%; height: auto; margin: 0 0 0.25rem 0; }
.members-page .left-panel .sidebar-nav ul { list-style: none; padding: 0; margin: 0; width: 100%; }
.members-page .left-panel .sidebar-nav li { margin: 0.25rem 0; }
.members-page .left-panel .sidebar-nav a {
    background: #111;
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 0.4rem 0.8rem;
    border-radius: 0;
    font-weight: 600;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.9);
}
.members-page .left-panel .sidebar-nav a:hover { background: rgba(255,255,255,0.04); }

/* push the page content to the right of the panel */
.members-page header,
.members-page main,
.members-page .footer {
        margin-left: 260px;
}

/* responsive: stack panel above content on small screens */
@media (max-width: 700px) {
    .members-page .left-panel { position: relative; width: 100%; height: auto; display: block; }
    .members-page header,
    .members-page main,
    .members-page .footer { margin-left: 0; }
}
.members-only:hover {
    background: rgba(255,255,255,0.04); /* subtle hover contrast while keeping text white */
}

/* Small fixed site logo for non-main pages */
/* site-logo removed (was used on non-main pages); styles cleared */
