/* ================= RESET & GLOBAL ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  font-family: 'Oswald', sans-serif;
  padding-bottom: 60px; /* tinggi bottom bar */
}

a {
  color: white;
  text-decoration: none;
}
a:hover {
  color: white;
}

img {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
}

.space {
  width: 100%;
  height: 10px;
}

/* ================= CONTAINER ================= */
.container {
  width: 70%;
  margin: auto;
}

/* ================= HEADER ================= */
.head {
  width: 100%;
  box-sizing: border-box;
  padding: 40px 0;
  font-size: 26px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to bottom, #004aad, #111);
}


/* ================= MENU ================= */
.menu {
  width: 100%;
  text-align: center;
  background: #c7a44c;
}
.menu a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  color: #000;
  border-bottom: 1px solid #000;
}

/* ================= CONTENT ================= */
.content {
  width: 100%;
  border: 1px solid #fff;
  border-radius: 10px;
}

.content p {
  font-size: 16px;
  color: white;
  margin: 5px;
}

/* ================= HEADINGS ================= */
h1 { text-align: center; margin: 20px 0; }
h2, h3 { text-align: center; margin: 30px 0; font-size: 26px; color: white; }
h4 { text-align: center; margin: 25px 0; font-size: 20px; color: white; }

.title-head { font-size: 24px; color: white; }
.title-footer { font-size: 26px; color: white; }

/* ================= BANNER ================= */
.banner, .banner1, .banner2, .banner-top, .headerbanner {
  text-align: center;
}
.banner img,
.banner1 img,
.banner2 img,
.headerbanner img,
.banner-top img { width: 49%; margin: 5px auto; }

.banner-float {
  position: fixed;
  width: 100%;
  text-align: center;
  bottom: 0;
  z-index: 9999;
}
.banner-float img { width: 728px; }

/* ================= FLOATING ================= */
.floating-top, .floating-bottom {
  position: fixed;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1001;
}
.floating-top { top: 0; }
.floating-bottom { bottom: 0; }

.floating-top img, .floating-bottom img { width: 32%; }

/* ================= TABLE ================= */
.lassres { width: 70%; margin: auto; }
.lassres table { width: 100%; }
.t1 { width: 40%; padding: 5px 10px; border: 1px solid #989898; background: white; font-size: 16px; }
.t2, .t3 { width: 30%; padding: 5px 10px; border: 1px solid #989898; background: white; font-size: 16px; }

.table-container { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }

.kepala { text-align: center; font-size: 20px; background: #de0000; color: white; }

/* ================= IKLAN ================= */
.iklan { width: 100%; border: 2px solid #ff6600; }
.iklan img { width: 100%; border: 2px solid #ff6600; }

/* ================= FOOTER ================= */
.footer_container { width: 100%; display: block; }
.inside_footer_container { width: 100%; display: flex; text-align: center; }
.footer_button {
  width: 22%;
  display: inline-block;
  margin: 1% 0 0 0;
  padding: 10px 0;
  background-color: #d3d3d3;
  box-shadow: 0 0 10px 1px #141414;
  font-size: 15px;
  font-weight: bold;
  color: black;
  letter-spacing: 0.2px;
}

/* ================= BOTTOM BAR ================= */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  border-top: 2px solid #ffcc00;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4);
}
.bottom-bar a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  flex: 1;
  text-align: center;
  padding: 6px 0;
  transition: all 0.3s ease;
}
.bottom-bar a:hover { background: #222; color: #ffcc00; }
.bottom-bar a.active { color: #ffcc00; font-weight: bold; border-top: 2px solid #ffcc00; }

/* ================= LINK LIST ================= */
.out-link { list-style-type: square; margin: 0 35px; color: white; }
.out-link a { color: white; }

/* ================= ANIMASI ================= */
.kotak-berkedip {
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  animation: blink 1s infinite;
}
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.2; } 100% { opacity: 1; } }

/* ================= POPUP ================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  transition: opacity .5s;
  visibility: visible;
  opacity: 1;
  z-index: 999;
}
.overlay:target { visibility: hidden; opacity: 0; }
.popup {
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  position: relative;
  width: 300px;
  padding: 15px;
  border-radius: 5px;
}
.popup h2 { margin-top: 0; color: #333; font-family: Tahoma, Arial, sans-serif; }
.popup .close {
  position: absolute;
  right: 5px;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: .2s;
}
.popup .close:hover { color: #06d85f; }
.popup .content { max-height: 50%; overflow: auto; margin-top: 30px; }

/* ================= FOOTER DOFOLLOW LINKS ================= */
.related-links {
  margin: 20px auto;
  width: 100%;
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 16px;
  background: #111;
  border-radius: 10px;
}
.related-sites ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.related-sites li { margin: 0; }
.related-sites a {
  font-size: 14px;
  color: #f7f7f7;
  text-decoration: none;
  padding: 6px 12px;
  background: #222;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid #444;
}
.related-sites a:hover { color: #ffcc00; background: #333; text-decoration: underline; }

/* ================= SCREEN READER ================= */
.sr-only {
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0);
  white-space:nowrap; border:0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .container { width: 100%; }
  .menu a { display: block; font-size: 20px; }
  .banner1 img, .banner2 img, .banner img { width: 100%; }
  .lassres { width: 100%; }
  h3, .title-footer { font-size: 14px; }
  .banner-float, .banner-top { width: 98%; }
  .banner-float img, .banner-top img { width: 98%; }
}

@media (max-width: 768px) {
  .related-sites a { font-size: 12px; padding: 5px 8px; }
}

@media (max-width: 550px) {
  .logo { width: 205px; margin: auto; }
  .banner1 img { width: 100%; }
}
