/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-tap-highlight-color: transparent; /* Hilangkan efek biru di Android */
}

body {
    background: #0f172a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    overflow: auto;
}

/* Kotak Lonjong di Atas */
.top-bar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.date-time {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.profile-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
}

/* Container API */
.container {
    position: relative;
    width: 95%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-top: 90px;
}

/* Animasi Menu */
.hidden-menu {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hidden-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Title Menu dengan Animasi */
.menu-title {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    display: block;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
    transition: background 0.3s, transform 0.1s;
}

/* Hover efek */
.menu-title:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Klik animasi (scale efek) */
.menu-title:active {
    transform: scale(0.95);
}

/* Ripple effect */
.menu-title::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
    pointer-events: none;
}

/* Notifikasi Musik */
.music-popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95); /* Warna gelap */
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none; /* Sembunyikan awalnya */
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: bold;
    z-index: 99999; /* Selalu di atas */
    min-width: 270px;
    max-width: 350px;
    justify-content: space-between;
    opacity: 0;
    transform: translate(-50%, -20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Tombol "GAS!" */
.music-popup button {
    background: #0F6CFF; /* Warna ungu */
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-popup button:hover {
    background: #57A9FF;
    transform: scale(1.1);
}

/* Animasi muncul */
@keyframes fadeInPopup {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
/* Efek ripple saat diklik */
.menu-title:active::after {
    transform: scale(3);
    opacity: 1;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    margin-bottom: 10px;
}

/* Link Styles */
nav ul li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

/* Icon */
nav ul li a i {
    margin-right: 10px;
    font-size: 18px;
}

/* Hover Effect */
nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #3BA7FF;
    transform: translateX(5px);
}

/* Click Effect */
nav ul li a:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.2);
}

/* Remove Focus & Tap Highlight */
button:focus, a:focus, input:focus, textarea:focus {
    outline: none;
    box-shadow: none;
}

/* Divider */
hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 10px 0;
}

footer.footer {
  padding: 40px 0;
  text-align: center;
}

footer.footer .copyright {
  font-size: 16px; /* Ukuran teks diperbesar */
  font-weight: bold; /* Teks jadi lebih tebal */
  color: #fff; /* Warna teks hitam */
}

footer.footer .copyright a.yudzdev-link {
  color: #007BFF; /* Warna biru */
  text-decoration: none; /* Hilangkan garis bawah */
  transition: color 0.3s ease;
}

footer.footer .copyright a.yudzdev-link:hover {
  color: #0056b3; /* Warna biru lebih gelap saat hover */
}

footer.footer.light {
  background: rgba(0, 0, 0, 0.0); /* Warna gelap */
  border-top: solid 1px rgba(0, 0, 0, 0.1);
}
