  /* ========== Reset CSS untuk konsistensi ========== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} 

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: #f8f9fa;
    color: #333;
}

  /* ========== Navbar ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2a4d2f; 
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.25rem;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.navbar-nav .nav-item {
    margin-left: 20px;
}

.nav-link {
    color: #2a4d2f !important;
}

.nav-link:hover {
    color: #2a4d2f !important;
}

.btn-primary {
    margin-left: 10px;
    white-space: nowrap;
    background-color: #ffffff; 
    border-color: #2a4d2f;
    color: #2a4d2f; 
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #1b3d29; 
    border-color: #1b3d29; 
    color: white;
}

.btn-primary:active, .btn-primary:focus {
    background-color: #1b3d29 !important;
    border-color: #1b3d29 !important;
    color: white !important;
}

/* ========== Video Header ========== */
.video-container {
    position: relative;
    width: 100vw;
    height: 500px;
    overflow: hidden;
}

.video-header {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========== Marquee Text Inside Video ========== */
.marquee-container {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.marquee-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
    white-space: nowrap;
    animation: marquee-scroll 10s linear infinite;
}

@keyframes marquee-scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* ========== Footer ========== */
.footer {
    background-color: #2a4d2f;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-logo-img {
    height: 40px;
    margin-right: 10px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    font-size: 30px;
    color: white;
    transition: color 0.3s ease-in-out;
}

.social-icon:hover {
    color: #e8f5e9;
}

.footer-jargon {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #e8f5e9;
}

/* ========== News Section ========== */
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.news-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ========== News and Updates ========== */
.news-box {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    transition: box-shadow 0.3s ease-in-out;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.news-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.news-box h5 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #2a4d2f;
}

.news-description {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

.news-box:hover {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

.comment-box {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}
/* ========== Fade-in Effect ========== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Menambah jarak antar kolom */
    flex-wrap: wrap;
}

.about-box {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* ========== About Section ========== */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Jarak antar kotak agar tetap rapi */
    flex-wrap: wrap;
    padding: 20px;
}

.about-box {
    flex: 1 1 400px; /* Maksimum lebar 400px agar tidak terlalu besar */
    max-width: 450px; /* Batasi lebar maksimal */
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.Game-image, .creator-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.compact-carousel {
    max-width: 500px; /* Smaller width for the carousel */
    margin: 0 auto; /* Center the carousel */
}

.compact-carousel .carousel-inner {
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensure content stays within bounds */
}

.compact-carousel .carousel-item {
    transition: transform 0.5s ease-in-out; /* Smooth slide transition */
}

.compact-carousel .card {
    border: none; /* Remove default card border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 15px; /* Reduced padding */
    margin: 10px; /* Margin for spacing */
    min-height: 120px; /* Ensure consistent height */
}

.compact-carousel .card-title {
    font-size: 1rem; /* Smaller title font */
    color: #007bff; /* Theme color */
    margin-bottom: 5px;
}

.compact-carousel .card-text {
    font-size: 0.875rem; /* Smaller text */
    color: #333;
    margin-bottom: 5px;
}

.compact-carousel .comment-text {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis for long comments */
}

.compact-carousel .text-muted {
    font-size: 0.75rem; /* Smaller timestamp */
}

.compact-carousel .carousel-control-prev,
.compact-carousel .carousel-control-next {
    width: 8%; /* Narrower control areas */
    background: rgba(0, 0, 0, 0.2); /* Subtle control background */
    opacity: 0.5; /* Slightly transparent */
    transition: opacity 0.3s;
}

.compact-carousel .carousel-control-prev:hover,
.compact-carousel .carousel-control-next:hover {
    opacity: 1; /* Full opacity on hover */
}

.compact-carousel .carousel-control-prev-icon,
.compact-carousel .carousel-control-next-icon {
    width: 15px; /* Smaller icons */
    height: 15px;
}
.header-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#headerVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.header-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 2;
  text-align: center;
}

