/* 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(143, 92, 27, 0.18);
    border: 1px solid #2980b9;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.rtp-server-section h2 {
    color: #2980b9;
    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: #b78443;
    color: #fff;
    border: 1px solid #51a8e1;
    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: #2980b9;
    color: #000;
    border-color: #2980b9;
}
.rtp-card {
    display: none;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed #2980b9;
}
.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, #2980b9, #51a8e1);
    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(143, 92, 27, 0.18); 
    border-top: 3px solid #8f5c1b; 
    border-radius: 16px; padding: 25px; color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 15px rgba(143, 92, 27, 0.18); 
    text-align: center; font-family: 'Arial', sans-serif;
    position: relative; overflow: hidden;
}
.vip-widget-box h2 {
    color: #2980b9;  font-size: 20px; font-weight: 900; 
    margin: 0 0 5px; text-transform: uppercase; text-shadow: 0 0 10px rgba(41, 128, 185, 0.18); 
}
.vip-widget-box p { color: #ccc; font-size: 13px; margin: 0 0 15px; }
.vip-btn {
    background: linear-gradient(90deg, #8f5c1b;, #222);
    color: #2980b9;  border: 1px solid #2980b9; 
    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: #2980b9;  color: #111; box-shadow: 0 5px 15px rgba(41, 128, 185, 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 #8f5c1b;  transition: 0.3s;
}
.vip-server-item.active { border-left-color: #2980b9;  background: linear-gradient(90deg, rgba(41, 128, 185, 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: #2980b9;  text-shadow: 0 0 8px rgba(41, 128, 185, 0.18);  }
.vip-result-alert { margin-top: 15px; padding: 12px; border: 1px dashed #2980b9;  background: rgba(41, 128, 185, 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 #8f5c1b;  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: #8f5c1b;  opacity: 1; } to { border-color: #2980b9;  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 #2980b9;  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, #8f5c1b;, #222); border: 1px solid #8f5c1b; 
}
.vip-portal-link:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(143, 92, 27, 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%, #8f5c1b 100%);
    border: 1px solid #2980b9;
    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(41, 128, 185, 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 #2980b9;
    /* Dynamic glow behind the 1:1 image */
    box-shadow: 0 5px 15px rgba(41, 128, 185, 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: #2980b9; 
    font-weight: bold;
    text-shadow: 0 0 5px rgba(41, 128, 185, 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, #2980b9 0%, #51a8e1 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(41, 128, 185, 0.18);
}

.btn-panduan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 128, 185, 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;
    }
}
.erbet-wrap{
    max-width:1000px;
    margin:20px auto;
    padding:18px;
    border-radius:18px;

    background: linear-gradient(135deg, #120b00 0%, #1a1205 50%, #0b0b0b 100%);
    border:1px solid rgba(255,180,0,.25);

    box-shadow:
        0 0 25px rgba(255,140,0,.12),
        inset 0 1px 0 rgba(255,255,255,.08);

    font-family: Arial, sans-serif;
    color:#fff;
}

/* HEADER */
.erbet-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.erbet-title{
    font-size:16px;
    font-weight:900;
    color:#ffcc66;
    display:flex;
    align-items:center;
    gap:8px;
}

.erbet-title span{
    width:8px;
    height:8px;
    background:#ffb300;
    border-radius:50%;
    box-shadow:0 0 10px #ffb300;
}

.erbet-btn{
    padding:8px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    border:none;
    cursor:pointer;

    background: linear-gradient(135deg,#ffb300,#ff7a00);
    color:#2b1a00;
    box-shadow:0 0 12px rgba(255,170,0,.3);
}

/* GRID */
.erbet-grid{
    display:flex;
    gap:12px;
    justify-content:space-between;
}

/* CARD */
.game-card{
    width:19%;
    background: linear-gradient(135deg, #1b1206 0%, #2a1a08 100%);
    border:1px solid rgba(255,180,0,.18);
    border-radius:14px;
    padding:10px;
    text-align:center;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 0 10px rgba(0,0,0,.25);

    transition:.3s;
}

.game-card:hover{
    transform:translateY(-4px);
    box-shadow:0 0 18px rgba(255,160,0,.25);
}

/* RANK */
.rank{
    position:absolute;
    margin:6px;
    width:22px;
    height:22px;
    border-radius:50%;

    background: linear-gradient(135deg,#ffb300,#ff7a00);
    color:#2b1a00;
    font-size:12px;
    font-weight:900;

    display:flex;
    align-items:center;
    justify-content:center;
}

/* IMAGE */
.game-img{
    width:100%;
    height:120px;
    border-radius:10px;

    background: linear-gradient(135deg,#ffb300,#ff7a00);
    box-shadow:0 0 12px rgba(255,170,0,.25);
}

/* NAME */
.game-name{
    font-size:13px;
    font-weight:900;
    margin-top:8px;
    color:#ffd9a3;
}

/* RTP */
.game-rtp{
    font-size:11px;
    opacity:.85;
    margin-top:3px;
}

/* TAG */
.tag{
    margin-top:6px;
    font-size:10px;
    font-weight:900;

    display:inline-block;
    padding:3px 10px;
    border-radius:999px;

    background: linear-gradient(135deg,#ffb300,#ff7a00);
    color:#2b1a00;

    box-shadow:0 0 10px rgba(255,170,0,.2);
}

.tag.hot{
    background: linear-gradient(135deg,#ff5252,#ff9800);
}

.tag.warm{
    background: linear-gradient(135deg,#ffb300,#ff6f00);
}