* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: #333;
}

main {
    padding: 20px;
    min-height: calc(100vh - 140px);
}

/* Main */
.dashboard-content {
    position: relative;
    text-align: center;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.dashboard-video {
    opacity: 25%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-container {
    width: 300px;
    height: 300px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.download-btn {
    position: relative;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 200px;
    overflow: hidden;
    border-radius: 40px;
    border: none;
    background: none;
    cursor: pointer;
}

.download-btn span {
    position: relative;
    color: #fff;    
    font-size: 20px;
    font-family: Arial, sans-serif;
    letter-spacing: 4px;
    font-weight: bold;
    z-index: 1;
    text-align: center;
    width: 100%;
    display: flex; 
    justify-content: center;
    align-items: center;
}
  
.download-btn .liquid {
    position: absolute;
    top: -65px;
    left: 0;
    width: 200px;
    height: 200px;
    background: #4973ff;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
}
  
.download-btn .liquid::after,
.download-btn .liquid::before {
    content: "";
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -75%);
    background: #000;
}
  
.download-btn .liquid::before {
    border-radius: 45%;
    background: rgba(20, 20, 20, 1);
    animation: animate 5s linear infinite;
}
  
.download-btn .liquid::after {
    border-radius: 40%;
    background: rgba(20, 20, 20, 0.5);
    animation: animate 10s linear infinite;
}
  
.download-btn:hover .liquid {
    top: -120px;
}   
  
@keyframes animate {
    0% {
      transform: translate(-50%, -75%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -75%) rotate(360deg);
    }
}

.fade-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
}

/* Deskripsi section */
.description-game {
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.6;
    transition: transform 0.3s ease-in-out;

    /* You cant copy paste */
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.description-game:hover {
    transform: scale(1.02);
}

/* General Info Section */
.general-info {
    text-align: center;
    margin: 50px auto;
    padding: 20px;
    border-radius: 12px;
    color: white;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.general-info h1 {
    font-size: 2.5em;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 15px;
}

.info-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.2em;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.info-details p {
    gap: 10px;
    margin-top: 0 0 0 20px;
    padding: 10px 15px;
    border-radius: 8px;
}

/*Gallery*/
.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    padding: 10px;
    width: 100%;
    max-width: 100vw;
}

.gallery-container h1 {
    text-align: center;
    padding: 10px;
    color: white;
}

.gallery-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.gallery-item {
    padding: 15px;
    position: relative;
    overflow: hidden;
    break-inside: avoid;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 20px;
}

.gallery-modal.show {
    display: flex;
    opacity: 1;
}

.gallery-modal-store {
    background: #1e1e1e;
    padding: 0;
    width: 100%;
    max-width: 550px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    position: relative;
    animation: fadeInUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.gallery-modal-img {
    width: 100%;
    max-height: 60vh;   
    object-fit: contain;
    display: block;
    border-radius: 0;
    margin: 0;
}

.gallery-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-text h3 {
    margin-top: 0;
    font-size: 22px;
}

.gallery-text p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.gallery-close-store {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 10;
}

.gallery-close-store:hover {
    transform: scale(1.2);
    color: red;
    background: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .gallery-modal-store {
        width: 95%;
    }

    .gallery-text h3 {
        font-size: 18px;
    }

    .gallery-text p {
        font-size: 13px;
    }
}


/*Moving text*/
.moving-text-container {
    width: 100%;
    overflow: hidden;
    background: black;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
    
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.moving-text {
    display: flex;
    gap: 40px;  
    animation: moveText 50s linear infinite;
    width: max-content;
}

.moving-text span {
    font-size: 60px;
    font-weight: 900;
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
}

@keyframes moveText {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-90%);
    }
}

/* ===== Komentar ===== */
.komentar-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 40px;
    background-color: #000000;
    position: relative;
    overflow: hidden;
}

.komentar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 75, 155, 0.1), transparent);
    z-index: 0;
}

.komentar-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.komentar-layout {
    display: flex;
    align-items: stretch;
    position: relative;
}

.komentar-form {
    width: 45%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 75, 155, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.komentar-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 75, 155, 0.3);
}

.komentar-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #58a1ea;
    border-bottom: 2px solid #004b9b;
    padding-bottom: 10px;
}

.komentar-form input, 
.komentar-form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.komentar-form input:focus, 
.komentar-form textarea:focus {
    outline: none;
    border-color: #58a1ea;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 8px rgba(88, 161, 234, 0.5);
}

.komentar-form textarea {
    min-height: 150px;
    resize: vertical;
}

