 body {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: white;
            background: rgba(0,0,0,1);
            min-height: 100%;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: black;
            min-height: 100%;
            overflow: hidden;
        }

        /* Header */
        .header {
            width: calc(100% - 2px); /* Mengurangi 2px untuk border kiri dan kanan */
            height: 0;
            padding-bottom: 25%; /* 2/8 = 0.25 = 25% untuk mempertahankan aspect ratio 8:2 */
            margin-top: 15px; /* Padding top 10px dari container */
            position: relative;
            overflow: visible; /* Mengubah dari hidden ke visible agar border terlihat */
            box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 3px 10px rgba(0,0,0,0.1);
            border-radius: 0;
            border: 2px solid rgba(192, 192, 192, 0.5);
            box-sizing: border-box; /* Memastikan border dihitung dalam ukuran total */
        }

        .header img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* NEW NAVIGATION DESIGN - HORIZONTAL CARDS STYLE */
        .nav {
            background: green;
            padding: 20px 0;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.15);
            z-index: 10;
            border-left: 1px solid white;
            border-right: 1px solid white;
            border-top: 1px solid white;
            border-bottom: 1px solid white;
        }

        .nav::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="navpattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23navpattern)"/></svg>');
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
            position: relative;
            z-index: 2;
        }

        .nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            align-items: center;
        }

        .nav li {
            position: relative;
        }

        .nav a {
            display: block;
            padding: 15px 25px;
            color: white;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-align: center;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.1rem;
            border-radius: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .nav a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .nav a:hover::before {
            left: 100%;
        }

        .nav a:hover {
            background: rgba(255,255,255,0.25);
            color: #fff;
        }

        .nav a:active {
            background: rgba(255,255,255,0.3);
        }

        /* Main Content */
        .main-content {
            padding: 0px;
            width: calc(100% - 2px);
            margin: 30px auto;
            background: rgba(0,0,0,1);
            margin-top: 30px;
            margin-bottom: 30px;
            box-shadow: 0 15px 35px rgba(255,255,255,0.1), 0 5px 15px rgba(255,255,255,0.07);
            border-radius: 0;
            border: 2px solid rgba(192, 192, 192, 0.5);
            box-sizing: border-box;
        }

        h1 {
            color: red;
            font-family: 'Poppins', sans-serif;
            font-size: 2.1rem;
            margin-bottom: 30px;
            text-align: center;
            font-weight: 800;
            line-height: 1.2;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.1);
            letter-spacing: -0.5px;
        }

        h2 {
            color: red;
            font-family: 'Poppins', sans-serif;
            font-size: 1.65rem;
            margin: 40px 0 25px 0;
            text-align: center;
            font-weight: 700;
            line-height: 1.3;
            position: relative;
            letter-spacing: -0.3px;
        }

        h3 {
            color: red;
            font-family: 'Poppins', sans-serif;
            font-size: 1.35rem;
            margin: 30px 0 20px 0;
            text-align: center;
            font-weight: 600;
            line-height: 1.3;
            position: relative;
            letter-spacing: -0.2px;
        }

        .content-image {
            width: 100%;
            max-width: 750px;
            height: 380px;
            margin: 35px auto;
            display: block;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            object-fit: cover;
            transition: all 0.4s ease;
        }

        .content-image:hover {
            transform: scale(1.03) rotate(1deg);
            box-shadow: 0 25px 50px rgba(0,0,0,0.4);
        }

        p {
            font-family: '-apple-system';
            font-size: 1.1rem;
            margin-bottom: 35px;
            text-align: justify;
            line-height: 1.8;
            font-weight: 400;
            color: white;
            text-indent: 0px;
            background: rgba(0,0,0,0.1);
            padding: 30px;
            border-radius: 0;
            letter-spacing: 0.2px;
            box-shadow: 0 5px 15px rgba(255,255,255,0.05);
        }

        /* Footer */
        .footer {
            width: 100%;
            min-height: 60px;
            background: green;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.9rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            font-weight: 400;
            padding: 15px 0;
            box-shadow: 0 -8px 25px rgba(0,0,0,0.15), 0 -3px 10px rgba(0,0,0,0.1);
            border-radius: 0;
            border-left: 1px solid rgba(192, 192, 192, 1);
            border-right: 1px solid rgba(192, 192, 192, 1);
            border-top: 1px solid rgba(192, 192, 192, 1);
            border-bottom: 1px solid rgba(192, 192, 192, 1);
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 240"><defs><pattern id="footergrid" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23footergrid)"/></svg>');
        }

        .footer-content {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            padding: 0 30px;
        }

        .footer-content p {
            font-family: 'Inter', sans-serif;
            margin: 12px 0;
            font-size: 1.1rem;
            line-height: 1.7;
            font-weight: 400;
            color: #ecf0f1;
            background: none;
            border: none;
            box-shadow: none;
            text-indent: 0;
            padding: 0;
            letter-spacing: 0.3px;
        }

