.logo {
    position: relative;
    display: inline-block;
}

.logo-img {
    height: 80px;
    transition: opacity 0.3s ease;
}

/* default tampil */
.logo-top {
    opacity: 1;
    position: relative;
}

/* hidden awal */
.logo-scroll {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
}

/* saat scroll */
.scrolled .logo-top {
    opacity: 0;
}

.scrolled .logo-scroll {
    opacity: 1;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.img-detail-artikel{
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    text-decoration: none;
}

.wa-text {
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 18px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
}

.wa-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.wa-float:hover .wa-text {
    transform: translateX(-5px);
    transition: 0.2s;
}
.video-home-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-home-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.15);
}

.video-home-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-home-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-home-player .vjs-tech {
    object-fit: cover;
}

.header-container{
    display:flex;
    align-items:center;
    position:relative;
}

.header-logo{
    flex: 0 0 auto;
}

.header-right{
    flex: 0 0 auto;
    margin-left:auto;
}

/* center block sits absolutely centered in the header, independent of logo/button widths */
.header-center{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
}

.nav-pill-wrapper{
   border-radius: 100px;
    background: rgba(25, 11, 48, 0.15);
    backdrop-filter: blur(7.5px);
    border-radius: 100px;
    padding: 10px 30px;
}

.nav-pill-wrapper .nav-s{
    display:flex;
    align-items:center;
    gap: 4px;
    margin:0;
    white-space:nowrap;
}

.nav-pill-wrapper .nav-link{
    color:#fff;
    font-weight:500;
    font-size:0.95rem;
    padding: 8px 20px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space:nowrap;
    display:block;
}

.nav-pill-wrapper .nav-link:hover{
    background: rgba(255,255,255,0.12);
}

.nav-pill-wrapper .nav-link.active{
   border-radius: 50px;
    background: rgba(255, 255, 255, 0.20);
    box-shadow: 0 4px 50px 0 rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
    color:#000 !important;
    font-weight: 700 !important;
}

.btn-hubungi{
    background:#f5a623;
    color:#1a1a2e;
    font-weight:600;
    padding: 10px 24px;
    display:inline-block;
    text-decoration:none;
    white-space:nowrap;
}
.btn-hubungi:hover{
    background:#e0951a;
    color:#1a1a2e;
}

@media (max-width: 991px){
    .header-center{ display:none; }
}

