* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;          /* Prevent text selection */
  -webkit-user-select: none;  /* Safari */
  -moz-user-select: none;     /* Firefox */
  -ms-user-select: none;      /* IE/Edge */
}

body::before {
  content: "";
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255); /* Adjust opacity here if needed */
  pointer-events: none; /* ✅ So it doesn't block clicks */
  z-index: -1;
}


/* Flipbook Container */
.book {
    position: relative;
    display: flex;
    margin: auto;
    width: 575px;
    height: 350px;
    pointer-events: none;
    transform-style: preserve-3d;
    transition: translate 1s;
    translate: calc(min(var(--c), 1) * 50%) 0%;
    rotate: 1 0 0 10deg;
}

.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../bg-img/bg-pc.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.8;  /* 👈 Adjust to control transparency */

}


/* Front & Back Page */
.front, .back {
    position: relative;
    flex: none;
    width: 100%;
    backface-visibility: hidden;
    overflow: hidden;
    background-color: #fff;
    translate: 0px;
    
}

.back {
    translate: -100% 0;
    rotate: 0 1 0 180deg;
}

/* Flipbook Effects */
.page {
    box-shadow: 0em .5em 1em -.2em #00000020;
}

.front, .back {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    position: relative; /* Needed for overlay effect */
    padding: 10px; /* Adds padding inside the container */
    border-radius: 0 1px 1px 0;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3); /* Light shadow for depth */
    overflow: hidden; /* Ensures nothing overflows */
}

/* Dotted Border as Overlay with Padding */
.front::before, .back::before {
    content: "";
    position: absolute;
    top: 0px;   /* Creates padding effect */
    left:0px;
    right:0px;
    bottom:0px;
    border: 2px dotted #f390b9be; /* Dotted border in golden color */
    border-radius: 0 1px 1px 0;
    pointer-events: none; /* Prevents interference with interactions */
    z-index: 99;
}

/* Ensuring the image fully covers the page */
.front img, .back img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes the image cover the full container */
    display: block; /* Removes unwanted spacing */
    position: absolute; /* Keeps image behind the border */
    top: 0;
    left: 0;
}





.book {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    z-index: 99;
}

.page {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.front, 
.back {
    cursor: pointer;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;

}






/* Page Styling */
.page {
    --thickness: 3;
    flex: none;
    display: flex;
    width: 100%;
    font-size: 2cqmin;
    pointer-events: all;
    user-select: none;
    transform-style: preserve-3d;
    transform-origin: left center;
    transition: transform 1s, rotate 1s ease-in calc((min(var(--i), var(--c)) - max(var(--i), var(--c))) * 50ms);
    translate: calc(var(--i) * -100%) 0px 0px;
    transform: translateZ(calc((var(--c) - var(--i) - 0.5) * calc(var(--thickness) * .23cqmin)));
    rotate: 0 1 0 calc(clamp(0, var(--c) - var(--i), 1) * -180deg);
}







/* Front Cover Styling */
/* Front Cover Styling
.page:first-child .front {
    background: linear-gradient(45deg, #8a2548, #eaeaea);
    color: #fff;
    padding: 25px;
    position: relative;
    overflow: hidden;
}
 */

.page:first-child .front {
    background-image: url("../bg-img/book.jpg");
    background-size: cover;         /* fills the entire area without stretching */
    background-position: center;    /* keeps the focus in the center */
    background-repeat: no-repeat;   /* prevents tiling */
    background-attachment: fixed;   /* makes it stay fixed while scrolling */
    
    padding: 25px;
    position: relative;
    overflow: hidden;

    /* fallback overlay (optional) */
    background-blend-mode: overlay; /* keeps text readable if image is bright */
    background-color: rgba(0, 0, 0, 0);
}


/* Front Cover Styling */
.page:last-child .back {
    background-image: url("../bg-img/book.jpg");
    background-size: cover;         /* fills the entire area without stretching */
    background-position: center;    /* keeps the focus in the center */
    background-repeat: no-repeat;   /* prevents tiling */
    background-attachment: fixed;   /* makes it stay fixed while scrolling */
    
    padding: 25px;
    position: relative;
    overflow: hidden;

    /* fallback overlay (optional) */
    background-blend-mode: overlay; /* keeps text readable if image is bright */
    background-color: rgba(0, 0, 0, 0);
}

/* Book Spine Effect */
.page:first-child .front::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background: linear-gradient(90deg,
        #ed1f67b1 0%,
        #f390b9be 20%,
        #f390b9da 100%);
}

/* Cover Design Elements */
.page:first-child .front::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0) 0%,
            rgba(255,255,255,0) 50%),
        linear-gradient(to right,
            rgba(58, 58, 58, 0.153) 0%,
            rgba(255,255,255,0) 20%);
    pointer-events: none;
}

