/*
Theme Name: Astra Child
Theme URI: https://example.com/
Description: My Custom Astra Child Theme
Author: Priyanshu Patel
Author URI: https://example.com/
Template: astra
Version: 1.0.0
*/

.novel-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .novel-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
  }
  
  .novel-cover img {
    width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .novel-details {
    flex: 1;
  }
  
  .novel-details h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .novel-description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
  }
  
  .novel-meta {
    font-size: 14px;
    color: #666;
  }
  
  .novel-chapters {
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 10px;
  }
  
  .novel-chapters h2 {
    margin-bottom: 10px;
    font-size: 22px;
  }
  
  .novel-chapters ul {
    list-style: none;
    padding: 0;
  }
  
  .novel-chapters ul li {
    margin-bottom: 8px;
  }
  
  .novel-chapters ul li a {
    text-decoration: none;
    font-size: 18px;
    color: #0073aa;
  }
  
  .novel-chapters ul li a:hover {
    text-decoration: underline;
  }
  
  .chapter-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
  }
  
  .chapter-content h1 {
    font-size: 30px;
    margin-bottom: 15px;
  }
  
  .chapter-text {
    font-size: 18px;
    line-height: 1.8;
  }
  
  .novel-flex-wrapper {
    display: flex;
  }
  
  .novel-left {
    margin: 1rem;
    width: 30%;
    position: relative;
  }
  
  .novel-right {
    margin: 1rem;
    width: 45%;
  }
  
  .novel-cover-image {
    width: 100%;
    height: 100%;
    border-radius: 5%;
  }
  .novel-chapters {
    margin: 1rem;
    background-color: #1e1e1e;
  }
  
  .novel-category-badge {
    display: inline-block;
    position: relative;
    top: -100%;
    left: 35%;
    background: green;
    color: black;
    border-radius: 10%;
    padding: 1%;
  }
  
  @media (max-width: 768px) {
    .novel-flex-wrapper {
      flex-direction: column;
    }
  
    .novel-left,
    .novel-right {
      width: 100%;
      margin: 0.5rem 0;
    }
  
    .novel-category-badge {
      display: inline-block;
      position: absolute;
      top: 0%;
      left: 35%;
      background: green;
      color: black;
      border-radius: 10%;
      padding: 1% 2%;
    }
  }
  
  #theme-toggle{
    position: absolute;
    top: 3%;
    right: 1%;
    z-index: 9999;
    background: none; 
    border: none; 
    font-size: 20px;
  }
  @media (max-width: 921px) {
    #theme-toggle{
      position: absolute;
      top: 75px;
      right: 0%;
      z-index: 9999;
      background: none; 
      border: none; 
      font-size: 20px;
    }
  }
  
  /* --- Recently Updated CTA --- */
 .ru-cta-wrap{
   display:flex;
   justify-content:center;
   margin: 18px 0 26px;
 }
 
 .attention-cta{
   position:relative;
   display:inline-block;
   padding: 12px 20px;
   border-radius: 12px;
   font-weight: 800;
   font-size: 1.05rem;
   letter-spacing:.2px;
   color:#fff;
   background:#059669;               /* emerald-600 */
   text-decoration:none;
   box-shadow:
     0 8px 24px rgba(5,150,105,.35),
     0 0 0 0 rgba(5,150,105,.6);
   animation:
     ru-bounce 1.1s ease-in-out infinite,
     ru-pulse 2.4s ease-out infinite;
   transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
 }
 
 .attention-cta:hover{
   background:#047857;               /* emerald-700 */
   transform: translateY(-2px);
   box-shadow:
     0 10px 28px rgba(5,150,105,.45),
     0 0 0 6px rgba(5,150,105,.25);
 }
 
 @keyframes ru-bounce{
   0%,100%{ transform: translateY(0); }
   50%    { transform: translateY(-6px); }
 }
 
 @keyframes ru-pulse{
   0%  { box-shadow: 0 0 0 0 rgba(5,150,105,.55), 0 8px 24px rgba(5,150,105,.35); }
   70% { box-shadow: 0 0 0 14px rgba(5,150,105,0),  0 8px 24px rgba(5,150,105,.35); }
   100%{ box-shadow: 0 0 0 0 rgba(5,150,105,0),     0 8px 24px rgba(5,150,105,.35); }
 }
 
 /* Respect reduced motion */
 @media (prefers-reduced-motion: reduce){
   .attention-cta{ animation:none; }
 }

  