/* ===== ROYAL HERO SECTION (prefixed to avoid theme conflicts) ===== */
.royal-hero{
    position: relative !important;
    min-height: 100vh;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

.royal-hero .royal-hero-bg{
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.royal-hero .royal-hero-content{
    position: relative !important;
    z-index: 1;
    width: 100%;
    padding-bottom: 20px;
    display: flex !important;
    justify-content: center;
}

.royal-hero .royal-hero-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.royal-hero .royal-hero-title{
    color:#fff;
    font-weight:800;
    font-size: 2.75rem;
    line-height:1.15;
    max-width: 800px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.royal-hero .royal-hero-desc{
    color:#fff;
    font-size:1.1rem;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.royal-hero .royal-hero-buttons{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.royal-hero .royal-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.royal-hero .royal-btn:hover{
    opacity: 0.9;
    color: inherit;
}

.royal-hero .royal-btn-primary{
    color:#fff;
}

.royal-hero .royal-btn-outline{
    color:#fff;
    border: 1px solid #fff;
    background: transparent;
}

.royal-hero .royal-btn-icon{
    display:inline-flex;
    align-items:center;
}

@media (max-width: 767px){
    .royal-hero{ min-height: 100vh; }
    .royal-hero .royal-hero-title{ font-size:1.9rem; }
    .royal-hero .royal-hero-desc{ font-size:1rem; }
    .royal-hero .royal-hero-content{ padding-bottom: 40px; }
}

.royal-hero .royal-hero-title{
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-style: normal;
    font-weight: 800;
    line-height: 64px;
    letter-spacing: -1.4px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.royal-hero .royal-hero-title-line1{
    color: #ECDCFF;
}

.royal-hero .royal-hero-title-line2{
    background: linear-gradient(90deg, #FFC174 0%, #F59E0B 50%, #FFB9D2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.royal-hero .royal-hero-desc{
    color: #FFF;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

@media (max-width: 767px){
    .royal-hero .royal-hero-title{
        font-size: 32px;
        line-height: 40px;
        letter-spacing: -0.8px;
    }
    .royal-hero .royal-hero-desc{
        font-size: 16px;
        line-height: 24px;
    }
}
.subjudul-tentang{
    color: #FFC174;
    text-align: center;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 14px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    border-radius: 20px;
    background: #312348;
    display: inline-block;
    padding: 8px 16px;
    margin: 0 auto; /* centers it if parent is text-align:center or a block */
}

.judul-tentang {
    color: #ECDCFF;
font-family: Outfit;
font-size: 32px;
font-style: normal;
font-weight: 800;
line-height: 48px; /* 150% */
letter-spacing: -0.4px;
}

.desk-tentang {
    color: #FFF;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 24px; /* 150% */
}

.royal-cta{
    position: relative;
    border-radius: 20px;
    background: rgba(49, 35, 72, 0.90);
    overflow: hidden;
    padding: 60px 40px;
}

/* blurred glow circle, bottom-right corner */
.royal-cta-glow{
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 250px;
    height: 250px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.20);
    filter: blur(32px);
    pointer-events: none;
    z-index: 0;
}

.royal-cta-content{
    position: relative;
    z-index: 1;
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
}

.royal-cta-title{
    color: #ECDCFF;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 900;
    line-height: 48px;
    letter-spacing: -0.4px;
    margin-bottom: 16px;
}

.royal-cta-desc{
    color: #ECDCFF;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 32px;
}

.royal-cta-badges{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.royal-cta-badge img{
    height: 56px;
    width: auto;
    display: block;
}

.royal-cta-glow-topleft{
    position: absolute;
    left: -60px;
    top: -60px;
    width: 250px;
    height: 250px;
    border-radius: 9999px;
    background: rgba(96, 1, 209, 0.20);
    filter: blur(32px);
    pointer-events: none;
    z-index: 0;
}
@media (max-width: 767px){
    .royal-cta{
        padding: 40px 20px;
    }
    .royal-cta-title{
        font-size: 24px;
        line-height: 34px;
    }
    .royal-cta-desc{
        font-size: 14px;
        line-height: 22px;
    }
}


/* ===== ROYAL GAME MODE SECTION ===== */
.royal-gamemode-section{
    background: #1a1033; /* adjust to match your page's actual dark bg */
    padding: 60px 0;
}

.royal-gamemode-title{
    color: #ECDCFF;
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.royal-gamemode-desc{
    color: #B9AFCB;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 400;
}

/* ===== SWIPER WRAPPER + FADE MASK ===== */
.royal-gamemode-swiper{
    position: relative;
    padding: 20px 0 10px;
}

.royal-gamemode-swiper::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(to right, #1a1033 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.royal-gamemode-swiper::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(to left, #1a1033 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* ===== SLIDES / CARDS ===== */
.royal-gamemode-swiper .swiper-slide{
    width: 260px;
}

.royal-gamemode-card{
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #F5A623;
    height: auto;
}

.royal-gamemode-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.royal-gamemode-overlay{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 14px 16px;
    background: linear-gradient(to top, rgba(120, 20, 130, 0.95) 0%, rgba(120,20,130,0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
}

.royal-gamemode-label{
    color: #FFE27A;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px){
    .royal-gamemode-title{ font-size: 24px; }
    .royal-gamemode-swiper .swiper-slide{ width: 200px; }
    .royal-gamemode-card{ height: 340px; }
    .royal-gamemode-swiper::before,
    .royal-gamemode-swiper::after{
        width: 40px;
    }
}

/* ===== ROYAL BLOG SECTION ===== */
.royal-blog-section{
    background: #1a1033;
    padding: 60px 0;
}

.royal-blog-title{
    color: #ECDCFF;
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-top: 12px;
    margin-bottom: 10px;
}

.royal-blog-subdesc{
    color: #B9AFCB;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 400;
}

.royal-blog-card{
    display: block;
    border-radius: 20px;
background: #312348;
box-shadow: 0 2px 50px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
    text-decoration: none;
    height: 100%;
    transition: transform 0.2s ease;
}

.royal-blog-card:hover{
    transform: translateY(-4px);
}

.royal-blog-img-box{
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.royal-blog-img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.royal-blog-body{
    padding: 16px 18px 20px;
}

.royal-blog-meta{
    display: flex;
    align-items: center;
    gap: 6px;
    color: #B9AFCB;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 10px;
}

.royal-blog-dot{
    font-size: 10px;
}

.royal-blog-card-title{
    color: #ECDCFF;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 25px;
    margin-bottom: 8px;
}

.royal-blog-card-desc{
    color: #D8C3AD;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 14px;
}

.royal-blog-readmore{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #F59E0B;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0.52px;
}

.royal-blog-btn{
    display: inline-block;
    background: #F59E0B;
    color: #1a1a2e;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
}

.royal-blog-btn:hover{
    background: #e0951a;
    color: #1a1a2e;
}

/* line clamp utilities, in case not already defined globally */
.line-clamp-2{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px){
    .royal-blog-title{ font-size: 24px; }
}
/* ===== ROYAL CTA2 SECTION ===== */
.royal-cta2{
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #26183D 0.01%, #312348 54.07%, #190B30 108.14%);
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
    overflow: visible;
    display: flex;
    align-items: center;
    min-height: 560px;
    padding: 40px 5%;
}

/* glow behind character, left side */
.royal-cta2-glow-left{
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    border-radius: 500px;
    background: rgba(245, 158, 11, 0.08);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
    clip-path: inset(0);
}

.royal-cta2-character{
    position: absolute;
    left: 5%;
    bottom: -100px; /* let it extend slightly past the bottom too, matching the reference crop */
    z-index: 2;
    width: 600px;
}

.royal-cta2-character img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.royal-cta2-content{
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    padding: 0 40px;
    margin-left: 380px;
}

.royal-cta2-title{
    color: #ECDCFF;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 900;
    line-height: 48px;
    letter-spacing: -0.4px;
    margin-bottom: 16px;
}

.royal-cta2-title .royal-cta2-highlight{
    background: linear-gradient(90deg, #FFC174 0%, #F59E0B 50%, #FFB9D2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.royal-cta2-desc{
    color: #ECDCFF;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    max-width: 600px;
    margin: 0 auto 28px;
}

.royal-cta2-btn-wrap{
    position: relative;
    display: inline-block;
}

/* glow behind button */
.royal-cta2-glow-btn{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
    border-radius: 500px;
    background: rgba(245, 158, 11, 0.08);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.royal-cta2-btn{
    position: relative;
    z-index: 1;
    display: inline-block;
    border-radius: 20px;
    background: linear-gradient(90deg, #FAAB6F -7.62%, #F59E0B 56.35%, #FFB9D2 120.31%);
    box-shadow: 0 6px 0 0 rgba(0, 0, 0, 0.25), 0 12px 24px 0 rgba(0, 0, 0, 0.25);
    color: #1a1a2e;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 40px;
    transition: transform 0.15s ease;
}

.royal-cta2-btn:hover{
    color: #1a1a2e;
    transform: translateY(2px);
    box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.25), 0 8px 20px 0 rgba(0, 0, 0, 0.25);
}
@media (max-width: 991px){
    .royal-cta2{
        flex-direction: column;
        padding: 40px 20px;
        min-height: auto;
        overflow: hidden;
    }
    .royal-cta2-character{
        position: relative;
        left: auto;
        bottom: auto;
        max-width: 260px;
        margin: 0 auto 20px;
    }
    .royal-cta2-content{
        margin-left: 0;
    }
    .royal-cta2-title{
        font-size: 28px;
        line-height: 36px;
    }
}