/* Book Title Container */
.cover-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 0px;
    position: relative;
    z-index: 1;
    gap: 15px;
}


/* Book Title */
.book-title-x {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-top: 25px;
}
/* Book Title Decorative Line */
.book-title-x::after {
    content: '';
    position: absolute;
    bottom: 97px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,215,0,0.5), 
        transparent);
}

/* Book Author */
.book-author {
    font-size: 18px;
    font-family: 'Georgia', serif;
    color: #ecf0f1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Decorative Corner Elements */
.corner {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid rgb(238, 236, 220);
    
}

.corner-tl {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* Gold Frame */
.gold-frame {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    border: 2px solid rgb(238, 236, 220);
    pointer-events: none;
    border-radius: 5px;
}












/* Book Binding/Spring Effect */
.book::after {
    content: '';
    position: absolute;
    left: -7px;  /* Adjust position as needed */
    top: 0;
    height: 100%;
    width: 15px;
    background: repeating-linear-gradient(
        0deg,
        #8B4513 0px,  /* Dark brown */
        #8B4513 8px,
        #DEB887 8px,  /* Light brown */
        #DEB887 16px
    );
    border-radius: 3px 0 0 3px;
    box-shadow: 
        inset -2px 0 5px rgba(0, 0, 0, 0.789),
        2px 0 5px rgba(0,0,0,0.3);
}

/* Vertical Straps */
.book::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    height: 100%;
    width: 15px;
    pointer-events: none;
    background: 
        /* Top strap */
        linear-gradient(
            180deg,
            transparent 0%,
            transparent 20%,
            #dfdc24  20%,
            rgb(205, 176, 10) 25%,
            transparent 25%
        ),
        /* Middle strap */
        linear-gradient(
            180deg,
            transparent 45%,
            transparent 47%,
            #dfdc24  47%,
            rgb(205, 176, 10) 52%,
            transparent 52%
        ),
        /* Bottom strap */
        linear-gradient(
            180deg,
            transparent 75%,
            transparent 77%,
            #dfdc24 77%,
            rgb(205, 176, 10) 82%,
            transparent 82%
        );
    z-index: 2;
}

/* Metal Clips */
.metal-clip {
    position: absolute;
    right: -25px;
    width: 15px;
    height: 30px;
    background: linear-gradient(90deg, #808080, #A8A8A8, #808080);
    border-radius: 2px;
    box-shadow: 
        inset 0 0 3px rgb(0, 0, 0),
        0 0 2px rgba(0,0,0,0.3);
    z-index: 3;
}

.clip-top {
    top: 22%;
}

.clip-middle {
    top: 48%;
}

.clip-bottom {
    top: 78%;
}



/* Vintage texture overlay */
.book::after {
    background-image: 
        linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.454) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0,0,0,0.1) 75%);
    background-size: 4px 4px;
}




.back-bg {
    background: #e4f0f1;
}










/*   for botoom buttons   */

/* Profile Button */




/* Numbering*/













/* Add this to your existing CSS */

/* Common Button Styles */
/* Add this to your existing CSS */

.all-btn {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 1000;
    -webkit-tap-highlight-color: transparent;


}

/* Button Styling */
.all-btn button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #f390b9;
    background: #ffffff34;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;



}

.all-btn button i {
    font-size: 20px;
    color: #f390b9;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;

}

.all-btn button:hover {
    transform: translateY(-3px);
    background: #f390b9;
    box-shadow: 0 5px 15px rgba(207, 27, 90, 0.3);
    -webkit-tap-highlight-color: transparent;

}

.all-btn button:hover i {
    color: white;
    -webkit-tap-highlight-color: transparent;

}

/* Popup Base Styles */
#profile-popup,
#developer-popup,
#share-popup {
    position: fixed;
    background: #f076a157;
    backdrop-filter: blur(15px);
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(50px);
    display: none;
    bottom: -40px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 9;
}

#profile-popup {
    width: auto;
    padding: 15px;

}
#developer-popup {
    width: auto;
    padding: 10px;

}
#share-popup {
    width: auto;
    padding: 10px;
}


/* Show Popup States */
#profile-popup[style*="display: block"],
#developer-popup[style*="display: block"],
#share-popup[style*="display: block"] {
    bottom: 90px;
    opacity: 1;
    transform: translateY(0);
}

/* Content Layout */
.profile-content,
.developer-content,
.share-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Content Layout */
.profile-info a:hover {
    color: #ad0d0d;
}

