.book-sharing-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1rem;
  border-radius: 16px;
  margin: 1rem 0;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.book-sharing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  pointer-events: none;
}

.sharing-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.sharing-title i {
  font-size: 1.3rem;
}

.sharing-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.8rem;
  position: relative;
  z-index: 2;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.7rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.share-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.share-btn:hover::before {
  left: 100%;
}

.share-btn:hover {
  transform: translateY(-3px) scale(1.02);
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.share-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.share-btn i {
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

.ptomoms-icon {
  width: 18px;
  height: 18px;
  border-radius: 3px;
}

/* Platform-specific colors */
.facebook-btn {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
  color: white;
}

.facebook-btn:hover {
  color: white;
  background: linear-gradient(135deg, #166fe5, #3d9ae0);
}

.twitter-btn {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
  color: white;
}

.twitter-btn:hover {
  color: white;
  background: linear-gradient(135deg, #0d8bd9, #0a7bc4);
}

.linkedin-btn {
  background: linear-gradient(135deg, #0077b5, #005885);
  color: white;
}

.linkedin-btn:hover {
  color: white;
  background: linear-gradient(135deg, #005885, #004a73);
}

.reddit-btn {
  background: linear-gradient(135deg, #ff4500, #cc3700);
  color: white;
}

.reddit-btn:hover {
  color: white;
  background: linear-gradient(135deg, #cc3700, #b32f00);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #1ebe57);
  color: white;
}

.whatsapp-btn:hover {
  color: white;
  background: linear-gradient(135deg, #1ebe57, #17a94a);
}

.telegram-btn {
  background: linear-gradient(135deg, #0088cc, #006699);
  color: white;
}

.telegram-btn:hover {
  color: white;
  background: linear-gradient(135deg, #006699, #005580);
}

.pinterest-btn {
  background: linear-gradient(135deg, #bd081c, #9a0618);
  color: white;
}

.pinterest-btn:hover {
  color: white;
  background: linear-gradient(135deg, #9a0618, #810514);
}

.tumblr-btn {
  background: linear-gradient(135deg, #00cf35, #00a82d);
  color: white;
}

.tumblr-btn:hover {
  color: white;
  background: linear-gradient(135deg, #00a82d, #008f26);
}

.email-btn {
  background: linear-gradient(135deg, #34495e, #2c3e50);
  color: white;
}

.email-btn:hover {
  color: white;
  background: linear-gradient(135deg, #2c3e50, #243342);
}

.copy-btn {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
}

.copy-btn:hover {
  color: white;
  background: linear-gradient(135deg, #e67e22, #d35400);
}

.ptomoms-btn {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  color: white;
}

.ptomoms-btn:hover {
  color: white;
  background: linear-gradient(135deg, #5f3dc4, #7950f2);
}

.copy-btn.copied {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .book-sharing-section {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .sharing-buttons {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.6rem;
  }
  
  .share-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.7rem;
  }
  
  .share-btn i {
    font-size: 0.9rem;
  }
  
  .ptomoms-icon {
    width: 16px;
    height: 16px;
  }
  
  .sharing-title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 480px) {
  .sharing-buttons {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .share-btn {
    padding: 0.4rem 0.5rem;
    font-size: 0.65rem;
    flex-direction: column;
    gap: 0.2rem;
    min-height: 50px;
  }
  
  .btn-text {
    font-size: 0.6rem;
    line-height: 1;
  }
  
  .share-btn i {
    font-size: 1rem;
  }
  
  .ptomoms-icon {
    width: 24px;
    height: 24px;
  }
}

/* Success Animation */
.share-success {
  animation: shareSuccess 0.8s ease-out;
}

@keyframes shareSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); background: linear-gradient(135deg, #27ae60, #2ecc71); }
  100% { transform: scale(1); }
}
/* Amazon Disclaimer Styles */
.amazon-disclaimer {
  background: linear-gradient(135deg, #232f3e 0%, #131a22 100%);
  color: white;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.amazon-disclaimer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    rgba(255,153,0,0.1) 0%, 
    rgba(255,153,0,0.05) 50%, 
    rgba(255,153,0,0.1) 100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.disclaimer-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  position: relative;
  z-index: 2;
}

.disclaimer-icon {
  background: rgba(255, 153, 0, 0.2);
  border: 2px solid #ff9900;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.disclaimer-icon i {
  color: #ff9900;
  font-size: 18px;
}

.disclaimer-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  color: #e6e6e6;
}

.disclaimer-title {
  font-weight: 700;
  color: #ff9900;
  margin-right: 8px;
}

.disclaimer-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.disclaimer-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.disclaimer-close i {
  font-size: 14px;
}

/* Main Styles */
.book-container {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 2rem 0;
}

.book-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

.book-cover {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.book-cover:hover {
  transform: scale(1.02);
}

.book-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.book-subtitle {
  font-size: 1.3rem;
  color: #7f8c8d;
  font-weight: 300;
  margin-bottom: 1rem;
}

.book-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #34495e;
  margin-bottom: 1.5rem;
  
}

.description-content {
  transition: max-height 0.3s ease;
  overflow: hidden;
}

.description-short {
  max-height: 120px;
}

.description-full {
  max-height: none;
}

.read-more-btn {
  background: none;
  border: none;
  color: #3498db;
  cursor: pointer;
  font-weight: 500;
  padding: 0;
  text-decoration: underline;
}

.read-more-btn:hover {
  color: #2980b9;
}

/* Book Action Buttons */
.book-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.amazon-buy-button {
  background: linear-gradient(135deg, #ff9f00 0%, #ffb84d 50%, #ff9f00 100%);
  color: #0f1111;
  border: 1px solid #ff9f00;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 159, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.amazon-buy-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.6s;
  opacity: 0;
}

.amazon-buy-button:hover::before {
  opacity: 1;
  left: 100%;
}

.amazon-buy-button:hover {
  background: linear-gradient(135deg, #e68a00 0%, #ff9f00 50%, #e68a00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 159, 0, 0.4);
  color: #0f1111;
  text-decoration: none;
}

.amazon-buy-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 159, 0, 0.3);
}

.free-download-button {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 50%, #27ae60 100%);
  color: white;
  border: 1px solid #27ae60;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.25);
}

.free-download-button:hover {
  background: linear-gradient(135deg, #219a52 0%, #27ae60 50%, #219a52 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
  color: white;
  text-decoration: none;
}

.meta-section {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.meta-item {
  margin-bottom: 1rem;
}

.meta-item:last-child {
  margin-bottom: 0;
}

.meta-label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  display: block;
}

.badge-custom {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  margin: 0.2rem 0.3rem 0.2rem 0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.badge-author {
  background: #3498db;
  color: white;
}

.badge-category {
  background: #9b59b6;
  color: white;
}

.badge-tag {
  background: #f39c12;
  color: white;
}

.badge-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: white;
}

.user-actions {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.shelf-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ecf0f1;
}

.shelf-btn {
  background: #ecf0f1;
  border: 2px solid #bdc3c7;
  color: #2c3e50;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  margin: 0.2rem;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.shelf-btn:hover, .shelf-btn.active {
  background: #3498db;
  border-color: #3498db;
  color: white;
  transform: translateY(-1px);
}

.review-form .form-control, .review-form .form-select {
  border: 2px solid #ecf0f1;
  border-radius: 10px;
  padding: 0.7rem;
  transition: border-color 0.2s ease;
}

.review-form .form-control:focus, .review-form .form-select:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.save-review-btn {
  background: linear-gradient(45deg, #27ae60, #2ecc71);
  border: none;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.save-review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.reviews-section {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.reviews-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.review-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.reviewer-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 1rem;
  border: 2px solid #3498db;
}

.reviewer-name {
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.rating-stars {
  color: #f39c12;
  font-size: 1.2rem;
  margin-left: auto;
}

.review-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.8rem;
}

.review-body {
  color: #555;
  line-height: 1.6;
  white-space: pre-wrap;
}

.inline-review-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.2rem;
  margin: 1rem 0;
}

.star-rating input {
  display: none;
}

.star-rating label {
  cursor: pointer;
  font-size: 1.8rem;
  color: #ddd;
  transition: color 0.2s ease;
  padding: 0.2rem;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #ffd700;
}

.star-rating label:hover {
  transform: scale(1.1);
}

.current-review {
  border-left: 4px solid #3498db;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .book-container {
    padding: 0.5rem 0;
  }
  
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .book-card {
    margin: 0.5rem 0;
  }
  
  .book-card .row {
    padding: 1rem !important;
  }
  
  .book-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  
  .book-subtitle {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .book-description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .meta-section {
    padding: 1rem;
    margin-top: 1rem;
  }
  
  .book-action-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .amazon-buy-button, .free-download-button {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .user-actions {
    margin: 0.5rem 0;
    padding: 1rem;
  }
  
  .shelf-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    margin: 0.2rem;
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .reviews-section {
    margin: 0.5rem 0;
    padding: 1rem;
  }
  
  .star-rating {
    justify-content: center;
  }
  
  .star-rating label {
    font-size: 1.3rem;
  }
  
  .save-review-btn {
    width: 100%;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .book-title {
    font-size: 1.3rem;
  }
  
  .amazon-buy-button, .free-download-button {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  .shelf-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}



