
@charset "utf-8";

/* Base Body Styling */
body {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #1f1f1f;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  padding: 0;
  background: linear-gradient(to right, #f5f7fa, #c3cfe2);
  user-select: none;
}

/* Box Container */
.box {
  max-width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin: 16px auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* Content Section */
.cont {
  background-color: #ff7043;
  width: 90%;
  max-width: 400px;
  display: inline-block;
  margin: 15px auto;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* Context Text */
.context {
  padding: 14px 0;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  text-align: center;
}

/* Fixed ID block */
#con {
  white-space: nowrap;
  text-align: center;
}

/* Gradient Image Block */
.img-box {
  background: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
  border-radius: 18px;
  padding: 10px;
  color: #fff;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.1);
}

/* Button Base */
.btn {
  border: none;
  color: white;
  padding: 12px 24px;
  font-size: 15px;
  cursor: pointer;
  margin: 8px;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn:hover {
  transform: scale(1.05);
}

/* Colored Buttons */
.green { background-color: #0a8658; }
.green:hover { background-color: #3fbf85; }

.blue { background-color: #096ebd; }
.blue:hover { background-color: #1a8cf5; }

.orange { background-color: #a96302; }
.orange:hover { background-color: #e28c18; }

.red { background-color: #d3291d; }
.red:hover { background-color: #f34235; }

.darkblue { background-color: #136a8a; }
.darkblue:hover { background-color: #1F80A4; }

/* Social Buttons */
.social-btn {
  border: 1px solid #ccc;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  margin: 4px;
  border-radius: 12px;
  background-color: #ffffff;
  transition: background 0.3s;
}
.social-btn:hover {
  background-color: #f0f0f0;
}

/* Links */
a {
  text-decoration: none;
  color: #d32449;
}
a:hover {
  text-decoration: underline;
}

/* Headings */
h1 { font-size: 28px; margin: 16px 0; }
h2 { font-size: 24px; margin: 14px 0; }
h3 { font-size: 18px; margin: 12px 0; }

.about {
  text-align: left;
}

/* Image & Block Display */
.responsive-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive Grid Blocks */
.responsive-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}
.responsive-blocks .block {
  flex: 1 1 calc(25% - 20px);
  background-color: #ffffff;
  padding: 16px;
  box-sizing: border-box;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* Book Blocks */
.book-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.book {
  margin: 10px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s;
}
.book:hover {
  transform: translateY(-5px);
}
.book img {
  max-width: 100%;
  border-radius: 12px 12px 0 0;
}

.book-h3,
.book2-h3 {
  font-size: 15px;
  margin: 0;
  padding: 8px;
  text-decoration: none;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
/*.book-h3 {
  -webkit-line-clamp: 2;
}
.book2-h3 {
  -webkit-line-clamp: 3;
}*/

/* Download Button */
.download-btn {
  margin-top: 10px;
  background-color: #d3291d;
  color: #fff !important;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  display: block;
  transition: background 0.3s;
}
.download-btn:hover {
  background-color: #f34235;
}

/* App Download Button Group */
.app-download-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  transition: transform 0.3s ease;
}
.app-download-buttons:hover {
  transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .book {
    width: calc(50% - 30px);
  }
  .responsive-blocks .block {
    flex: 1 1 calc(50% - 20px);
  }
  .book-h3 {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .responsive-blocks .block {
    flex: 1 1 100%;
  }
}
