* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top, #0aff7a33, #000000 70%);
  color: white;
  overflow-x: hidden;
  transition: background 0.8s ease-in-out;
}

/* Title */
h1 {
  text-align: center;
  margin: 25px 0;
  font-size: 45px;
  font-weight: 900;
  color: #00ff88;
  text-shadow: 0px 0px 20px rgba(0, 255, 136, 0.8);
}

/* Slider Wrapper */
.slider-wrapper {
  position: relative;
  width: 92%;
  margin: auto;
  display: flex;
  align-items: center;
  padding: 20px 0;
}

/* Slider Container */
.slider-container {
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
  padding: 10px;
}

/* Slider */
.slider {
  display: flex;
  gap: 22px;
  transition: transform 0.6s ease-in-out;
  padding: 20px;
}

/* Card */
.card {
  min-width: 260px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  position: relative;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(15px);

  border: 1px solid rgba(0, 255, 136, 0.3);
  box-shadow: 0px 0px 20px rgba(0, 255, 136, 0.15);

  transition: 0.4s ease;
}

.card:hover {
  transform: scale(1.15);
  z-index: 10;
  box-shadow: 0px 0px 35px rgba(0, 255, 136, 0.6);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: 0.4s ease;
}

.card:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Card Content */
.card-content {
  padding: 15px;
}

.card-content h2 {
  font-size: 22px;
  font-weight: bold;
  color: #00ff88;
}

.card-content p {
  font-size: 14px;
  margin-top: 8px;
  color: #d9d9d9;
  line-height: 1.4;
}

/* SELECTED CARD STYLE */
.card.selected {
  transform: scale(1.18);
  border: 2px solid #00ff88;
  box-shadow: 0px 0px 40px rgba(0, 255, 136, 0.9);
  z-index: 50;
}

/* Buttons */
.nav-btn {
  background: rgba(0, 255, 136, 0.8);
  border: none;
  font-size: 35px;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
  position: absolute;
  z-index: 20;
  box-shadow: 0px 0px 15px rgba(0, 255, 136, 0.4);
}

.nav-btn:hover {
  background: rgba(0, 255, 136, 1);
  transform: scale(1.1);
  box-shadow: 0px 0px 25px rgba(0, 255, 136, 0.8);
}

.left {
  left: -15px;
}

.right {
  right: -15px;
}

/* Popup Detail */
.alien-detail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 10, 20, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.5s ease;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.detail-content {
  width: 80%;
  max-width: 1000px;
  display: flex;
  gap: 30px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 136, 0.4);
  box-shadow: 0px 0px 30px rgba(0, 255, 136, 0.4);
  animation: slideUp 0.5s ease;
  transition: 0.6s ease;
}

@keyframes slideUp {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0px); opacity: 1; }
}

.detail-left {
  width: 40%;
}

.detail-left img {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid #00ff88;
  box-shadow: 0px 0px 20px rgba(0, 255, 136, 0.6);
  transition: 0.6s ease;
}

.detail-right {
  width: 60%;
  text-align: left;
}

.detail-right h2 {
  font-size: 40px;
  color: #00ff88;
}

.detail-right p {
  font-size: 18px;
  margin-top: 15px;
  line-height: 1.6;
  color: #e0e0e0;
}

#detailFull {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

#closeDetail {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 30px;
  background: transparent;
  border: none;
  color: #00ff88;
  cursor: pointer;
  transition: 0.3s;
}

#closeDetail:hover {
  transform: scale(1.2);
  color: red;
}

/* Fade slider when popup open */
.fade-out {
  opacity: 0.1;
  pointer-events: none;
  transition: 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  .card {
    min-width: 220px;
  }

  .nav-btn {
    font-size: 28px;
    padding: 12px 16px;
  }

  .detail-content {
    flex-direction: column;
    text-align: center;
  }

  .detail-left,
  .detail-right {
    width: 100%;
  }

  .detail-left img {
    height: 280px;
  }
}
/* START SCREEN */
.start-screen {
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle, #00ff8850, #000 70%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.start-title {
  font-size: 55px;
  font-weight: 900;
  color: #00ff88;
  text-shadow: 0px 0px 25px rgba(0, 255, 136, 0.8);
  margin-bottom: 30px;
}

.omnitrix {
  width: 280px;
  cursor: pointer;
  transition: 0.4s ease;
  filter: drop-shadow(0px 0px 25px rgba(0, 255, 136, 0.8));
}

.omnitrix:hover {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0px 0px 40px rgba(0, 255, 136, 1));
}

.start-text {
  margin-top: 20px;
  font-size: 20px;
  color: #ddd;
  letter-spacing: 1px;
}

/* MAIN INTERFACE */
.main-interface {
  width: 100%;
  min-height: 100vh;
  padding-bottom: 50px;
}

/* SEARCH BAR */
.search-box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.search-box input {
  width: 400px;
  padding: 12px 18px;
  border-radius: 25px;
  border: 2px solid #00ff88;
  outline: none;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  box-shadow: 0px 0px 15px rgba(0, 255, 136, 0.4);
  transition: 0.3s;
}

.search-box input:focus {
  transform: scale(1.05);
  box-shadow: 0px 0px 25px rgba(0, 255, 136, 0.8);
}

.hidden {
  display: none;
}

