/* 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(6, 24, 80, 0.18);
    border: 1px solid #fedb8b;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.rtp-server-section h2 {
    color: #fedb8b;
    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: #2e4078;
    color: #fff;
    border: 1px solid #ffffb3;
    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: #fedb8b;
    color: #000;
    border-color: #fedb8b;
}
.rtp-card {
    display: none;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed #fedb8b;
}
.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, #fedb8b, #ffffb3);
    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(6, 24, 80, 0.18); 
    border-top: 3px solid #061850; 
    border-radius: 16px; padding: 25px; color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 15px rgba(6, 24, 80, 0.18); 
    text-align: center; font-family: 'Arial', sans-serif;
    position: relative; overflow: hidden;
}
.vip-widget-box h2 {
    color: #fedb8b;  font-size: 20px; font-weight: 900; 
    margin: 0 0 5px; text-transform: uppercase; text-shadow: 0 0 10px rgba(254, 219, 139, 0.18); 
}
.vip-widget-box p { color: #ccc; font-size: 13px; margin: 0 0 15px; }
.vip-btn {
    background: linear-gradient(90deg, #061850;, #222);
    color: #fedb8b;  border: 1px solid #fedb8b; 
    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: #fedb8b;  color: #111; box-shadow: 0 5px 15px rgba(254, 219, 139, 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 #061850;  transition: 0.3s;
}
.vip-server-item.active { border-left-color: #fedb8b;  background: linear-gradient(90deg, rgba(254, 219, 139, 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: #fedb8b;  text-shadow: 0 0 8px rgba(254, 219, 139, 0.18);  }
.vip-result-alert { margin-top: 15px; padding: 12px; border: 1px dashed #fedb8b;  background: rgba(254, 219, 139, 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 #061850;  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: #061850;  opacity: 1; } to { border-color: #fedb8b;  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 #fedb8b;  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, #061850;, #222); border: 1px solid #061850; 
}
.vip-portal-link:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(6, 24, 80, 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%, #061850 100%);
    border: 1px solid #fedb8b;
    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(254, 219, 139, 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 #fedb8b;
    /* Dynamic glow behind the 1:1 image */
    box-shadow: 0 5px 15px rgba(254, 219, 139, 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: #fedb8b; 
    font-weight: bold;
    text-shadow: 0 0 5px rgba(254, 219, 139, 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, #ecb32e 0%, #8e8e04 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(254, 219, 139, 0.18);
}

.btn-panduan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 219, 139, 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;
    }
}

