body {
  background-color: #111111;
  color: #fff;
  font-family: 'Georgia', serif;
  margin: 0;
  padding: 0;
}

.banner-big img,
.banner img  {
   width: 100%;
  object-fit: cover;
  display: block;
}

.banner img {
  display: none;
}


.banner-big img {
  display: block;
}

.book-layout {
  display: flex;
  align-items: flex-start;
  gap: 30px; 
  flex-wrap: wrap;
  }

.book Cover {
  width: 100px;
  height: auto;
  border: 2px solid #b30000;
  border-radius: 6px;
  box-shadow: 0 0 6px #000;
  flex-shrink: 0;      
}

.book-cover {
  display: block;
}

.small-cover {
  display: none;
}
@media (max-width: 768px) {
.small-cover {
  width: 100%;
  max-width: 120px; /* You can adjust: 120–160px works well */
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  display: block;
    margin-left: 1px;

}
}


.book-text {
  flex: 1;
  min-width: 200px;
   color: #f0f0f0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px;
  box-sizing: border-box;
}

h1 {
  font-size: 2.5em;
  color: #1f3d7a; 
  margin-top: 0;
}

.book-text p:first-of-type {
  color:#1f3d7a;
  font-weight: bold;
  font-size: 20px;
}

.btn {
  display: inline-block;
  margin: 10px 0;
  padding: 14px 30px; 
  background-color: #b30000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.1em;  
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); 
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: scale(1.05); /* optional hover effect */
}




.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.genre-tags span {
  background-color: #3b4c73; 
  color: #e0e7ff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}


ul.chapters {
  list-style: none;
  padding: 0;
}

ul.chapters li {
  margin: 10px 0;
  font-size: 18px;
}

ul.chapters li a {
  color: #4da6ff;
  text-decoration: none;
}

.note {
  font-size: 14px;
  color: #e0e7ff;
  margin-top: 20px;
}

.big-text {
  font-size: 22px;
  line-height: 1.4;
  color: #e0e7ff; 
  
}

.section-title {
  color: #1f3d7a; 
  font-size: 28px;
  margin-top: 30px;
}

.chapter-list a {
  font-size: 20px;
  color: #e0e7ff; 
  text-decoration: none;
  font-weight: 600;
  margin-left: 200px;
  margin-top: 0px;
}

.chapter-list a:hover {
  color: #d4af37;
}

.arrow-label {
  font-size: 18px;
  color: #e0e7ff;
  font-weight: bold;
    margin-left: 10px;
  white-space: nowrap;
}

.chapter-list p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
}

.free-label {
  font-size: 14px;
  color: #aaaaaa; /* Faint gray */
  font-style: italic;
  margin-left: 10px;
}

.reader-note1 {
  margin-top: 30px;
  font-size: 20px;
  line-height: 1.6;
  color: #e0e7ff;
  font-style: italic;
}

.reader-note1 {
  display: block;
}

.reader-note {
  display: none;
}


.user-buttons {
  position: absolute;
  top: 60px;
  left: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  z-index: 999;
  font-size: 50px;
}

