/* Warna dasar & teks */
body {
  background-color: #121212;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}
.federo-regular {
  font-family: "Federo", sans-serif;
  font-weight: 400;
  font-style: normal;
}

input.form-control {
  background-color: #111;
  color: white;
  border: 1px solid #555;
}

input.form-control::placeholder {
  color: #aaa;
}

/* Kartu nominasi */
.card-nominee {
  background-color: #2c2c2c;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
  border: 0px solid transparent;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  
}

.card-nominee.selected {
  border-color: gold;
}

.bg-drake {
    background-color: #2c2c2c !important;
    color: #ffffff !important;
    border: none;
}

.bg-drake.accordion-button,
.bg-drake.accordion-button:hover,
.bg-drake.accordion-button:focus,
.bg-drake.accordion-button:not(.collapsed),
.bg-drake.accordion-button:not(.collapsed):hover,
.bg-drake.accordion-button:not(.collapsed):focus {
    background-color: #2c2c2c !important;
    color: #ffffff !important;
    box-shadow: none !important;
    border: none;
    font-size: 1.2rem; /* tulisan tombol lebih besar */
    font-weight: 600;
}

.bg-drake.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background-color: #2c2c2c;
    color: #ffffff;
    border-top: 1px solid #444;
    font-size: 1.1rem; /* tulisan isi lebih besar */
    line-height: 1.6;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}


/* Accordion item border hilang supaya clean */
.accordion-item {
    border: none;
    margin-bottom: 10px; /* kasih jarak antar item */
    border-radius: 8px; /* biar rada rounded */
    overflow: hidden;   /* biar rounded beneran keliatan */
}



/* Saat tombol sudah di-vote */
.vote-btn.btn-success {
  background: transparent !important;
  border: 2px solid #d4af37 !important; /* emas */
  color: #d4af37 !important;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: default;
}

/* Efek kartu terpilih */
.category .vote-btn.btn-success {
  background: transparent !important;
}

.category .vote-btn.btn-success:hover {
  opacity: 1; /* jangan ada efek hover */
}

/* Kartu yang sedang dipilih */
.category .vote-btn.btn-success.closest-card,
.card-nominee.selected {
  border-color: #d4af37 !important; /* emas */
}




