@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');
 :root {
    --primary-color: #000000;
    --secondary-color: #3d3d3d;
    --text-light: #727272;
    --extra-light: #f3f4f6;
    --font-family: 'Poppins', sans-serif;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-up.show {
    animation: fadeUp 0.8s cubic-bezier(.22, 1, .36, 1) forwards;
}

body {
    margin: 0;
    color: var(--text-color);
    font-family: var(--font-family);
    color: rgb(202, 202, 202);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgb(17, 17, 17);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    justify-content: space-between;
    padding: 20px 60px;
    opacity: 0;
    transform: translateY(0px);
    animation: fadeUp 0.8s ease-out forwards;
    transition: background 0.35s cubic-bezier(.22, 1, .36, 1), border 0.35s cubic-bezier(.22, 1, .36, 1), box-shadow 0.35s cubic-bezier(.22, 1, .36, 1), transform 0.45s cubic-bezier(.34, 1.56, .64, 1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: rgb(202, 202, 202);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo:hover img {
    transform: rotate(8deg) scale(1.1);
}

.logo img {
    width: 60px;
    transition: transform 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links li a {
    display: inline-block;
    text-decoration: none;
    color: rgb(202, 202, 202);
    font-weight: 500;
    cursor: pointer;
    padding: 10px 19px;
    border: none;
    border-radius: 15px;
    transition: transform 0.25s ease;
}

.nav-links li a:hover {
    transform: scale(1.1);
    padding: 10px 19px;
    background-color: rgb(32, 32, 32);
    border-radius: 15px;
}

.nav-links li button {
    padding: 13px 21px;
    border: none;
    background-color: violet;
    color: white;
    font-size: 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-family: var(--font-family);
    transition: transform 0.25s ease, color 0.25s ease;
}

.nav-links li button:hover {
    transform: scale(1.1);
    background-color: rgb(202, 117, 202);
}

@media (max-width: 1100px) {
    .nav-links {
        position: absolute;
        top: 80px;
        right: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        background-color: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 15px;
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
}

.navbar.scrolled {
    background: rgba(17, 17, 17, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(15px);
    border-radius: 30px;
    margin-top: 20px;
    margin: 20px;
    top: 20px;
}

.hero {
    background-color: #1f121e;
    font-size: 1.2rem;
    padding: 50px 80px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero img {
    width: 270px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    display: none;
}

.hero img:hover {
    transform: rotate(8deg) scale(1.1);
    transition: transform 0.3s ease;
}

.shooting-stars {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.shooting-stars span {
    position: absolute;
    top: -10%;
    left: 50%;
    width: 2px;
    height: 120px;
    background: linear-gradient( -45deg, rgba(255, 255, 255, 0), rgba(255, 161, 227, 1), rgba(255, 255, 255, 0));
    opacity: 0.8;
    transform: rotate(45deg);
    animation: shoot 3s linear infinite;
}

@keyframes shoot {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translate(-600px, 600px) rotate(45deg);
        opacity: 0;
    }
}

.card {
    margin-top: 100px;
    border-radius: 20px;
    padding: 50px 80px;
    display: flex;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.teks {
    padding-left: 50px;
}

.card-r {
    margin-top: 50px;
    border-radius: 20px;
    padding: 50px 80px;
    justify-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.card h1 {
    color: rgb(255, 255, 255);
    margin-top: 0;
}

.card-r h1 {
    text-align: center;
    color: rgb(255, 255, 255);
    margin-top: 0;
}

.card img {
    position: relatives;
    border-radius: 20px;
    width: 100px;
}

.card-r img {
    position: relatives;
    border-radius: 20px;
    width: 200px;
}

.teks1 {
    padding-right: 50px;
}

footer {
    text-align: center;
    padding: 30px;
    background-color: rgb(22, 22, 22);
    color: rgb(202, 202, 202);
}

.info {
    display: flex;
    justify-content: space-around;
    padding: 30px 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.info-card {
    background-color: rgb(19, 19, 19);
    border-radius: 20px;
    padding: 30px;
    width: 250px;
    text-align: center;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

@media (max-width: 1100px) {
    .hero {
        padding: 40px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .hero img {
        margin-top: 50px;
        justify-content: center;
    }
    .info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .info-card {}
}

.info-card:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.info-card h1 {
    margin-top: 0;
    color: rgb(255, 255, 255);
}

.vid {
    margin-top: 100px;
    background-color: white;
}

.video-wrapper {
    background-color: white;
    max-width: 800px;
    margin: 50px auto;
    padding: 40px 40px;
    overflow: hidden;
}

video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, .5);
}

.imagesgame {
    background-image: url('image.png');
    background-size: cover;
    background-position: center;
    height: 600px;
}

.imagesgame .teksimage {
    color: rgb(255, 161, 227);
    text-align: center;
    padding: 255px 20px;
    backdrop-filter: blur(5px);
}

.imagesgame .teksimage h1 {
    text-shadow: #292929 2px 2px 4px;
}

.download {
    padding: 100px 100px;
    justify-items: center;
}

.btn-download {
    justify-items: center;
}

.btn-download li {
    list-style: none;
}

.btn-download li a {
    display: inline-block;
    text-decoration: none;
    color: rgb(202, 202, 202);
    font-weight: 500;
    cursor: pointer;
    padding: 10px 19px;
    border-radius: 15px;
    align-items: center;
    transition: transform 0.25s ease;
}

.btn-download a:hover {
    transform: scale(1.1);
}

.btn-download .register {
    background-color: #ffffff;
    color: red;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 120px;
}

.navmen.active {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.contact-menu {
    position: relative;
}

.contact-panel {
    position: absolute;
    top: 130%;
    right: 0;
    width: 200px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.contact-panel.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.contact-btn {
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    color: white;
}

.contact-btn.wa {
    background: #25D366;
}

.contact-btn.dc {
    background: #5865F2;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .navbar {
        padding: 14px 20px;
    }
    .navbar.scrolled {
        margin: 10px;
        transform: translateY(8px);
        border-radius: 20px;
    }
    .logo img {
        width: 45px;
    }
    .hero {
        padding: 40px 20px;
        font-size: 1rem;
    }
    .hero img {
        width: 200px;
    }
    .card,
    .card-r {
        padding: 30px 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .teks {
        padding-left: 0;
    }
    .info {
        padding: 40px 20px;
    }
    .info-card {
        width: 100%;
        max-width: 320px;
    }
    .video-wrapper {
        padding: 16px;
        margin: 30px auto;
    }
    .imagesgame {
        height: 320px;
    }
    .imagesgame .teksimage {
        padding: 120px 20px;
    }
    .download {
        padding: 60px 20px;
        text-align: center;
    }
    .btn-download li {
        display: flex;
        gap: 14px;
    }
    section {
        scroll-margin-top: 90px;
    }
}