/* this isn't where the character information is, now is it? what are you hoping to find?*/

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

body {
    background-color: #f2f1f0;
    font-family: "Quicksand", "Times New Roman", serif;
    color: #2e2d30;
    line-height: 1.5;
    padding: 10px;
    min-height: 100vh;
    font-size: 14px;
    text-transform: lowercase;
    display: flex;
    justify-content: flex-end;
}

body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 39%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url(https://l0f1.neocities.org/images/brd1.png) no-repeat center center;
    background-size: contain;
    z-index: -1;
    pointer-events: none;
}

.page-wrapper {
    width: 100%;
    max-width: 750px;
    margin-right: 20px;
}

.styled-list li:before,
.hook-title:before,
::marker {
    text-transform: none;
}

@font-face {
    font-family: "Quicksand";
    src: url(https://l0f1.neocities.org/fonts/Quicksand-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
}

/* fancyslop*/
.sidebar img,
iframe {
    transition: filter 0.6s ease, opacity 0.6s ease;
}

.sidebar img:hover,
iframe:hover {
    filter: blur(6px);
    opacity: 0.7;
}

/* layoutslop*/
.main-container {
    margin: 0 0 30px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5px;
}

.content-main {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* heroslop */
.hero-section {
    background: linear-gradient(to top left, #363636 50%, #2e2d30 50%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: #f2f1f0;
}

.hero-content {
    font-size: 0.95em;
    line-height: 1.6;
    text-indent: 2em;
}

.hero-content p {
    margin-bottom: 15px;
}

/* scrollbarslop */
html {
    scrollbar-width: thin;
    scrollbar-color: #474342 #f2f1f0;
}

html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: #f2f1f0;
}

html::-webkit-scrollbar-thumb {
    background-color: #474342;
    border-radius: 6px;
    border: 2px solid #f2f1f0;
}

/* infoslop */
.info-grid-section {
    background: linear-gradient(to top left, #363636 50%, #2e2d30 50%);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #f2f1f0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

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

.info-item {
    border-radius: 8px;
    overflow: hidden;
}

.info-title {
    font-size: 0.9em;
    font-weight: 500;
    color: #f2f1f0;
    letter-spacing: 0.05em;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
}

.info-title:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.info-title::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 0.8em;
    color: #8a807e;
}

.info-item.active .info-title::before {
    transform: translateY(-50%) rotate(90deg);
}

.info-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.info-item.active .info-content {
    max-height: 100px;
}

.info-desc {
    font-size: 0.85em;
    color: #cfc2c0;
    line-height: 1.5;
    padding: 12px 15px;
    background-color: rgba(0, 0, 0, 0.15);
}

/* poemslop */
.poem-section {
    background: linear-gradient(to top left, #363636 50%, #2e2d30 50%);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #f2f1f0;
}

.poem-content {
    font-size: 0.9em;
    line-height: 1.4;
    font-style: italic;
    color: #cfc2c0;
    text-align: center;
    text-transform: none;
}

.poem-line {
    margin-bottom: 8px;
    display: block;
}

.poem-line.emphasis {
    color: #f2f1f0;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1em;
}

.poem-line.whisper {
    font-size: 0.8em;
    color: #8a807e;
    margin-top: 10px;
    font-style: normal;
    letter-spacing: 0.1em;
}

.poem-line.final {
    color: #f2f1f0;
    font-weight: 700;
    margin-top: 25px;
    padding-top: 15px;
    letter-spacing: 0.1em;
}

.poem-line.dialogue {
    color: #f2f1f0;
    margin-top: 15px;
    margin-bottom: 5px;
    font-style: italic;
}

.poem-line.response {
    font-size: 0.85em;
    color: #8a807e;
    margin-left: 20px;
    font-style: normal;
}

/* sidebarslop*/
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-widget {
    background: linear-gradient(to top left, #363636 50%, #2e2d30 50%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #f2f1f0;
}

.widget-title {
    font-size: 1.1em;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    border-bottom: 1px solid #474342;
    text-align: right;
}

.widget-content {
    line-height: 1.4;
    font-size: 0.9em;
}

.widget-content p {
    margin-bottom: 8px;
    text-indent: 1.5em;
}

/* hooks section */
.hooks-container {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hook {
    margin-bottom: 3px;
}

.hook-title {
    color: #f2f1f0;
    text-decoration: none;
    display: block;
    padding: 10px 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
    position: relative;
    font-size: 0.9em;
}

.hook-title:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #f2f1f0;
    padding-left: 15px;
}

.hook-title::after {
    content: "☀";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.hook.active .hook-title::after {
    transform: translateY(-50%) rotate(90deg);
}

.hook-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 6px 6px;
}

.hook.active .hook-content {
    max-height: 150px;
}

.hook-text {
    padding: 15px;
    font-size: 0.85em;
    line-height: 1.4;
    text-indent: 1.5em;
    color: #cfc2c0;
    scrollbar-width: thin;
    scrollbar-color: #474342 #2e2d30;
    overflow-y: auto;
    max-height: 150px;
}

.hook-text::-webkit-scrollbar {
    width: 8px;
}

.hook-text::-webkit-scrollbar-track {
    background: #2e2d30;
    border-radius: 4px;
}

.hook-text::-webkit-scrollbar-thumb {
    background-color: #474342;
    border-radius: 4px;
    border: 1px solid #2e2d30;
}

.hook-text::-webkit-scrollbar-thumb:hover {
    background-color: #363636;
}

/* styled lists */
.styled-list {
    list-style: none;
}

.styled-list li {
    padding: 3px 0 3px 25px;
    position: relative;
    color: #f2f1f0;
    font-size: 0.9em;
    line-height: 1.4;
}

.styled-list li:before {
    content: "・";
    color: #f2f1f0;
    font-size: 1.6em;
    position: absolute;
    left: 0;
    top: -2px;
}

/* author notes */
.authors-notes {
    font-size: 0.75em;
    color: #8a807e;
    text-align: right;
    font-style: italic;
    padding-top: 8px;
}

/* mobile responsive */
@media (max-width: 968px) {
    body {
        justify-content: center;
    }
    
    body::before {
        opacity: 0.3;
    }
    
    .page-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .main-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .hero-section,
    .poem-section,
    .info-grid-section {
        padding: 20px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .hook-text {
        max-height: 120px;
    }
    
    .poem-content {
        text-align: left;
        padding: 0 10px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}