/* === block 1 === */
:root{
  --color-primary-100: #f2e0e0 !important;
  --color-primary-200: #d9b3b3 !important;
  --color-primary-300: #b36b6b !important;
  --color-primary-400: #963333 !important;
  --color-primary-500: #8a1220 !important;
  --color-primary-600: #6b1015 !important;
  --color-primary-700: #4a0d0d !important;
  --color-primary-800: #3a0a0a !important;
  --color-primary-900: #2b0808 !important;
}
.m-header__search--animate form:after{
  background: linear-gradient(60deg, #8a1220, #4a4a4a, #c0392b, #1a1a1a, #6b1015, #2b2b2b, #8a1220) !important;
}
.c-search-form--rainbow{
  background: linear-gradient(60deg, #8a1220, #4a4a4a, #c0392b, #1a1a1a) !important;
}

/* === block 2 === */
/* KUNCI overflow agar tidak meluber ke kanan */
  .preview,
  .m-product-preview__glider,
  .glide,
  .glide__track {
    overflow: hidden !important;
    max-width: 100% !important;
  }

  /* Biarkan Glide bekerja normal */
  .glide__slides {
    display: flex !important;       /* jaga-jaga */
    margin: 0 !important;
    /* rollback kalau sebelumnya sempat dipasang: */
    contain: none !important;
  }

  /* Pastikan gambar terlihat dan tidak ngecil 0 */
  .glide__slide img,
  .m-product-preview__glider-img img,
  .preview .jsProductMainImage {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Anti scroll horizontal */
  html, body { overflow-x: hidden !important; }

/* === block 3 === */
.btn-x{
  display:inline-block;
  min-width:200px;
  text-align:center;
  padding:14px 28px;
  margin:5px;
  background:linear-gradient(135deg,#1a1a1a 0%,#6b1015 45%,#c0392b 100%);
  color:#080808;
  font-weight:700;
  border:1px solid #c0392b;
  border-radius:10px;
  text-decoration:none;
  box-shadow:0 4px 15px rgba(0,0,0,.45);
  cursor:pointer;
  transition:all .25s ease;
}

.btn-x:hover{
  background:linear-gradient(135deg,#c0392b 0%,#8a1220 70%,#4a0d0d 100%);
  border-color:#fff2a8;
  color:#000;
  box-shadow:0 6px 20px rgba(139,20,20,.35);
  transform:translateY(-2px);
}

.right-rail:empty,
.sidebar:empty,
.product__aside:empty {
  display:none !important;
}

.page-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}

/* === block 4 === */
.lp-content{
    width:100%;
    margin:0;
    padding:0;
    font-size:16px;
    line-height:1.85;
    color:#d8d8d8;
    background:transparent;
}

.lp-content h1{
    position:relative;
    margin:0 0 28px;
    padding-bottom:18px;
    font-size:36px;
    font-weight:800;
    line-height:1.3;
    background:linear-gradient(90deg,#c0392b,#8a1220,#f2d5d5);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.lp-content h1:after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:90px;
    height:3px;
    background:linear-gradient(90deg,#8a1220,#c0392b);
    border-radius:10px;
}


.lp-content h2{
    position:relative;
    margin:45px 0 20px;
    padding:14px 18px;
    font-size:27px;
    font-weight:800;
    line-height:1.35;
    color:#c0392b;
    background:
        linear-gradient(
            90deg,
            rgba(139,20,20,.12),
            transparent
        );
    border-left:4px solid #8a1220;
    border-radius:8px;
}


.lp-content p{
    margin:0 0 20px;
    color:#dcdcdc;
}


.lp-content strong{
    font-weight:800;
    color:#c0392b;
}


.lp-content ul{
    margin:22px 0;
    padding:18px 22px;
    background:#111;
    border:1px solid rgba(139,20,20,.2);
    border-radius:12px;
    list-style:none;
}


.lp-content li{
    position:relative;
    padding-left:28px;
    margin-bottom:12px;
    color:#ddd;
}


.lp-content li:before{
    content:"◆";
    position:absolute;
    left:0;
    color:#8a1220;
    font-size:12px;
    top:5px;
}


.lp-content li:last-child{
    margin-bottom:0;
}


@media(max-width:768px){

    .lp-content{
        padding:18px;
        font-size:15px;
        line-height:1.75;
        border-radius:14px;
    }


    .lp-content h1{
        font-size:28px;
    }


    .lp-content h2{
        font-size:22px;
        margin:35px 0 18px;
        padding:12px 14px;
    }


    .lp-content ul{
        padding:15px 18px;
    }

}

.lp-content h3{
    margin:32px 0 15px;
    font-size:22px;
    font-weight:800;
    line-height:1.4;
    color:#c0392b;
    position:relative;
    padding-left:14px;
}

.lp-content h3:before{
    content:"";
    position:absolute;
    left:0;
    top:8px;
    width:4px;
    height:18px;
    background:#8a1220;
    border-radius:5px;
}

@media(max-width:768px){

    .lp-content h3{
        font-size:20px;
        margin:28px 0 14px;
    }

}

/* === block 5 === */
.t4dme-intro{
    margin:0 0 30px;
    padding:22px 24px;
    background:linear-gradient(145deg,#111,#0a0a0a);
    border:1px solid rgba(139,20,20,.22);
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.5);
}

.t4dme-intro p{
    margin:0 0 16px;
    color:#dcdcdc;
}

.t4dme-intro p:last-child{
    margin-bottom:0;
}

.t4dme-card{
    position:relative;
    margin:0 0 26px;
    background:linear-gradient(145deg,#111,#0a0a0a);
    border:1px solid rgba(139,20,20,.22);
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.5);
}

.t4dme-card-head{
    display:flex;
    align-items:center;
    gap:16px;
    padding:22px 24px;
    background:linear-gradient(90deg,rgba(139,20,20,.14),transparent);
    border-bottom:1px solid rgba(139,20,20,.18);
}

.t4dme-num{
    flex:0 0 auto;
    width:46px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:linear-gradient(135deg,#8a1220,#c0392b);
    color:#111;
    font-weight:900;
    font-size:18px;
    box-shadow:0 6px 16px rgba(139,20,20,.3);
}

.t4dme-card-head h2{
    margin:0 !important;
    padding:0 !important;
    background:none !important;
    border-left:none !important;
    border-radius:0 !important;
    font-size:22px !important;
    line-height:1.3 !important;
    color:#c0392b;
}

.t4dme-card-body{
    padding:22px 24px 26px;
}

.t4dme-card-body p{
    margin:0 0 16px;
    color:#d8d8d8;
}

.t4dme-card-body p:last-child{
    margin-bottom:0;
}

.t4dme-subgrid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
    margin:20px 0;
}

.t4dme-subgrid--3{
    grid-template-columns:repeat(3,1fr);
}

.t4dme-sub{
    padding:18px;
    background:#151515;
    border:1px solid rgba(139,20,20,.15);
    border-radius:12px;
}

.t4dme-sub h3{
    margin:0 0 8px !important;
    padding-left:0 !important;
    font-size:16px !important;
    color:#c0392b;
}

.t4dme-sub h3:before{
    display:none !important;
}

.t4dme-sub p{
    margin:0 !important;
    font-size:14px;
    color:#c9c9c9;
}

.t4dme-widget-wrap{
    margin:20px -8px;
}

@media(max-width:768px){
    .t4dme-subgrid{
        grid-template-columns:1fr;
    }

    .t4dme-card-head{
        padding:18px;
        gap:12px;
    }

    .t4dme-num{
        width:38px;
        height:38px;
        font-size:15px;
        border-radius:10px;
    }

    .t4dme-card-head h2{
        font-size:19px !important;
    }

    .t4dme-card-body{
        padding:18px;
    }

    .t4dme-intro{
        padding:18px;
    }

    .t4dme-widget-wrap{
        margin:16px 0;
    }
}

/* === block 6 === */
:root {
    --bg-main-dark: #111111; /* Warna card abu gelap pekat */
    --border-dark: #2b2b2b; /* Warna garis batas */
    --text-light: #f8fafc; /* Warna teks utama putih lembut */
    --text-dim: #a8a8a8; /* Warna teks sekunder */
    
    /* Warna Glow Pasaran & Angka */
    --neon-sdy: #8a1220;
    --neon-sgp: #4a4a4a;
    --neon-hk: #c0392b;
    --neon-macau: #6b6b6b;
}

.togel-dark-section {
    padding: 20px;
    background-color: transparent; /* Transparan agar menyatu dengan background hitam Anda */
    display: flex;
    justify-content: center;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.togel-dark-card {
    width: 100%;
    max-width: 800px;
    background: var(--bg-main-dark);
    border-radius: 16px;
    border: 1px solid var(--border-dark);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    padding: 24px;
}

.togel-dark-header {
    text-align: center;
    margin-bottom: 24px;
}

.togel-dark-header h2 {
    margin: 0 0 6px 0;
    color: var(--text-light);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.togel-dark-header p {
    margin: 0;
    color: var(--text-dim);
    font-size: 14px;
}

/* Style Tab Kontras Tinggi */
.togel-dark-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    background: #0a0a0a;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--border-dark);
}

.togel-dark-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.togel-dark-tab-btn .pasaran-dark-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.togel-dark-tab-btn .pasaran-dark-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: #2b2b2b;
    color: var(--text-dim);
    transition: all 0.2s;
}

/* Efek Hover & Aktif Tab */
.togel-dark-tab-btn:hover {
    background: #2b2b2b;
}
.togel-dark-tab-btn:hover .pasaran-dark-name {
    color: var(--text-light);
}

.togel-dark-tabs .togel-dark-tab-btn.active {
    background: #2b2b2b;
}
.togel-dark-tabs .togel-dark-tab-btn.active .pasaran-dark-name {
    color: var(--text-light);
}

/* Pewarnaan Badge saat Aktif */
.togel-dark-tab-btn.active .pasaran-dark-badge.b-sdy { background: var(--neon-sdy); color: #fff; box-shadow: 0 0 10px rgba(139,20,20,0.4); }
.togel-dark-tab-btn.active .pasaran-dark-badge.b-sgp { background: var(--neon-sgp); color: #fff; box-shadow: 0 0 10px rgba(74,74,74,0.4); }
.togel-dark-tab-btn.active .pasaran-dark-badge.b-hk { background: var(--neon-hk); color: #fff; box-shadow: 0 0 10px rgba(192,57,43,0.4); }
.togel-dark-tab-btn.active .pasaran-dark-badge.b-macau { background: var(--neon-macau); color: #fff; box-shadow: 0 0 10px rgba(107,107,107,0.4); }

/* Desain Tabel Premium */
.togel-dark-table-responsive {
    overflow-x: auto;
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    margin-bottom: 20px;
    background: #0a0a0a;
}

.togel-dark-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.togel-dark-table th {
    background: #0a0a0a;
    padding: 14px 16px;
    color: var(--text-dim);
    font-weight: 600;
    border-bottom: 1px solid var(--border-dark);
}

.togel-dark-table td {
    padding: 14px 16px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-dark);
}

.togel-dark-table tr:last-child td {
    border-bottom: none;
}

.togel-dark-table tr:hover {
    background-color: rgba(60,60,60,0.4);
}

/* Efek Glow Angka Keluaran (Neon) */
.dark-num-badge {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 15px;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 1px;
}
.dark-num-4d { 
    color: #f5d5d5; 
    background: rgba(139,20,20,0.15); 
    border: 1px solid rgba(139,20,20,0.3);
}
.dark-num-3d { 
    color: #dcdcdc; 
    background: rgba(90,90,90,0.15); 
    border: 1px solid rgba(90,90,90,0.3);
}
.dark-num-2d { 
    color: #f0d5d5; 
    background: rgba(107,107,107,0.15); 
    border: 1px solid rgba(107,107,107,0.3);
}

/* Pagination Gelap */
.togel-dark-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.togel-dark-page-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-dark);
    background: #0a0a0a;
    cursor: pointer;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    transition: all 0.2s;
}

.togel-dark-page-btn.active {
    background: #8a1220;
    color: #ffffff;
    border-color: #8a1220;
    box-shadow: 0 0 12px rgba(139,20,20,0.4);
}

.togel-dark-page-btn:hover:not(.active) {
    background: #2b2b2b;
    color: var(--text-light);
    border-color: #4a4a4a;
}

/* Responsif Mobile */
@media (max-width: 500px) {
    .togel-dark-card { padding: 16px; }
    .togel-dark-tab-btn { padding: 8px 4px; }
    .togel-dark-tab-btn .pasaran-dark-name { font-size: 12px; }
    .togel-dark-tab-btn .pasaran-dark-badge { font-size: 10px; }
    .togel-dark-table th, .togel-dark-table td { padding: 12px 10px; }
    .dark-num-badge { padding: 3px 6px; font-size: 13px; }
}

.togel-dark-header h3 {
    all: unset;
    display: block;
    text-align: center;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 0;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #8a1220, #4a4a4a, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(139,20,20,0.2);
}

.togel-dark-header p {
    font-size: 14px;
    color: #a8a8a8;
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
}

@media (max-width: 500px) {
    .togel-dark-header h3 {
        font-size: 16px;
        letter-spacing: 0.5px;
        line-height: 1.4;
    }
    .togel-dark-header p {
        font-size: 12px;
        margin-bottom: 16px;
    }
}

/* === block 7 === */
.faq-section{
    padding:60px 0;
}

.faq-container{
    max-width:900px;
    margin:0 auto;
}

.faq-title{
    text-align:center;
    font-size:34px;
    font-weight:800;
    color:#c0392b;
    margin-bottom:10px;
    text-shadow:0 2px 12px rgba(139,20,20,.35);
}

.faq-subtitle{
    text-align:center;
    color:#cfcfcf;
    margin-bottom:40px;
}

.faq-items{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.faq-item{
    position:relative;
    margin-left:14px;
    background:
        linear-gradient(
            145deg,
            #151515 0%,
            #0b0b0b 65%,
            #1b1608 100%
        );
    border:1px solid rgba(139,20,20,.2);
    border-left:3px solid #8a1220;
    border-radius:0 16px 16px 0;
    overflow:visible;
    transition:all .3s ease;
    box-shadow:
        0 10px 30px rgba(0,0,0,.6),
        inset 0 1px rgba(255,255,255,.05);
}

.faq-item:hover{
    transform:translateX(4px);
    border-left-color:#c0392b;
    box-shadow:
        0 15px 35px rgba(0,0,0,.7),
        0 0 20px rgba(139,20,20,.2);
}

.faq-num{
    position:absolute;
    top:50%;
    left:-14px;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:linear-gradient(135deg,#8a1220,#c0392b);
    color:#111;
    font-size:12px;
    font-weight:900;
    box-shadow:0 4px 10px rgba(0,0,0,.5);
    z-index:2;
}

.faq-question{
    width:100%;
    background:transparent;
    border:none;
    outline:none;
    cursor:pointer;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:22px 24px 22px 34px;

    color:#ffffff;
    font-size:18px;
    font-weight:700;
    text-align:left;
}

.faq-question span:first-child{
    color:#c0392b !important;
}

.faq-plus{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:
        linear-gradient(135deg,#8a1220,#c0392b);
    color:#111;
    font-size:22px;
    font-weight:800;
    transition:.3s ease;
    flex-shrink:0;
    box-shadow:0 4px 12px rgba(139,20,20,.25);
}

.faq-item.active .faq-plus{
    transform:rotate(45deg);
    background:#fff;
    color:#6b1015;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
}

.faq-item.active .faq-answer{
    max-height:260px;
}

.faq-answer p{
    margin:0;
    padding:0 24px 24px;
    color:#dcdcdc;
    line-height:1.8;
    border-top:1px solid rgba(139,20,20,.18);
    padding-top:18px;
}

@media(max-width:768px){

.faq-title{
    font-size:28px;
}

.faq-question{
    font-size:16px;
    padding:18px;
}

.faq-answer p{
    padding:18px;
}

}

strong {
  color: #c0392b;
}

/* === block 8 === */
.testimonial-section{
    padding:80px 0;
    background:radial-gradient(circle at top,#1a1505,#080808 60%);
}

.testimonial-container{
    max-width:1100px;
    margin:0 auto;
}

.testimonial-title{
    text-align:center;
    font-size:36px;
    font-weight:900;
    color:#c0392b;
    margin-bottom:12px;
    letter-spacing:.5px;
}

.testimonial-subtitle{
    text-align:center;
    color:#bdbdbd;
    font-size:16px;
    margin-bottom:50px;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:28px;
}

.testimonial-card{
    position:relative;
    background:
        linear-gradient(
            160deg,
            rgba(255,255,255,.05),
            rgba(0,0,0,.8)
        );
    border:1px solid rgba(139,20,20,.35);
    border-radius:6px 24px 6px 24px;
    padding:30px;
    overflow:hidden;
    backdrop-filter:blur(10px);
    box-shadow:
        0 20px 45px rgba(0,0,0,.7);
    transition:.35s ease;
}

.testimonial-card:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:3px;
    background:linear-gradient(90deg,#6b1015,#c0392b,#fff);
}

.testimonial-quote{
    position:absolute;
    top:6px;
    right:20px;
    font-family:Georgia,serif;
    font-size:64px;
    font-weight:900;
    color:rgba(139,20,20,.18);
    line-height:1;
    pointer-events:none;
}

.testimonial-card:hover{
    transform:translateY(-8px);
    border-color:#c0392b;
    box-shadow:
        0 25px 55px rgba(0,0,0,.8),
        0 0 25px rgba(139,20,20,.25);
}

.testimonial-card.featured{
    background:
        linear-gradient(
            160deg,
            #302300,
            #101010 55%
        );
    border:1px solid #8a1220;
}

.testimonial-rating{
    display:inline-block;
    padding:6px 14px;
    border-radius:20px;
    background:rgba(139,20,20,.15);
    color:#c0392b;
    font-size:22px;
    letter-spacing:2px;
    margin-bottom:20px;
}

.testimonial-text{
    color:#e5e5e5;
    font-size:16px;
    line-height:1.85;
    margin-bottom:30px;
    min-height:170px;
}

.testimonial-author{
    display:flex;
    align-items:center;
    gap:15px;
    padding-top:18px;
    border-top:1px solid rgba(139,20,20,.2);
}

.testimonial-avatar{
    flex-shrink:0;
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:linear-gradient(135deg,#8a1220,#c0392b);
    color:#111;
    font-size:16px;
    font-weight:900;
    letter-spacing:.5px;
    box-shadow:0 6px 16px rgba(139,20,20,.3);
}

.testimonial-author h4{
    margin:0;
    color:#c0392b;
    font-size:17px;
    font-weight:800;
}

.testimonial-author span{
    color:#aaa;
    font-size:14px;
}

@media(max-width:768px){

.testimonial-section{
    padding:50px 0;
}

.testimonial-title{
    font-size:28px;
}

.testimonial-grid{
    grid-template-columns:1fr;
}

.testimonial-text{
    min-height:auto;
}

}

/* === block 9 === */
.tsyn-fixed-footer{
    display:flex;
    justify-content:space-around;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:999;
a
    padding:12px 0;

    background:
        linear-gradient(
            145deg,
            #111111 0%,
            #080808 65%,
            #1c1505 100%
        );

    border-top:1px solid #8a1220;
    border-radius:24px 24px 0 0;

    box-shadow:
        0 -8px 30px rgba(0,0,0,.7),
        0 -2px 15px rgba(139,20,20,.18);
}

.tsyn-fixed-footer:before{
    content:"";
    position:absolute;
    top:0;
    left:15%;
    right:15%;
    height:2px;
    background:linear-gradient(90deg,transparent,#c0392b,transparent);
}

.tsyn-fixed-footer a{
    flex:1;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    color:#d8d8d8;
    font-size:13px;
    font-family:Ubuntu,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;

    transition:.3s ease;
}

.tsyn-fixed-footer a:hover{
    color:#c0392b;
    transform:translateY(-3px);
}

.tsyn-fixed-footer .center{
    transform:scale(1.4) translateY(-5px);
}

.tsyn-fixed-footer img{
    width:23px;
    height:23px;
    margin-bottom:5px;
    transition:.3s ease;
    filter:
        drop-shadow(0 0 6px rgba(139,20,20,.5));
}

.tsyn-fixed-footer a:hover img{
    transform:scale(1.15);
}