body {
  background-image: url('background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  scroll-behavior: smooth;
  background-position: center;
  height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section-2 {
  padding: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

p span {
  font-weight: bold;
}

.section-2 h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
  color: rgb(255, 255, 255);
  text-shadow: 0px 0px 15px rgb(255, 255, 255);
  font-family: 'Poppins', sans-serif;
  cursor: default;
}

.section-2 h2:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out;
}

.section-2 h2 span {
  color: #00b7ff;
  text-shadow: 0px 0px 15px rgba(0, 183, 255, 0.7);
}

.section-2 .card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

@keyframes slideIn {
  from {
      transform: translateY(50px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

.section-2 .card {
  background-color: #1b1b1b;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  margin: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  opacity: 0;
  transform: translateX(50px);
  transition: transform 0.5s ease, opacity 0.5s ease;
  will-change: transform, opacity;
}

.creator-label {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.card.visible {
  animation: slideIn 0.5s forwards;
}

.section-2 .card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.section-2 .card:nth-child(1) { animation-delay: 0.1s; }
.section-2 .card:nth-child(2) { animation-delay: 0.3s; }
.section-2 .card:nth-child(3) { animation-delay: 0.5s; }

.section-2 .card h3 {
  margin-bottom: 0px;
  font-size: 1.5rem;
  color: #00b7ff;
  text-shadow: 0px 0px 15px rgba(0, 183, 255, 0.7);
  font-family: 'Poppins', sans-serif;
}
.section-2 .card h3 span {
  margin-bottom: 0px;
  font-size: 1.5rem;
  color: #ffffff;
  text-shadow: 0px 0px 15px rgb(255, 255, 255);
  font-family: 'Poppins', sans-serif;
}
.section-2 .card h4 {
  font-size: 1.1rem;
  color: #00b7ff;
  text-shadow: 0px 0px 15px rgba(0, 183, 255, 0.7);
  font-family: 'Poppins', sans-serif;
}

.section-2 .card h4 span {
  margin-bottom: 0px;
  color: #ffffff;
  text-shadow: 0px 0px 15px rgb(255, 255, 255);
}

.section-2 .card p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 0px;
}

.section-2 .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}



button {
  padding: 10px 20px;
  border-radius: 7px;
  border: 1px solid rgb(61, 106, 255);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  background: transparent;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 0 transparent;
  transition: all 0.2s ease-in;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-button {
  padding: 10px;
  font-size: 24px;
  border: 1px solid rgb(61, 106, 255);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fa-instagram {
  color: white;
  text-decoration: none;
}

button:hover {
  background: rgb(61, 106, 255);
  box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.815);
  transition: all 0.2s ease-out;
}

button:hover::before {
  animation: sh02 0.5s 0s linear;
}

button::before {
  content: '';
  display: block;
  width: 0px;
  height: 86%;
  position: relative;
  top: 7%;
  left: 0%;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 50px 30px #fff;
  transform: skewX(-20deg);
}

@keyframes sh02 {
  from { opacity: 0; left: 0%; }
  50% { opacity: 1; }
  to { opacity: 0; left: 100%; }
}

.back-button {
  display: flex;
  align-items: center;
  background-color: rgb(61, 106, 255);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.back-button:hover {
  background-color: rgb(30, 80, 200);
}

.header {
  color: #ffffff;
  text-shadow: 0px 0px 20px #ffffff;
  width: 80px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgb(61, 106, 255);
  position: absolute;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
}

#result {
  margin-top: 20px;
  font-size: 18px;
}

.header:hover {
  background: rgb(61, 106, 255);
  box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.815);
  transition: all 0.2s ease-out;
}

.header:hover::before {
  animation: sh02 0.5s 0s linear;
}

.header::before {
  content: '';
  display: block;
  width: 0px;
  height: 86%;
  position: relative;
  top: 7%;
  left: 0%;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 50px 30px #fff;
  transform: skewX(-20deg);
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.search-container {
  display: flex;
  align-items: center;
  position: relative;
  gap: 10px;
  max-width: 500px;
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
  flex-wrap: nowrap;
}

.search {
  flex: 1;
  display: flex;
  justify-content: center;
}

.search-button {
  background-color: rgb(61, 106, 255);
  border: none;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 5px;
}

.search-button:hover {
  background-color: rgb(30, 80, 200);
}

.search input {
  background-color: transparent;
  box-shadow: 0px 0px 15px rgb(61, 106, 255);
  width: 300px;
  padding: 10px;
  outline: none;
  border: none;
  border-bottom: 2px solid rgba(61, 106, 255, 0.5);
  color: white;
  font-size: 16px;
  border-radius: 5px;
  transition: all 0.4s ease;
}

.search input:focus {
  border-bottom: 2px solid #00b7ff;
  box-shadow: 0px 0px 20px rgba(0, 183, 255, 0.8);
}

.search button {
  justify-content: center;
  align-items: center;
  display: flex;
  margin-left: 10px;
  padding: 10px;
  border: none;
  background-color: rgb(61, 106, 255);
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s ease;
  border-radius: 5px;
}

.search button:hover {
  transform: scale(1.05);
  background-color: rgb(30, 80, 200);
}

.me {
  font-weight: bold;
}

.read-more-button {
  padding: 16px 20px;
  font-size: 14px;
  border-radius: 7px;
  border: 1px solid rgb(61, 106, 255);
  background: transparent;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease-in;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 0 transparent;
}

.read-more-button:hover {
  background: rgb(61, 106, 255);
  box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.815);
  transition: all 0.2s ease-out;
}

.read-more-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all 0.5s;
  opacity: 0;
}

.read-more-button:hover::before {
  width: 100%;
  height: 500%;
  opacity: 1;
  transition: all 0.5s;
}

.scroll-up-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: 1px solid rgb(61, 106, 255);
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(61, 106, 255, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  display: none;
  z-index: 100;
}

.scroll-up-btn:hover {
  background-color: rgb(61, 106, 255);
  box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.8);
}

.scroll-up-btn.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section-2 h2 {
      font-size: 2rem;
      margin-bottom: 20px;
  }
  .section-2 .card-container {
      flex-direction: row;
      gap: 15px;
  }
  .section-2 .card {
      width: 80%;
      margin: 10px 0;
      padding: 15px;
  }
  .search-container {
      flex-direction: column;
      gap: 10px;
  }
  .search input {
      width: 90%;
  }
  .back-button {
      margin-bottom: 10px;
      align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .section-2 h2 {
      font-size: 1.6rem;
      margin-bottom: 15px;
  }
  .section-2 .card {
      width: 95%;
      padding: 10px;
  }
  .section-2 .card img {
      width: 100px;
      height: 100px;
  }
  .section-2 .card h3 {
      font-size: 1.2rem;
  }
  .section-2 .card h4 {
      font-size: 0.9rem;
  }
  .section-2 .card p {
      font-size: 0.85rem;
  }
  .search-container {
      flex-direction: row;
      justify-content: space-between;
      width: 100%;
      padding: 0 10px;
  }
  .search input {
      width: 100%;
      flex-grow: 1;
      min-width: 0;
  }
  .search button {
      padding: 8px;
      font-size: 16px;
      flex-shrink: 0;
  }
  .back-button {
      padding: 8px;
      font-size: 19px;
      margin-bottom: 0;
  }
  .scroll-up-btn {
      width: 40px;
      height: 40px;
      font-size: 20px;
      bottom: 15px;
      right: 15px;
  }
}

#homeButton {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(61, 106, 255);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#homeButton:hover, #backButton:hover {
  background-color: rgb(30, 80, 200);
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
  #homeButton {
      font-size: 14px;
      padding: 8px;
      border-radius: 4px;
  }
}

/* Responsif untuk layar sangat kecil */
@media (max-width: 480px) {
  #homeButton {
      font-size: 25px;
      padding: 6px;
      border-radius: 3px;
  }
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px; /* Lebar scrollbar */
}

::-webkit-scrollbar-track {
  background: #1e2228; /* Background track */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00b7ff, #12171e);
  border-radius: 10px;
  border: 2px solid #1e2228; /* Buat space antara track dan thumb */
  box-shadow: inset 0 0 10px rgba(0, 183, 255, 0.5); /* Glow effect */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00b7ff, #006bb5); /* Warna saat hover */
  box-shadow: 0 0 20px #00b7ff; /* Glow saat hover */
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(45deg, #008ae6, #006bb5); /* Warna saat klik */
}