* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    background-color: #253364;
}

.wrapper {
    max-width: 550px;
    margin: auto;
    overflow: hidden;
    min-height: 100vh;
    background-color: #142439;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
    display: none;
}

.container {
    max-width: 700px;
    margin: auto;
}

.navbar {
    width: 100%;
    color: #000;
    opacity: 0.85;
    background: transparent linear-gradient(180deg, #235FD6 0%, #1C1D50 100%) 0% 0% no-repeat padding-box;
    z-index: 100;
    padding: 0px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 55px;
    align-items: center;
}

.menu-items {
    order: 2;
    display: flex;
}

.logo {
    order: 1;
    font-size: 2.3rem;
}

.logo img {
    max-width: 120px;
}

.menu-items li {
    list-style: none;
    font-size: 1.3rem;
}

.navbar {
    opacity: 0.95;
}

.navbar-container input[type="checkbox"],
.navbar-container .hamburger-lines {
    display: block;
}

.navbar-container {
    display: block;
    position: relative;
    height: 65px;
}

.navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 15px;
    right: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.navbar-container .hamburger-lines {
    display: block;
    height: 22px;
    width: 29px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #fff;
}

.navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.3s ease-in-out;
}

.navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}

.navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.3s ease-in-out;
}

.navbar .menu-items {
    padding-top: 100px;
    height: 100vh;
    width: 80%;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -12px;
    padding-left: 0px;
    transition: transform 0.5s ease-in-out;
    overflow: auto;
    background: transparent linear-gradient(180deg, #235FD6 0%, #1C1D50 100%) 0% 0% no-repeat padding-box;
}






#menu-toggle:checked ~ .menu-items {
    transform: translateX(0%);
}

/* Toggle animation */
input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    opacity: 0;
}

input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg) translate(5px, -5px);
}























a {
    color: #ffffff;
    text-decoration: underline;
}

.navbar .menu-items .logo {
    background-color: #27334E;
    padding-bottom: 12px;
    padding-top: 4px;
}

.navbar .menu-items ul {
    padding: 0px;
}

.navbar .menu-items li {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    margin-bottom: 5px;
}