/* Isi kartu */
.card-body-custom {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

/* Efek card terpilih */
.card-nominee.selected {
  border: 2px solid #d4af37; /* emas */
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* Tombol voting */
.btn-vote {
  background: linear-gradient(to right, #d4af37, #b8860b);
  border: none;
  color: black;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-vote:hover {
  opacity: 0.9;
}

.btn-voted {
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: default;
}
.hero-section {
  position: relative;
  height: 120vh; /* atau sesuai kebutuhan */
  overflow: hidden;
}
.countdown-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: linear-gradient(to right, #8e0e0e, #c31432); /* Gradasi merah */
  padding: 20px 10px;
  border-radius: 14px;
  gap: 28px;
  color: white;
  width: fit-content;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 16px;
  min-width: 60px;
}

.countdown-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background-color: rgba(255,255,255,0.4);
}

.countdown-item h4 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}

.countdown-item small {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.85;
  text-transform: lowercase;
  letter-spacing: 0.3px;
}
.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: 0;
}

/* Header blur transparan */


.header-glass {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  padding: 1rem;
}
.navbar-dark .navbar-nav .nav-link {
  color: white;
  font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: gold;
}

.mega-menu {
  width: 600px;
  background-color: #1c1c1c;
  border: none;
  border-radius: 0;
}
.navbar-nav {
  margin-right: 300px; /* geser menu ke kanan / beri jarak dari logo */
}
.mega-menu .dropdown-item {
  color: #fff;
  padding: 5px 0;
}

.mega-menu .dropdown-item:hover {
  background-color: transparent;
  color: #d4af37; /* Gold hover */
}

/* Garis kuning bawah */
.dropdown-footer {
  height: 4px;
  background-color: #d4af37; /* Gold */
  margin-top: 15px;
}
/* Progress Voting */
/* Gaya default */

.progress-wrapper {
  background-color: #b61f1f; /* merah tua */
  padding: 20px;
  border-radius: 10px;
  position: relative;
  color: #fff;
  font-family: sans-serif;
}
.fixed-progress {
  position: fixed;
  top: 100px; /* sesuaikan dengan tinggi navbar kamu */
  left: 110px; /* sesuaikan dengan lebar layar */
  right: 110px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Mobile & tablet (maks 991px) */
@media (max-width: 991px) {
    .fixed-progress {
        top: 80px;     /* jarak atas lebih kecil */
        left: 20px;    /* jarak kiri kecil */
        right: 20px;   /* jarak kanan kecil */
    }

    .trophy-img {
        margin-top:40px;
        margin-bottom:50px !important;
        height:100%;
        width:55%;
    }
    
    .card-nominee > img {
        object-fit: cover;
        width:100% !important;
        height:233px !important;
        
    }
    
    .countdown-box {
        margin:auto !important;
    }
}

@media (max-width: 768px) {
    .fixed-progress {
        top: 100px;   /* sedikit lebih kecil supaya muat di layar HP */
        left: 20px;  /* jarak sisi kiri lebih kecil */
        right: 20px; /* jarak sisi kanan lebih kecil */
        /* border: solid 1px yellow; */
        width:90%;
    }
    
    .hero-section {
        height:140vh !important;
    }

    .trophy-img {
        margin-top:40px;
        margin-bottom:30px !important;
        height:100% !important;
        width:55%;
        
    }
    
    
    .card-nominee > img {
        object-fit: cover;
        width:100% !important;
        height:233px !important;
        
    }


    .countdown-box {
        margin:auto !important;
    }
}


.progress-label {
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 14px;
  color: #fff;
}
            
.progress-value {
                position: absolute;
                right: 20px;
                top: 20px;
                font-size: 14px;
                color: #fff;
            }
            
.progress-track {
                width: 100%;
                height: 10px;
                background-color: #821818; /* garis belakang */
                border-radius: 5px;
                margin-top: 20px;
                overflow: hidden;
            }
            
    .progress-bar {
                height: 100%;
                background: linear-gradient(to right, #8b6200, #e6bb46, #8b6200); /* efek emas */
                transition: width 0.5s ease-in-out;
            }
            .category-header {
                margin: 30px 0;
            }

            .gold-line {
                position: relative;
                display: inline-flex;
                align-items: center;
                padding: 0 80px 0 20px; /* kanan lebih panjang */
                height: 60px;
                background: linear-gradient(to right, #b8860b, #daa520, #b8860b);
                color: black;
                font-size: 20px;
                font-weight: bold;
            }

            .category-title {
                z-index: 1;
                position: relative;
                white-space: nowrap;
            }

            .slant {
                position: absolute;
                top: 0;
                width: 20px;
                height: 100%;
                background-color: #b8860b;
                transform: skewX(20deg);
                z-index: 2;
                border-left: 8px solid #000;
            }

            .slant-1 {
                right: 20px;
            }
            .slant-2 {
                right: 19px;
            }
            .slant-3 {
                right: -10px;
            }

    .category-title {
      color: #fff;
      font-family: 'Federo', sans-serif;
      font-size: 24px;
      position: relative;
      z-index: 1;
    }


/* Teks kategori & film */
.selected-category-title {
  color: gold;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.selected-nominee-film {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}



/* SPLASH CSS */
.splash {
  cursor: pointer;
  position: absolute;
  left:50%;
  height: 90%;
  width: 90%;
  transform: translate(-50%, -50%);
  transition: all ease-in-out 600ms;
  z-index: 9992;
}

.splash::before {
  content:'';
  position: absolute;
  top:60%;
  left:5%;
  height: 90%;
  width: 90%;
  background-color: rgb(6, 6, 6);
  background-size: cover;
  opacity: 0.9;
  z-index: 9981;
  border-radius:12px;
  
}

.splash-child > h3.title-splash-screen {
  font-size:16px;
}
.splash-child {
  position: absolute;
  width:40%;
  left:30%;
  top:62%;
  z-index:9995;
  text-align:center;
  
}

.splash-child > img {
  margin:auto;
  border:solid 2px goldenrod;
  background-color:#000;
  border-radius:12px;
  width:90%;
  padding:12px;
}

.splash > div > span.icon {
  z-index: 999999;
  /* background-color: white; */
  color:white;
  font-size:22px;
  padding:4px 2px !important;
  border-radius: 8px;
  position: absolute;
  top: -15px;
}

.hidden {
  transition: 0.5s;
  display: none;
}

.splash-header {
  height: 90%;
  color: white;
  font-family: consolas;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .splash { 
    width: 99% !important;
  }

  .splash::before {
    width: 99% !important;
    left:0.5%;
  }

  .splash-child {
    top:70%;
    width:90%;
    left:5%;
  }

  .splash-child > img {
    width:100%;
  }
}

/* Mobile & tablet (maks 991px) */
@media (max-width: 991px) {
  .splash { 
    width: 99% !important;
  }

  .splash::before {
    width: 99% !important;
    left:0.5%;
  }

  .splash-child {
    width:90%;
    left:5%;
  }

  .splash-child > img {
    width:100%;
  }
}
