/* =================== Base / Global =================== */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #333;
    font-size: 16px;
    line-height: 1.75;

    background-image: url("https://stgyuzuki.blob.core.windows.net/yuzuki-static/images/serene_forest.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================= Layout ========================= */
.page-main {
    flex: 1;
    display: block;
}

.page-section ul {
    padding-left: 1.2rem;
}

.page-section li {
    margin-bottom: 0.4rem;
}

.container {
    max-width: 1100px;
    margin: 32px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    background: transparent;
    border-radius: 6px;
}

/* ========================= Header / Navigation ========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(2px);
    border-bottom: 1px solid #e5e5e5;
}

.header-inner {
    max-width: 1100px;
    margin: auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.nav-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-menu a {
    margin-left: 24px;
    text-decoration: none;
    color: #333;
}

/* ========================= Hamburger Menu ========================= */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    margin: 5px 0;
}

/* ========================= Main Content ========================= */
.main-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    border-radius: 4px;
    padding: 24px;
}

.post-card {
    border-bottom: 1px solid #ddd;
    padding: 16px 0;
}

.post-card a {
    text-decoration: none;
    color: inherit;
}

.post-title {
    font-size: 18px;
    margin: 0 0 4px;
}

.post-meta {
    font-size: 12px;
    color: #777;
}

.post-excerpt {
    color: #555;
}

/* ========================= Sidebar ========================= */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    border-radius: 4px;
    padding: 16px;
}

.sidebar-box h2 {
    font-size: 16px;
    margin-bottom: 12px;
}

/* ========================= Profile ========================= */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ========================= Footer ========================= */
.site-footer {
    background: rgba(247, 236, 150, 1);
    border-top: 1px solid #333;
}

.footer-inner {
    max-width: 1100px;
    margin: auto;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.footer-nav {
    margin-top: 0.5rem;
}

.footer-nav a {
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* ========================= Responsive ========================= */
@media (max-width: 900px) {
    body {
        background-attachment: scroll;
        background-repeat: no-repeat;
    }

    .container {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 56px;
        right: 16px;
        background: rgba(255,255,255,1);
        backdrop-filter: blur(2px);
        padding: 16px;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0,0,0,.15);
        flex-direction: column;
        gap: 12px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}
