
:root {
    --olive: #556b2f;
    --olive-light: #809a4b;
    --ivory: #fffff0;
    --text-dark: #2c2c2c;
    --bg-light: #fafaf5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

header {
    background-color: var(--ivory);
    border-bottom: 2px solid var(--olive);
    padding: 1rem 0;
    text-align: center;
}
.logo { max-width: 250px; height: auto; margin-bottom: 1rem; }
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
nav a {
    text-decoration: none;
    color: var(--olive);
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s;
}
nav a:hover { color: var(--olive-light); }

.section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    text-align: center;
}
h2 {
    color: var(--olive);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--olive-light);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.primary-btn {
    background-color: var(--olive);
    color: var(--ivory);
}
.primary-btn:hover { background-color: var(--olive-light); }
.secondary-btn {
    background-color: var(--ivory);
    color: var(--olive);
    border: 1px solid var(--olive);
}
.secondary-btn:hover { background-color: var(--olive-light); color: white; }

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.owner-img {
    max-width: 150px;
    border-radius: 50%;
    border: 3px solid var(--olive);
}
.about-text { text-align: left; }
.about-text p { margin-bottom: 0.5rem; }

.contact-info p { font-size: 1.1rem; margin-bottom: 0.5rem; }

footer {
    text-align: center;
    padding: 2rem 0;
    background-color: var(--olive);
    color: var(--ivory);
    margin-top: 3rem;
}

/* Viewer Styles */
.viewer-body { background-color: #1a1a1a; color: #fff; }
.viewer-header {
    background-color: #111;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}
.back-btn {
    color: #fff;
    text-decoration: none;
    margin-right: 1rem;
}
.viewer-header h1 { font-size: 1.2rem; margin: 0; }
.viewer-main {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.webtoon-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    min-height: 500px; /* Placeholder for lazy loading */
    background-color: #222;
}
.viewer-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background-color: #111;
}

@media (max-width: 600px) {
    .about-content { flex-direction: column; text-align: center; }
    .about-text { text-align: center; }
}