.navbar .menu-items li a {
    color: #fff;
    padding: 5px 40px;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease-in-out;
    text-transform: uppercase;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.navbar .menu-items li.active>a,
.navbar .menu-items li:hover>a {
    padding-left: 32px;
    border-left: 8px solid #FF631E;
    color: #FF631E;
}

.navbar .menu-items li.active svg path,
.navbar .menu-items li:hover svg path {
    fill: #FF631E;
}

.navbar .menu-items li .dropdownMenu {
    padding: 15px 18px 15px 40px;
    background-color: #27334E;
}

.navbar .menu-items li .dropdownMenu a {
    color: #BCBDC4;
    font-size: 14px;
    padding: 5px 0px;
}

.navbar .menu-items li .dropdownMenu a:hover {
    color: #1E87FF;
}

.logo {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    text-align: center;
    font-size: 2.5rem;
}

.navbar-container input[type="checkbox"]:checked~.menu-items {
    transform: translateX(0);
}

.hero-section {
    min-height: 150px;
    background-image: url('https://www.mendprogramme.org/assets/imej/hero.webp');
    background-size: 100% 100%;
    opacity: 0.4;
}

.whatapps-section {
    margin-top: -110px;
}

.whatapps-section .img {
    position: relative;
}

.whatapps-section .img .vector-btn {
    position: absolute;
    bottom: 18px;
    width: 100%;
    text-align: center;
}

.whatapps-section .img .vector-btn a {
    animation: pulse-black 20s infinite;
}

@keyframes pulse-black {
    0% {
        transform: scale(1, 1);
    }
    1% {
        transform: scale(0.9, 0.9);
    }
    2% {
        transform: scale(1, 1);
    }
    3% {
        transform: scale(0.9, 0.9);
    }
    4% {
        transform: scale(1, 1);
    }
    7% {
        transform: scale(1, 1);
    }
    100% {
        transform: scale(1, 1);
    }
}

.whatapps-section .btn-whatapps {
    background: transparent linear-gradient(180deg, #00EC5F 0%, #0FDFDF 100%) 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 1px 1px #FDFFFAD1, 0px 2px 2px #0B2038D9;
    padding: 6px 26px;
    text-align: center;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    animation: pulse-black 20s infinite;
}

.content-section {
    margin-top: 0px;
}

.section-heading {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    color: #FF631E;
    text-transform: uppercase;
    max-width: 375px;
    margin: auto;
    margin-bottom: 10px;
    margin-top: 10px;
    text-decoration: none;
}

.content-section .detail {
    background-color: #27334E;
    padding: 14px 15px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.content-section .detail .content-li {
    display: flex;
    gap: 18px;
    color: #BFC3D9;
    font-size: 16px;
    padding-bottom: 10px;
}

.content-section .detail .content-li span:first-child {
    width: 20px;
    text-align: left;
}

.game-list {
  list-style-position: inside;
  padding-left: 0;
  margin: 0;
}
.game-list li {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.game-list h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.game-list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #BFC3D9;
}

.section-text {
    font-size: 14px;
    letter-spacing: 0px;
    color: #BCBDC4;
    width: 90%;
    margin: 0 auto;
}

.text-1E87FF,
.section-text strong {
    color: #F0BD1B;
}

b {
    color: #F0BD1B;
}

.footer-section {
    background: transparent linear-gradient(180deg, #235FD6 0%, #1C1D50 100%) 0% 0% no-repeat padding-box;
    padding: 40px 0px;
    margin-top: 70px;
}

.footer-section .heading {
    font-size: 15px;
    font-weight: 700;
    color: #FF631E;
}

.footer-section ul {
    padding: 14px 0px;
    margin: 0px;
}

.footer-section li {
    list-style: none;
    font-size: 13px;
    position: relative;
    padding-bottom: 5px;
}

.footer-section li a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease-in-out;
    text-transform: uppercase;
    display: flex;
    width: 100%;
    gap: 12px;
    line-height: 20px;
}

.footer-section li a .underline {
    height: 35px;
}

.footer-section li.active:hover a,
.footer-section li:hover a {
    color: #FF631E;
}

.footer-section li.active:hover a .underline,
.footer-section li:hover a .underline {
    padding-bottom: 2px;
    border-bottom: 2px solid #FF631E;
}

.footer-section li.active:hover svg path,
.footer-section li:hover svg path {
    fill: #FF631E;
}

.footer-section hr {
    background: #fff;
    margin-bottom: 30px;
}

.footer-section .copyright-text {
    color: #BCBDC4;
    font-size: 12px;
}

.main-title-section {
    background-image: url('../imej/mega888-logo.png');
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    justify-content: center;
}

.profile-section {
    margin-top: 24px;
    margin-bottom: 45px;
}

.profile-section .detail {
    max-width: 450px;
    margin: auto;
    background: #27334E;
    padding: 12px 20px;
    border-radius: 20px;
    color: #fff;
    min-height: 400px;
}

.profile-section .detail strong {
    color: #1E87FF;
}

.text-FF631E {
    color: #FF631E;
    font-weight: 700;
}

.flex-dataa {
    padding: 20px 0px;
}

.flex-dataa .flex-color {
    display: flex;
    width: 100%;
}

.flex-dataa .flex-color div.text-FF631E {
    width: 20px;
    text-align: left;
}

h1 {
    font-size: calc(1.0rem + 0.5vw);
}

/* Resolutions */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .whatapps-section .img .vector-btn {
        position: absolute;
        bottom: 2px;
        width: 100%;
        text-align: center;
        animation: pulse-black 20s infinite;
    }
    .whatapps-section .btn-whatapps {
        background: transparent linear-gradient(180deg, #00EC5F 0%, #0FDFDF 100%) 0% 0% no-repeat padding-box;
        box-shadow: inset 0px 1px 1px #FDFFFAD1, 0px 2px 2px #0B2038D9;
        padding: 6px 10px;
        text-align: center;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 700;
        animation: pulse-black 20s infinite;
    }
}

.detail-left {
    float: left;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    border-radius: 0.5rem;
    padding: 0.5rem;
    text-decoration: none;
    transition: 0.2s ease-out;
    width: 50px;
    height: 50px;
    margin-bottom: 50px;
}

.back-to-top span {
    color: #fff;
    font-size: 2rem;
    transition: 0.2s ease-out;
}

.back-to-top:hover {
    background-color: #be1a3b;
}

.back-to-top:hover span {
    transform: translateY(-4px);
}


.img-effect amp-img {
    object-fit: contain;
    max-width: 100%;
    height: auto;
    display: block;
}


img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

/* Efek awal sebelum gambar tampil */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: block;
  width: 100%;
  height: auto;
}

.lazy-img.lazyloaded {
  opacity: 1;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq {
  border-bottom: 1px solid #ccc;
  padding: 15px 0;
}

.faq-question {
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  outline: none;
  color: #ffd900;
  user-select: none;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 24px;
  color: #fffb1e;
  transition: transform 0.3s ease;
  top: 2px;
}

.faq.open .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 16px;
  color: #fffdfd;
  line-height: 1.6;
  padding: 0 10px;
}

.faq.open .faq-answer {
  max-height: 500px; /* Sesuaikan sesuai panjang jawaban */
  padding-top: 15px;
  padding-bottom: 15px;
}
 
.polygon-shape { fill: blue; }

/* ========== ARD Social Media Dock (scoped) ========== */
.ard-social-media-mendprogramme {
  --ard-sm-z: 9999;
  --ard-sm-size: 56px;
  --ard-sm-gap: 10px;
  --ard-sm-radius: 16px;
  --ard-sm-shadow: 0 6px 16px rgba(0,0,0,.15);
  --ard-sm-bg: #111827;
  --ard-sm-bg-2: #0b1220;
  --ard-sm-text: #eef2ff;
  --ard-sm-accent: #f59e0b;
  --ard-sm-wa: #25d366;
  --ard-sm-tg: #2aabee;

  position: relative;
  z-index: var(--ard-sm-z);
}

/* Dock wrapper */
.ard-social-media-mendprogramme .ard-sm__dock {
  position: fixed;
  inset: auto auto max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--ard-sm-gap);
  align-items: end;
}

/* FAB */
.ard-social-media-mendprogramme .ard-sm__fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ard-sm-accent);
  color: #111;
  border: 0;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: var(--ard-sm-radius);
  box-shadow: var(--ard-sm-shadow);
  cursor: pointer;
  font: 600 14px/1 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  transition: transform .2s ease, background .2s ease;
}
.ard-social-media-mendprogramme .ard-sm__fab:hover { transform: translateY(-1px); }
.ard-social-media-mendprogramme .ard-sm__fab:active { transform: translateY(0); }

