/* Game Detail Page Styles */

/* Untuk Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Untuk Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* BANNER */
.height-banner-game {
    height: 100%;
    width: 100%;
    aspect-ratio: 1440 / 304;
}
.banner-games {
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    object-position: center center;
}

/* CONGAMES */
.congames {
    position: relative;
    top: -4.5rem;
    overflow: clip;
}

/* SUBTEXT */
.subtext-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.subtext-items {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    gap: 10px;
    background: #6e1680;
    border-radius: 100px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
}

/* FLEX TITLE */
.flex-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 32px;
    gap: 32px;
    background: var(--warna_17);
    border-radius: 16px;
}
.image-game-title {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}
.text-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}
.maintitle {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: var(--warna_text_1);
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.maintitle2 {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: var(--warna_neon_1);
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* GAMES CONTENT */
.games-content * {
    font-family: 'Roboto';
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    color: var(--warna_text_2) !important;
    margin: 0;
}

/* STICKY */
.sticky1 {
    position: sticky;
    top: 80px;
}

/* CARD BODY DATA */
.card-body-data .form-row {
    padding: 0 !important;
    margin: 0 !important;
}
.card-body-data .col {
    padding: 0;
}

/* FAQ */
.card-faq {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 12px;
}
.toggle-faq {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: var(--warna_17);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    text-align: left;
}
.header-faq {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--warna_3);
    text-align: center;
}
.faq-content {
    max-height: 0;
    transition: max-height 0.2s ease;
}
.faq-content .faq-body-content {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: #2B0A3D;
    color: #ffffff;
    border: none;
}
.faq-body-content,
.faq-body-content * {
    font-family: "Urbanist", sans-serif !important;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff !important;
    margin: 0;
    word-break: break-word;
}
.faq-body-content dl,
.faq-body-content ol,
.faq-body-content ul {
    padding-left: 35px;
}
.faq-body-content > :not([hidden]):not(:last-child) {
    margin-bottom: 10px;
}
.faq-body-content * > :not([hidden]):not(:last-child) {
    margin-bottom: 5px;
}
.faq-body-content a {
    color: var(--warna_3) !important;
}

/* BREADCRUMB */
.game-breadcrumb {
    padding: 8px 0;
    margin-bottom: 4px;
}
.game-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1.4;
}
.game-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: var(--warna_text_3, #A5F3FC);
    padding-right: 4px;
}
.game-breadcrumb .breadcrumb-item a {
    color: var(--warna_text_3, #A5F3FC);
    text-decoration: none;
    transition: color 0.2s;
}
.game-breadcrumb .breadcrumb-item a:hover {
    color: var(--warna_text_4, #FEE440);
}
.game-breadcrumb .breadcrumb-item.active {
    color: var(--warna_text_2, #FFD6F5);
}

/* UTILITY - YELLOW */
.bg-yellow-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(254 249 195/var(--tw-bg-opacity));
}
.border-yellow-400 {
    --tw-border-opacity: 1;
    border-color: rgb(250 204 21/var(--tw-border-opacity));
}
.border-l-4 {
    border-left-width: 4px;
}
.rounded-md {
    border-radius: 0.375rem;
}
.text-yellow-500 {
    --tw-text-opacity: 1;
    color: rgb(234 179 8/var(--tw-text-opacity));
}
.text-yellow-700 {
    --tw-text-opacity: 1;
    color: rgb(161 98 7/var(--tw-text-opacity));
}
.bottom_content_desc * {
    font-family: 'Roboto';
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    color: var(--warna_text_2) !important;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .congames {
        top: -2.5rem;
    }
    .congames {
        padding: 0;
    }
    .flex-title {
        border-radius: 0;
    }
}
@media (max-width: 768px) {
    .flex-title {
        padding: 16px;
        gap: 14px;
    }
    .image-game-title {
        width: 80px;
        height: 80px;
        border-radius: 12px;
    }
    .maintitle {
        font-size: 16px;
        line-height: 20px;
    }
    .maintitle2 {
        font-size: 14px;
        line-height: 20px;
    }
    .subtext-container {
        padding: 0 16px 16px 16px;
        gap: 8px;
        background: var(--warna_12);
    }
    .subtext-items {
        padding: 4px 8px;
        gap: 10px;
        font-size: 12px;
        line-height: 16px;
    }
    .header-faq {
        font-size: 16px;
    }
    .toggle-faq {
        padding: 16px;
        font-size: 14px;
        line-height: 16px;
    }
    .faq-content .faq-body-content {
        padding: 16px;
        font-size: 12px;
        line-height: 14px;
    }
    .faq-body-content,
    .faq-body-content * {
        font-size: 12px;
        line-height: 16px;
    }
    .faq-body-content dl,
    .faq-body-content ol,
    .faq-body-content ul {
        padding-left: 30px;
    }
}
@media (max-width: 576px) {
    .congames {
        top: -2rem;
    }
}

/* ALERT TESTIMONI */
.alert-testimoni {
    width: 100%;
    position: relative;
    overflow: hidden;
    color: #a16207;
    background-color: #fef9c3;
    border-left: 3px solid #facc15;
    padding: 10px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
}
.alert-testimoni .alert-message {
    color: #a16207;
}

/* SUMMARY CONTAINER */
.summary-container {
    width: 100%;
    position: sticky;
    bottom: 0;
    z-index: 20;
    overflow: hidden;
}
.summary-container #product-text {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    color: var(--warna_text_1);
}
.summary-container #nominal-text {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: var(--warna_3);
}
.summary-container #method-text {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    color: var(--warna_text_1);
}

/* ALERT INFORMATION */
.alert-information {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 12px;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 16px;
}
.alert-information .alert-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #000000;
}
.alert-information .alert-message {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #000000;
}
.alert-information.a-warning {
    background: #FFF4E5;
    border-color: #FFF4E5;
}
.alert-information.a-warning .alert-icon {
    color: #ED6C02;
}
.alert-information.a-warning .alert-message {
    color: #663c00;
}
@media (max-width: 992px) {
    .alert-information {
        gap: 8px;
        padding: 12px;
        border-radius: 0;
        align-items: start;
    }
    .alert-information .alert-icon {
        width: 20px;
        height: 20px;
    }
}
