/* =========================================================
   FONTS
   ========================================================= */
@font-face {
    font-family: "DotGothic16";
    src: url("https://ghost-guacho.neocities.org/fonts/DotGothic16-Regular.ttf")
        format("truetype");
}
@font-face {
    font-family: "Doto";
    src: url("https://ghost-guacho.neocities.org/fonts/Doto-VariableFont_ROND,wght.ttf")
        format("truetype");
}

/* =========================================================
   GLOBAL PAGE STYLES
   ========================================================= */
body {
    background-image: url("https://ghost-guacho.neocities.org/images/ghost-background-1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #0a0a0a;
    color: #f0f0f0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Dark overlay for text readability */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: -2;
    pointer-events: none;
}

/* Centered blurred column with borders */
body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    pointer-events: none;
    z-index: -1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.35);
    border-left: 3px solid rgba(255, 255, 255, 0.35);
    border-right: 3px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}

/* =========================================================
   BANNER SECTION
   ========================================================= */
.banner-container {
    text-align: center;
    padding: 15px 20px 0;
    width: 900px;
    max-width: 95vw;
    margin: 0 auto 20px;
    box-sizing: border-box;
}

.banner {
    width: calc(100% - 40px);
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================================
   MAIN LAYOUT CONTAINER
   ========================================================= */
.main-container {
    display: flex;
    gap: 30px;
    width: 900px;
    max-width: 95vw;
    margin: 0 auto 40px;
    padding: 0 38px; /* Matches visual alignment requirements */
    box-sizing: border-box;
}

/* =========================================================
   SIDEBAR COLUMN (LEFT)
   ========================================================= */
.sidebar {
    width: 240px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ------------------ Profile Box ------------------ */
.profile-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    width: 240px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Japanese vertical text inside profile box */
#japanese {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: "DotGothic16", sans-serif;
    font-size: 22px;
    letter-spacing: 5px;
    line-height: 1.8;
    margin: 0;
    padding: 10px 5px;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

/* ------------------ Navigation Menu ------------------ */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 240px;
    padding: 18px 8px;
    box-sizing: border-box;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: "DotGothic16", monospace;
    font-size: 18px;
    letter-spacing: 3px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 15px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0, 0, 0, 0.7);
}

.sidebar-nav a {
    color: rgba(200, 200, 200, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    padding: 3px 0;
}

.sidebar-nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    transform: translateX(-2px);
}

/* ------------------ Quote Blocks ------------------ */
.sidebar-quote {
    width: 240px;
    padding: 12px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 15px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    margin: 0;
}

.sidebar-quote-img {
    width: 100%;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 8px;
}

.sidebar-quote-text {
    font-family: "DotGothic16", monospace;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(220, 220, 220, 0.9);
    padding: 0 4px;
}

.sidebar-quote figcaption {
    margin: 0; /* prevent extra caption spacing */
}

.quote-stack {
    display: flex;
    flex-direction: column;
    gap: 15px; /* controls vertical spacing between quotes */
}

/* =========================================================
   MAIN CONTENT COLUMN (RIGHT)
   ========================================================= */
.content {
    flex: 1;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 35px;
    box-sizing: border-box;
}

.content-image {
    display: block;
    max-width: 100%;
    margin: 20px auto 0; /* space above, centered */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1 {
    font-family: "Doto", monospace;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    margin: 0 0 15px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

p {
    font-family: "Doto", monospace;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
    text-align: justify;
    margin: 0 0 1em;
}

/* =========================================================
   LINKS (GLOBAL)
   ========================================================= */
a {
    color: #8ab4f8;
    text-decoration: none;
}

a:hover {
    color: #ff9d9d;
    text-decoration: underline;
}
