.rank-wrapper {
    display: flex;
    justify-content: flex-start; /* tengah */
    flex-wrap: wrap; /* biar responsif */
}

.rank-card {
    margin-top: 60px;
    margin-left: 60px;
    width: 200px;
    height: 400px;
    padding-left: 20px;
    background-color: rgba(0, 0, 0, 0.128);;
    font-size: 15px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 10px;
    color: white;
    transition: background-color 1s ease; 
    transition: box-shadow 1s ease; 
}

.rank-card:hover {
    background-color: rgba(0, 0, 0, 0.415);
    box-shadow: 10px 10px 10px white;
}

.rank-card a {
    color: white;
    text-decoration: none;
    padding: 10px;
    margin-left: 30px;
    border-radius: 5px;
    background-color:rgba(255, 255, 255, 0.052);
    transition: background-color 1s ease;
    transition: box-shadow 1s ease;
}

.rank-card a:hover {
    background-color: rgb(88, 255, 88);
    box-shadow: 5px 5px 10px 1px rgb(0, 128, 0);
}

.halamangambar {
    min-height: 110vh; /* 1 layar penuh */
    background-image: url("background.png");
    background-size: cover;
    background-position: center;
}

.download {
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 5px;
    text-transform: uppercase;
    cursor: pointer;
    color: white;
    transition: all 1000ms;
    font-size: 8px;
    position: relative;
    overflow: hidden;
    outline: 2px solid white;
    background-color: rgba(0, 0, 0, 0.2);;
    top: 20px;
    left: 30px;
  }
  
  .download:hover {
    color: white;
    transform: scale(1.1);
    outline: 2px solid purple;
    box-shadow: 4px 5px 17px -4px purple;
  }
  
  .download::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);;
    transform: skewX(45deg);
    z-index: -1;
    transition: width 1000ms;
  }
  
  button:hover::before {
    width: 250%;
  }
  


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body {
    background-color: #2b2b2b;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

header .logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

header ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(8px);
}

header ul li a {
    font-size: 1rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

header ul li a:hover {
    background: rgba(255, 255, 255, 0.15);
}


@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    header .logo {
        width: 60px;
        height: 60px;
    }

    header ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
        padding: 15px;
    }

    header ul li a {
        font-size: 1.1rem;
    }
}