.komentar-form button {
    background: linear-gradient(45deg, #004b9b, #58a1ea);
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    width: auto;
    display: inline-block;
}

.komentar-form button::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: all 0.5s ease;
}

.komentar-form button:hover {
    background: linear-gradient(45deg, #58a1ea, #004b9b);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 75, 155, 0.4);
}

.komentar-form button:hover::before {
    left: 100%;
}

.komentar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
}

.komentar-card {
    background: #161616 !important;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.komentar-card strong {
    display: block;
    margin-bottom: 5px;
    color: #58a1ea !important;
    font-size: 16px;
}

.komentar-card p {
    color: #ffffff !important;
    font-size: 14px;
    line-height: 1.4;
}

.komentar-button-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.see-more-btn {
    align-self: flex-end;
    background-color: transparent;
    color: #58a1ea;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #58a1ea;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    margin: 50px 20px;
    transition: all 0.3s ease;
}

.see-more-btn:hover {
    background-color: #58a1ea;
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 75, 155, 0.3);
}

@media screen and (max-width: 768px) {
    .komentar-layout {
        flex-direction: column;
    }

    .komentar-form, .komentar-container {
        width: 100%;
        padding: 20px 15px;
    }

    .komentar-form {
        margin-bottom: 30px;
    }

    .komentar-form h3 {
        font-size: 1.5rem;
    }

    .komentar-form input, 
    .komentar-form textarea {
        font-size: 14px;
        padding: 12px;
    }

    .komentar-form button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .komentar-section h2 {
        font-size: 2rem;
    }

    .komentar-card strong {
        font-size: 15px;
    }

    .komentar-card p {
        font-size: 13px;
    }

    .see-more-btn {
        font-size: 14px;
        padding: 8px 16px;
        margin: 30px 10px 0;
    }

    .komentar-button-wrapper {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .komentar-form h3 {
        font-size: 1.3rem;
    }

    .komentar-section h2 {
        font-size: 1.6rem;
    }

    .komentar-form button, 
    .see-more-btn {
        font-size: 13px;
        padding: 8px 14px;
    }
}

/* ===== Komentar Modal Styles ===== */
.komentar-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

.komentar-modal.show {
    opacity: 1;
    visibility: visible;
}

.komentar-modal-content {
    background: #fff;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: auto;
    margin: 10% auto;
}

/* ===== Komentar Modal Header ===== */
.komentar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #58a1ea;
    padding-bottom: 10px;
}

.komentar-modal-header h2 {
    font-size: 2rem;
    color: #004b9b;
    margin: 0;
}

.komentar-modal-close {
    font-size: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f7fa;
    color: #004b9b;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.komentar-modal-close:hover {
    background: #58a1ea;
    color: white;
    transform: rotate(90deg);
}

/* ===== Komentar Modal Search ===== */
.komentar-modal-search {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 15px 0;
    padding: 10px;
    background: #f5f7fa;
    border-radius: 10px;
    flex-wrap: wrap;
}

.komentar-modal-search div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.komentar-search-box {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    width: 200px;
}

#limitKomentar {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* ===== Komentar Modal Container ===== */
#komentarContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin: 20px 0;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 10px;
}

#komentarContainer::-webkit-scrollbar {
    width: 8px;
}

#komentarContainer::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#komentarContainer::-webkit-scrollbar-thumb {
    background: #58a1ea;
    border-radius: 10px;
}

/* ===== Komentar Modal Card ===== */
.komentar-card-modal {
    background: #f4f4f4;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.komentar-card-modal strong {
    display: block;
    color: #004b9b;
    font-size: 16px;
    margin-bottom: 8px;
}

.komentar-card-modal p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

/* ===== Komentar Section (Preview di Luar Modal) ===== */
.komentar-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
}

.komentar-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #58a1ea;
}

.komentar-card strong {
    display: block;
    margin-bottom: 5px;
    color: #004b9b;
    font-size: 16px;
}

.komentar-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

.komentar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== Tombol Lihat Semua Komentar ===== */
.see-more-btn {
    align-self: flex-end;
    background-color: transparent;
    color: #58a1ea;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #58a1ea;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    margin: 50px 20px;
    transition: all 0.3s ease;
}

.see-more-btn:hover {
    background-color: #58a1ea;
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 75, 155, 0.3);
}

/* ===== Animasi Fade ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ===== Pagination Komentar ===== */
#pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.page-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-weight: bold;
    border: none;
    background: #f5f7fa;
    color: #004b9b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-item:hover {
    background: rgba(88, 161, 234, 0.2);
}

.page-item.active {
    background: #004b9b;
    color: white;
}