@media (min-width:976px) {
    #promoImage {
        height: 500px;
        width: auto;
    }
}

@media (max-width:900px) {
    #promoImage {
        height: auto;
        width: 100%;
    }
}

@media (min-width:976px) {
    .swiper-container {
        width: 1000px !important;
    }
}

@media (max-width: 394px) {
    .game-card {
        flex: 0 0 calc(50% - 10px);
        max-width: 140px;
        max-height: 180px;
        margin: 5px;
    }

    .game-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .game-title {
        font-size: 0.75rem;
        padding: 5px;
    }
}

.shadow-md {
    --tw-shadow: 0 4px 16px 1px rgb(0 0 0 / 0.1), 0 2px 4px 2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.text-gray-600 {
    color: #000;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.form-control:focus {
    border: 1px solid #cfd5db;
    background-color: #ffffff;
    color: #495057 !important;
}

.navbar .container .col,
.navbar .container .col-10 {
    padding: 0px !important;
}

.tab-category.nav-pills .nav-link {
    color: #ddd;
}

.tab-category.nav-pills .nav-link:hover {
    color: #fff;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: var(--warna_3);
    border-bottom: 3px solid #fff;
}

.nav-pills .nav-link {
    margin: 0px !important;
    font-size: 8px;
    background-color: #1f2a36;
}

.nav-pills .nav-link:hover {
    color: #fff !important;
    background-color: var(--warna_3) !important;
    border-color: #475569;
    transform: translateY(-1px);
}

.swiper-pagination-bullet {
    border: 1px solid #1da1f2;
}

.swiper-pagination-bullet-active {
    background: #1da1f2;
}

img:not([draggable]),
embed,
object,
video {
    max-width: 100%;
    height: auto;
}

.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform, -webkit-transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-container-autoheight,
.swiper-container-autoheight .swiper-slide {
    height: auto;
}

.swiper-container-autoheight .swiper-wrapper {
    align-items: flex-start;
    transition-property: transform, height, -webkit-transform;
}

.swiper-container .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1000;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 27px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-size: 27px 44px;
    background-position: center;
    background-repeat: no-repeat;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: 0.3s;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 100%;
    background: #000;
    opacity: 0.2;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007aff;
}

.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
}

.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 10px;
    left: 0;
    width: 100%;
}

.swiper-container.one {
    padding-top: 40px;
    text-align: center;
}

.swiper-container.one .swiper-slide {
    padding: 0 43px;
}

.swiper-container {
    width: 100%;
    padding-bottom: 20px;
}

.swiper-slide img {
    display: block;
    margin: auto;
    width: 100%;
}

.swiper-slide {
    width: 390px;
    height: auto;
    padding: 0 15px;
}

.two .swiper-slide {
    width: 300px;
}

.swiper-slide img {
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.swiper-slide .slider-image .preview-icon {
    z-index: -1;
    width: calc(100% - 30px);
}

.swiper-slide.swiper-slide-active .slider-image:hover .preview-icon {
    opacity: 1;
    z-index: 1;
}

.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 0;
}

.swiper-pagination-bullet {
    background: transparent;
    border: 1px solid var(--warna_3);
    border-radius: 10px;
    display: inline-block;
    height: 10px;
    opacity: 1;
    width: 26px;
    transition: 0.2s;
}

.swiper-pagination-bullet-active {
    background: var(--warna_3);
    border: none;
    height: 12px;
    opacity: 1;
    width: 12px;
}

.swiper-container.promo-flash {
    width: 100%;
    padding: 20px 0;
}

.swiper-container.promo-flash .swiper-slide {
    width: 200px;
}

@media (max-width: 768px) {
    .swiper-container.promo-flash .swiper-slide {
        width: 90%;
    }
}

.card.promo-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #00396e;
    padding: 5px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.card.promo-card:hover {
    border: 2px solid #ffcc00 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(255, 204, 0, 0.3);
    transform: translateY(-3px);
    background-color: #004080;
}

.card.promo-card.border-bottom {
    border-bottom: 2px solid #ffffff;
}


.card.promo-card.border-all {
    border: 2px solid #ffffff;
}

.card.promo-card.border-all:hover {
    border: 2px solid #ffcc00 !important;
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.3), 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card.promo-card:hover .promo-details .game-name {
    color: #ffcc00;
}

.card.promo-card:hover .promo-details .product-name {
    color: #ffffff;
}

.card.promo-card:hover .promo-price .discounted-price {
    color: #ffdd44;
    font-weight: bold;
}

.card.promo-card:hover .promo-logo img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.promo-box {
    display: flex;
    align-items: center;
}

.promo-logo {
    flex: 0 0 auto;
    margin-right: 10px;
}

.promo-logo img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 5px;
    margin-left: 7px;
}

.promo-details {
    flex: 1;
}

.promo-details .game-name {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 3px;
    color: #ffffff;
}

.promo-details .product-name {
    font-size: 0.8rem;
    color: #c0d6e4;
    margin-bottom: 5px;
}

.promo-price {
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-price .original-price {
    text-decoration: line-through;
    color: #f1f1f1;
}

.promo-price .discounted-price {
    font-weight: bold;
    color: #ffcc00;
    margin-right: 5px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus {
    outline: none !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2), 
                0 4px 12px rgba(0, 123, 255, 0.15) !important;
    background-color: #ffffff !important;
    transform: translateY(-1px);
    color: #495057 !important;
}

input[type="text"]:focus {
    outline: none !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2), 
                0 4px 12px rgba(0, 123, 255, 0.15) !important;
    background-color: #ffffff !important;
}

.input-group .form-control:focus {
    z-index: 3;
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2) !important;
}

.form-control:hover:not(:focus) {
    border-color: #ced4da;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-group .btn-primary {
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.input-group .btn-primary:hover {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    transform: translateY(-1px);
}

#carideh:hover {
    border-color: #7294a4 !important;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1), 
                0 8px 5px rgba(0, 123, 255, 0.1);
}

#cekpesanan:hover {
    border-color: #7294a4 !important;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1), 
                0 8px 5px rgba(0, 123, 255, 0.1);
}