* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #151718;
}

header {
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.logo img {
    height: auto;
    max-width: 150px;
    max-height: 50px; /* Set maximum height for the logo */
}

.info-icon {
    font-size: 24px;
    color: white;
}


/* Carousel Section */
.carousel-wrapper {
    margin: 20px auto;
    width: 90%;
}

.owl-carousel .item img {
    width: 100%;
    border-radius: 10px;
}

main {
    flex: 1;
    padding: 20px;
    text-align: center;
    margin-bottom: 80px; /* To avoid overlap with the fixed navbar */
    color: #FFFFFF;
}

.articles {
    padding: 5px;
}

.articles h2 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.article-content {
    flex-grow: 1;
    max-width: 70%;
    text-align: left;
}

.article-content h3 {
    font-size: 14px;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.article-content .article-date {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.article-image {
    width: 80px;
    height: 50px;
    flex-shrink: 0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.article-section {
    padding: 0px;
}

.featured-article {
    margin-bottom: 30px;
}

.featured-image {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: flex-end;
    border-radius: 10px;
}

.featured-image .overlay {
    background: rgba(0, 0, 0, 0.6); /* Slight transparency */
    color: white;
    padding: 5px 5px;
    width: 100%;
    text-align: left;
}

.featured-image .overlay h2 {
    font-size: 14px;
    margin-bottom: 10px;
}

.featured-image .overlay .article-date {
    font-size: 11px;
}

.category-task {
    padding: 0px;
    margin-bottom: 20px;
}

.category-task h2 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.category-cards {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-behavior: smooth; /* Smooth scrolling */
    scrollbar-width: none; /* For Firefox */
}

/* Hide scrollbar for WebKit browsers */
.category-cards::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.category-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
    padding: 10px;
    min-width: 250px; /* Set a minimum width */
    text-align: center;
}

.category-card h4 {
    color: #151718;
}


.category-list-cards {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-behavior: smooth; /* Smooth scrolling */
    scrollbar-width: none; /* For Firefox */
}

/* Hide scrollbar for WebKit browsers */
.category-list-cards::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.category-list-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
    padding: 10px;
    text-align: center;
}

.category-list-card h4 {
    color: #151718;
}


.arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    margin-right: 10px;
}

.arrow-icon i {
    font-size: 40px; /* Adjust icon size */
}

.rating {
    color: #151718;
}

.navbar {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 50px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-item {
    color: #000000;
    text-decoration: none;
    text-align: center;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
    transition: color 0.3s ease;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-radius: 30%;
    transition: background-color 0.3s ease;
}

.nav-item span {
    font-size: 12px;
}

.nav-item:hover i,
.nav-item.active i {
    background-color: #151718;
    color: #FFFFFF;
}

.nav-item:hover {
    color: #151718; /* Retain the text color */
}

/* Pop-up styling */
.popup-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 15px 15px 0 0;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 999; /* Di atas overlay */
}

.popup-container.show {
    transform: translateY(0);
}

.popup-content {
    text-align: center;
}

/* Logo */
.logo-section {
    margin-bottom: 20px;
}

.popup-logo {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.popup-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Title */
h4 {
    font-size: 18px;
    margin: 10px 0;
}

/* Ikon Bank */
.bank-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.bank-icons img {
    width: 50px;
    height: auto;
}

/* Ikon social */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.social-icons img {
    width: 50px;
    height: auto;
}

/* Copyright */
.popup-copyright {
    font-size: 12px;
    color: #aaa;
    margin-top: 20px;
}

#popup-container.show {
    bottom: 0; /* Pop-up will slide in from the bottom */
}

.game-navbar {
    padding: 0px; /* Padding navbar */
}

.game-list {
    display: flex; /* Menyusun item secara horizontal */
    list-style: none; /* Menghilangkan bullet point */
    padding: 0; /* Menghilangkan padding default */
    margin: 0; /* Menghilangkan margin default */
}

.game-list li {
    color: #aaaaaa; /* Warna default untuk item */
    font-size: 16px;
    margin-right: 20px; /* Spasi antar item */
    transition: color 0.3s ease; /* Transisi saat hover */
}

.game-list li.active {
    color: #ffffff; /* Warna aktif untuk item yang dipilih */
}

.game-list li:hover {
    color: #ffffff; /* Mengubah warna saat hover */
}

.card-game-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.card-game {
    background-color: #242627;
    border: 1px solid #242627;
    border-radius: 10px;
    padding: 10px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-game h3 {
    margin-bottom: 10px;
}

.card-game img {
    max-width: 100%;
    border-radius: 10px;
}

.footer {
    margin-top: 10px;
}

.price {
    font-size: 14px;
}

.back-arrow {
    font-size: 20px;
    display: flex;
    align-items: center; /* Menjaga ikon dan teks sejajar */
    text-decoration: none; /* Menghilangkan garis bawah */
    color: #FFFFFF; /* Warna teks/ikon */
}

.back-arrow i {
    margin-right: 5px; /* Memberikan jarak antara ikon dan teks (jika ada teks) */
}

/* Banner Styling */
.banner {
    margin-top: 20px;
    position: relative;
    text-align: center;
}

.banner img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}


/* Profile Section Styling */
.profile-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
}

