html, body {
    width: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

html {
    overflow-x: hidden;
}

.navbar {
    z-index: 1000;
    width: 100%;
    background: transparent;
    box-shadow: none;
    height: 80px;
    left: 0;
    top: 0;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Transisi lebih smooth dengan cubic-bezier */
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}

/* Class untuk scroll */
.navbar.scrolled {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(40, 0, 0, 0.95)); /* Sedikit transparansi */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 80px;
    padding: 0px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.navtext {
    display: flex;
    align-items: center;
}

.navtext a {
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
}

.navtext .terra {
    color: #ffffff;
}

.navtext .rex {
    color: #ff0000;
}

.menu {
    display: flex;
    align-items: center;
}

.menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 90px;
    gap: 40px;
}

.menu ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    transition: color 0.3s ease;
}

.menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff0303;
    transition: width 0.3s ease;
}

/* Hover effect */
.menu ul li a:hover {
    color: #ff0303;
}

.menu ul li a:hover::after {
    width: 100%;
}

/* Active state */
.menu ul li a.active {
    color: #ff0303;
}

.menu ul li a.active::after {
    width: 100%;
    background-color: #ff0303;
}

/* Header Responsiveness */
@media (max-width: 768px) {
    .navbar {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
    }
  
    .logo-container {
      order: 1;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      gap: 10px;
      text-align: left;
    }
  
    .hamburger {
      order: 2;
      display: flex;
      align-self: center;
      justify-content: flex-end;
      margin-top: 0;
    }
  
    .menu {
      position: absolute;
      top: 80px;
      left: 0;
      width: 100%;
      display: none;
      background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(40, 0, 0, 0.95));
      border-top: 1px solid rgba(255,255,255,0.1);
      box-shadow: 0 10px 25px rgba(0,0,0,0.6);
      z-index: 999;
    }
  
    .menu.active {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px 0;
      animation: fadeIn 0.3s ease-in-out;
    }
}

@media (max-width: 480px) {
    .navtext a {
        font-size: 1rem;
    }

    .logo img {
        height: 45px;
    }

    .menu ul li a {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #ffffff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Hamburger active animasi (opsional) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        margin-top: 10px;
        margin-right: 50px;
    }

    .menu {
        display: none;
        width: 100%;
    }

    .menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 20px 0;
        margin-top: 10px;
        border-radius: 10px;
        animation: fadeIn 0.3s ease-in-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .menu ul {
        flex-direction: column;
        padding: 0;
        gap: 15px;
    }

    .menu ul li a {
        font-size: 1rem;
        padding: 5px 10px;
    }
}



/* bagian awal */
.content {
    position: relative;
    z-index: 1;
}

.video-section {
    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
  }
  
  #myVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Tambahkan ini */
    filter: brightness(65%);
  }

/* Alternatif lain, jika ingin menambahkan overlay gelap */
.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.048); /* Overlay hitam dengan opacity 40% */
    pointer-events: none; /* Agar tidak menghalangi interaksi dengan video */
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 20px;
}


/* comment button */
.to-comment {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    background: #ff0303;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.to-comment:hover {
    background: #8c0000;
    transform: translateY(-2px);
}

/* Ukuran lebih kecil di HP */
@media (max-width: 480px) {
    .to-comment {
        bottom: 20px;
        left: 20px;
        transform: scale(0.7); /* Kecilkan tombol */
    }
}

/*depan video*/
.video-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 15px; /* Jarak antar huruf */
}

.video-title .terra {
    color: #ffffff;
    display: inline-block;
    
}

.video-title .rex {
    color: #ff0000;
    display: inline-block;
}

/* Optional: Tambahkan animasi ketika page load */
@keyframes letterSpacing {
    from {
        letter-spacing: 0;
        opacity: 0;
    }
    to {
        letter-spacing: 15px;
        opacity: 1;
    }
}

.video-title {
    animation: letterSpacing 1.5s ease-out forwards;
}

.download-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(45deg, #ff4d4d, #ff0000);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 77, 77, 0.4);
    background: linear-gradient(45deg, #e62525, #ff4d4d);
}

.download-btn:active {
    transform: translateY(-1px);
}

/* Tambahkan efek glow pada hover */
.download-btn:hover::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff4d4d, #ff0000);
    border-radius: 32px;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.7;
}

.fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000000, rgba(255, 255, 255, 0));
    z-index: 1;
}

.detail-text {
    margin: 20px 0;
    line-height: 1.6;
    color: #e0e0e0;
    font-size: 1.1em;
    text-align: justify;
}

.about-details p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Update responsive design untuk detail text */
@media (max-width: 768px) {
    .detail-text {
        text-align: left;
    }
}

/* game Section */
.game-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px; /* Increased vertical padding */
    position: relative;
    overflow: hidden;
}

.game-container {
    max-width: 1600px; /* Increased from 1200px */
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 35px; /* Slightly increased */
    padding: 80px; /* Increased from 60px */
    display: flex;
    gap: 80px; /* Increased from 60px */
    align-items: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5); /* Enhanced shadow */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-image {
    flex: 0 0 450px; /* Increased from 350px */
    position: relative;
}

.game-image::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 2px solid #6225E6;
    border-radius: 24px;
    z-index: -1;
    animation: borderPulse 2s infinite;
}

.game-image img {
    width: 100%;
    height: 500px; /* Increased from 400px */
    object-fit: cover;
    border-radius: 24px;
    border: 3px solid #6225E6;
    transition: transform 0.3s ease;
}

.game-image:hover img {
    transform: scale(1.02);
}

.game-content {
    flex: 1;
    color: white;
}

.game-content h3 {
    font-size: 3.5em; /* Increased from 3em */
    margin-bottom: 20px; /* Increased from 15px */
    background: linear-gradient(45deg, #6225E6, #ff0303);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.game-details {
    margin: 35px 0; /* Increased from 25px */
}

.game-details p {
    margin: 18px 0; /* Increased from 15px */
    display: flex;
    align-items: center;
    gap: 18px; /* Increased from 15px */
    font-size: 1.2em; /* Increased from 1.1em */
}

.game-details i {
    color: #6225E6;
    width: 28px; /* Increased from 25px */
    font-size: 1.3em; /* Increased from 1.2em */
    transition: transform 0.3s ease;
}

.game-text {
    margin: 40px 0; /* Increased from 30px */
    line-height: 1.8;
    color: #e0e0e0;
    font-size: 1.2em; /* Increased from 1.1em */
    text-align: justify;
    padding: 30px; /* Increased from 20px */
    background: rgba(98, 37, 230, 0.1);
    border-radius: 18px; /* Increased from 15px */
    border-left: 5px solid #6225E6; /* Increased from 4px */
}

@keyframes borderPulse {
    0% {
        border-color: #6225E6;
    }
    50% {
        border-color: #ff0303;
    }
    100% {
        border-color: #6225E6;
    }
}

/* Responsive Design */
@media (max-width: 1200px) { /* Adjusted breakpoint from 1024px */
    .game-card {
        padding: 60px;
        gap: 60px;
    }
    
    .game-image {
        flex: 0 0 400px; /* Increased from 300px */
    }
}

@media (max-width: 992px) { /* Added new breakpoint */
    .game-card {
        padding: 50px;
        gap: 50px;
    }
    
    .game-image {
        flex: 0 0 350px;
    }
    
    .game-content h3 {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    .game-card {
        flex-direction: column;
        text-align: center;
        padding: 40px; /* Increased from 30px */
    }

    .game-image {
        flex: 0 0 auto;
        width: 320px; /* Increased from 250px */
        margin: 0 auto;
    }
    
    .game-image img {
        height: 380px; /* Adjusted for mobile */
    }

    .game-details p {
        justify-content: center;
    }

    .game-text {
        text-align: left;
        padding: 20px; /* Increased from 15px */
    }
}

@media (max-width: 480px) {
    .game-card {
        padding: 30px;
    }
    
    .game-image {
        width: 280px;
    }
    
    .game-image img {
        height: 320px;
    }
    
    .game-content h3 {
        font-size: 2.5em;
    }
}



.news-section {
    padding: 4rem 2rem;
   
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #ffffff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info {
    padding: 1.5rem;
}

.news-info h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #ffffff;
}

.news-info p {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.news-date {
    font-size: 0.85rem;
    color: #ffffff49;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-date i {
    color: #ff0000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}


.more-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: #6225E6;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(98, 37, 230, 0.3);
}

.more-btn span {
    margin-right: 10px;
}

.more-btn i {
    transition: transform 0.3s ease;
}

.more-btn:hover {
    background: #e62525;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 37, 111, 0.4);
}

.more-btn:hover i {
    transform: translateX(5px);
}


/* Comment Section Styles */
.comment-section {
    padding: 60px 0;
    
    color: #ffffff;
}

.comment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.comment-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.comment-form {
    background: rgba(255, 255, 255, 0.05);  /* Background semi-transparan */
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.comment-form h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff0000;
    background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    background: linear-gradient(45deg, #ff4d4d, #ff0000);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    background: linear-gradient(45deg, #ff0000, #ff4d4d);
}

.comments-list {
    margin-top: 40px;
}

.comments-list h3 {
    color: #ffffff;
    
    font-size: 1.8rem;
    text-align: center;
}

.comment-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-header strong {
    color: #ff0000;
    font-size: 1.1rem;
    font-weight: 600;
}

.comment-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-date i {
    color: #ff0000;
}

.comment-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comment-container {
        padding: 0 15px;
    }
    
    .comment-form {
        padding: 20px;
    }
    
    .comment-container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .submit-btn {
        width: 100%;
    }
}

/* Comment Box Styles */
.comments-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin: 30px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    transition: all 0.3s ease;
}

.comments-box h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.comments-list {
    margin-bottom: 15px;
}

.comment-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-header strong {
    font-size: 0.95rem;
}

.comment-date {
    font-size: 0.8rem;
}

.comment-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-link:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: #ff0000;
}