.profile-name:hover {
    color: #ad0d0d;

}

/* Image Styles */
.developer-img {
    width: 70px;
    height: 70px;
}
.profile-img {
    width: 100px;
    height: auto;
}


/* Divider */
.divider {
    height: 50px;
    width: 2px;
    background: white;
    opacity: 0.7;
    margin: 0 15px;
}

/* Info Sections */
.profile-info,
.developer-info {
    text-align: left;
    color: white;
    flex: 1;
}

.profile-info h2,
.developer-info h2 {
    font-size: 18px;
    margin: 0;
    color: white;
}

/* Underline */
.underline {
    width: 60%;
    height: 2px;
    background: white;
    margin: 5px 0;
}

/* Text Content */
.profile-info p,
.developer-info p {
    font-size: 14px;
    margin: 5px 0;
    opacity: 0.8;
    color: white;
    display: flex;
    align-items: center;
}

.share-info p {
    font-size: 17px;
    margin: 0;
    color: white;
    display: flex;
    align-items: center;
}

.profile-info i,
.developer-info i {
    margin-right: 8px;
    color: white;
}

.share-info i {
    text-align: center;
    margin-right: 8px;
    color: white;
    font-size: 25px;
}


.share-info i:hover {
    color: #ad0d0d;
}








.icon-space {
    gap: 10px;
}

.in-i i {
    color: white; /* Instagram icon is usually white on gradient */
    font-size: 30px;
    background: linear-gradient(45deg, #feda75, #d62976, #962fbf, #4f5bd5); /* Instagram gradient */
    border-radius: 10px;
    padding: 5px;
    display: inline-block;
}

.wa-i i {
    color: white;
    font-size: 30px;
    background: #25D366; /* Official WhatsApp green */
    border-radius: 10px;
    padding: 5px;
    display: inline-block;
}





































  /* Fancy Version */
  .page-counter {
    padding: 10px;
    border-radius: 25px;
    background: #b6daec5c;
    border: 2px solid #f390b9;
    z-index: 1000;
    -webkit-user-select: none; /* Prevents text selection */
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 200px;
    text-align: center;

}


.page-counter span {
    color: #f390b9;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    font-weight: 900;
}

#current-page {
    color: #f390b9;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
}

/* Decorative corners */
.page-counter::before,
.page-counter::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f390b9;
    font-size: 20px;
}

.page-counter::before {
    left: 10px;
}

.page-counter::after {
    right: 10px;
}







/* Remove blue color & underline from all links */
a {
    text-decoration: none;  /* Removes underline */
    color: inherit;  /* Uses the default text color */
}

/* Optional: Change link color on hover (if needed) */
a:hover {
    text-decoration: none;  
    opacity: 0.8; /* Slight fade effect on hover */
}













  #contactForm { 
    display: none;
    position: fixed;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%); 

      width: 90%;
      max-width: 800px;
      padding: 20px;
      background: rgba(255, 255, 255, 0.1); /* Transparent white */
      border-radius: 15px; /* Smooth rounded corners */
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow */
      backdrop-filter: blur(10px); /* Blurred glass effect */
      -webkit-backdrop-filter: blur(10px); /* Safari support */
      border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */
      text-align: center;
      color: white;
  }


  #navMenu {
    top: 150px;
    left: 200px;
    width: 140px;
    height: 140px;
    z-index: 100;
    background: linear-gradient(90deg, #910EC9, #d350db, #910EC9);
    -webkit-background: linear-gradient(90deg, #910EC9, #d350db, #910EC9);
    background-size: 400% 400%;
    -webkit-background-size: 400% 400%;
    animation: gradient 5s infinite;
    -webkit-animation: gradient 5s infinite;
  }





  

.hidden {
    display: none;
}





.modal {
  display: none;
  background: rgba(31, 31, 31, 0.808);
  z-index: 9999;
  width: 100%;
  height: 100vh; /* Add this to make the modal full screen height */
  margin-left: auto;
  margin-right: auto;
  position: fixed; /* Add this to make the modal overlay */
  top: 0;
  left: 0;
}

.img-container {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 999;
  text-align: center; /* Add this to center the image horizontally */
}

.img-container img {
  max-width: 90vw; /* Set max width to 90% of viewport width */
  max-height: 90vh; /* Set max height to 90% of viewport height */
  border-radius: 10px;
  object-fit: contain; /* Change to contain to display full image */
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  border: solid 1px white;
}

.img-container .logo-overlay {
border: none;
}










.logo22 {
    top: 5px;
    left: 170px;
    position: fixed;
    z-index: 99;
    width: 70px;
  }

  .edit-btn button {
    margin-right: 170px;
   }

  /* Button Styling */
.edit-btn button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #f390b9;
    background: #ffffff34;
    -webkit-tap-highlight-color: transparent;
}

