
.wr-content {
max-width: 1516px;
}

/* @media (min-width: 1376px) {
.wr-content {
    max-width: 1516px;
}
} */

.main-banner {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f3640;
    font-weight: 900;
    font-size: 2.5rem;
    text-shadow: 2px 2px 10px rgba(255,255,255,0.8);
    overflow: hidden;
}
.main-banner::after {
    content: '';
    position: absolute;
    top : 50%;
    left : 50%;
    transform: translate(-50%, -50%) rotateZ(-45deg);
    width: 1300px;
    height: 1000px;
    background-image: linear-gradient(rgba(255,255,255,0.2), #ffffff), url('/images/banner2.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}



.magr * {
    transition: initial;
}
#htmlBook{
    margin : 0 auto;
}
.magr .c-img {
    position: relative;
    width: 100%;
    height: 300px;
    text-align: center;
    overflow: hidden;
}
.magr .c-img img {
    position: absolute;
    top : 50%;
    left : 50%;
    transform: translate(-50%, -50%);
    height: 100%;
}
.magr .c-img-full {
    position: relative;
    width: 100%;
    height: 100%;
    height: 750px;
    max-height: 750px;
    text-align: center;
    /* overflow: hidden; */
}
.magr .c-img-full img {
    position: absolute;
    top : 50%;
    left : 50%;
    transform: translate(-50%, -50%);
}



.page {
    border-radius: 2px;
    border : 1px solid #FAFAFA;
    overflow: hidden;
    overflow-y: scroll;
    background-color: white;
}
.page > div {
    /* padding : 30px; */
    background: linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(204, 204, 204, 0.1) 1%, rgba(250, 250, 255, 0.5) 3%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 51%, rgba(255, 255, 255, 0) 81%, rgba(250, 250, 255, 0.5) 97%, rgba(204, 204, 204, 0.1) 99%, rgba(255, 255, 255, 1) 100%);
}

.novel-page {
    width: 568px;
    /* height: 800px; */
    /* background-color: #ffffff; */
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 15px 35px rgba(0,0,0,0.08); */
    border: 1px solid #eee;
    position: relative;

}
.novel-page * {
    font-family: 'Nanum Myeongjo', serif;
}

.header-line {
    margin: 35px 45px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #00a8ff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.book-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #2f3640;
    letter-spacing: -0.5px;
}

.chapter-tag {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.75rem;
    color: #00a8ff;
    font-weight: 500;
    border: 1px solid #00a8ff;
    padding: 1px 8px;
    border-radius: 12px;
}

.content-area {
    flex: 1;
    padding: 65px 55px;
    line-height: 2.3;
    font-size: 1.1rem;
    color: #222;
    text-align: justify;
    word-break: keep-all;
    letter-spacing: -0.02em;
}

.highlight-box {
    display: block;
    margin: 40px 0;
    padding: 15px 25px;
    background-color: #f1f9ff;
    border-right: 4px solid #00a8ff;
    font-weight: 700;
    color: #0077cc;
    font-size: 1.2rem;
    text-align: center;
}

.footer-line {
    padding: 25px 45px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.page-divider {
    width: 40px;
    height: 1px;
    background-color: #00a8ff;
}

.page-number {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #b2bec3;
    letter-spacing: 3px;
}


:root {
    --primary-blue: #00a8ff;
    --primary-hover: #0086cc;
    --bg-white: #ffffff;
    --text-dark: #2f3640;
    --border-light: #dcdde1;
    --shadow-soft: 0 4px 12px rgba(0, 168, 255, 0.15);
}

/* 입력창(Input) 스타일 */
.ln-input-group {
    margin-bottom: 20px;
    font-family: 'Noto Sans KR', sans-serif;
}

.ln-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-sizing: border-box;
    outline: none;
}

.ln-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(0, 168, 255, 0.2);
}

.ln-input::placeholder {
    color: #a5abb1;
}

/* 버튼(Button) 스타일 */
.ln-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Noto Sans KR', sans-serif;
    gap: 8px;
}

/* 메인 스카이 블루 버튼 */
.btn-primary {
    background-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 168, 255, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

/* 테두리형 버튼 */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: #f1f9ff;
    transform: translateY(-2px);
}




/* 리스트 컨테이너 */
.ln-list-container {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    padding: 10px;
    font-family: 'Noto Sans KR', sans-serif;
}

.ln-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 리스트 아이템 기본 스타일 */
.ln-list-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 10px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* 마우스 호버 효과 */
.ln-list-item:hover {
    transform: translateX(8px);
    border-color: #00a8ff;
    background-color: #f1f9ff;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.1);
}
.item-active {
    transform: translateX(8px);
    border-color: #00a8ff;
    background-color: #f1f9ff;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.1);
}