.page-link.active {
    background: linear-gradient(45deg, #ff4d4d, #ff0000);
    border-color: #ff0000;
}

/* Tambahkan styles untuk foto profil */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-photo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 0, 0, 0.5);
}

/* Update comment header untuk layout baru */
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-header strong {
    font-size: 0.95rem;
}

/* bagian footer */
footer {
    background: linear-gradient(135deg, #000000, #280000);
    color: #ffffff;
    padding: 50px 0 20px 0;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #ff0303;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #ff0000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #cccccc;
    font-size: 14px;
}

.footer-about {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    width: 100px; /* Sesuaikan ukuran sesuai kebutuhan */
    height: auto;
    object-fit: contain;
}

.footer-text {
    flex: 1;
}

.footer-text h3 {
    margin-top: 0; /* Menghapus margin atas agar sejajar dengan logo */
}

.to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.to-top-btn a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #e62525;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.to-top-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

.to-top-btn span {
    font-size: 12px;
    display: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.to-top-btn a:hover {
    border-radius: 10px;
    padding: 15px 25px;
}

.to-top-btn a:hover span {
    display: block;
}

.to-top-btn a:hover i {
    margin-bottom: 8px;
}

.detail-text {
    margin: 20px 0;
    line-height: 1.6;
    color: #e0e0e0;
    font-size: 1.1em;
    text-align: justify;
}

.about-details p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Update responsive design untuk detail text */
@media (max-width: 768px) {
    .detail-text {
        text-align: left;
    }
}

/* Footer Responsiveness */
@media (max-width: 768px) {
    .footer-container {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr; /* Ubah menjadi satu kolom */
        gap: 20px;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-logo img {
        max-width: 80px; /* Sesuaikan ukuran logo */
        margin-bottom: 10px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer-nav ul li {
        margin-bottom: 10px;
    }

    .footer-nav ul li a {
        font-size: 1rem;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 20px;
        font-size: 0.9rem;
    }
}

/* about page */

/* About Section */
.about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    gap: 60px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image {
    flex: 0 0 350px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #6225E6;
    border-radius: 20px;
    z-index: -1;
    animation: borderPulse 2s infinite;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid #6225E6;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content {
    flex: 1;
    color: white;
}

.about-content h2 {
    font-size: 3em;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #6225E6, #ff0303);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.about-content .title {
    font-size: 1.4em;
    color: #ff0303;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
}

.about-details {
    margin: 25px 0;
}

.about-details p {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1em;
}

.about-details i {
    color: #6225E6;
    width: 25px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.detail-text {
    margin: 30px 0;
    line-height: 1.8;
    color: #e0e0e0;
    font-size: 1.1em;
    text-align: justify;
    padding: 20px;
    background: rgba(98, 37, 230, 0.1);
    border-radius: 15px;
    border-left: 4px solid #6225E6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-card {
        padding: 40px;
        gap: 40px;
    }
    
    .about-image {
        flex: 0 0 300px;
    }
    
    .about-image img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .about-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .about-image {
        flex: 0 0 auto;
        width: 250px;
        margin: 0 auto 30px;
    }
    
    .about-image img {
        height: 300px;
    }

    .about-details p {
        justify-content: center;
    }

    .detail-text {
        text-align: left;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .about-card {
        padding: 25px;
    }
    
    .about-image {
        width: 200px;
    }
    
    .about-image img {
        height: 250px;
    }
    
    .about-content h2 {
        font-size: 2.5em;
    }
}



/* Background Section */
.background-section {
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgb(10, 10, 10) 100%);
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.background-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.background-section h2 {
    font-size: 2.4em;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
}

/* Content styling */
.background-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.background-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    border-left: 3px solid #6225E6;
}

.background-item:nth-child(2n) {
    border-left: 3px solid #ff0303;
}

.background-section p {
    line-height: 1.8;
    color: #e0e0e0;
    font-size: 1.05em;
    margin-bottom: 15px;
    text-align: justify;
}

/* Last paragraph styling */
.background-section p:last-child {
    margin-bottom: 0;
}

/* Icon for each section */
.background-icon {
    font-size: 1.8em;
    color: #6225E6;
    background: rgba(98, 37, 230, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    float: left;
}

.background-item:nth-child(2n) .background-icon {
    color: #ff0303;
    background: rgba(255, 3, 3, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .background-section {
        padding: 30px 25px;
    }
    
    .background-section h2 {
        font-size: 2em;
    }
    
    .background-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .background-section {
        padding: 25px 15px;
    }
    
    .background-section h2 {
        font-size: 1.7em;
    }
    
    .background-item {
        padding: 15px;
    }
    
    .background-icon {
        margin-right: 10px;
    }
}

/* Perbaikan Screenshot Section */
.screenshot-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    position: relative;
}

.screenshot-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.screenshot-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.screenshot-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.screenshot-item {
    flex: 0 0 auto;
    width: calc(33.333% - 20px);
    scroll-snap-align: start;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    min-width: 300px;
    background: #222; /* Fallback background */
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Pastikan gambar ditampilkan sebagai block */
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    border-color: #ff0303;
    z-index: 2;
}

.screenshot-item:hover img {
    transform: scale(1.1);
}

/* Navigation Buttons */
.screenshot-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(98, 37, 230, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.screenshot-nav-btn:hover {
    background: #ff0303;
    transform: translateY(-50%) scale(1.1);
}

.screenshot-nav-btn.prev-btn {
    left: 0;
}

.screenshot-nav-btn.next-btn {
    right: 0;
}

.screenshot-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.screenshot-nav-btn:disabled:hover {
    background: rgba(98, 37, 230, 0.8);
    transform: translateY(-50%);
}

/* Dots Navigation */
.screenshot-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 12px;
}

.screenshot-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-dot.active {
    background: linear-gradient(135deg, #6225E6, #ff0303);
    transform: scale(1.3);
}

.screenshot-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
}

/* Caption for images */
.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: left;
}

.screenshot-item:hover .screenshot-caption {
    transform: translateY(0);
}

.screenshot-caption h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #fff;
}

.screenshot-caption p {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .screenshot-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .screenshot-item {
        height: 300px;
    }
}

@media (max-width: 992px) {
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshot-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .screenshot-section {
        padding: 60px 15px;
    }
    
    .screenshot-container {
        padding: 0 40px;
    }
    
    .screenshot-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .screenshot-item {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-container {
        padding: 0 20px;
    }
    
    .screenshot-section h2 {
        font-size: 2rem;
    }
    
    .screenshot-item {
        height: 300px;
    }
}

.screenshot-grid {
    display: flex;
    overflow: auto;
    scroll-behavior: smooth;
    gap: 30px;
    margin: 0 auto;
    padding: 15px 0;
}

.screenshot-item {
    flex: 0 0 calc(33.333% - 20px); /* 3 items per view */
    min-width: calc(33.333% - 20px);
    scroll-snap-align: start;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    height: 350px;
    border: 3px solid rgba(98, 37, 230, 0.3);
}

.screenshot-nav-btn {
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.screenshot-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.screenshot-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .screenshot-item {
        flex: 0 0 calc(50% - 15px); /* 2 items per view */
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .screenshot-item {
        flex: 0 0 100%; /* 1 item per view */
        min-width: 100%;
    }
}

.gallery-title {
    text-align: center;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 5px;
    position: relative;
    padding: 20px 0;
    text-shadow: 0 5px 15px rgba(255, 0, 0, 0.5);
}

.gallery-title span {
    color: #ff0303;
    position: relative;
    z-index: 1;
}

.gallery-title::before {
    content: '';
    position: absolute;
    top: 90%;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(98,37,230,0.5), rgba(255,3,3,0.5));
    z-index: 0;
}

.gallery-title::after {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 10px;
    font-weight: 700;
}

/* Animation */
@keyframes titleGlow {
    0% { text-shadow: 0 0 10px rgba(255,3,3,0.5); }
    50% { text-shadow: 0 0 20px rgba(255,3,3,0.8), 0 0 30px rgba(98,37,230,0.6); }
    100% { text-shadow: 0 0 10px rgba(255,3,3,0.5); }
}

.gallery-title {
    animation: titleGlow 3s infinite ease-in-out;
}

@media (max-width: 576px) {
    .screenshot-nav-btn {
      display: none; /* Sembunyikan tombol prev/next di HP */
    }
}

@media (max-width: 576px) {
    .screenshot-grid {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      gap: 20px;
      padding: 15px 0;
    }
  
    .screenshot-item {
      flex: 0 0 100%;
      min-width: 100%;
      scroll-snap-align: start;
    }
  
    .screenshot-nav-btn {
      display: none;
    }
}
  
  

/* news page */
.news-info p {
    margin-bottom: 1.5rem; /* Tambahkan jarak bawah pada detail berita */
}

.more-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: #6225E6;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(98, 37, 230, 0.3);
}

/* Enhanced Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup.show {
    opacity: 1;
    display: flex;
}

.popup-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(10, 10, 10, 0.95));
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
    max-height: 90vh;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-header h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0;
    flex: 1;
}

.popup-content img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #6225E6;
}

.popup-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.close-btn {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    background: none;
    border: none;
    transition: all 0.3s ease;
    margin-left: 20px;
    line-height: 1;
}

.close-btn:hover {
    color: #ff0000;
    transform: rotate(90deg);
}

/* Scrollbar styling for popup */
.popup-content::-webkit-scrollbar {
    width: 8px;
}

.popup-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: linear-gradient(#6225E6, #ff0303);
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .popup-content {
        padding: 25px 20px;
    }
    
    .popup-header h3 {
        font-size: 1.5rem;
    }
    
    .popup-content img {
        max-height: 300px;
    }
    
    .popup-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 20px 15px;
        width: 95%;
    }
    
    .popup-header h3 {
        font-size: 1.3rem;
    }
    
    .close-btn {
        font-size: 1.8rem;
        margin-left: 15px;
    }
    
    .popup-content img {
        max-height: 200px;
    }
}

/* store page */

.store-section {
    padding: 6rem 2rem;
}

.store-container {
    max-width: 1200px;
    margin: 0 auto;
}

.store-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #ffffff;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.store-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.store-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111; /* untuk kontras latar belakang */
    padding: 10px;
}

.store-image img {
    width: 100%;
    height: auto;
    max-height: 230px;
    object-fit: contain;
}

.store-info {
    padding: 1.5rem;
}

.store-info h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #ffffff;
}

.store-info p {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.store-price {
    font-size: 1rem;
    color: #ff0000;
    margin-bottom: 0.8rem;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: #6225E6;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(98, 37, 230, 0.3);
    margin-top: 1rem;
}

.more-btn:hover {
    background: #e62525;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 37, 111, 0.4);
}

/* Responsive untuk tablet */
@media (max-width: 992px) {
    .store-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Responsive untuk HP */
  @media (max-width: 600px) {
    .store-grid {
      grid-template-columns: 1fr;
    }
  
    .store-container h2 {
      font-size: 1.8rem;
    }
  
    .store-info h3 {
      font-size: 1.1rem;
    }
  
    .store-info p {
      font-size: 0.85rem;
    }
  
    .more-btn {
      padding: 10px 20px;
      font-size: 14px;
    }
  }
  