#histats_counter {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}



/* Agar tidak ada ruang kosong */
body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

 .banner-float {
  position: fixed;
  width: 100%;
  text-align: center;
  bottom: 0px;
  z-index: 9999;
}

.banner-float img {
  width: 728px;
}

.banner1 img {
  display: inline-block;
  width: 49%;
}

.floating-top {
  background: transfarant;
  top: 0;
  height: auto;
  left: 0;
  padding: 0px;
  position: fixed;
  text-align: center;
  width: 100%;
  z-index: 1001;
}

.floating-bottom {
  background: transfarant;
  bottom: 0;
  height: auto;
  left: 0;
  padding: 0px;
  position: fixed;
  text-align: center;
  width: 100%;
  z-index: 1001;
}

.floating-top img {
  width: 49%;
}

.floating-bottom img {
  width: 49%;
}

.headerbanner {
  text-align: center;
}

.headerbanner img {
  width: 49%;
}

.banner-top img {
  width: 728px;
}
.nav-wrapper {
    max-width: 550px;
    margin: 30px auto;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.nav-title {
    font-size: 20px;
    font-weight: 700;
    color: #f4c542; /* gold */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.nav-item {
    background: #121212;
    border: 1px solid rgba(244, 197, 66, 0.25); /* lebih tipis */
    padding: 12px;
    border-radius: 6px; /* sebelumnya 10px */
    transition: 0.25s ease-in-out;
    box-shadow: 0 0 5px rgba(244, 197, 66, 0.10); /* glow lebih kecil */
}

.nav-item:hover {
    background: #1a1a1a;
    border-color: #f4c542;
    box-shadow: 0 0 8px rgba(244, 197, 66, 0.25);
    transform: translateY(-2px);
}

.nav-item a {
    color: #f9d76f; /* gold bright */
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.nav-item a:hover {
    color: #fff;
}
@media only screen and (max-device-width: 1000px) {
  .floating-top img {
    width: 100%;
  }

  .floating-bottom img {
    width: 100%;
  }

  .headerbanner img {
    width: 100%;
  }

  .container {
    width: 100%;
  }

  .logo {
    width: 280px;
    height: 80px;
    margin: auto;
  }

  .menu a {
    display: block;
    font-size: 16px;
    border: 1px solid black;
  }

  .banner1 {
    display: block;
  }

  .banner1 img {
    display: block;
    width: 100%;
  }

  .lassres {
    width: 100%;
    margin: auto;
  }

  .lassres tableresult {
    width: 100%;
    padding: 0 0 0 0;
    border: 1px solid white;
  }

  .lassres img {
    width: 100%;
    height: auto;
    padding: 1px 0 0 0;
  }

  .banner2 {
    display: block;
  }

  .banner2 img {
    display: block;
    width: 100%;
  }

  .banner {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    background: #3a3a3a;
  }

  .banner img {
    display: inline-block;
    width: 48%;
    box-sizing: border-box;
    margin: 5px;
  }

  .banner-float {
    position: fixed;
    width: 100%;
    text-align: center;
    bottom: 1px;
    z-index: 9999;
  }

  .banner-float img {
    width: 728px;
  }


  .banner-float {
    width: 100%;
  }

  .banner-top {
    width: 100%;
  }

  .banner-float img {
    width: 100%;
  }

  .banner-top img {
    width: 100%;
  }
}

@media only screen and (max-device-width: 550px) {
  .logo {
    width: 208px;
    margin: auto;
  }

  .banner1 img {
    display: inline-block;
    width: 100%;
  }
}

.banner1 {
  display: block;
  text-align: center;
}

.banner img {
  display: block;
  width: 100%;
  margin: 0px;
}

.banner-float {
  width: 100%;
}

.banner-float img {
  width: 100%;
}
#popup-overlay {
  position: fixed;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
.popup-box {
  position: relative;
  background: transparent;
  padding: 0;
  border-radius: 6px;
  max-width: 400px;
  width: 50%;
}
.popup-box img {
  width: 80%;
  height: auto;
  border-radius: 5px;
  display: block;
}
.popup-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #000;
  color: #fff;
  font-size: 24px;
  line-height: 24px;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
}
@media (max-width: 600px) {
  .popup-box { max-width: 50%; }
}

        /* Responsive Design */
        @media (max-width: 1024px) {
           .floating-top img {
              width:98%
           }
           .floating-bottom img {
             width:98%
           }
             .headerbanner img{
            width:100%;
           }
            .container {
                margin: 0 15px;
            }
            
            .main-content {
                padding: 0px;
                margin: 20px 0;
            }
           
            .nav ul {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
                gap: 12px;
            }

            .nav-container {
                padding: 0 25px;
            }
        }

        @media (max-width: 768px) {
            .nav {
                padding: 3px 0;
            }

            .nav-container {
                padding: 0 3px;
            }

            .nav ul {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .nav a {
                padding: 15px 20px;
                font-size: 1rem;
                border-radius: 0;
            }

            .main-content {
                padding: 0px;
                margin: 15px 0;
            }

            h1 {
                font-size: 1.65rem;
                margin-bottom: 25px;
            }

            h2 {
                font-size: 1.425rem;
                margin: 30px 0 20px 0;
            }

            h3 {
                font-size: 1.2rem;
                margin: 25px 0 15px 0;
            }



            .content-image {
                height: 300px;
                margin: 25px auto;
                border-radius: 15px;
            }

            p {
                font-size: 1.05rem;
                line-height: 1.8;
                padding: 25px;
                text-indent: 0px;
            }
            .nav-wrapper {
        max-width: 90%;
        margin: 20px auto;
    }

    .nav-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .nav-grid {
        grid-template-columns: repeat(2, 1fr); /* tetap 2 kolom */
        gap: 8px;
    }

     .nav-item {
        padding: 6px;
        border-radius: 4px; /* sudut lebih kecil di mobile */
        border-width: 0.8px; /* ekstra tipis */
    }

    .nav-item a {
        font-size: 12.5px;
    }
        }

        @media (max-width: 480px) {
            .container {
                margin: 0 10px;
            }
            .banner1 img {
		       display: inline-block;
		       width: 100%;
	        }
           .banner1 {
		       display: block;
		       text-align:center;
	        }
	
           .banner img {
		       display: block;
		       width: 100%;
		       margin: 0px;
	       }
	       .banner-float {
		      width: 98%;
		
	       }
	
	       .banner-float img {
	 	      width: 98%;
		
	       }

            .nav a {
                padding: 12px 15px;
                font-size: 0.95rem;
                border-radius: 0;
            }

            .main-content {
                padding: 0px;
                margin: 10px 0;
            }

            h1 {
                font-size: 1.425rem;
                margin-bottom: 20px;
            }

            h2 {
                font-size: 1.2rem;
                margin: 25px 0 15px 0;
            }

            h3 {
                font-size: 1.05rem;
                margin: 20px 0 12px 0;
            }



            .content-image {
                height: 260px;
                margin: 20px auto;
                border-radius: 12px;
            }

            p {
                font-size: 0.95rem;
                margin-bottom: 25px;
                line-height: 1.7;
                padding: 20px;
                text-indent: 0px;
            }

            .footer {
                min-height: 50px;
                font-size: 0.85rem;
                padding: 12px 0;
            }
            .nav-wrapper {
        max-width: 90%;
        margin: 20px auto;
    }

    .nav-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .nav-grid {
        grid-template-columns: repeat(2, 1fr); /* tetap 2 kolom */
        gap: 8px;
    }

     .nav-item {
        padding: 6px;
        border-radius: 4px; /* sudut lebih kecil di mobile */
        border-width: 0.8px; /* ekstra tipis */
    }

    .nav-item a {
        font-size: 12.5px;
    }
        }

        /* SEO Enhancements */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Performance Optimizations */
        img {
            loading: lazy;
            decoding: async;
        }

        /* Internal Links */
        .internal-link {
            color: red;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .internal-link:hover {
            color: darkred;
            text-decoration: underline;
        }

        /* Accessibility */
        a:focus, button:focus {
            outline: 3px solid #e74c3c;
            outline-offset: 3px;
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Loading Animation */
        @keyframes shimmer {
            0% { background-position: -200px 0; }
            100% { background-position: calc(200px + 100%) 0; }
        }

        .loading {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200px 100%;
            animation: shimmer 1.5s infinite;
        }