body{
margin:0;
font-family:Inter;
background:#e8e1d3;
-webkit-font-smoothing:antialiased;
}

/* NAV */
.nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 16px;
background:#e8e1d3;
position:sticky;
top:0;
z-index:100;
}

.logo-img{
height:32px;
}

.nav-center{
display:flex;
gap:18px;
}

.nav-center a{
text-decoration:none;
color:#333;
font-size:14px;
}

/* MOBILE MENU */
.menu-toggle{
display:none;
font-size:22px;
cursor:pointer;
}

@media(max-width:768px){

.menu-toggle{display:block;}

.nav-center{
display:none;
flex-direction:column;
position:absolute;
top:60px;
left:0;
width:100%;
background:#e8e1d3;
padding:20px;
border-top:1px solid #ddd;
}

.nav-center.show{
display:flex;
}

}

/* ABOUT (HERO REPLACEMENT) */
.about{
padding:40px 16px;
background:#efe7d8;
}

.about-wrapper{
display:grid;
grid-template-columns:1fr;
gap:30px;
max-width:1000px;
margin:auto;
text-align:center;
}

.about-left img{
width:140px;
border-radius:100%;
}

.about-right h2{
font-family:"Playfair Display";
font-size:28px;
margin:0;
}

.about-line{
font-size:13px;
color:#777;
}

.about-text{
line-height:1.8;
font-size:14px;
}

.about-meta{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
font-size:13px;
}

/* DESKTOP ABOUT */
@media(min-width:768px){
.about{
padding:80px 60px;
}

.about-wrapper{
grid-template-columns:300px 1fr;
text-align:left;
}

.about-left img{
width:100%;
border-radius:8px;
}

.about-right h2{
font-size:34px;
}
}

/* BOOK SLIDER */
.slider-wrapper{
position:relative;
}

.slider{
display:flex;
gap:16px;
overflow-x:auto;
scroll-behavior:smooth;
padding:20px 10px;

scroll-snap-type:x mandatory;
}

.slider::-webkit-scrollbar{
display:none;
}

.book{
min-width:140px;
flex-shrink:0;
cursor:pointer;
transition:.3s;

scroll-snap-align:start;
}
.book img{
width:100%;
height:200px;
object-fit:cover;
border-radius:8px;
}

/* DESKTOP BOOK SIZE */
@media(min-width:768px){
.book{
min-width:180px;
}

.book img{
height:260px;
}
}
.book img{
width:100%;
height:200px;
object-fit:cover;
border-radius:8px;

filter:blur(8px);
transform:scale(1.05);
transition:all .4s ease;
}

.book img.loaded{
filter:blur(0);
transform:scale(1);
}
.slider{
-webkit-overflow-scrolling:touch;
}

.book:hover{
transform:scale(1.08);
box-shadow:0 12px 30px rgba(0,0,0,.2);
}
/* SLIDER BUTTONS */
.slide-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,.6);
color:white;
border:none;
font-size:22px;
padding:8px 12px;
cursor:pointer;
z-index:2;
}

.slide-btn.left{left:0;}
.slide-btn.right{right:0;}

@media(max-width:768px){
.slide-btn{display:none;}
}

/* NAZMS */
.nazms{
padding:30px 16px;
}

.nazm-list{
display:grid;
grid-template-columns:1fr;
gap:10px;
}

.nazm{
background:white;
padding:12px;
font-size:14px;
cursor:pointer;
border-radius:6px;
}

.nazm.active{
background:#8b7a5c;
color:white;
}

/* DESKTOP NAZM GRID */
@media(min-width:768px){
.nazm-list{
grid-template-columns:1fr 1fr;
}
}

/* NAZM TEXT */
#nazm-text{
direction:ltr;
text-align:left;
white-space:pre-line;
line-height:2.2;
font-size:15px;
}

.nazm-reader{
max-height:0;
overflow:hidden;
opacity:0;
transition:.4s ease;
padding:0 10px;
}

.nazm-reader.open{
max-height:2000px;
opacity:1;
padding:20px 10px;
}

/* STORY */
.short-story{
padding:30px 16px;
}

#story-single{
max-width:600px;
margin:auto;
background:white;
padding:20px;
font-size:14px;
line-height:1.8;
}

/* LATEST */
.latest{
padding:30px 16px;
}

.latest-grid{
display:grid;
grid-template-columns:1fr;
gap:16px;
}

.latest-grid img{
width:100%;
height:180px;
object-fit:cover;
border-radius:6px;
}

/* DESKTOP LATEST */
@media(min-width:768px){
.latest-grid{
grid-template-columns:repeat(3,1fr);
}
}

/* MODAL */
.book-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.6);
display:flex;
justify-content:center;
align-items:center;
opacity:0;
pointer-events:none;
transition:.3s;
}

.book-modal.show{
opacity:1;
pointer-events:auto;
}

.book-card{
background:white;
padding:20px;
width:90%;
max-width:320px;
border-radius:8px;
text-align:center;
}

.book-card img{
width:120px;
margin-bottom:10px;
}

/* SKELETON */
.skeleton{
background:linear-gradient(90deg,#ddd,#eee,#ddd);
background-size:200% 100%;
animation:shine 1.2s infinite;
}

@keyframes shine{
0%{background-position:200% 0}
100%{background-position:-200% 0}
}

.skeleton-card{
height:200px;
border-radius:8px;
}
/* HOVER PREVIEW */

.hover-preview{
position:fixed;
width:260px;
background:white;
border-radius:10px;
box-shadow:0 20px 60px rgba(0,0,0,.3);
overflow:hidden;

opacity:0;
pointer-events:none;
transform:translateY(10px) scale(.95);
transition:.25s ease;

z-index:9999;
}

.hover-preview img{
width:100%;
height:150px;
object-fit:cover;
}

.preview-content{
padding:12px;
}

.preview-content h4{
margin:0;
font-size:14px;
}

.preview-content p{
font-size:12px;
color:#666;
margin-top:6px;
line-height:1.4;
}

.hover-preview.show{
opacity:1;
transform:translateY(0) scale(1);
}

/* BOOK PAGE */

.book-page{
padding:40px 20px;
}

.book-container{
display:grid;
grid-template-columns:1fr;
gap:30px;
max-width:1000px;
margin:auto;
}

.book-left img{
width:100%;
max-width:300px;
border-radius:8px;
}

.book-right h1{
font-family:"Playfair Display";
margin-bottom:10px;
}

.book-right p{
line-height:1.8;
}

.buy-btn{
display:inline-block;
margin-top:20px;
background:#8b7a5c;
color:white;
padding:10px 20px;
text-decoration:none;
}

/* DESKTOP */

@media(min-width:768px){
.book-container{
grid-template-columns:300px 1fr;
align-items:start;
}
}