body{
margin:0;
font-family:"Crimson Text",serif;
background:
radial-gradient(circle at 20% 10%, rgba(236, 202, 91, 0.15), transparent 40%),
radial-gradient(circle at 80% 90%, rgba(212,175,55,0.08), transparent 40%),
#04163a;
}

header h1{
font-family:"Playfair Display";
color:#d4af37;
font-size:46px;
margin:0;
text-shadow:0 0 18px rgba(212,175,55,0.35);
}

.author{
color:#e6c76b;
margin-top:8px;
font-size:18px;
opacity:0.85;
}

header{
text-align:center;
padding:60px 20px 30px;
}

.container{
max-width:1200px;
margin:auto;
padding:20px;
}

body{
  user-select: none;
}

.section-title{
text-align:center;
color:#d4af37;
font-family:"Playfair Display";
font-size:32px;
margin:70px 0 30px 0;
letter-spacing:1px;
}

.card{
text-align:center;
margin-bottom:40px;
}

.card img{
width:100%;
max-width:340px;
display:block;
margin:auto;
border-radius:18px;
box-shadow:0 12px 35px rgba(0,0,0,0.6);
}

.cast-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:28px;
max-width:520px;
margin:0 auto 50px auto;
}

.cast-grid img{
width:100%;
max-width:240px;
display:block;
margin:auto;
border-radius:18px;
box-shadow:0 12px 35px rgba(0,0,0,0.6);
}

.grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:28px;
max-width:560px;
margin:0 auto 60px auto;
}

.grid img{
width:100%;
max-width:260px;
display:block;
margin:auto;
border-radius:18px;
box-shadow:0 12px 35px rgba(0,0,0,0.6);
}

.episode-grid{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:40px;
max-width:1100px;
margin:70px auto;
justify-items:center;
}

.episode-card{
text-decoration:none;
color:white;
text-align:center;
transition:0.3s;
width:100%;
line-height:1.4;
display:block;
max-width:230px;
transition:transform .3s ease;
}

.episode-card:hover img{
transform:scale(1.05);
transform:scale(1.1) translateY(-6px);
}

.episode-card img{
width:100%;
border-radius:20px;
box-shadow:0 16px 45px rgba(0,0,0,0.75);
transition:transform 0.3s ease;
}

.episode-title{
margin-top:10px;
font-size:17px;
}

footer{
text-align:center;
color: #d4af37;
padding:40px;
opacity:0.7;
}

.author{
margin-top:8px;
opacity:0.85;
}

.quote{
color:#a8c6d8;
margin-top:14px;
font-style:italic;
max-width:520px;
margin-left:auto;
margin-right:auto;
line-height:1.5;
text-align:center;
opacity:0.9;
}

.author{
margin-top:8px;
opacity:0.85;
font-size:18px;
}

.card img{
transition:transform 0.35s ease, box-shadow 0.35s ease;
}

.card img:hover{
transform:scale(1.05);
box-shadow:0 18px 45px rgba(0,0,0,0.7);
}

.episode-card{
transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.episode-card:hover{
transform:translateY(-6px) scale(1.08);
box-shadow:0 20px 50px rgba(212,175,55,0.35);
}

header{
animation:fadeDown 1s ease;
}

.container{
animation:fadeUp 1.2s ease;
}

@keyframes fadeDown{
from{
opacity:0;
transform:translateY(-30px);
}
to{
opacity:1;
transform:translateY(0);
}
}

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(40px);
}
to{
opacity:1;
transform:translateY(0);
}
}

.viewer{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
}

.viewer img{
max-width:80%;
max-height:85%;
border-radius:16px;
z-index:1;
}

#viewer-close{
position:absolute;
top:30px;
right:40px;
font-size:32px;
background:none;
border:none;
color:white;
cursor:pointer;
z-index:10;
}

.top-menu{
position:sticky;
top:0;
display:flex;
justify-content:center;
gap:35px;
padding:12px;
background:#0b1c3d;
border-bottom:2px solid #d4af37;
z-index:999;
}

.top-menu a{
color:#d4af37;
text-decoration:none;
font-family:"Playfair Display";
letter-spacing:1px;
transition:0.3s;
backdrop-filter:blur(6px);
}

.top-menu a:hover{
color:#fff2a8;
transform:scale(1.1);
}

html{
scroll-behavior:smooth;
}

#poster{
scroll-margin-top: 255px;
}

#cast,
#sinopsis,
#episode{
scroll-margin-top:90px;
}

#prakata{
scroll-margin-top:90px;
}

.section-ornament{
position:relative;
text-align:center;
font-family:"Playfair Display";
font-size:32px;
color:#d4af37;
margin:80px 0 50px;
letter-spacing:2px;
}

.section-ornament::before,
.section-ornament::after{
content:"";
position:absolute;
top:50%;
transform:translateY(-50%);
height:2px;
background:#d4af37;
}

.section-ornament::before{
left:0;
width:23%;
}

.section-ornament::after{
right:0;
width:23%;
}

body::before,
body::after{
content:"";
position:fixed;
top:0;
height:100vh;
width:160px;
pointer-events:none;
z-index:2;

background:
radial-gradient(120px 200px at 0% 20%, rgba(212,175,55,0.65), transparent 80%),
radial-gradient(120px 200px at 0% 60%, rgba(212,175,55,0.65), transparent 80%),
radial-gradient(120px 200px at 0% 100%, rgba(212,175,55,0.65), transparent 80%);
}

body::before{
left:-40px;
}

body::after{
right:-40px;
transform:scaleX(-1);

}