.ard-social-media-mendprogramme .ard-sm__fab-bars,
.ard-social-media-mendprogramme .ard-sm__fab-bars::before,
.ard-social-media-mendprogramme .ard-sm__fab-bars::after {
  content:"";
  display:block;
  width:18px;height:2px;background:#111;border-radius:2px;
  position:relative;
}
.ard-social-media-mendprogramme .ard-sm__fab-bars::before { position:absolute; top:-6px }
.ard-social-media-mendprogramme .ard-sm__fab-bars::after { position:absolute; top:6px }

.ard-social-media-mendprogramme .ard-sm__fab-label {
  font-weight:700;
  font-size:14px;
  animation: ard-blink 1.6s ease-in-out infinite;
}
@keyframes ard-blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* List container */
.ard-social-media-mendprogramme .ard-sm__list {
  display: grid;
  gap: var(--ard-sm-gap);
  justify-items: start;
  transition: max-height .3s ease;
  max-height: 0;
  overflow: hidden;
}
.ard-social-media-mendprogramme .ard-sm__dock[data-open="true"] .ard-sm__list {
  display: grid;
  max-height: 80vh;
}

/* Item */
.ard-social-media-mendprogramme .ard-sm__item {
  --bg: var(--ard-sm-bg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--ard-sm-size);
  background: linear-gradient(180deg, var(--bg), var(--ard-sm-bg-2));
  color: var(--ard-sm-text);
  padding: 8px 12px;
  border-radius: var(--ard-sm-radius);
  text-decoration: none;
  box-shadow: var(--ard-sm-shadow);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.ard-social-media-mendprogramme .ard-sm__item:hover { transform: translateX(2px); }

/* Icon wrapper */
.ard-social-media-mendprogramme .ard-sm__icon {
  width: var(--ard-sm-size);
  height: var(--ard-sm-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
}
.ard-social-media-mendprogramme .ard-sm__icon svg {
  width: 60%; height: 60%; fill: currentColor;
}

/* RTP Slot */
.ard-social-media-mendprogramme .ard-sm__rtp { --bg:#1a1a1a; color:#fff; }
.ard-social-media-mendprogramme .ard-sm__rtp .ard-sm__icon {
  background:#081a2c;
  display:flex;align-items:center;justify-content:center;
}
.ard-social-media-mendprogramme .ard-sm__rtp .ard-sm__icon img {
  max-width:70%; max-height:70%; object-fit:contain;
}

/* Brand colors */
.ard-social-media-mendprogramme .ard-sm__wa{ --bg:#052a17; color:#eafff2; }
.ard-social-media-mendprogramme .ard-sm__wa .ard-sm__icon{ color:var(--ard-sm-wa); }

.ard-social-media-mendprogramme .ard-sm__tg{ --bg:#081a2c; color:#eaf2ff; }
.ard-social-media-mendprogramme .ard-sm__tg .ard-sm__icon{ color:var(--ard-sm-tg); }

.ard-social-media-mendprogramme .ard-sm__text {
  font: 600 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 479.98px){
  .ard-social-media-mendprogramme{ --ard-sm-size: 52px; }
  .ard-social-media-mendprogramme .ard-sm__fab{ padding:10px 12px; }
  .ard-social-media-mendprogramme .ard-sm__text{ display:none; }
}
@media (min-width: 480px) and (max-width: 1023.98px){
  .ard-social-media-mendprogramme{ --ard-sm-size: 58px; --ard-sm-gap: 12px; }
}
@media (min-width: 1024px){
  .ard-social-media-mendprogramme{ --ard-sm-size: 60px; --ard-sm-gap: 12px; }
}

/* Focus visibility */
.ard-social-media-mendprogramme .ard-sm__fab:focus-visible,
.ard-social-media-mendprogramme .ard-sm__item:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .ard-social-media-mendprogramme .ard-sm__list,
  .ard-social-media-mendprogramme .ard-sm__item,
  .ard-social-media-mendprogramme .ard-sm__fab,
  .ard-social-media-mendprogramme .ard-sm__fab-label {
    transition: none !important;
    animation: none !important;
  }
}

/* RTL */
[dir="rtl"] .ard-social-media-mendprogramme .ard-sm__dock {
  left:auto; right:max(16px, env(safe-area-inset-right));
}

/* Print */
@media print{ .ard-social-media-mendprogramme{ display:none !important; } }