.user-btn {
  background-color: #1f3d7a;
  color: #f0f0f0; 
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.user-btn:hover {
  background-color: #294d99; 
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.big-text.chapter1 {
 font-size: 22px;
  line-height: 1.4;
  color: #e0e7ff; 
}

.modal-content {
  background-color: #101427;
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  color: white;
}

.modal-content input {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  border: none;
}

.modal-content button {
  background-color: #c026d3;
  color:  white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.social-links a {
  font-size: 20px;
  font-weight: bold;
}


.social-links a:hover {
  color: #FFD700;
}

a {
  color: #f0f0f0; 
  text-decoration: none;
  margin: 5px 0;
}

a:hover {
  color: #FFD700; 
}

a:visited {
  color: #f0f0f0; 
}


body.light-mode {
    background-color: #ffffff;
    color: #111111;
}

body.light-mode p,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3 {
    color: #111111;
}


body.light-mode .big-text {
    color: #111111;

 }

body.light-mode .social-links  {
    color: #111111;
  font-weight: bold;
}

.footer-text {
  color: #f0f0f0;
}

.footer-link {
  color: #FFD700;
}

/* Light mode */
body.light-mode .footer-text {
  color: #111111;
}

body.light-mode .footer-link {
  color: #1f3d7a;
}

.social-link {
  color: #f0f0f0;
  font-weight: bold;
}

body.light-mode .social-link {
  color: #111111;
}

body.light-mode .chapter-list a {
  color: #111111;
}

body.light-mode ..chapter-list a:hover {
  color: #d4af37;
}


.nav-menu {
  color: #f0f0f0;
  font-weight: bold;
  font-size: 18px
}

.about-page p {
      font-size: 20px;
      
  }

  .about-page h1 {
      font-size: 25px;
    
  }

  .contact-page p {
      font-size: 20px;
      
  }

  .contact-page h1 {
      font-size: 25px;
    
  }


  .Privacy-page p {
      font-size: 20px;
      
  }

  .Privacy-page h1 {
      font-size: 25px;
    
  }


  .terms-page p {
      font-size: 20px;
      
  }

  .terms-page h1 {
      font-size: 25px;
    
  }

.site-links  {
      font-size: 21px;
  }


.paid-label {
  color: #cc3333; /* soft red */
  font-size: 14px;
  margin-left: 8px;
  font-weight: normal;
}


.profile-info  { 
   font-size: 25px;
  }


.chapter-section  {
  font-size: 27px;
 }

@media (max-width: 768px) {
   .container {
    padding: 20px 15px;
  }

 }
@media (max-width: 768px) {
.banner img {
   width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

   .banner-big img {
    display: none;
  }
  
   }
@media (max-width: 768px) {
  .big-text {
    font-size: 14px;
     line-height: 1.3;
     font-style: normal;
      margin-left: 1px;
    margin-right: 1px;
}
   }

@media (max-width: 768px) {
.book-layout {
  flex-direction: row;       /* 👈 Keep in row layout */
    align-items: flex-start;   /* 👈 Align to top */
    text-align: left;          /* 👈 Left-align text */
    margin: 0 5px;
    gap: 2px;
   margin-left: 2px;
  }
 }




@media (max-width: 768px) {
     .chapter-list a {
    margin-left: 3px;
    display: block;
    font-size: 16px;
    
  }
 }

@media (max-width: 768px) {
.book-text {
  flex: 1;
  text-align: right;
    min-width: 0; /* 👈 This lets it shrink if needed */
    word-break: keep-all;
    white-space: normal;
   margin-top: 5px;
  }
}
 
@media (max-width: 768px) {
  .book-text h1 {
    font-size: 23px;
     white-space: nowrap;
     overflow: hidden;          /* Optional */
    text-overflow: ellipsis;
    margin-top: 5px;
  }
  }
@media (max-width: 768px) {
 .book-text p:first-of-type {
    font-size: 15px;
  margin-righr: 10px;
  }
  }

@media (max-width: 768px) {
   .btn {
    font-size: 17px;
    padding: 10px 20px;
  }
    }




@media (max-width: 768px) {
 .genre-tags span {
  background-color: #3b4c73; 
  color: #e0e7ff;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 500;
}
}

@media (max-width: 768px) {

.social-links a {
  font-size: 13px;
  font-weight: bold;
  margin-left: 7px;
}

.social-links a:hover {
  color: #FFD700;
}
  }
@media (max-width: 768px) {
.section-title {
   font-size: 23px;
  margin-left: 7px;
 } 
}
@media (max-width: 768px) {
  .about-page p {
      font-size: 13px;
      
  }

  .about-page h1 {
      font-size: 16px;
    
  }
}
@media (max-width: 768px) {
  .contact-page p {
      font-size: 13px;
      
  }

  .contact-page h1 {
      font-size: 16px;
    
  }
}
@media (max-width: 768px) {
  .Privacy-page p {
      font-size: 13px;
      
  }

  .Privacy-page h1 {
      font-size: 16px;
    
  }
}

@media (max-width: 768px) {
  .terms-page p {
      font-size: 13px;
      
  }

  .terms-page h1 {
      font-size: 16px;
    
  }
}
@media (max-width: 768px) {
.site-links  {
      font-size: 15px;
  }
}

@media (max-width: 768px) {
.banner img {
   width: 100%;
  height: 130px;
  object-fit: cover;
}
}

@media (max-width: 768px) {
  .book-cover {
    display: none;
  }

  .small-cover {
    display: block;
    width: 180px;
    height: auto;
    margin-left: 3;
    border: none;
    box-shadow: none;
  }
}


@media (max-width: 768px) {
.user-buttons {
  position: absolute;
  top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  z-index: 999;
  font-size: 18px;
   left: 20px;
}
}
@media (max-width: 768px) {
.reader-note {
  font-size: 13px;
  line-height: 1.4;
  font-style: normal;
   margin-left: 2px;
   padding: 0;
  text-align: left; 
    margin-top: 8px;
 } 
  .note {
    font-size: 13px;
  line-height: 1.4;
  text-align: left;
  margin-top: 8px;
      margin-left: 2px;

}

.reader-note1 {
    display: none;
  }

.reader-note {
  display: block;
}
  
}
@media (max-width: 768px) {
.big-text.chapter1 {
 font-size: 16px;
     line-height: 1.4;
     font-style: normal;
      margin-left: 1px;
    margin-right: 1px;
}
  }
@media (max-width: 768px) {
  .chapter-list p {
    padding: 4px 10px; /* Reduce vertical space */
    margin: 0;          /* Remove any outside space */
  }
 }

@media (max-width: 768px) {
.footer-text {
   font-size: 12px;
}

.footer-link {
  font-size: 12px;
}

}

@media (max-width: 768px) {
.big-text.chapter2 {
 font-size: 16px;
     line-height: 1.4;
     font-style: normal;
      margin-left: 1px;
    margin-right: 1px;
}
  }


@media (max-width: 768px) {
.big-text.chapter3 {
 font-size: 16px;
     line-height: 1.4;
     font-style: normal;
      margin-left: 1px;
    margin-right: 1px;
}
  }



