/* General styles */
body {
  background-color: #000;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Logo */
header img {
  max-width: 320px;
  margin: 20px auto;
  display: block;
}

/* Section headings */
h2 {
  margin: 30px 0 20px;
  font-size: 2rem;
  font-weight: 700;
  color: #f2f2f2;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Videos */
iframe {
  width: 90%;
  max-width: 720px;
  height: 400px;
  margin: 15px auto;
  border: none;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.5);
}

/* Chapter grid */
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 0 20px;
  margin-top: 20px;
}

.chapter-card {
  background: #111;
  border: 2px solid #1da1f2;
  border-radius: 12px;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 0 15px rgba(29, 161, 242, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chapter-card em {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: normal;
  color: #aaa;
}

.chapter-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(29, 161, 242, 0.6);
}

/* Comments section */
.comments {
  margin: 50px auto;
  padding: 20px;
  max-width: 720px;
}

.comments iframe {
  width: 100%;
  height: 600px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.5);
}

/* Footer */
footer {
  background: #111;
  padding: 20px;
  margin-top: 50px;
  font-size: 0.95rem;
  color: #ccc;
}

footer a {
  color: #1da1f2;
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
.chapter-pages img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  }