/* Profile Image Styling */
.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name and Rating Styling */
.profile-right {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.profile-name {
    font-size: 16px;
    margin: 0;
    color: #fff;
}

.profile-rating {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

.profile-navbar {
    margin-top: 20px;
    padding: 0px; /* Padding navbar */
}

.profile-list {
    display: flex; /* Menyusun item secara horizontal */
    list-style: none; /* Menghilangkan bullet point */
    padding: 0; /* Menghilangkan padding default */
    margin: 0; /* Menghilangkan margin default */
    gap: 10px;
}

.profile-list li {
    color: #aaaaaa; /* Warna default untuk item */
    font-size: 14px;
    margin-right: 20px; /* Spasi antar item */
    transition: color 0.3s ease; /* Transisi saat hover */
}

.profile-list li.active {
    color: #ffffff; /* Warna aktif untuk item yang dipilih */
    font-weight: bold;
}

.profile-list li:hover {
    color: #ffffff; /* Mengubah warna saat hover */
}

/* Profile Content Styling */
.profile-content {
    margin-top: 30px;
    text-align: justify;
}

/* Gallery Grid Styling */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 10px; /* Space between images */
    margin-top: 20px;
}

.galeri-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Review Card Styling */
.review-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Header Styling for Profile Image, Name, Date, and Rating */
.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

/* Profile Picture */
.review-profile {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
}

/* Review Info */
.review-info {
    flex-grow: 1;
    margin-left: 10px;
}

/* Name and Date */
.review-name {
    color: #151718;
    font-weight: bold;
    margin: 0;
}

.review-date {
    color: #777;
    font-size: 0.9em;
    margin: 0;
}

/* Rating */
.review-rating {
    font-size: 1.2em;
    color: #f5b50a; /* Gold color for stars */
}

/* Testimonial Styling */
.review-testimonial {
    margin-top: 10px;
    font-style: italic;
    color: #555;
}


/* Package Item Styling */
.package-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Package Header: Title, Subtitle, and Price */
.package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

/* Title and Subtitle */
.package-info {
    flex-grow: 1;
}

.package-title {
    color: #151718;
    font-weight: bold;
    margin: 0;
}

.package-subtitle {
    font-size:14px;
    color: #777;
    margin: 5px 0 0;
}

/* Price Styling */
.package-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #151718; /* Green color for price */
}

/* Description Styling */
.package-description {
    margin-top: 10px;
    font-size: 0.95em;
    color: #555;
}

/* Action Buttons */
.package-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.package-action button {
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    margin-left: 10px;
}

.btn-chat {
    background-color: #151718;
    color: #fff;
}

/* Article Info: Title, Subtitle, and Description */
.article-info {
    margin-top: 20px;
    text-align: left;
}

