/* root */
:root {
    --font-inter: "Inter", sans-serif;
    --color-white: #ffffff;
}

/* hero-section-home */
.container-fluid.hero-section-home {
    background: url("../img/backgrounds/index-hero.png") no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    width: 100%;
    height: auto;
    /* min-height: 100vh; */
    padding-top: 100px;
    z-index: 1;
}
.hero-section-home .btn1-custom {
    padding: 10px 27px;
    background-color: rgba(217, 217, 217, 0.52);
    border: 1px solid var(--color-white);
    border-radius: 10px;
    transition: all 0.4s ease;
}
.hero-section-home .btn1-custom:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #4c8fff;
    box-shadow: 0 0 15px rgba(76, 143, 255, 0.5);
    transition: all 0.4s ease;
}
/* up 768px */
.game-cards {
    margin-top: 5rem;
    z-index: 2;
}
.game-cards > div {
    width: 230px;
    height: 300px;
    overflow: hidden;
    flex: 0 0 auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.5s ease,
        box-shadow 0.3s ease;
    border-radius: 10px;
    border: 1px solid var(--color-white);
    cursor: pointer;
    z-index: 10;
}
.game-cards > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.card1 {
    transform: translateX(40px) rotate(-12deg) translateY(60px);
    z-index: 1;
}
.card2 {
    transform: translateX(30px) rotate(-6deg) translateY(4px);
    z-index: 2;
}
.card3 {
    transform: translateX(0) rotate(0deg) translateY(-40px);
    z-index: 10;
}
.card4 {
    transform: translateX(-30px) rotate(6deg) translateY(4px);
    z-index: 2;
}
.card5 {
    transform: translateX(-40px) rotate(12deg) translateY(60px);
    z-index: 1;
}
/* under 768px */
.swiper.mobile-cards {
    width: 100%;
    height: 100%;
    display: none;
}
.swiper-slide.swiper-mobile {
    width: 200px;
    height: 430px;
    border-radius: 10px;
    border: 1px solid var(--color-white);
}
.swiper-slide.swiper-mobile img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
}
/* responsive hero section */
@media screen and (min-width: 1120px) {
    .game-cards {
        display: block;
        width: 100%;
    }
    .swiper.mobile-cards {
        display: none;
    }
}
@media screen and (max-width: 1120px) {
    .game-cards > div {
        display: none;
    }
    .swiper.mobile-cards {
        display: block;
    }
}
/* most popular */
.most-popular {
    background: url("../img/backgrounds/most-popular.png") no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    width: 100%;
    height: auto;
    margin-top: -100px;
    z-index: 100 !important;
    position: relative;
}
.most-popular .btn1-custom {
    padding: 10px 27px;
    background-color: rgba(217, 217, 217, 0.52);
    border: 1px solid var(--color-white);
    border-radius: 10px;
    transition: all 0.4s ease;
}
.most-popular .btn1-custom:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #4c8fff;
    box-shadow: 0 0 15px rgba(76, 143, 255, 0.5);
    transition: all 0.4s ease;
}
.most-popular .most-popular-title {
    font-size: 55px;
}
.swiper {
    width: 100%;
    height: 100%;
}
.swiper .swiper-slide {
    width: 330px;
    height: 330px;
    background: rgba(255, 255, 255, 0.2);
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
    .most-popular {
        margin-top: 0;
    }
}
@media screen and (max-width: 1120px) {
    .most-popular {
        margin-top: 0;
    }
}
/*  top up in 4 easy steps  */
.easy-steps {
    background: #000000;
    position: relative;
}

