:root {
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-dim: #7a5c1e;
  --crimson: #8b1a1a;
  --crimson-dark: #5a0e0e;
  --bg-deep: #0a0705;
  --bg-dark: #110d08;
  --bg-card: #1a1208;
  --bg-mid: #221a0e;
  --text-light: #f0e6cc;
  --text-dim: #9a8a6a;
  --border-gold: rgba(201,168,76,0.3);
}
html { scroll-behavior: smooth; }
body{
    position: relative;
    margin: 0; 
    background-color: var(--bg-deep);
    color: var(--text-light);
    overflow-x: hidden;
    background-color: var(--bg-dark);
    min-height: 100vh
}
.container{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
/* ___NAVBAR___ */
nav{
    position: fixed;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    padding: 15px 20px;
    border-bottom: 0.8px solid var(--border-gold);
    background-color: var(--bg-deep);
}
.logo{
    display: flex ;
    align-items: center;
    
    width: 3rem;
}
.logo-icon img{width: 100%;}
.logo-teks img{width: 100%;} 
.nav-links{margin: 1rem 0; top: 0%; right: 0%;}
.nav-links ul{
    display: flex;
    list-style: none; text-decoration: none;
    gap: 1rem;
    padding: 0;
    margin: 0;
}
.nav-links a{
    text-decoration: none;
    color: var(--text-dim);
    font-family: 'Cinzel', serif; font-size: 1.1rem;
    font-size: 0.78rem; letter-spacing: 0.18em;
}
.nav-links a:hover{
    color: var(--gold-light);
}
.nav-links a.active{
    border-bottom: 1px solid var(--gold-light);
    color: var(--gold-light);
}
/* Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown img{
    width: 10px;
    transform: rotate(90deg);
    
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-deep);
    border: 0.8px solid var(--border-gold);
    min-width: 130px;
    z-index: 200;
    flex-direction: column;
    padding: 0.4rem 0;
}
.nav-dropdown .open {
    display: flex;
}
.dropdown-menu a {
    display: block;
    padding: 0.45rem 1rem;
    color: var(--text-dim);
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-decoration: none;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    color: var(--gold-light);
    background-color: var(--bg-mid);
}
/* __HOME__ */


/* sction a */
.home-wrap-section-a{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 10rem;
    border-bottom: 1px solid var(--border-gold);
     background: 
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(139,26,26,0.18) 0%, transparent 70%), 
    radial-gradient(ellipse 50% 80% at 20% 100%, rgba(201,168,76,0.08) 0%, transparent 60%), 
    radial-gradient(ellipse 50% 80% at 80% 0%, rgba(201,168,76,0.06) 0%, transparent 60%), 
    linear-gradient(180deg, #0a0705 0%, #150e06 50%, #0a0705 100%);
}
.frame-corner{
    position: absolute; width: 60px; height: 60px;
    border-color: var(--gold-dim); border-style: solid; opacity: 0.5;
}
.frame-corner.tl{top: 100px; left: 20px; border-width: 2px 0 0 2px;}
.frame-corner.tr{top: 100px; right: 20px; border-width: 2px 2px 0 0;}
.frame-corner.bl{bottom: 20px; left: 20px; border-width: 0 0 2px 2px;}
.frame-corner.br{bottom: 20px; right: 20px; border-width: 0 2px 2px 0;}


.hero-content{
    
    position: relative;
    text-align: center;
    max-width: 900px;
    
}
.hero-badge{ 
    display: inline-block;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    text-align: center;
    max-width: 400px;
    border: 0.8px solid var(--border-gold);
}
.hero-logo{
    margin-top: 2rem;
}
.hero-logo img{width: 30%;  border-radius: 10px; padding: 10px 50px;}
.hero-divider img{width: 50%;}
.hero-text{
  font-family: 'Lora', serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.8; color: var(--text-dim);
  max-width: 600px; margin: 0 auto 3rem; font-style: italic;
}
.home-cta-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap-reverse;
    gap: 1rem;
    margin-bottom: 5rem;
}
.home-section-a-download{
    display: inline-block;
}
.home-section-a-download img{
    max-width: 160px;
    display: block;
}
.home-section-a-more{
    text-decoration: none;
    color: var(--text-light);
    background-color: var(--crimson-dark);
    padding: 1rem;
    display: inline-block;
    border-radius: 5px;
}
/* section b */
.gallery-deskripsi {
    display: none;
}

.gallery-deskripsi.active {
    display: block;
}
.home-wrap-section-b{
    background: 
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(139,26,26,0.18) 0%, transparent 70%), 
    radial-gradient(ellipse 50% 80% at 20% 100%, rgba(201,168,76,0.08) 0%, transparent 60%), 
    radial-gradient(ellipse 50% 80% at 80% 0%, rgba(201,168,76,0.06) 0%, transparent 60%), 
    linear-gradient(180deg, #0a0705 0%, #150e06 50%, #0a0705 100%);
    padding: 5rem 0;
    display: flex;
    justify-content: center;
}
.gallery-wrap{max-width: 600px;}
.preview-wrap{display: flex;align-items: center; justify-content: center; gap: 0.3rem;}
#gallery-preview{aspect-ratio: 3/2; width: 90%; object-fit: cover;}