.edit-btn button i {
    font-size: 20px;
    color: #f390b9;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.edit-btn button:hover {
    transform: translateY(-3px);
    background: #f390b9;
    box-shadow: 0 5px 15px rgba(207, 27, 90, 0.3);
    -webkit-tap-highlight-color: transparent;
}

.edit-btn button:hover i {
    color: white;
    -webkit-tap-highlight-color: transparent;
}

#edit-btn {
    position: fixed;
    right: 18px;
    top: 20px;
}

/* 💻 Large Screens (Desktops, Laptops) */
@media (min-width: 1025px) {
    /* Styles for large screens */
}

/* 🖥️ Small Laptops / Large Tablets (Landscape) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Styles for small laptops & large tablets */
}

/* 📟 Tablets (Landscape Mode) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    /* Styles for tablets in landscape */
}

/* 📱 Tablets (Portrait Mode) */
@media (min-width: 601px) and (max-width: 768px) {

}


/* 📲 Mobile Devices */
@media (max-width: 600px) {
    .book {
        transform: rotate(90deg);
        transform-origin: center center;
        position: fixed;
        top: 54%;
        left: 53%;
        display: flex;
        margin: auto;
        width: 91vw;
        height: 75vw;
        pointer-events: none;
        transform-style: preserve-3d;
        transition: translate 1s;
        translate: calc(min(var(--c), 1) * 0%) calc(min(var(--c), 1) * 50%);
        transform: translate(-50%, -50%) rotate(90deg) rotateX(30deg);
        rotate: 0 1 0 5deg;
    }

    .bg-layer {
        background-image: url("../bg-img/bg-mob.jpg");
        opacity: 0.8;
    }

    .all-btn {
        left: 30px;
        transform: translate(-50%, -50%) rotate(90deg) rotateX(30deg);
        bottom: 40%;
        gap: 10px;
    }

    /* Button Styling */
    .all-btn button {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid #f390b9;
        background-color: #b6daec5c;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .all-btn button i {
        font-size: 20px;
        color: #f390b9;
        transition: all 0.3s ease;
    }

    #profile-popup {
        width: auto;
        padding: 15px;
        left: 50%;
    
    }
    #developer-popup {
        width: auto;
        padding: 10px;
        left: 50%;
    
    }
    #share-popup {
        width: auto;
        padding: 10px;
        left: 50%;
    }

    #profile-popup[style*="display: block"],
    #developer-popup[style*="display: block"],
    #share-popup[style*="display: block"] {
        transform: translateX(-50%) translateY(0);
    }

    .developer-img {
        width: 60px;
        height: 70px;
    }
    
    .profile-img {
    width: 80px;
    height: auto;
    }


    .loader {
        transform: translate(0%, 0%) rotate(90deg) rotateX(0deg);
    }



    /* Apply when rotated */
    .img-container img {
    transform: rotate(90deg);
    max-width: 90vh;  /* Swapping width & height to fit rotated image */
    max-height: 90vw;
    }
    




    .logo22 {
        transform: translate(0%, 0%) rotate(90deg) rotateX(0deg);
        top: 130px;
        left: auto;
        right: 0px;
        position: fixed;
        z-index: 9;
        width: 60px;
      }

    .edit-btn button {
        margin-right: 0px;
        margin-bottom: 130px;
    }

      #edit-btn {
        position: fixed;
        right: 7px;
        left: auto;
        top: auto;
        bottom: 10px;
    }

      /* Button Styling */
    .edit-btn button {
        width: 40px;
        height: 40px;
    }
        


/* Book Title */
.book-title-x {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-top: 5px;
}
/* Book Title Decorative Line */
.book-title-x::after {
    content: '';
    position: absolute;
    bottom: 67px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,215,0,0.5), 
        transparent);
}

/* Book Author */
.book-author {
    font-size: 1rem;
    font-family: 'Georgia', serif;
    color: #ecf0f1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.book-title-3 {
    font-size: 1.4rem;
    margin-bottom: -10px;
}

}






/*////////// Fonts ///////////*/

  






.ff-1 {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }
  
  .ff-2 {
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }
  



  
.corner-decoration {
    position: fixed;
    width: 160px;         /* adjust if needed */
    height: 160px;
    padding: 10px;
    pointer-events: none; /* ensures it doesn’t block clicks */
    z-index: -1 !important;
}

/* Top-left corner */
.corner-tl-1 {
    top: 0;
    left: 0;
    transform: rotate(360deg);
}

