html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #0c0c0c;
    color: #fff;
}

.page {
    display: flex;
    height: calc(100vh - 40px);
    margin: 20px;
    overflow: hidden;
    background-color: #0c0c0c;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.sidebar {
    width: 260px;
    background: #0c0c0c;
    color: #fff;
    padding: 60px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.sidebar h1 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 2.5rem 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: "SF Mono", "Fira Code", monospace;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin: 0.8rem 0;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: "SF Mono", "Fira Code", monospace;
}

.sidebar li:hover {
    color: #fff;
}

.sidebar li a {
    text-decoration: none;
    color: inherit;
}

.copyright {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: auto;
    font-family: "SF Mono", "Fira Code", monospace;
    letter-spacing: 0.05em;
}

.slideshow {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* Viewfinder elements on Home Page */
.bracket {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 5;
    pointer-events: none;
}
.tl { top: 40px; left: 40px; border-right: none; border-bottom: none; }
.tr { top: 40px; right: 40px; border-left: none; border-bottom: none; }
.bl { bottom: 40px; left: 40px; border-right: none; border-top: none; }
.br { bottom: 40px; right: 40px; border-left: none; border-top: none; }

.center-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    opacity: 0.15;
    z-index: 5;
    pointer-events: none;
}
.center-cross::before, .center-cross::after {
    content: '';
    position: absolute;
    background: #fff;
}
.center-cross::before { top: 10px; left: 0; width: 20px; height: 1px; }
.center-cross::after { top: 0; left: 10px; width: 1px; height: 20px; }

.home-metadata {
    position: absolute;
    bottom: 40px;
    left: 80px;
    right: 80px;
    display: flex;
    justify-content: space-between;
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
    pointer-events: none;
}

.home-metadata span {
    color: rgba(255, 255, 255, 0.6);
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slides-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slides-container img.active {
    opacity: 0.8; /* Slightly dimmed for the viewfinder look */
}

.dots-container {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 20;
}

.slideshow:hover .dots-container {
    opacity: 1;
}

.dot {
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.dot.active {
    width: 16px;
    border-radius: 2px;
    background-color: #fff;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .page {
        flex-direction: column;
        margin: 0;
        height: 100vh;
        border-radius: 0;
        border: none;
    }

    .sidebar {
        width: 100%;
        padding: 30px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .sidebar h1 {
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

    .sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .sidebar li {
        margin: 0;
        font-size: 0.65rem;
    }

    .copyright {
        display: none;
    }

    .slideshow {
        flex: 1;
    }

    .slides-container img {
        display: none; /* Minimal preview: no images on mobile as requested */
    }

    .home-metadata {
        left: 30px;
        right: 30px;
        bottom: 30px;
        font-size: 8px;
    }

    .bracket {
        width: 15px;
        height: 15px;
    }
    .tl, .bl { left: 30px; }
    .tr, .br { right: 30px; }
    .tl, .tr { top: 30px; }
    .bl, .br { bottom: 30px; }

    .dots-container {
        display: none;
    }
}

/* Custom Notification Popup Styles */
.mobile-notice {
    position: fixed;
    bottom: 30px;
    left: 20px;
    right: 20px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "SF Mono", "Fira Code", monospace;
    pointer-events: none;
    overflow: hidden;
}

.mobile-notice.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.notice-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notice-tag {
    font-size: 8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.2em;
}

.mobile-notice p {
    margin: 0;
    font-size: 10px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}

.notice-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    width: 100%;
    transform-origin: left;
    display: none;
}

.mobile-notice.show .notice-progress {
    display: block;
    animation: progress 10s linear forwards;
}

@keyframes progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}