body {
  font-family: 'Almarai', sans-serif;
  background: #f8f9fa;
  text-align: center;
  padding: 16px;
}
h2 { margin-bottom: 18px; }
.section-title {
  display:inline-block;
  background:#e9f7ef;
  color:#0f5132;
  border:1px solid #badbcc;
  border-radius:10px;
  padding:6px 14px;
  margin:22px 0 10px;
  font-weight:700;
}
.class-card {
  width: 150px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  display: inline-block;
  margin: 10px;
  vertical-align: top;
  text-align: right;
}
.class-card:hover { transform: scale(1.03); cursor: pointer; }
.class-card img { width: 150px; height: 200px; object-fit: cover; display: block; margin: 0 auto; }
.card-body { padding: 8px; font-size: 12px; line-height: 1.55; }
.card-body > div:not(.countdown) { margin: 4px 0; }
.countdown {
  font-size: 11px;
  font-weight: bold;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  border-radius: 6px;
  padding: 2px 6px;
  margin-top: 6px;
  display: inline-block;
}
.countdown.live-now { background: #d1e7dd; color: #0f5132; border-color: #badbcc; }
.countdown.postponed { background: #e2e3e5; color: #41464b; border-color: #d3d6d8; }
.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.card-link { display: inline-block; color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; color: inherit; }
.cards-wrap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.disabled-card { opacity: .6; cursor: not-allowed; }
.disabled-card .class-card:hover { transform: none; }
.badge-free {
  position:absolute;top:8px;right:8px;
  background:#dc3545;color:#fff;
  font-size:11px;font-weight:bold;
  padding:4px 8px;border-radius:8px;
  box-shadow:0 1px 3px rgba(0,0,0,0.3);
  letter-spacing:.3px
}