/* Top-right corner */
.corner-tr-2 {
    top: 0;
    right: 0;
    transform: rotate(-270deg);
}

/* Bottom-left corner */
.corner-bl-3 {
    bottom: 0;
    left: 0;
    transform: rotate(-90deg);
}

/* Bottom-right corner */
.corner-br-4 {
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}


  .no-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Optional: add "..." if it overflows */
  }






  .loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.799);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;

  opacity: 1;
  transition: opacity 0.6s ease;
  visibility: visible;
}

.loader-container.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-gif {
  width: 200px;
  height: 200px;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 70px;
}

.loader {
    display: flex;
    flex-direction: column;
    font-size: 3rem;
    color: rgb(0, 0, 0);
    font-weight: bold;
    text-shadow: 2px 3px 0px rgb(255, 255, 255);
}
.letter {
    display: inline-block;
    animation: bounce 1.5s infinite;
    font-family: "Potta One", system-ui;
    font-weight: 400;
    font-style: normal;
    color: rgb(244, 162, 9);
}

.potta-one-regular {
  font-family: "Potta One", system-ui;
  font-weight: 400;
  font-style: normal;
}


.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }
.letter:nth-child(5) { animation-delay: 0.4s; }
.letter:nth-child(6) { animation-delay: 0.5s; }
.letter:nth-child(7) { animation-delay: 0.6s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}




.counter-last {
    background: linear-gradient(to right, #fdf6e3, #fffaf0); /* Soft romantic tone */
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    margin: 30px auto;
    max-width: 700px;
    border: 1px solid rgba(255, 217, 0, 0.488);
}


.counter-last .counter {
    margin-bottom: 15px;
    margin-top: 15px;
    letter-spacing: 2px;
}

.counter-last h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #f390b9;
    line-height: 1.5;
}

.counter-last h1 .name {
    color: #d89216;
    font-weight: bold;
}

    /* CountUp styling */
    .years, .months, .days {
    font-size: 2.4rem;
    color: #b47b00;
    margin-bottom: 15px;
    letter-spacing: 2px;
    }

    .hours, .minutes, .seconds {
    font-size: 1.6rem;
    color: #b47b00;
    margin-bottom: 15px;
    letter-spacing: 0px;
    }


  @media screen and (max-width: 600px) {
    .corner-decoration {
        position: fixed;
        width: 130px;         /* adjust if needed */
        height: 130px;
        padding: 10px;
        z-index: 999;
        pointer-events: none; /* ensures it doesn’t block clicks */
    }

    .counter-last {
    padding: 30px 5px;
    margin: 5px;
    margin-top: 25px;
    }

        /* CountUp styling */
    .years, .months, .days {
    font-size: 1.4rem;
    color: #b47b00;
    font-weight: 900;
    margin-bottom: 15px;
    }

    .hours, .minutes, .seconds {
    font-size: 1.1rem;
    color: #b47b00;
    margin-bottom: 15px;
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    }

    .counter-last h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #f390b9;
    line-height: 1.5;
    }

  }


  .font1 {
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
  }
.font2 {
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }
  .font3 {
    font-family: "Cookie", cursive;
    font-weight: 400;
    font-style: normal;
  }




.golden {
    font-family: 'Niconne', cursive;
    font-size: 1.6rem;
	color: rgba(255, 255, 255, 0);
	-webkit-text-fill-color:transparent;
    	text-shadow:
		0 0 0px #ffffff,
		0 1px 2px #fffc00,
		0 1px 1px #ff983d,
		0 1px 1px #ff983d;
}






.book-title {
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #f78306;
    margin-top: -9px;
    text-shadow: 0 0 0px #ffffff, 0 1px 1px #fffc00, 0 1px 1px #ff983d, 0 1px 1px #ff983d;
}

.book-title-1 {
    font-size: 1.1rem;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #fffb20;
    margin-top: 3px;
    text-shadow: 0 0 0px #ffffff, 0 1px 1px #7b796999, 0 1px 1px #ff983d;
}

.book-title-2 {
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 900;
    color: #454040;
    text-shadow: 0 0 0px #ffffff, 0 1px 1px #bebc806f, 0 1px 1px #ff983d;
}


.font-a {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.font-a-b {
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.font-a-i {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.font-a-b-i {
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-style: italic;
}

.font-b {
  font-family: "Alan Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-c {
  font-family: "Libertinus Serif Display", system-ui;
  font-weight: 400;
  font-style: normal;
}

.font-d {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.font-e {
  font-family: "Aoboshi One", serif;
  font-weight: 400;
  font-style: normal;
}
