/* Gaya bersama untuk halaman beranda & pertemuan di kelas.excode.id */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=JetBrains+Mono:wght@600;700&display=swap');

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

body {
  font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #075985 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: #0f172a;
  padding: 20px 16px 50px 16px;
}

code {
  font-family: 'JetBrains Mono', monospace;
  font-variant-ligatures: none;
}

.page {
  max-width: 900px;
  margin: 0 auto;
}

/* Header */
.header-bar {
  text-align: center;
  color: #ffffff;
  margin-bottom: 22px;
}

.home-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 10px;
}

.home-link:hover {
  background: rgba(255, 255, 255, 0.28);
}

.header-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-title {
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-sub {
  font-size: 16px;
  opacity: 0.92;
  margin-top: 4px;
}

.section-label {
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  margin: 26px 4px 12px 4px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Kartu besar (pilihan kelas & alat) */
.big-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 720px) {
  .big-grid {
    grid-template-columns: 1fr;
  }
  .header-title {
    font-size: 26px;
  }
}

.big-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border-radius: 20px;
  padding: 18px;
  border: 4px solid #bae6fd;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

a.big-card:hover {
  transform: translateY(-4px);
  border-color: #fbbf24;
}

.big-card.soon {
  opacity: 0.6;
  border-style: dashed;
}

.big-icon {
  font-size: 40px;
  line-height: 1.1;
}

.big-name {
  font-size: 20px;
  font-weight: 700;
  color: #0369a1;
}

.big-desc {
  font-size: 14px;
  color: #475569;
}

.soon-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  border-radius: 20px;
  padding: 2px 10px;
  margin-top: 4px;
}

/* Di layar sempit ikon pindah ke samping supaya kartu tidak terlalu tinggi */
@media (max-width: 720px) {
  .big-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 14px 16px;
  }
  .big-icon {
    grid-row: span 3;
    font-size: 36px;
  }
}

/* Daftar pertemuan */
.meet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meet-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 16px;
  border: 3px solid #bae6fd;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.meet-card.newest {
  border-color: #fbbf24;
}

.meet-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meet-card.newest .meet-num {
  background: #fef3c7;
  color: #b45309;
}

.meet-info {
  flex: 1;
  min-width: 0;
}

.meet-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.meet-new {
  font-size: 12px;
  font-weight: 700;
  color: #6d28d9;
  background: #ede9fe;
  border-radius: 20px;
  padding: 1px 9px;
  margin-left: 6px;
  vertical-align: middle;
}

.meet-desc {
  font-size: 14px;
  color: #475569;
}

.meet-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 620px) {
  .meet-card {
    flex-wrap: wrap;
  }
  .meet-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Tombol */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  padding: 8px 14px;
  border: 2px solid #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
  white-space: nowrap;
}

.btn:hover {
  border-color: #0284c7;
}

.btn.primary {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 3px 0 #075985;
}

.btn.primary:hover {
  background: #0369a1;
}

/* Halaman pertemuan */
.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  border: 4px solid #bae6fd;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  margin-bottom: 16px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-family: 'JetBrains Mono', monospace;
  font-variant-ligatures: none;
  font-size: 15px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  border-radius: 10px;
  padding: 4px 10px;
}

.chip.word {
  font-family: inherit;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.action {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
  border: 2.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 3px 0 #cbd5e1;
  transition: transform 0.15s ease;
}

.action:hover {
  transform: translateY(-2px);
  border-color: #0284c7;
  box-shadow: 0 5px 0 #0284c7;
}

.action-icon {
  font-size: 30px;
}

.action-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.action-desc {
  font-size: 13.5px;
  color: #64748b;
}

.step-list {
  padding-left: 22px;
  color: #334155;
  font-size: 15px;
  line-height: 1.6;
}
