* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 50%, #e8e8e8 100%);
    min-height: 100vh;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Minimal Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 100;
    padding: 20px 0;
}

.nav-item {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
    text-decoration: none;
    padding: 12px 8px;
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: #333;
}

.nav-item.active {
    color: #333;
    font-weight: 600;
}

/* Page Sections */
.page-section {
    display: none;
    margin-left: 60px;
}

.page-section.active {
    display: block;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 80px;
}

.container-wide {
    max-width: 1200px;
}

.header-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
}

.sphere-container {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sphere-canvas {
    cursor: grab;
    border-radius: 50%;
}

.sphere-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    font-style: italic;
    letter-spacing: 0.05em;
}

.text-column {
    max-width: 800px;
    width: 100%;
}

.title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 72px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.title .bold {
    font-weight: 700;
}

.date-widget {
    margin-top: 10px;
    font-size: 16px;
    color: #666;
    font-style: italic;
}

.date-widget .date-day {
    font-weight: bold;
}

.body-text ul,
.body-text ol {
    padding-left: 1.75em;
    font-size: 18px;
}

.body-text li {
    margin-bottom: 10px;
}

.body-text p {
    font-size: 18px;
}

.body-text p.body-text-indent {
    color: #707070;
    font-size: 16px;
}

.body-text h1 {
    margin-top: 50px;
    font-size: 36px;
}

.body-text h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 24px;
}

/* Midjourney Art Grid */
.art-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.art-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    background: #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.art-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.art-title {
    display: block;
    padding: 6px 8px;
    font-size: 10px;
    color: #666;
    text-align: center;
    background: #f5f5f5;
    letter-spacing: 0.03em;
}


@media (max-width: 900px) {
    .header-row {
        flex-direction: column;
        align-items: center;
    }
    
    .sphere-container {
        order: -1;
        margin-bottom: 20px;
    }

    .sidebar {
        width: 50px;
    }

    .page-section {
        margin-left: 50px;
    }

    .nav-item {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 80px 40px;
    }
    
    .title {
        font-size: 48px;
    }
    
    .body-text {
        margin-top: 32px;
    }
    
    #sphere-canvas {
        width: 220px !important;
        height: 220px !important;
    }

    .art-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sidebar {
        width: 40px;
    }

    .page-section {
        margin-left: 40px;
    }

    .nav-item {
        font-size: 9px;
        padding: 10px 6px;
    }
}

@media (max-width: 480px) {
    .art-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
