/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
}

/* Background video */
#bgVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

/* Navbar */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    background-color: rgba(0,0,0,0.7);
    padding: 10px;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    text-shadow: 0 0 5px #ff0000;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ff0000;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-top: 150px;
}

.hero h1 {
    font-size: 60px;
    text-shadow: 0 0 10px #ff0000;
}

.hero p {
    font-size: 24px;
    margin: 20px 0;
    text-shadow: 0 0 5px rgb(255, 255, 255);
}

button {
    padding: 12px 25px;
    font-size: 18px;
    background-color: #ff0000;
    border: none;
    cursor: pointer;
    color: #fff;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background-color: #cc0000;
}

/* Pop-up */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90%;
    background-color: rgba(0,0,0,0.9);
    border: 2px solid #ff0000;
    border-radius: 10px;
    z-index: 10;
    text-align: center;
    padding: 20px;
}

/* Popup Iklan */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    background: rgba(0, 0, 0, 0.85);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    z-index: 9999;
    animation: fadeIn 0.6s ease;
}

.popup img {
    width: 100%;
    border-radius: 10px;
}

/* Close button */
.popup .close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  z-index: 9999; /* WAJIB tinggi */
}


/* Container for image + arrows */
.ads-container {
    position: relative;
}

/* Left & Right arrow buttons */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: white;
    font-size: 28px;
    border-radius: 5px;
    transition: 0.3s;
    user-select: none;
}

.arrow:hover {
    background: rgba(255,255,255,0.3);
}

.arrow.left {
    left: -50px;
}
.arrow.right {
    right: -50px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}


.support-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.support-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background-color: rgba(0,0,0,0.7);
    border: 2px solid #ff0000;
    border-radius: 10px;
    padding: 15px 20px;
    width: 150px;
    transition: transform 0.3s, box-shadow 0.3s;
    color: #fff;
    font-weight: bold;
}

.support-btn img {
    width: 100px;
    border-color: #cc0000;
    margin-bottom: 10px;
}

.support-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #ff0000;
}

/* Optional: warna tema per platform */
.support-btn.discord { border-color: #7289da; }
.support-btn.discord:hover { box-shadow: 0 0 20px #7289da; }

.support-btn.tiktok { border-color: #69C9D0; }
.support-btn.tiktok:hover { box-shadow: 0 0 20px #69C9D0; }

.support-btn.youtube { border-color: #ff0000; }
.support-btn.youtube:hover { box-shadow: 0 0 20px #ff0000; }


/* Smooth page transition */
body.fade-out {
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.fade-in {
    opacity: 1;
    transition: opacity 0.6s ease;
}

.coins-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.coin-card {
    background-color: rgba(0,0,0,0.8);
    border: 2px solid #ff0000;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 200px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.coin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #ff0000;
}

.coin-card img {
    width: 150px;
    margin-bottom: 10px;
}

.coin-card h3 {
    margin-bottom: 10px;
    text-shadow: 0 0 5px #fff;
}

.coin-card button {
    padding: 8px 12px;
    background-color: #ff0000;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.coin-card button:hover {
    background-color: #cc0000;
}

.rank-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 30px;
}

/* setiap rank */
.rank {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* untuk zig-zag (gambar kanan, text kiri) */
.rank.reverse {
    flex-direction: row-reverse;
}

/* gambar rank */
.rank img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 2px solid #ff0000;
    border-radius: 10px;
}

/* teks rank */
.rank-info {
    max-width: 600px;
    background-color: rgba(0,0,0,0.7); /* box gelap */
    border: 2px solid #ff0000;        /* border merah */
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 0 10px #ff0000;     /* glow effect */
    transition: transform 0.3s, box-shadow 0.3s;
}

.rank-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #ff0000;
}

.rank-info h2 {
    font-size: 28px;
    text-shadow: 0 0 5px #fff;
    margin-bottom: 10px;
}

.rank-info p {
    font-size: 16px;
    margin: 5px 0;
    text-shadow: 0 0 3px #fff;
}

/* Slide-in animation dari kanan */
@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Server info box */
.server-info {
    list-style: none;
    padding: 20px;
    background-color: rgba(0,0,0,0.7);
    border: 2px solid #ff0000;
    border-radius: 10px;
    max-width: 700px;
    font-size: 16px;
    margin: 0 auto; /* center box */
}

/* Slide-in animation dari kanan */
@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.server-info li {
    opacity: 0;
    animation: slideInRight 0.8s forwards;
    margin-bottom: 10px;
}

/* Delay setiap line */
.server-info li:nth-child(1) { animation-delay: 0.2s; }
.server-info li:nth-child(2) { animation-delay: 0.4s; }
.server-info li:nth-child(3) { animation-delay: 0.6s; }
.server-info li:nth-child(4) { animation-delay: 0.8s; }
.server-info li:nth-child(5) { animation-delay: 1s; }

/* Lyrics box centered */
pre {
    background-color: rgba(0,0,0,0.7);
    border: 2px solid #ff0000;
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
    overflow-x: auto;
    margin: 30px auto; /* center horizontally */
    text-shadow: 0 0 3px #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
}

.qr-box {
    max-width: 500px;
    margin: auto;
    background: rgba(0,0,0,0.6);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
    animation: fadeUp 0.8s ease;
}

.qr-image {
    width: 250px;
    height: auto;
    margin: 20px 0;
}

#confirmBtn {
    padding: 12px 25px;
    font-size: 18px;
    background: #00c853;
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

#confirmBtn:hover {
    background: #00e676;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.music-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
}

body {
margin: 0;
font-family: Arial, sans-serif;
background: #111;
color: #fff;
}


header {
padding: 15px;
background: #222;
text-align: center;
font-size: 20px;
}


.container {
padding: 20px;
}


/* Responsive Design */
@media (max-width: 600px) {
header {
font-size: 18px;
}
.container {
padding: 10px;
}
}

.slider {
  position: relative;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  margin: auto;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  display: block;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

.music-control {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
}

#musicToggle {
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 18px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

#volumeSlider {
  width: 90px;
}