.right-button{background-color: var(--gold); display: flex; align-items: center; }
.right-button img{width: 2rem; }
.right-button:hover{background-color: var(--gold-light);}

.left-button{background-color: var(--gold); display: flex; align-items: center; transform: scaleX(-1);}
.left-button img{width: 2rem; }
.left-button:hover{background-color: var(--gold-light);}

.gallery-carousel{
    display: flex;
    justify-content: start;
    align-items: end;
    margin-top: 0.5rem;
    overflow-x: auto;
    padding: 10px;
    gap: 10px;
    width: 100%;
    height: 7rem; 
}

.gallery-carousel img{ aspect-ratio: 3/2; width: 30%; cursor: pointer;}
.gallery-carousel img.active{
    outline: 3px solid var(--gold-light);
}

.gallery-carousel::-webkit-scrollbar {
    height: 6px; /* karena horizontal */
}

.gallery-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-carousel::-webkit-scrollbar-thumb {
    background: var(--gold-dim);
    border-radius: 10px;
}

.gallery-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}
/* ABOUT */


/* section a */
.about-wrap-section-a{
    padding: 10rem 3rem 5rem;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.about-wrap-section-a h1{
    margin: 0;
    font-size: 2.5rem;
    color: var(--gold-light);
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
}
.about-wrap-section-a > img{ max-width: 360px; }
.about-card{
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
    margin-top: 2rem;
    border: 1px solid var(--border-gold);
    background-color: var(--bg-card);
    padding: 1.5rem;
    box-sizing: border-box;
}
.about-image-wrap{
    flex-shrink: 0;
    width: 180px;
    height: 220px;
    border: 2px solid var(--gold-dim);
    overflow: hidden;
}
.about-image-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
.about-info{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.about-subtitle{
    margin: 0;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 0.05em;
}
.about-desc{
    padding-left: 1rem;
    border-left: 2px solid var(--gold-dim);
}
.about-desc p{
    margin: 0;
    color: var(--text-dim);
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.8;
}
/* section b */
.about-wrap-section-b{
    
    display: flex;
    align-items: center;
    flex-direction: column;
    border-top: 0.5px solid var(--border-gold);
     
}
.about-wrap-section-b h1{
    font-size: 2.5rem;
    color: var(--gold-light);
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
    margin: 0;
}
.about-wrap-section-b img{max-width: 360px;}
.about-wrap-section-b form{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: none   ; 
    border: 1px solid var(--border-gold); 
    width: 100%; 
    max-width: 800px;
    padding: 1rem;
    gap: 10px;
    margin-top: 2rem;
    background-color: var(--bg-card);
}
form label{
    font-family: 'Cinzel Decorative', 'serif';
    font-size: 0.8rem;
}
form input, form textarea{
    outline: none;
    border: 1px solid var(--border-gold);
    background-color: var(--bg-mid);
    padding: 0.3rem;
    color: var(--gold-light);
}
form input{max-width: 200px;}
form textarea{max-width: 500px; height: 50px;}
form button{
    width: 100px;
    background-color: var(--crimson);
    border: none;
    padding: 5px;
    color: var(--gold-light);
    font-family: 'Cinzel Decorative';
    font-weight: 400;
    cursor: pointer;
}
form button:hover{
    background-color: var(--crimson-dark);
}
/* .table-wrapper{margin-top: 4rem; width: 55%; display: flex; justify-content: center;} */
table{
    width: 55%;
    margin-top: 2rem;
    border-collapse: collapse;
}
th{
    font-family: 'Cinzel Decorative';
    font-weight: 400;
    background-color: var(--bg-mid);
    padding: 5px 0;
    text-align: start;
    color: var(--gold);
}
th:nth-child(2){
    width: 15%;
}
tr td:first-child{color: var(--gold);}
tr td:nth-child(2){color: var(--text-dim); font-size: 0.8rem;}
th,td{
    border-bottom: 1px solid var(--border-gold);
    padding: 5px 20px;
}
textarea{resize: vertical;}
/* section c */
.about-wrap-section-c {
    padding: 0 3rem 5rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-bottom: 1px solid var(--border-gold);
}
.about-wrap-section-c .creator-title {
    margin: 0;
    font-size: 2.5rem;
    color: var(--gold-light);
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
}
.about-wrap-section-c > img {
    max-width: 360px;
}
.creator-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
    margin-top: 2rem;
    border: 1px solid var(--border-gold);
    background-color: var(--bg-card);
    padding: 1.5rem;
    box-sizing: border-box;
}
.creator-image-wrap {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border: 2px solid var(--gold-dim);
    overflow: hidden;
}
.creator-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.creator-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.creator-name {
    margin: 0;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 0.05em;
}
.creator-desc-wrap {
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid var(--gold-dim);
}
.creator-desc-wrap p {
    margin: 0;
    color: var(--text-dim);
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.8;
}
/* MERCHANDISE */
.merchandise-wrap-section-a{
    padding: 10rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
.merchandise-wrap-section-a h1{
    margin: 0;
    color: var(--gold);
    font-size: 2.5rem;
    color: var(--gold-light);
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
}
.merchandise-wrap-section-a .divider{
    max-width: 360px;
}
.merchandise-wrapper{
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}
.merchandise-wrap-section-a .card{
    
    max-width: 300px; 
    border: 1px solid var(--border-gold);
    background-color: var(--bg-card);
    position: relative;
    padding: 10px;

}
.merchandise-wrap-section-a .card-price{
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--crimson);
    padding: 5px;
}
.merchandise-wrap-section-a .card img{
    aspect-ratio: 16/9; width: 100%; object-fit: cover;
    outline: 1px solid var(--gold-light);
}
.merchandise-wrap-section-a p{
    max-height: 100px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-word;
    margin-bottom: 50px;
}
.button-order{
    display: inline-block;
    padding: 3px 8px;
    background-color: var(--crimson);
    border: 1px solid var(--border-gold);
    position: absolute;
    bottom: 5px;
}
.button-order:hover{background-color: var(--crimson-dark);}
.button-order a{
    text-decoration: none;
    color: #f0e6cc;
}
/* NEWS */
.news-wrap-section-a{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10rem 3rem;
}
.news-wrap-section-a h1{
    margin: 0;
    color: var(--gold);
    font-size: 2.5rem;
    color: var(--gold-light);
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
}
.news-wrap-section-a .divider{
    max-width: 360px;
}
.news-wrapper{
    margin-top: 2rem;
    width: 100%;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.news-wrap-section-a .card{
    border: 1px solid var(--border-gold);
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 300px;
    /* cursor: pointer;
    transition: border-color 0.2s; */
}
.news-wrap-section-a .card img{
    width: 100%;
    
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-gold);
}
.news-wrap-section-a .card .news-title{
    margin: 0;
    padding: 0.8rem 1rem 0.4rem;
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1.5;
    letter-spacing: 0.03em;
}
.news-wrap-section-a .card .card-desc{
   
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.82rem;
    color: var(--text-dim);
    padding: 0 20px;
    margin: 0 1px;
    max-height: 100px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-word;
}
.news-detail-title{
    max-width: 500px;
    color: var(--gold-light);
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.82rem;
    font-weight: 700;
    
}
.news-detail-wrapper img{
    margin-top: 100px;
    width: 450px;
}
.news-detail-card{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-detail-desc {
    color: var(--gold-light);
    max-width: 500px;
}
/* FOOTER */
footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid var(--border-gold);
    background-color: var(--bg-deep);
    
}
footer p{
    margin-top: 5px;
    font-size: small;
}
#logo-footer{
    width: 300px;
}

