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

body {
  font-family: Arial, sans-serif;
  line-height: 1.7;
  color: #222;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}


/* HERO */
.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  min-height: 75vh;
  position: relative;
}

.overlay {
  background: rgba(0, 0, 0, 0.55);
  min-height: 75vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px 20px;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 750px;
}

.hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}


/* BUTTON */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  transition: 0.3s;
}

.btn.utama {
  background: #00BDA8;
  color: white;

  padding: 16px 34px;

  font-size: 20px;
  font-weight: bold;
}

.btn.utama:hover {
  background: #00a391;
}


/* CEK POIN */
.cek-poin-box {
  margin-top: 24px;

  background: rgba(255, 255, 255, 0.95);

  padding: 10px;

  border-radius: 18px;

  display: flex;
  gap: 10px;

  align-items: center;
  justify-content: center;

  max-width: 520px;

  margin-left: auto;
  margin-right: auto;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cek-poin-box input {
  flex: 1;

  border: none;
  outline: none;

  font-size: 18px;

  padding: 16px;

  border-radius: 12px;

  background: #f4f4f4;
}

.cek-poin-box button {
  border: none;

  background: #00BDA8;
  color: white;

  padding: 16px 24px;

  border-radius: 12px;

  font-size: 18px;
  font-weight: bold;

  cursor: pointer;
}


/* HASIL */
.hasil-card {
  background: rgba(255, 255, 255, 0.95);

  margin-top: 25px;

  padding: 25px;

  border-radius: 18px;

  color: black;

  max-width: 420px;

  margin-left: auto;
  margin-right: auto;
}

.hasil-card h3 {
  font-size: 1.5rem;
}

.hasil-card h2 {
  font-size: 2.2rem;
  color: #00BDA8;

  margin-top: 10px;
}

.btn-riwayat {
  margin-top: 18px;

  border: none;

  background: #00BDA8;
  color: white;

  padding: 14px 22px;

  border-radius: 12px;

  font-size: 16px;
  font-weight: bold;

  cursor: pointer;
}


/* SECTION */
.section {
  padding: 70px 20px;
}

.gray {
  background: #f6f6f6;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
}


/* STATISTIK */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

  gap: 20px;

  max-width: 1100px;

  margin: auto;
}

.stat-card {
  background: white;

  padding: 30px;

  border-radius: 18px;

  text-align: center;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stat-card h3 {
  color: #666;
  margin-bottom: 10px;
}

.stat-card h2 {
  font-size: 2.2rem;
  color: #00BDA8;
}


/* LIVE ACTIVITY */
.live-activity {
  background: white;

  max-width: 900px;

  margin: 40px auto 0;

  padding: 30px;

  border-radius: 18px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.live-activity h3 {
  margin-bottom: 20px;
}

.activity-text {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}


/* ABOUT */
.about-container {
  display: flex;
  align-items: center;
  gap: 40px;

  max-width: 1100px;
  margin: auto;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 18px;
}

.about-text {
  flex: 1;

  font-size: 1.1rem;
}

.about-text p {
  margin-bottom: 20px;
}


/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 24px;

  max-width: 1100px;

  margin: auto;
}

.card {
  background: white;

  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.card img {
  height: 220px;
  width: 100%;

  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 10px;
}


/* GALLERY */
.gallery {
  display: flex;
  gap: 16px;

  overflow-x: auto;

  padding-bottom: 10px;
}

.gallery img {
  width: 280px;
  height: 200px;

  object-fit: cover;

  border-radius: 18px;

  flex-shrink: 0;
}

.gallery::-webkit-scrollbar {
  display: none;
}


/* RIWAYAT */
.riwayat-box {
  background: white;

  max-width: 900px;

  margin: auto;

  padding: 30px;

  border-radius: 18px;

  overflow-x: auto;
}

.riwayat-table {
  width: 100%;
  border-collapse: collapse;
}

.riwayat-table th {
  background: #00BDA8;
  color: white;

  padding: 14px;
}

.riwayat-table td {
  border-bottom: 1px solid #eee;

  padding: 14px;

  text-align: center;
}


/* JOIN */
.join {
  background: #00BDA8;
  color: white;

  text-align: center;

  padding: 90px 20px;
}

.join h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.join p {
  margin-bottom: 30px;

  font-size: 1.1rem;
}


/* FOOTER */
footer {
  background: #222;
  color: white;

  text-align: center;

  padding: 25px;
}


/* RESPONSIVE */
@media(max-width: 768px) {

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cek-poin-box {
    flex-direction: column;
  }

  .cek-poin-box input,
  .cek-poin-box button {
    width: 100%;
  }

  .about-container {
    flex-direction: column;
  }

  .section {
    padding: 55px 18px;
  }

}