#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f172a;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#preloader img {
  width: 120px;
  height: auto;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}


body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #141414;
    color: #000000;
    padding-top: 60px;
}

.sand77-header {
    background-image: url(/assets/img/background-header.webp);
    background-repeat: repeat-x;
    background-position: top;
    background-size: contain;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    border-bottom: #000000 solid 1px;
    box-shadow: #eab308 0px 0px 10px;
    
}

.sand77-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(1px);
    z-index: -1;
}

.header-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-sand77 {
  position: absolute;
  left: 0;
  transform: none;
  z-index: 10;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .logo-sand77 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-container {
    justify-content: space-between;
  }

  .left-placeholder {
    width: 30px;
  }
}
.logo-sand77 img {
    display: block;
    height: 42px;
    object-fit: contain;
}

.logo-effect {
    width: fit-content;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
    mask-image: url('/assets/img/logo-sand77.webp');
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('/assets/img/logo-sand77.webp');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
}

.logo-effect img {
    display: block;
    height: 40px;
    width: auto;
}

.logo-effect::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: shineLogo 8s infinite;
    -webkit-animation: shineLogo 8s infinite;
    filter: blur(1px);
}

.left-placeholder {
  width: 30px; /* cukup untuk imbangin lebar hamburger */
  height: 1px;
}
@keyframes shineLogo {
    0% {
        left: -100%;
    }

    100% {
        left: 120%;
    }
}

.nav-desktop {
    align-items: center;
    display: flex;
    gap: 1.5rem;
}

.nav-desktop a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-desktop a:hover {
    color: #facc15;
}

.nav-desktop a:not(.btn-yellow)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: #facc15;

    transition: width 0.3s ease;
}

.nav-desktop a:not(.btn-yellow):hover::after {
    width: 100%;
}

.btn-yellow {
    background: #fa1515;
    border: #eab308 2px solid;
    color: #1e293b;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-yellow:hover {
    background: #000000;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 10001;

}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #facc15;
    border-radius: 2px;
    transition: 0.4s ease;
    display: block;
    margin: 5px 0;
}

/* Hamburger Active (jadi X) */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }
}

.nav-mobile {
    display: flex;
    flex-direction: column;
    background-image: url(/assets/img/background-header.webp);
    background-size: cover;
    padding: 1.5rem;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 260px;
    transition: right 0.3s ease-in-out;
    z-index: 9999;
}

.nav-mobile.show {
    right: 0;
}

.nav-mobile a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-mobile a:not(.btn-yellow):hover {
    color: #facc15;
}


@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/*about-sand77*/
.container-about {
    padding: 40px 20px;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    align-items: center;
  }
  
  .about-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
  }
  
  .about-content h1 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #facc15;
    text-align: center;
    text-shadow:
      2px 2px 0 #000,
      4px 4px 8px rgba(0, 0, 0, 0.6),
      0 0 6px rgba(255, 215, 0, 0.4);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
  }
  
  
  .about-desc {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
  }
  
  .about-list {
    color: #cbd5e1;
    margin: 20px 0 24px;
    padding-left: 18px;
    list-style-type: disc;
  }
  
  .about-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .about-note {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 10px;
  }
  .btn-primary,