.article-title {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.article-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.article-description {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    max-width: 800px;
    text-align: justify;
    margin: 0 auto; /* Center the description */
}

.garis {
    margin-top: 30px;
    margin-bottom: 20px;
}

.article-tag {
    margin-top: 20px;
    padding: 0px; /* Padding navbar */
}

.article-list-tag {
    display: flex; /* Menyusun item secara horizontal */
    list-style: none; /* Menghilangkan bullet point */
    padding: 0; /* Menghilangkan padding default */
    margin: 0; /* Menghilangkan margin default */
}

.article-list-tag li {
    color: #aaaaaa;
    font-size: 14px;
    margin-right: 20px;
    transition: color 0.3s ease;
    background-color: #ffffff;
    padding: 3px;
    border-radius: 5px;
    color: #151718;
}


.topup-navbar {
    padding: 0px; /* Padding navbar */
}

.topup-list {
    display: flex; /* Menyusun item secara horizontal */
    list-style: none; /* Menghilangkan bullet point */
    padding: 0; /* Menghilangkan padding default */
    margin: 0; /* Menghilangkan margin default */
}

.topup-list li {
    color: #aaaaaa; /* Warna default untuk item */
    font-size: 16px;
    margin-right: 20px; /* Spasi antar item */
    transition: color 0.3s ease; /* Transisi saat hover */
}

.topup-list li.active {
    color: #ffffff; /* Warna aktif untuk item yang dipilih */
}

.topup-list li:hover {
    color: #ffffff; /* Mengubah warna saat hover */
}


.card-category-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.card-topup {
    background-color: #242627;
    border: 1px solid #242627;
    border-radius: 10px;
    padding: 10px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-topup h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.price-topup {
    font-size: 12px;
}

/* Pop-up styling */
.login-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Tengah horizontal & vertikal */
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    max-width: 380px;
    width: 90%;
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.login-container {
    pointer-events: none; /* default tidak interaktif */
    opacity: 0;
    transform: translate(-50%, 50%);
}

.login-container.show {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto; /* interaktif hanya saat terlihat */
}

.title-section h2 {
    text-align: left;
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.title-section p {
    text-align: left;
    margin: 10px 0;
    font-size: 14px;
    color: #555;
    font-weight: 300;
}

.input-group {
    margin-bottom: 15px;
    position: relative;
}

.input-field {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 30%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
}

.toggle-password-register {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
}

.forgot-password {
    text-align: right;
    display: block;
    margin-top: 10px;
    color: #151718;
    font-size: 12px;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #151718;;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

.btn-login:hover {
    background-color: #151718;;
}

.btn-daftar {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #151718;;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

.btn-daftar:hover {
    background-color: #151718;;
}

.separator {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.separator hr {
    flex: 1;
    border: 0;
    border-top: 1px solid #ccc;
}

.separator span {
    margin: 0 10px;
    font-size: 14px;
    color: #555;
}

.btn-register {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #242627;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.btn-register:hover {
    background-color: #242627;
}


/* Pop-up styling */
.register-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Tengah horizontal & vertikal */
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    max-width: 380px;
    width: 90%;
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.register-container {
    pointer-events: none; /* default tidak interaktif */
    opacity: 0;
    transform: translate(-50%, 50%);
}

.register-container.show {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto; /* interaktif hanya saat terlihat */
}


.register-content {
    text-align: center;
}

.btn-take {
    width: 100%; margin: 10px 0; background-color: white; color: black; border: 1px solid #ccc; padding: 10px; font-weight: bold; border-radius: 10px;
}

.points-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    width: 70%;
    text-align: center;
    margin: 20px auto; /* center horizontally */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.points-number {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.points-label {
    font-size: 16px;
    color: #777;
    margin: 5px 0 0;
}

.reward-item-card {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px auto;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.reward-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.reward-details {
    flex-grow: 1;
    text-align: left;
}

.reward-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.reward-points {
    font-size: 14px;
    color: #777;
    margin: 3px 0 0;
}

.redeem-button {
    background-color: #000;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}


.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    /*margin-top: 30px;*/
    margin-bottom: 20px;
    color: #fff;
}


.history-btn {
    background-color: #fff;
    color: black;
    border: none;
    padding: 8px 16px;
    margin: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

.close-btn:hover {
    color: #000;
}

.history-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.history-list li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    color: #555;
}


.history-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
}

.badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.badge-pending {
    background-color: #f0ad4e; /* kuning */
}

.badge-approved {
    background-color: #5cb85c; /* hijau */
}

.badge-rejected {
    background-color: #d9534f; /* merah */
}

.history-menu {
    margin-top: 20px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background 0.2s ease;
}

.history-item:hover {
    background: #f5f5f5;
}

.history-icon {
    margin-right: 10px;
    color: #333;
    font-size: 18px;
}

.history-chevron {
    color: #999;
    font-size: 14px;
}


.collapse-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    margin-top: 10px;
    padding: 0 15px;
    border-radius: 8px;
}

.collapse-box.open {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
}