/* 에피소드 번호 (포인트) */
.item-number {
    font-size: 0.8rem;
    font-weight: 800;
    color: #00a8ff;
    background: #e1f5ff;
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

/* 리스트 텍스트 내용 */
.item-content {
    flex: 1;
}

.item-title {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #2f3640;
}

.item-date {
    display: block;
    font-size: 0.75rem;
    color: #a5abb1;
    margin-top: 2px;
}

/* 우측 화살표 아이콘 대체물 */
.item-arrow {
    color: #00a8ff;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ln-list-item:hover .item-arrow {
    opacity: 1;
}
.item-active .item-arrow {
    opacity: 1;
}







 /* style="padding: 40px; background: #fff; width: 400px; border-radius: 12px;" */
.contr-p {
    border-radius: 12px;
    position: fixed;
    top : 75px;
    left : 0px;

    width: 500px;
    height: 100%;
    background-color: white;
    box-shadow: 1px 1px 1px black;

    overflow: auto;
    overflow-x: hidden;

    padding : 20px;
    z-index: 999;

}

.contr-p-s {
    border-radius: 12px;
    position: fixed;
    /* top : 60px; */
    /* right: 30px; */
    /* left : calc(50% + 468px); */
    /* transform: translate(-50%, 0); */
    bottom: 10px;
    right: 10px;
    width: 158px;
    background-color: white;
    text-align: center;
    padding : 20px;
    z-index: 999;
    font-family: 'Noto Sans KR', sans-serif;
    box-shadow: 1px 1px 1px black;
}
.contr-p-s  * {
    font-family: 'Noto Sans KR', sans-serif;
}
.contr-p-s > div {
    /* display: inline-block; */
    /* display: flex; */
}
.contr-p-s > div:nth-child(1){
    display: flex;
}
.contr-p-s > div > span {
    flex : 1;
    font-size: 18px;
}

.contr-p-s input {
    text-align: center;
    padding : 3px;
}







.contr-nvls {
    border-radius: 10px;
    border : 1px solid #ccc;
    padding : 10px;
    margin-bottom: 10px;
}
.contr-nvls > div {
    padding : 0 10px;
}
.contr-nvls > div:nth-child(1) {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2f3640;
}

.contr-nvls > div:nth-child(2) {
    text-align: right;
}











/* 메인 컨테이너 레이아웃 */
.main-dashboard {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    font-family: 'Noto Sans KR', sans-serif;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    border-bottom: 3px solid #00a8ff;
    padding-bottom: 10px;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #2f3640;
}

/* 메인 리스트 스타일 */
.main-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.main-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 168, 255, 0.1);
    border-color: #00a8ff;
}

/* 썸네일 대용 아이콘 영역 */
.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00a8ff, #00d2ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    margin-right: 20px;
}

.card-info {
    flex: 1;
}

.card-tag {
    font-size: 0.7rem;
    color: #00a8ff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2f3640;
    margin-bottom: 6px;
}

/* 진행률 또는 상태 표시 */
.card-status {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.status-badge {
    padding: 2px 8px;
    background: #f1f9ff;
    border-radius: 4px;
    color: #00a8ff;
    font-weight: 600;
    font-size: 0.75rem;
}




/* 네비게이션 바 전체 컨테이너 */
.ln-nav {
    width: 100%;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9); /* 살짝 투명한 화이트 */
    backdrop-filter: blur(10px); /* 뒤 배경 흐림 처리 */
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Noto Sans KR', sans-serif;
}

.ln-nav-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* 로고 영역 */
.ln-logo {
    font-size: 1.4rem;
    font-weight: 900;
    color: #2f3640;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ln-logo span {
    color: #00a8ff; /* 로고 포인트 컬러 */
}

/* 메뉴 영역 */
.ln-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ln-menu-item a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: #7f8c8d;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.ln-menu-item a:hover {
    color: #00a8ff;
}

/* 메뉴 하단 언더라인 애니메이션 */
.ln-menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00a8ff;
    transition: width 0.3s ease;
}

.ln-menu-item a:hover::after {
    width: 100%;
}

/* 로그인/우측 영역 */
.ln-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    color: #7f8c8d;
    padding: 8px 16px;
    transition: color 0.3s;
}

.btn-login:hover {
    color: #2f3640;
}

.btn-signup {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    background-color: #00a8ff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px; /* 둥근 캡슐 형태 */
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 168, 255, 0.2);
}

.btn-signup:hover {
    background-color: #0086cc;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 168, 255, 0.3);
}