/* why choose us */
.why {
    background: #000000;
}
.why ul {
    font-size: 18px;
}
.why .why-chara::before {
    position: absolute;
    content: "";
    background: radial-gradient(circle, #003fff, #003fff00 70%);
    width: 520px;
    height: 520px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
.why .why-chara {
    z-index: 10;
    width: 570px;
    height: 550px;
    position: relative;
}
.why .why-chara img {
    z-index: 10;
    width: 100%;
    height: 100%;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}
@media screen and (max-width: 525px) {
    .why .why-chara {
        width: 480px;
        height: 480px;
    }
    .why .why-chara::before {
        width: 420px;
        height: 420px;
    }
}
/* Tablet (<=992px) */
@media screen and (max-width: 992px) {
    .why .why-chara {
        width: 400px;
        height: 400px;
    }
    .why .why-chara::before {
        width: 380px;
        height: 380px;
    }
}
/* Mobile sedang (<=576px) */
@media screen and (max-width: 576px) {
    .why .why-chara {
        width: 320px;
        height: 320px;
    }
    .why .why-chara::before {
        width: 300px;
        height: 300px;
    }
}
@media screen and (max-width: 376px) {
    .why .why-chara {
        width: 400px;
        height: 400px;
    }
    .why .why-chara::before {
        width: 320px;
        height: 320px;
    }
}
/* Mobile kecil (<=400px) */
@media screen and (max-width: 400px) {
    .why .why-chara {
        width: 260px;
        height: 260px;
    }
    .why .why-chara::before {
        width: 240px;
        height: 240px;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -40%);
    }
}
/* What Players Say */
.testimonial {
    background: url("../img/backgrounds/testi-bg.png") no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    width: 100%;
    height: auto;
}
.glide__slide.testi-cardd {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: 1px solid white;
    height: auto;
    min-height: 250px;
    box-sizing: border-box;
}
.glide__slide.testi-cardd .testi-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
@media (max-width: 1024px) {
    .glide__slide.testi-cardd {
        min-height: 270px;
    }
}
@media (max-width: 820px) {
    .glide__slide.testi-cardd {
        min-height: 300px;
    }
}
@media (max-width: 640px) {
    .glide__slide.testi-cardd {
        min-height: 280px;
        padding: 1.2rem;
    }
}
@media (max-width: 480px) {
    .glide__slide.testi-cardd {
        min-height: 340px;
        padding: 1rem;
    }
}
@media (max-width: 375px) {
    .glide__slide.testi-cardd {
        min-height: 380px;
    }
}
/* faqs section */
.faqs-section {
    position: relative;
    background: #000000;
    z-index: 1;
    color: #fff;
}
.faq {
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}
.accordion {
    background: transparent;
    color: #fff;
    width: 100%;
    padding: 1.5rem 2rem;
    outline: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.accordion i {
    font-size: 1.3rem;
    color: #fff;
    transition: transform 0.3s ease;
}
/* efek hover */
.accordion:hover {
    background: rgba(255, 255, 255, 0.25);
}
/* rotasi icon saat aktif */
.accordion.active i {
    transform: rotate(180deg);
}
.pannel {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.pannel p {
    margin: 1.5rem 0 0;
    line-height: 1.6;
}

/* panel terbuka */
.faq.active .pannel {
    padding-bottom: 1.5rem;
    max-height: 300px; /* bisa kamu ubah sesuai tinggi konten */
}

/* Latest News Section */
.latest-news-section {
    position: relative;
    background: #000000;
    z-index: 1;
}

.news-blog-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    color: inherit;
}

.news-blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-blog-content {
    padding: 20px;
}

.news-category-badge {
    margin-bottom: 12px;
}

.news-category-badge span {
    background: rgba(76, 143, 255, 0.2);
    color: #4c8fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(76, 143, 255, 0.3);
}

.news-blog-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-blog-content p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 15px;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-meta {
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-date {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 400;
}

.news-read-more {
    color: #4c8fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.news-read-more:hover {
    color: #6ba3ff;
    text-decoration: none;
}

.latest-news-section .btn1-custom {
    padding: 12px 30px;
    background-color: rgba(217, 217, 217, 0.52);
    border: 1px solid var(--color-white);
    border-radius: 10px;
    transition: all 0.4s ease;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

.latest-news-section .btn1-custom:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #4c8fff;
    box-shadow: 0 0 15px rgba(76, 143, 255, 0.5);
    transition: all 0.4s ease;
    color: #fff;
}

/* Responsive for news cards */
@media (max-width: 768px) {
    .news-blog-img {
        height: 180px;
    }

    .news-blog-content {
        padding: 15px;
    }

    .news-blog-content h5 {
        font-size: 1rem;
    }

    .news-blog-content p {
        font-size: 0.9rem;
    }
}
.news-category-badge a {
    text-decoration: none;
}

.news-category-badge a span:hover {
    background: rgba(76, 143, 255, 0.4);
}

/* Get in Touch Section - now with gradient background */
.get-in-touch-section {
    position: relative;
    background: linear-gradient(
        to bottom,
        #000000 0%,
        #000000 10%,
        #001a66 60%,
        #007bff 100%
    );
    z-index: 1;
    color: #fff;
}

/* get in touch */
.sosial a {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px 40px;
    border-radius: 10px;
    border: 1px solid var(--color-white);
    transition: all 0.3s ease;
}
.sosial a i {
    font-size: 50px;
}
.sosial a:hover {
    background: rgba(255, 255, 255, 0.25);
}
@media screen and (max-width: 992px) {
    .sosial a {
        background: rgba(255, 255, 255, 0.15);
        padding: 25px 30px;
        border-radius: 10px;
        border: 1px solid var(--color-white);
        transition: all 0.3s ease;
    }
}

/* footer */
.footer {
    background: #001247; /* biru tua */
    color: var(--color-white);
}
.footer-con {
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
}
.footer-link {
    margin-left: 60px;
}
.footer-link ul li {
    margin-top: 15px;
    transition: all 0.5s ease;
    color: var(--color-white);
}
.footer-link ul li:hover {
    color: #007bff;
    transform: translateX(7px);
}
.footer-icon {
    display: flex;
    justify-content: end;
}
.footer-icon a i {
    color: var(--color-white);
    transition: all 0.4s ease;
}
.footer-icon a i:hover {
    color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
}
@media (max-width: 1200px) {
    .footer-link {
        margin-left: 30px;
    }
    .footer-icon {
        justify-content: center !important;
        margin-top: 2rem;
    }
    .footer-icon a {
        padding: 0 10px;
    }
    .footer p {
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .footer-link {
        margin-left: 0;
        text-align: center;
        margin-top: 2rem;
    }
    .footer-link h6 {
        font-size: 17px;
        margin-bottom: 10px;
    }
    .footer-link ul li {
        margin-top: 10px;
    }
    .footer .row {
        text-align: center;
    }
    .footer img {
        display: block;
        margin: 0 auto;
    }
    .footer p {
        font-size: 14px;
        margin-top: 15px;
    }
    .footer-icon {
        justify-content: center !important;
    }
    .footer-icon a i {
        font-size: 1.5rem;
    }
}
@media (max-width: 480px) {
    .footer {
        padding: 3rem 1rem;
    }
    .footer-link h6 {
        font-size: 16px;
    }
    .footer p {
        font-size: 13.5px;
    }
    .footer-icon a i {
        font-size: 1.3rem;
    }
    .footer-icon a {
        padding: 0 8px;
    }
}
