@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0A1F33;
    font-family: "Poppins", sans-serif;
}

.hero {
    background-image: url(Images/hero.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.heroconten {
    margin-top: 10rem;
}

.imej img {
    width: 5rem;
}

.navbar-blur {
    background-color: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav .justify-content-center a {
    color: white;
}

.subjudul {
    margin-left: 5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

.project-carousel-wrapper {
    position: relative;
}

.project-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    justify-content: center;
    padding: 0.5rem 0.25rem 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.project-track::-webkit-scrollbar {
    display: none;
}

.project-slide {
    flex: 0 0 auto;
    width: 400px;
    scroll-snap-align: start;
}

.project-slide .card-img-top {
    height: 180px;
    object-fit: cover;
}

.project-arrow {
    position: absolute;
    top: 122px;
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background-color: rgba(3, 20, 48, 0.85);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.project-arrow:hover {
    background-color: rgba(3, 20, 48, 1);
}
.project-arrow-left { left: 4px; }
.project-arrow-right { right: 4px; }

.project-carousel-wrapper.is-scrollable .project-arrow {
    display: flex;
}
.project-carousel-wrapper.is-scrollable .project-track {
    justify-content: flex-start;
}

.gamepass-carousel-wrapper {
    position: relative;
}

.gamepass-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    justify-content: center;
    padding: 0.5rem 0.25rem 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.gamepass-track::-webkit-scrollbar {
    display: none;
}

.gamepass-slide {
    flex: 0 0 auto;
    width: 340px;
    scroll-snap-align: start;
}

.gamepass-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background-color: rgba(3, 20, 48, 0.85);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.gamepass-arrow:hover {
    background-color: rgba(3, 20, 48, 1);
}
.gamepass-arrow-left { left: 4px; }
.gamepass-arrow-right { right: 4px; }

.gamepass-carousel-wrapper.is-scrollable .gamepass-arrow {
    display: flex;
}
.gamepass-carousel-wrapper.is-scrollable .gamepass-track {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .gamepass-slide { width: 100%; }
}

@media (max-width: 768px) {
    .project-slide { width: 100%; }
}