/*
Theme Name: PASIFIKSLOT Professional
Theme URI: https://pasifikputih.com
Author: PASIFIKSLOTx Team
Description: Tema WordPress profesional dan kompleks untuk situs prediksi, dengan layout rapi, navigasi fleksibel, dan konten dinamis dari WP Admin.
Version: 1.0
*/

    :root {
      --primary: #2196f3;
      --secondary: #4caf50;
      --dark-bg: #111;
      --accent: #f7c600;
      --accent-2: #00c2f7;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body, html {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #fff;
      background: url(https://qrispasifik.com/wp-content/uploads/2025/06/background-03.webp) center center no-repeat !important;
      background-attachment: fixed !important;
      background-position: top;
      background-size: cover !important;
      height: 100%;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }
    @media (max-width: 1200px) {
        html, body {
            background-attachment: scroll; /* 'fixed' kadang glitch di iOS/Safari */
            background-position: center top;
        }
    }
    @media (max-width: 468px) {
        html, body {
            background-attachment: scroll; /* 'fixed' kadang glitch di iOS/Safari */
            background-position: center top;
        }
    }
    @media (max-width: 768px) {
        html, body {
            background-attachment: scroll; /* 'fixed' kadang glitch di iOS/Safari */
            background-position: center top;
        }
    }
    @media (max-width: 468px) {
        html, body {
            background-attachment: scroll; /* 'fixed' kadang glitch di iOS/Safari */
            background-position: center top;
        }
    }
    a {
      color: inherit;
      text-decoration: none;
    }
    .top-links a {
      text-decoration: none;
      color: #333;
      margin: 0 5px;
    }
    .top-links a i {
      margin-right: 5px;
    }
    /* Warna untuk masing-masing ikon fafa header */
    .icon-daftar {
      color: #ff8800; /* orange */
    }
    .icon-telegram {
      color: #0088cc; /* Telegram blue */
    }
    .icon-livechat {
      color: #28a745; /* green */
    }
    .top-links a:hover {
      color: #25D366;
    }
    .top-links a:hover i {
      opacity: 0.8;
    }
    .sep {
        color: #ccc;
        margin: 0 6px;
    }
    /* Umum */
    .wa-button {
    background-color: #25D366;
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    }

    .wa-button i {
    margin-right: 6px;
    font-size: 16px;
    }

    /* Desktop Only */
    .wa-top-desktop {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    font-family: Arial, sans-serif;
    }

  .wa-strip-mobile {
    display: none;
    background-color: #25D366;
    text-align: center;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    font-family: Arial, sans-serif;
    }

  .wa-strip-mobile a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    }

  .wa-strip-mobile i {
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
    }

    /* Aktif hanya di mobile */
  @media screen and (max-width: 768px) {
    .wa-strip-mobile {
        display: block;
    }

    body {
        padding-top: 40px;
    }
  }

    /* Header */
    header.site-header {
      background-color: #0c3db8cc;
      border-bottom: 3px solid #00adff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 16px;
      flex-wrap: wrap;
      flex-shrink: 0;
    }

    .site-content {
      flex: 1 0 auto;
    }

    .site-footer {
      flex-shrink: 0;
    }

    .logo a {
      color: var(--accent);
      font-size: 1.5rem;
      font-weight: bold;
    }

    .main-nav ul {
      list-style: none;
      display: flex;
      gap: 10px;
      padding: 0;
      margin: 0;
      flex-wrap: wrap;
    }

    .main-nav li a {
      display: inline-block;
      padding: 8px 12px;
      font-weight: 600;
      border-radius: 6px;
      color: white;
      transition: background 0.2s;
    }

    .main-nav li a:hover {
      background: #00d5cb;
    }

    .badge {
      font-size: 0.6rem;
      padding: 2px 6px;
      border-radius: 6px;
      margin-left: 5px;
    }

    .hot { background: #e53935; }
    .new { background: #43a047; }

    /* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 16px;
  background: rgba(10, 32, 68, 0.95); /* biru gelap transparan */
  border-radius: 12px;
  margin: 16px auto;
  max-width: 420px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  border: 1px solid rgba(93,195,255,0.25);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.menu-btn {
  position: relative;
  background: linear-gradient(135deg, #3ca9ff, #1d7fff); /* biru muda → biru elektrik */
  color: #fff;
  padding: 12px;
  text-align: center;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: 0.3s ease;
  box-shadow: 0 0 8px rgba(60,169,255,0.6), 0 0 15px rgba(60,169,255,0.4);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  overflow: hidden;
  animation: glowPulse 2s infinite ease-in-out;
}
.menu-btn { border: 1px solid rgba(255,255,255,0.15); }
/* Shine otomatis (tanpa hover) */
.menu-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: shineSweep 1.8s ease-in-out infinite; /* jalan otomatis */
}

/* Animasi glow */
@keyframes glowPulse {
  0%   { box-shadow: 0 0 8px rgba(60,169,255,0.6), 0 0 15px rgba(60,169,255,0.4); }
  50%  { box-shadow: 0 0 15px rgba(60,169,255,0.9), 0 0 30px rgba(60,169,255,0.6), 0 0 45px rgba(60,169,255,0.5); }
  100% { box-shadow: 0 0 8px rgba(60,169,255,0.6), 0 0 15px rgba(60,169,255,0.4); }
}

/* Animasi cahaya menyapu */
@keyframes shineSweep {
  0%   { left: -75%; opacity: 0.0; }
  15%  { opacity: 0.6; }
  50%  { left: 110%; opacity: 0.8; }
  85%  { opacity: 0.4; }
  100% { left: 150%; opacity: 0.0; }
}

/* Responsiveness */
@media screen and (max-width: 767px) {
  .main-nav { display: none; }
  .wa-desktop { display: none; }
  .wa-top-mobile { display: block; }
}

@media screen and (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

    /* Separator gaya |
---------------------------------- */
    .sep {
    margin: 0 6px;
    color: #555;
    }

    /* Full-width WA only mobile */
    .wa-top-mobile { display: none; }
    .wa-full-btn {
    display: block;
    width: 100%;
    background: #25d366;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    padding: 12px;
    text-align:center;
    text-decoration: none;
    }
    .wa-full-btn:hover { background: #1ebd5a; }

    /* Shared Top Bar */
    .top-links {
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    }
    .top-bar {
    padding: 6px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    }
    .top-bar a { font-weight: 600; color: #eee; text-decoration: none; }
    .top-bar a:hover { color:#25c1d3; text-decoration: underline; }
    .wa-button {
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    }
    .current-time {
      color: #ccc;
      font-size: 0.85rem;
      margin-left: 8px;
      background: #101010;
    }

    @media screen and (max-width: 768px) {
    .current-time {
        display: none;
    }
 }

    /* RESPONSIVE MOBILE */
    @media (max-width: 767px) {
    .main-nav { display: none; }
    .wa-button { display: none; }
    .wa-top-mobile { display: block; }

    /* Susun ulang top-bar jadi satu baris rapat */
    .top-bar {
        padding: 8px 12px;
        justify-content: space-between;
    }
    .top-links {
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 0.6rem;
    }
    .top-bar .right-group {
        margin-top: 4px;
    }
  }

  /* Versi mobile: posisi tengah */
    @media screen and (max-width: 767px) {
    .logo {
        text-align: center;
        margin: 0 auto;
    }
    
    .logo img {
        max-width: 80%; /* supaya gak terlalu besar di layar kecil */
        height: auto;
    }
  }

/* CSS seperti di atas */
.marquee-wrapper {
  display: flex;
  align-items: center;
  background: #111111bf;
  height: 40px;
  border-radius: 5px;
  padding: 0px;
  position: relative;
  border-bottom: 3px solid #00adff;
}

.icon-box {
  padding: 5px 12px;
  border-radius: 4px;
  z-index: 2;
  position: relative;
  color: white;
}

.marquee-container {
  overflow: hidden;
  flex: 1;
  position: relative;
  margin-left: 10px;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeAnim 25s linear infinite; /* Ubah 25s ke nilai lebih tinggi kalau mau lebih lambat */
  font-weight: bold;
  color: #FFFFFF;
  font-size: 14px;
}



@keyframes marqueeAnim {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 480px) {
  .marquee-text {
    font-size: 12px;
  }

  .icon-box {
    padding: 3px 8px;
  }

  .marquee-wrapper {
    height: 35px;
  }
}

.my-slider {
  position: relative;
  width: 100%;
  max-width: 840px;
  aspect-ratio: 840 / 480;
  margin: 0 auto;
  overflow: hidden;
  border: 0.3rem solid #fff;
  border-radius: 2.2rem;
}

.my-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.my-slider .slide.active {
  display: block;
}

.my-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* gambar memenuhi area dengan proporsi terjaga */
  border-radius: 30px;
}

@media (max-width: 480px) {
  .my-slider {
  border: none; /* hilangkan border supaya lebih lega di HP */
  position: relative;
  width: 100%;
  max-width: 840px;      /* maksimal lebar desktop */
  aspect-ratio: 840 / 480; /* menjaga proporsi otomatis */
  margin: 0 auto;        /* center slider */
  overflow: hidden;
  }
}

  #scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 6px;
    z-index: 9999;
    width: 30px;
    height: 30px;
    border-radius: 8px; /* kotak dengan sudut membulat */
    border: none;
    background: linear-gradient(135deg, #e546d7, #f63b3b);
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow:
      0 4px 8px #f63b3b,
      inset 0 -2px 4px #e546d7;
    transition: all 0.3s ease;
    display: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #scrollTopBtn:hover {
    background: linear-gradient(135deg, #f63b3b, #e546d7);
    box-shadow:
      0 6px 12px #e546d7,
      inset 0 2px 5px #f63b3b;
    transform: translateY(-3px);
  }