/*__RESPONSIVE__*/
#menu{
    color: var(--gold);
}
#menu:active, #menu:hover{
    color: var(--gold-light);
}
/* pc */
@media(min-width: 1023px){
    #menu{display: none;}
    
    
}
/* tablet */
@media(min-width: 768px) and (max-width: 1022px){
    #menu{display: none;}
    table{width: 90%;}
   
}
/* hp */
@media(max-width: 767px){
    .hero-text{max-width: 300px; font-size: 0.8rem;}
    .frame-corner{width: 30px; height: 30px;}
    .home-wrap-section-a{padding-bottom: 4rem;}
    .home-wrap-section-b{padding: 3rem;}
    #logo-footer{width: 200px;}
    footer p {font-size: 0.6rem;}
    
    .nav-links{
        position: absolute; top: 100%; right: -100%;
        height: 100vh;
        width: 10rem;
        margin: 0;
        padding-left: 10px;
        padding: 20px 0 0 15px;
        background-color: white;
    }
    .nav-links ul{
        flex-direction: column;
    }
    .nav-links.active{top: 100%; right: 0;}

    .gallery-wrap{
        width: 100%;
        padding-inline: 0.5rem;
    }
    .gallery-carousel{margin-top: 0.6rem; height: auto; padding: 8px; gap: 8px;}
    .gallery-carousel img{width: clamp(70px, 25vw, 95px); height: auto;}

    .about-wrap-section-a h1{font-size: 2rem;}
    td{font-size: 0.8rem;}
    .about-card{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about-image-wrap{
        width: 140px;
        height: 170px;
    }
    .about-desc{
        border-left: none;
        border-top: 2px solid var(--gold-dim);
        padding-left: 0;
        padding-top: 0.75rem;
    }
    .news-wrapper{
        grid-template-columns: 1fr;
    }
    .news-wrap-section-a{
        padding: 8rem 1.5rem 3rem;
    }
}

/* FONTS */
@font-face {
    font-family: 'Cinzel Decorative';
    src: url('fonts/CinzelDecorative-Regular.ttf');
    font-weight: 400;
}
@font-face {
    font-family: 'Cinzel Decorative';
    src: url('fonts/CinzelDecorative-Bold.ttf');
    font-weight: 700;
}
@font-face {
    font-family: 'Cinzel Decorative';
    src: url('fonts/CinzelDecorative-Black.ttf');
    font-weight: 900;
}


