/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

/* ==================== DYNAMIC RTP & SERVER SECTION ==================== */
.rtp-server-section {
    position: relative;
    background: rgba(194, 126, 0, 0.18);
    border: 1px solid #f8e694;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.rtp-server-section h2 {
    color: #f8e694;
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'gilroybold', sans-serif;
}
.rtp-server-section p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}
.rtp-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.rtp-tabs button {
    background: #eaa628;
    color: #fff;
    border: 1px solid #ffffbc;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}
.rtp-tabs button.active, .rtp-tabs button:hover {
    background: #f8e694;
    color: #000;
    border-color: #f8e694;
}
.rtp-card {
    display: none;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed #f8e694;
}
.rtp-card.active {
    display: block;
    animation: rtpFadeIn 0.5s;
}
.rtp-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}
.rtp-live-stats {
    font-size: 32px;
    font-family: 'Open24DisplaySt', sans-serif;
    color: #00ff00;
    margin: 10px 0;
    text-shadow: 0px 0px 10px rgba(0, 255, 0, 0.5);
}
.rtp-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: linear-gradient(180deg, #f8e694, #ffffbc);
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}
.rtp-btn:hover {
    filter: brightness(1.2);
}
@keyframes rtpFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



.vip-top-widgets { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
@media (min-width: 992px) { .vip-top-widgets { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.vip-widget-box {
    background: linear-gradient(145deg, #161616 0%, #050505 100%);
    border: 1px solid rgba(194, 126, 0, 0.18); 
    border-top: 3px solid #c27e00; 
    border-radius: 16px; padding: 25px; color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 15px rgba(194, 126, 0, 0.18); 
    text-align: center; font-family: 'Arial', sans-serif;
    position: relative; overflow: hidden;
}
.vip-widget-box h2 {
    color: #f8e694;  font-size: 20px; font-weight: 900; 
    margin: 0 0 5px; text-transform: uppercase; text-shadow: 0 0 10px rgba(248, 230, 148, 0.18); 
}
.vip-widget-box p { color: #ccc; font-size: 13px; margin: 0 0 15px; }
.vip-btn {
    background: linear-gradient(90deg, #c27e00;, #222);
    color: #f8e694;  border: 1px solid #f8e694; 
    padding: 15px; border-radius: 8px; font-size: 15px; font-weight: 900; width: 100%;
    cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; margin-top: 15px;
}
.vip-btn:hover { background: #f8e694;  color: #111; box-shadow: 0 5px 15px rgba(248, 230, 148, 0.18);  transform: translateY(-2px); }
.vip-btn:disabled { background: #333; color: #777; border-color: #555; cursor: not-allowed; transform: none; box-shadow: none; }
.vip-server-list { list-style: none; padding: 0; margin: 0; }
.vip-server-item {
    display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.05);
    padding: 12px 15px; margin-bottom: 8px; border-radius: 8px; border-left: 4px solid #c27e00;  transition: 0.3s;
}
.vip-server-item.active { border-left-color: #f8e694;  background: linear-gradient(90deg, rgba(248, 230, 148, 0.18);, transparent); }
.vip-server-item span:first-child { font-weight: bold; font-size: 14px; }
.vip-ping-val { font-family: monospace; font-size: 15px; color: #aaa; font-weight: bold; }
.ping-good { color: #00ff88; text-shadow: 0 0 8px rgba(0,255,136,0.5); }
.ping-warn { color: #f8e694;  text-shadow: 0 0 8px rgba(248, 230, 148, 0.18);  }
.vip-result-alert { margin-top: 15px; padding: 12px; border: 1px dashed #f8e694;  background: rgba(248, 230, 148, 0.18);  color: #fff; border-radius: 8px; font-size: 13px; display: none; }
.vip-result-alert.show { display: block; }
.vip-neon-screen {
    background: #050505; border: 2px solid #c27e00;  padding: 20px; border-radius: 8px;
    font-size: 20px; font-weight: 900; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); margin-bottom: 15px; box-shadow: inset 0 0 20px #000;
}
.vip-neon-screen.spinning { animation: vipPulse 0.1s infinite alternate; }
@keyframes vipPulse { from { border-color: #c27e00;  opacity: 1; } to { border-color: #f8e694;  opacity: 0.7; } }
.vip-rec-details { margin-top: 15px; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 8px; border-left: 4px solid #f8e694;  display: none; text-align: left; }
.vip-rec-details.show { display: block; }
.vip-rec-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: bold; color: #ddd; }
.vip-portal-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-top: 15px; }
@media (min-width: 768px) { .vip-portal-grid { grid-template-columns: 1fr 1fr; } }
.vip-portal-link {
    display: flex; align-items: center; gap: 15px; padding: 15px 20px; border-radius: 10px; text-decoration: none;
    color: #fff; font-weight: bold; transition: 0.3s; background: linear-gradient(135deg, #c27e00;, #222); border: 1px solid #c27e00; 
}
.vip-portal-link:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(194, 126, 0, 0.18);  color: #fff; }
.vip-portal-icon { font-size: 28px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }
.vip-portal-text { line-height: 1.2; text-align: left; font-size: 15px;}
.vip-portal-text small { font-weight: normal; font-size: 11px; opacity: 0.8; }



/* =======================================================
   APP DOWNLOAD BANNER 
   ======================================================= */
.app-download-wrapper {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #111111 0%, #c27e00 100%);
    border: 1px solid #f8e694;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    /* Uses your engine's RGBA variable for the dynamic outer glow */
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(248, 230, 148, 0.18);
    overflow: hidden;
}

.app-left-col {
    flex: 0 0 40%;
    position: relative;
}

/* Enlarges the phone to slightly overflow its column */
.phone-mockup {
    max-width: 120%;
    margin-left: -10%;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.7));
}

.app-right-col {
    flex: 0 0 60%;
    padding-left: 20px;
    color: #ffffff;
}

.app-headings .subtitle {
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 5px 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-headings .title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
    text-transform: uppercase;
}

.app-headings .desc {
    font-size: 18px;
    color: #dddddd;
    margin-bottom: 25px;
}

.app-actions-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.app-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 1:1 Image Container */
.square-img-container {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #f8e694;
    /* Dynamic glow behind the 1:1 image */
    box-shadow: 0 5px 15px rgba(248, 230, 148, 0.18);
    margin-bottom: 15px;
}

.square-img-container .square-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Text Overlay */
.square-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    padding: 6px 4px;
}

.square-overlay span {
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    display: block;
}

.qr-instruction {
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
}

.qr-instruction .highlight-text {
    /* Uses the dynamic secondary color */
    color: #f8e694; 
    font-weight: bold;
    text-shadow: 0 0 5px rgba(248, 230, 148, 0.18);
}

.app-btn-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 15px;
}

.app-name {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #ffffff;
}

/* Gradient Installation Button */
.btn-panduan {
    background: linear-gradient(90deg, #957b03 0%, #b0b004 100%);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: none;
    font-size: 15px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    /* Dynamic button glow */
    box-shadow: 0 4px 15px rgba(248, 230, 148, 0.18);
}

.btn-panduan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 230, 148, 0.18);
    color: #ffffff;
    text-decoration: none;
}

/* Responsive adjustments for Tablets/Mobiles */
@media (max-width: 768px) {
    .app-download-wrapper {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    
    .app-left-col {
        flex: 100%;
        margin-bottom: 20px;
    }
    
    .phone-mockup {
        max-width: 100%;
        margin-left: 0;
    }
    
    .app-right-col {
        flex: 100%;
        padding-left: 0;
    }
    
    .app-headings .title {
        font-size: 24px;
    }
    
    .app-headings .subtitle {
        font-size: 18px;
    }
    
    .app-actions-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .app-btn-section {
        padding-top: 0;
        align-items: center;
    }
}

:root {
    --api-primary: #c27e00;
    --api-secondary: #f8e694;
    --api-dark: #0a0a0a;
    --api-panel: #13100a;
    --api-text: #f8fafc;
    --api-muted: #94a3b8;
}

.api-widget-container {
    max-width: 1100px; 
    margin: 40px auto; 
    display: grid; 
    grid-template-columns: 1.6fr 1fr; 
    gap: 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    color: var(--api-text);
}

/* WIDGET CARDS (Clean Premium Design) */
.api-card {
    background: linear-gradient(145deg, var(--api-panel), #000000);
    border: 1px solid rgba(194, 126, 0, 0.3); 
    border-radius: 16px;
    padding: 28px; 
    position: relative; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(248, 230, 148, 0.05);
}
/* Aksen Atas Mewah */
.api-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--api-primary), var(--api-secondary), var(--api-primary));
}

.api-widget-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;
    border-bottom: 1px solid rgba(194, 126, 0, 0.2); padding-bottom: 16px;
}
.api-widget-title {
    font-size: 19px; font-weight: 800; color: var(--api-secondary); margin: 0; 
    text-transform: uppercase; letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 8px;
}
.api-live-time {
    background: rgba(194, 126, 0, 0.1); border: 1px solid rgba(194, 126, 0, 0.4);
    padding: 6px 14px; border-radius: 6px; font-family: monospace; font-weight: 700; 
    color: var(--api-secondary); font-size: 13px; letter-spacing: 1px;
}

/* TABEL JADWAL PROFESIONAL (Tanpa loncat-loncat) */
.api-table-wrap { overflow-x: auto; }
.api-schedule-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
.api-schedule-table th {
    background: rgba(194, 126, 0, 0.12); color: var(--api-secondary);
    padding: 14px 16px; font-weight: 700; border-bottom: 2px solid var(--api-primary); 
    text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px;
}
.api-schedule-table td { 
    padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--api-text);
    transition: background 0.2s ease;
}
.api-schedule-table tr:hover td { 
    background: rgba(194, 126, 0, 0.08); /* Hanya berubah warna background, tanpa animasi scale yang merusak layout */
}
.api-schedule-table td strong { font-weight: 600; color: #fff; }

/* STATUS BADGE (Glow Halus untuk Performa SEO) */
.api-status-badge {
    padding: 6px 14px; border-radius: 20px; font-size: 11px; font-weight: 800; 
    text-align: center; display: inline-block; letter-spacing: 1px; text-transform: uppercase;
}
.api-status-on { 
    background: #059669; color: #fff; 
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.5);
    animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}
.api-status-off { background: #1e293b; color: #94a3b8; border: 1px solid #334155; }

/* PANDUAN LIST (Elegan Hover) */
.api-guide-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.api-guide-item {
    background: rgba(0,0,0,0.4); border: 1px solid rgba(194, 126, 0, 0.15);
    padding: 18px; border-radius: 10px; border-left: 4px solid var(--api-primary); 
    transition: all 0.3s ease;
}
.api-guide-item:hover { 
    transform: translateX(6px); /* Pergeseran halus, tanpa rotasi alay */
    border-left-color: var(--api-secondary); 
    border-color: rgba(248, 230, 148, 0.3);
    background: rgba(194, 126, 0, 0.1); 
}
.api-guide-item h4 { margin: 0 0 6px 0; color: var(--api-secondary); font-size: 15px; display: flex; align-items: center; gap: 8px;}
.api-guide-item p { margin: 0; color: var(--api-muted); font-size: 13.5px; line-height: 1.6; }

@media (max-width: 768px) {
    .api-widget-container { grid-template-columns: 1fr; }
    .api-widget-header { flex-direction: column; gap: 16px; align-items: flex-start; }
    .api-card { padding: 20px; }
}