<div id="mani-eb-popup-overlay" class="mani-eb-overlay">
<div class="mani-eb-popup-box">
<span id="mani-eb-close-btn" class="mani-eb-close">×</span>
<!-- लेआउट -->
<div class="mani-eb-content-wrapper">
<!-- Left Side: Book Cover with Fixed 3D Flip Animation -->
<div class="mani-eb-book-cover-container">
<div class="mani-eb-flip-card">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFM0HidE-LVJmERpe8__VMimxk9GpOYUYGRrD3sLr1yD1HnVGqCJ1yQI22cuo5DaLqA-GiVWk3uuggBr7KyUXmshSJ0SjRL6nwgZEvIP9KzYtsojTTV4HatGJBohFwK0LWoeIkajvEH8VW7EQCr2jf8gzWSZyEj1IWwtwEOXWlyHI8LYm4e-BGq5X-U8ib/s1748/CHAPTER%201%20%E2%80%94%20When%20the%20Wind%20First%20Touches%20the%20Heart.jpeg" alt="Book Cover" class="mani-eb-book-img">
</div>
</div>
<!-- Right Side: Details & Active Read Book Button -->
<div class="mani-eb-book-info">
<h2 class="mani-eb-title">Courtroom 302: The Final Verdict</h2>
<div class="mani-eb-meta-item">
<span class="mani-eb-icon">👤</span>
<span>Manish Chaudhary</span>
</div>
<div class="mani-eb-meta-item">
<span class="mani-eb-icon">📅</span>
<span>30 August 2026</span>
</div>
<div class="mani-eb-meta-item">
<span class="mani-eb-icon">📁</span>
<span>Crime Story</span>
</div>
<!-- Active Read Book Button with URL (href) & Animation -->
<div class="mani-eb-btn-container">
<a href="https://example.com/your-book-link" class="mani-eb-read-btn" target="_blank">Read Book</a>
</div>
</div>
</div>
<!-- ड्रॉपडाउन और अन्य स्टाइल्स -->
<style>
.dropdown-container {
position: relative;
display: inline-block;
}
button.mani-eb-button {
cursor: pointer;
border: none;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #ffffff;
min-width: 220px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 10;
border-radius: 5px;
overflow: hidden;
margin-top: 5px;
}
.dropdown-content a {
color: black;
padding: 12px 15px;
text-decoration: none;
display: block;
font-family: sans-serif;
font-size: 14px;
border-bottom: 1px solid #eee;
}
.dropdown-content a:last-child {
border-bottom: none;
}
.dropdown-content a:hover {
background-color: #f1f1f1;
}
.show-dropdown {
display: block;
}
</style>
<script>
function toggleDropdown() {
document.getElementById("booksDropdown").classList.toggle("show-dropdown");
}
window.onclick = function(event) {
if (!event.target.matches('.mani-eb-button')) {
var dropdowns = document.getElementsByClassName("dropdown-content");
for (var i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show-dropdown')) {
openDropdown.classList.remove('show-dropdown');
}
}
}
}
</script>
</div>
</div>
<style>
/* Background Overlay */
.mani-eb-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
display: flex;
justify-content: center;
align-items: center;
z-index: 999999;
font-family: Arial, sans-serif;
padding: 15px;
box-sizing: border-box;
}
/* Main Pop-up Box */
.mani-eb-popup-box {
background-color: #f7f6f0;
border: 2px solid #d32f2f;
width: 100%;
max-width: 880px;
padding: 45px 40px;
position: relative;
box-sizing: border-box;
box-shadow: 0px 15px 40px rgba(0,0,0,0.4);
border-radius: 10px;
}
/* Flex Wrapper */
.mani-eb-content-wrapper {
display: flex;
gap: 35px;
align-items: center;
text-align: left;
}
/* Left Side: Book Cover Container */
.mani-eb-book-cover-container {
flex: 0 0 240px;
height: 340px;
background: #fff;
border: 2px solid #ccc;
border-radius: 8px;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 6px 12px rgba(0,0,0,0.15);
perspective: 1000px; /* 3D depth */
}
/* Flip Card Wrapper for Smooth 3D Rotation */
.mani-eb-flip-card {
width: 100%;
height: 100%;
transform-style: preserve-3d;
animation: maniBookFlip 4s infinite ease-in-out;
}
.mani-eb-book-img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* 360 Degree Flip Animation (Always lands straight) */
@keyframes maniBookFlip {
0% { transform: rotateY(0deg); }
35% { transform: rotateY(360deg); }
100% { transform: rotateY(360deg); }
}
/* Right Side: Book Info */
.mani-eb-book-info {
flex: 1;
display: flex;
flex-direction: column;
gap: 16px;
}
.mani-eb-title {
font-size: 26px;
font-weight: bold;
color: #000000;
margin: 0 0 5px 0;
line-height: 1.4;
}
.mani-eb-meta-item {
display: flex;
align-items: center;
gap: 15px;
font-size: 18px;
color: #000000;
font-weight: 600;
}
.mani-eb-icon {
font-size: 20px;
color: #000000;
width: 28px;
text-align: center;
}
/* Active Read Book Button Styling */
.mani-eb-btn-container {
margin-top: 5px;
}
.mani-eb-read-btn {
display: inline-block;
background: linear-gradient(135deg, #e53935, #c62828);
color: #ffffff !important;
text-decoration: none !important;
padding: 12px 30px;
font-size: 17px;
font-weight: bold;
border-radius: 30px;
cursor: pointer;
opacity: 1;
box-shadow: 0px 5px 15px rgba(229, 57, 53, 0.4);
animation: maniBtnPulse 2s infinite ease-in-out;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mani-eb-read-btn:hover {
transform: scale(1.05);
box-shadow: 0px 8px 20px rgba(229, 57, 53, 0.6);
}
/* Button Pulse Animation */
@keyframes maniBtnPulse {
0% { transform: scale(1); box-shadow: 0px 5px 15px rgba(229,57,53,0.4); }
50% { transform: scale(1.04); box-shadow: 0px 8px 20px rgba(229,57,53,0.6); }
100% { transform: scale(1); box-shadow: 0px 5px 15px rgba(229,57,53,0.4); }
}
/* Close Button */
.mani-eb-close {
position: absolute;
top: 15px;
right: 15px;
background-color: #e53935;
color: #ffffff;
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 22px;
font-weight: bold;
cursor: pointer;
line-height: 1;
box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
z-index: 5;
}
/* Mobile View (अब मोबाइल पर भी फ्लिप एनीमेशन चालू है) */
@media screen and (max-width: 480px) {
.mani-eb-popup-box {
padding: 20px 15px;
width: 98%;
max-width: 100%;
}
.mani-eb-content-wrapper {
gap: 12px;
}
.mani-eb-book-cover-container {
flex: 0 0 110px;
height: 155px;
perspective: 600px; /* मोबाइल के लिए छोटी परस्पेक्टिव डेप्थ */
}
.mani-eb-title {
font-size: 15px;
margin-bottom: 3px;
}
.mani-eb-meta-item {
font-size: 13px;
gap: 8px;
}
.mani-eb-icon {
font-size: 14px;
width: 16px;
}
.mani-eb-read-btn {
padding: 8px 18px;
font-size: 13px;
}
.mani-eb-close {
width: 28px;
height: 28px;
font-size: 18px;
top: 10px;
right: 10px;
}
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function() {
var overlay = document.getElementById("mani-eb-popup-overlay");
var closeBtn = document.getElementById("mani-eb-close-btn");
closeBtn.addEventListener("click", function() {
overlay.style.display = "none";
});
overlay.addEventListener("click", function(event) {
if (event.target === overlay) {
overlay.style.display = "none";
}
});
});
</script>
<script>
document.addEventListener('contextmenu', event => event.preventDefault());
document.onkeydown = function(e) {
if (e.ctrlKey &&
(e.keyCode === 67 ||
e.keyCode === 85 ||
e.keyCode === 83 ||
e.keyCode === 73)) {
return false;
}
};
</script>