.btn-secondary {
  width: 280px;
  max-width: 100%;
  text-align: center;
  font-size: 15px;
}
  .btn-primary {
    background-image: linear-gradient(180deg, #1e3a8a, #06b6d4);
    border: #f19d01 1px solid;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border-radius: 9999px;
    text-decoration: none;
    transition: 0.3s ease;
    max-width: 300px;
  }
  
  .btn-primary:hover {
    background: #eab308;
    transform: translateY(-2px);
  }
  
  .btn-secondary {
    border: 2px solid #facc15;
    color: #facc15;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
    max-width: 300px;
  }
  
  .btn-secondary:hover {
    background: #facc15;
    color: #1e293b;
    transform: translateY(-2px);
  }
  
  /* Reveal Effects */
  .reveal {
    opacity: 0;
    transition: all 0.6s ease-out;
    will-change: transform, opacity;
  }
  .reveal-left {
    transform: translateX(-60px);
  }
  .reveal-right {
    transform: translateX(60px);
  }
  .reveal-bottom {
    transform: translateY(60px);
  }
  .reveal.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  

  @media (max-width: 768px) {
    .about-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .about-img {
      order: 2;
    }
    .about-content {
      order: 1;
    }
    .about-buttons {
      justify-content: center;
    }
    .about-title {
      font-size: 1.5rem;
    }
    .about-desc {
      font-size: 0.95rem;
    }
    .about-content h1 {
        font-size: 26px;
    }
    .about-content p {
        font-size: 15px;
    }
    .about-content ul {
        font-size: 15px;
        text-align: left;
        }
  }


/* features container */ 
.container-download {
    border-top: #1e293b 1px solid;
    padding: 40px 20px;
    color: #f8fafc;
  }
  
  .download-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  
  .download-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
  }
  
  .download-text h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #facc15;
  }
  
  .download-text p {
    font-size: 15px;
    color: #cbd5e1;
    margin-bottom: 24px;
  }
  
  .download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  
  .install-guide h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #facc15;
  }
  
  .install-guide ol {
    padding-left: 20px;
    line-height: 1.6;
    font-size: 15px;
    color: #cbd5e1;
  }
  
  @media (max-width: 768px) {
    .download-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .download-img {
      order: 2;
    }
  
    .download-text {
      order: 1;
    }
  
    .download-buttons {
      justify-content: center;
    }
  }

  /*rtp-slot*/
  .slotgacor-header {
    text-align: center;
    margin: 40px auto 20px;
    color: #ffffff;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 800;

}

  .slotgacor-item {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px auto; 
    cursor: pointer;
    max-width: 600px;
    
  }

  .slotgacor-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
  }

  .slotgacor-bar-wrap {
    flex: 1;
    background: #a1a1a1;
    border-radius: 6px;
    padding: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    font-size: 13px;
    text-align: center;
    font-weight: bold;
  }

  @media (max-width: 768px) {
    .slotgacor-bar-wrap {
      font-size: 12px;
      padding:3px;
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  .slotgacor-bar-high {
    background: repeating-linear-gradient(45deg, #22c55e, #12572b 5px, #16a34a 5px, #16a34a 10px);
    color: #fff;
    background-size: 10px 100%;
    animation: stripeMove 1s linear infinite;
    
  }

  .slotgacor-bar-mid {
    background: repeating-linear-gradient(45deg, #facc15, #facc15 5px, #eab308 5px, #eab308 10px);
    color: #ffffff;
    background-size: 10px 100%;
    animation: stripeMove 1s linear infinite;
  }

  .slotgacor-bar-low {
    background: repeating-linear-gradient(45deg, #ef4444, #ef4444 5px, #b91c1c 5px, #b91c1c 10px);
    color: #fff;
    background-size: 10px 100%;
    animation: stripeMove 1s linear infinite;
  }

  @keyframes stripeMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 0; }
  }

  .popup-slotgacor {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .popup-slotgacor.show {
    display: flex;
  }

  .popup-slotgacor-content {
    background: linear-gradient(135deg, #1f2937, #111827);
    padding: 24px;
    border-radius: 16px;
    width: 380px;
    max-width: 90%;
    color: #f8fafc;
    box-shadow: 0 0 25px rgba(250, 204, 21, 0.4);
    border: 1px solid #facc15;
    font-family: 'Segoe UI', sans-serif;
  }

  .popup-slotgacor-content h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 700;
    color: #facc15;
    text-align: center;
    margin-bottom: 10px;
  }

  .popup-slotgacor-content p {
    text-align: center;
    font-weight: bold;
    margin-bottom: 16px;
  }

  .popup-slotgacor-content table {
    width: 100%;
    margin-bottom: 20px;
    font-size: 15px;
  }

  .popup-slotgacor-content td {
    padding: 6px 10px;
    color: #f8fafc;
  }

  .popup-slotgacor-buttons {
    display: flex;
    justify-content: space-between;
  }

  .popup-slotgacor-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.2s ease-in-out;
  }

  .btn-close-slotgacor {
    background: linear-gradient(to right, #dc2626, #b91c1c);
    color: #fff;
  }

  .btn-close-slotgacor:hover {
    background: #991b1b;
  }

  .btn-play-slotgacor {
    background: linear-gradient(to right, #facc15, #fbbf24);
    color: #1f2937;
  }

  .btn-play-slotgacor:hover {
    background: #eab308;
  }

/*video*/
.video-section {

    color: #f8fafc;
    padding: 30px 20px;
    text-align: center;
  }
  
  .video-header h2 {
    font-size: 24px;
    color: #facc15;
    margin-bottom: 12px;
  }
  
  .video-header p {
    font-size: 1rem;
    color: #cbd5e1;
    max-width: 720px;
    margin: auto;
    margin-bottom: 32px;
  }
  
  .video-wrapper {
    max-width: 630px;
    margin: 0 auto;
  }
  
  .video-wrapper video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .video-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
  }

  .btn-video-gradient {
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    overflow: hidden;
  }

  .btn-video-gradient {
    background: #ff0000;
    color: #ffffff;
    border: 1px solid #facc15;
  }
  
  .btn-video-gradient::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #facc15, #f43f5e, #3b82f6, #10b981);
    background-size: 400%;
    z-index: -1;
    border-radius: 9999px;
    transition: 0.5s ease;
    filter: blur(4px);
    opacity: 0;
  }
  
  .btn-video-gradient:hover::before {
    opacity: 1;
    animation: glowBorder 4s linear infinite;
  }
  
  .btn-video-gradient:hover {
    color: #fff;
    background: #1e293b;
  }
  
  /* Border animation */
  @keyframes glowBorder {
    0% {
      background-position: 0%;
    }
    100% {
      background-position: 400%;
    }
  }
  
  /* bukti wd */
  .bukti-wd-section {
    padding: 30px 20px;
    text-align: center;
  }
  
  .section-title {
    font-size: 28px;
    color: #d32f2f;
    font-weight: 800;
    margin-bottom: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  }
  
  .section-desc {
    font-size: 14px;
    color: #ffffff;
    max-width: 620px;
    margin: 0 auto 40px;
    font-style: italic;
    line-height: 1.6;
  }
  
  .bukti-wd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: auto;
  }
  
  .bukti-wd-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }
  
  .bukti-wd-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s ease;
  }
  
  .bukti-wd-item:hover {
    transform: scale(1.05);
  }
  
  .bukti-wd-btn {
    margin-top: 40px;
  }
  
  .btn-cta {
    position: relative;
    max-width: 280px;
    display: inline-block;
    padding: 0.50rem 1.75rem;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 50px;
    color: #fff;
    background: linear-gradient(180deg, #fbb034 0%, #ff0000 100%);
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.6);
    border: 2px solid #ffcc80;
    text-decoration: none;
    transition: all 0.35s ease-in-out;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  }
  
  .btn-cta:hover {
    box-shadow: 0 12px 28px rgba(255, 102, 0, 0.8);
    background: linear-gradient(135deg, #ffc107 0%, #c62828 100%);
  }
  
  .zoom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
  }
  
  .zoomed-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
  }
  
  .close-zoom {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .section-title {
      font-size: 1.6rem;
    }
    .bukti-wd-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* */
  .provider-marquee {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 16px 0;
    position: relative;
  }
  
  .provider-track {
    display: flex;
    width: max-content;
    gap: 32px;
    align-items: center;
    animation: scrollProvider 30s linear infinite;
    will-change: transform;
  }
  
  .provider-marquee:hover .provider-track {
    animation-play-state: paused;
  }
  
  .provider-track img {
    height: 40px;
    opacity: 0.75;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
  }
  
  .provider-track img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 6px #facc15);
  }
  
  .provider-marquee::before,
  .provider-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }
  
  .provider-marquee::before {
    left: 0;
    background: linear-gradient(to right, #0f172a33 70%, transparent);
  }
  
  .provider-marquee::after {
    right: 0;
    background: linear-gradient(to left, #0f172a49 70%, transparent);
  }
  
  @keyframes scrollProvider {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  @media (max-width: 768px) {
    .provider-track {
      gap: 20px;
    }
  
    .provider-track img {
      height: 32px;
    }
  
    .provider-marquee::before,
    .provider-marquee::after {
      width: 40px;
    }
  }
  

/*footer*/
.footer-sand77 {
  background: linear-gradient(180deg, #121212, #1f1f1f);
  color: #eee;
  padding: 30px 20px 10px;
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;


}

.footer-logo img {
  height: 35px;
  margin-bottom: 15px;
  filter: brightness(1.1);
}

.footer-logo p {
  max-width: 320px;
  color: #ccc;
  font-size: 13.5px;
  line-height: 1.7;
  font-style: italic;
}

.footer-links h4,
.footer-info h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links ul li a:hover {
  color: #ff9800;
  padding-left: 5px;
}

.footer-info p,
.footer-info a {
  margin: 6px 0;
  color: #bbb;
  font-size: 13.5px;
  display: flex;
  align-items: center;
}

.footer-info a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: #ff9800;
}

.footer-info i {
  margin-right: 10px;
  color: #ff9800;
  font-size: 15px;
  min-width: 20px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 12.5px;
  color: #888;
  border-top: 1px solid #2b2b2b;
  padding-top: 18px;
  font-style: italic;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-logo p, .footer-info p {
    max-width: 100%;
  }
}
