/* RESET BAWAAN */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #60a5fa; /* Biru terang */
  --secondary-color: #a78bfa; /* Ungu pastel */
  --accent-color: #b2bde5; /* Pink terang */
  --background-color: #111827; /* Hitam kebiruan */
  --card-bg-color: #1f2937; /* Abu kebiruan gelap */
  --text-color: #f3f4f6; /* Putih bersih */
  --secondary-text-color: #5f6483; /* Abu soft */
  --modal-bg-color: #1f2937; /* Abu kebiruan gelap */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --border-radius: 10px;
  --shadow: 0 0 15px rgba(96, 165, 250, 0.3); /* Menggunakan aksen biru */
}

/* BODY UMUM */
body {
  font-family: var(--font-primary);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* HEADER */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(209, 213, 219, 0.85)); /* Putih ke abu dengan transparansi */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(176, 179, 184, 0.85); /* Border transparan */
  border-radius: 0 0 15px 15px;
}

h1 {
  font-size: 1.7rem;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); /* Biru keunguan soft */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
  margin-left: 1rem;
  font-family: var(--font-secondary);
}

/* IKON HEADER */
.header-icons {
  display: flex;
  gap: 40px;
  margin-right: 1rem;
}

.header-icons a {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: 0.3s;
}

.header-icons a:hover {
  color: var(--primary-color);
}

/* SUBHEADER */
.subheader {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-secondary);
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-top: 0.5rem;
}

.subdesc {
  color: var(--secondary-text-color);
  font-size: 0.9rem;
  margin: 0.5rem 1rem 2rem;
  text-align: center;
  font-family: var(--font-primary);
}

/* CIRCLE FLOAT IMAGE */
.circle-float-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  margin-top: 3rem;
}

.circle-float {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  animation: float 4s ease-in-out infinite;
  box-shadow: var(--shadow);
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* PRODUCT LIST */
.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
  gap: 1.5rem;
}

.product-card {
  background-color: var(--card-bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  width: 400px;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.product-card h3 {
  font-size: 1.4rem;
  margin: 0.75rem 1rem 0;
  font-family: var(--font-secondary);
}

.product-card p {
  font-size: 0.95rem;
  color: #aaa;
  margin: 0.5rem 1rem 1rem;
}

.product-card button {
  margin: 0 1rem 1rem;
  padding: 0.6rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: calc(100% - 2rem);
}

.product-card button:hover {
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--modal-bg-color);
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  position: relative;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header img {
  width: 100%;
  border-radius: 15px 15px 0 0;
}

.modal-body {
  padding: 20px;
  font-family: var(--font-primary);
}

.closeBtn {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 30px;
  color: var(--text-color);
  cursor: pointer;
}

.badge {
  display: inline-block;
  background-color: var(--accent-color);
  padding: 5px 10px;
  border-radius: 20px;
  margin: 5px 0 15px;
  font-family: var(--font-primary);
}

.price {
  color: var(--accent-color);
  font-size: 16px;
}

hr {
  border: 1px solid #333;
  margin: 20px 0;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
}

.btn-back, .btn-order {
  font-family: var(--font-primary);
  font-weight: 600;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.btn-back {
  background-color: #dfe4f3; /* Abu kebiruan terang */
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  transition: 0.3s;
}

.btn-back:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-order {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  color: white;
}

/* BOT INFO */
.bot-info-section {
  background-color: #111827; /* Abu kebiruan terang */
  padding: 4rem 1.5rem;
}

.bot-info-text {
  text-align: center;
  margin-bottom: 2rem;
}

.bot-info-text h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
}

.bot-info-text p {
  font-size: 1rem;
  color: var(--secondary-text-color);
  font-family: var(--font-primary);
}

.bot-info-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  text-align: center;
}

.bot-info-item {
  background-color: var(--card-bg-color);
  padding: 1.5rem;
  border-radius: 12px;
}

.bot-info-item h3 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
}

.bot-info-item p {
  color: var(--secondary-text-color);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
}

/* STATUS ICON */
.on {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
  0% { opacity: 1; box-shadow: 0 0 10px #22c55e; }
  50% { opacity: 0.4; box-shadow: 0 0 4px #22c55e; }
  100% { opacity: 1; box-shadow: 0 0 10px #22c55e; }
}

.off {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulse-off 1s infinite ease-in-out;
}

@keyframes pulse-off {
  0% { opacity: 1; box-shadow: 0 0 10px #ef4444; }
  50% { opacity: 0.4; box-shadow: 0 0 4px #ef4444; }
  100% { opacity: 1; box-shadow: 0 0 10px #ef4444; }
}

.icon-fire {
  color: #f97316;
  margin-left: 8px;
  animation: blink 1s infinite alternate;
}

.icon-snow {
  color: #60a5fa;
  margin-left: 8px;
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

/* FOOTER */
.footer {
  background-color: #111827;
  padding: 1.5rem;
  text-align: center;
  color: var(--secondary-text-color);
  font-size: 0.9rem;
  margin-top: 3rem;
  font-family: var(--font-primary);
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

#modalDesc {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 10px;
}

#modalDesc::-webkit-scrollbar {
  width: 6px;
}

#modalDesc::-webkit-scrollbar-track {
  background: #e1e5f2; 
}

#modalDesc::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

#modalDesc::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}