

/* KEEP EVERYTHING SAME — YOUR CSS UNCHANGED */

/* =========================
   🔤 GLOBAL FONT SYSTEM
========================= */
:root {
  --base-font: 16px;
}

html, body {
  font-size: var(--base-font);
  font-family: "Noto Serif Tamil", "Latha", serif;
}

/* Optional: only if you use it somewhere */
.tamil-text {
  font-family: "Noto Sans Tamil", "Latha", sans-serif;
  line-height: 1.8;
}/* HEADER */
.header{
    background:#f5c242;
    padding:10px;
    text-align:center;
    position:relative;
}



.center-block{text-align:center;}
.center-block img{height:80px;}
.sri{font-size:18px;font-weight:bold;}
.site-title{margin-top:5px;font-size:18px;font-weight:600;color:#7a4d00;}

.hamburger{
    position:absolute;
    right:15px;
    top:15px;
    font-size:22px;
    cursor:pointer;
    display:none;
}

/* ================= NAV ================= */

.nav{
    display:flex;
    justify-content:center;
    gap:18px;
    padding:10px 12px;

    background:#f5c242;              /* 🔥 match header */
    border-top:1px solid #e0b030;
    border-bottom:1px solid #e0b030;

    flex-wrap:wrap;
}

/* LINKS */
.nav a{
    text-decoration:none !important;
    color:#5a3a00 !important;

    font-weight:600;
    font-size:14px;

    padding:6px 10px;
    border-radius:6px;

    transition:0.2s ease;
}

/* HOVER */
.nav a:hover{
    background:rgba(0,0,0,0.08);
}


/* ================= MOBILE MENU ================= */

.mobile-menu{
    position:fixed;
    top:0;                  /* 🔥 FULL TOP */
    right:-100%;
    width:75%;
    height:100vh;

    background:#f5c242;

    display:flex;
    flex-direction:column;

    padding-top:20px;       /* 🔥 SMALL ONLY */
    padding-bottom:40px;    /* 🔥 bottom space */

    transition:0.3s ease;

    z-index:3000;           /* 🔥 ABOVE HEADER */
    overflow-y:auto;
}

.mobile-menu.show{
    right:0;
}

/* MOBILE LINKS */
.mobile-menu a{
    padding:16px;
    border-bottom:1px solid rgba(0,0,0,0.1);

    text-decoration:none;
    color:#5a3a00;

    font-weight:600;
    font-size:15px;
}


/* ================= MOBILE ================= */

@media(max-width:768px){

    /* HIDE DESKTOP NAV */
    .nav{
        display:none;
    }

    /* SHOW HAMBURGER */
    .hamburger{
        display:block;
    }

    /* 🔥 DO NOT FORCE DISPLAY HERE */
    /* REMOVE THIS LINE:
       .mobile-menu{ display:flex; }
    */

    /* SMALL HEADER ADJUSTMENTS */
    .site-title{
        font-size:16px;
    }

    .center-block img{
        height:60px;
    }
}

/* ================= LANGUAGE ================= */

.lang-switch{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:8px;
    padding:8px 10px;
    max-width:500px;
    margin:0 auto;
}

.lang-item{
    text-align:center;
    font-size:14px;
}

.lang-item span{
    font-size:9px;
}


/* ================= CONTENT ================= */

.content{
    max-width:800px;
    margin:20px auto;
    padding:0 15px;
    line-height:1.8;
}


/* ================= FOOTER ================= */

.footer{
    background:#f5c242;
    text-align:center;
    padding:15px 10px;
    font-size:13px;
}

.footer-text{
    font-size:13px;
    line-height:1.6;
}

.footer-links{
    margin-top:8px;
}

.footer-links a{
    margin:0 8px;
    font-size:12px;
    color:#000;
    text-decoration:none;
}

.social-icons{
    margin-top:10px;
}

.social-icons a{
    margin:0 10px;
    font-size:18px;
    color:#333;
    transition:0.3s;
}

.social-icons a:hover{
    color:#b8860b;
    transform:scale(1.2);
}


/* ================= TREE ================= */

.tree-list{
  margin-top:20px;
}

.tree-item{
  padding:14px 12px;
  margin:8px 0;
  font-size:17px;
  color:#5a3a00;
  cursor:pointer;

  transparent;   /* 🔥 remove box illusion */
  border-radius:8px;

  transition:all 0.2s ease;
}

.tree-item:hover{
  background:#fde8a3;
  transform:translateX(4px);
}

.tree-item:active{
  background:#f5c242;
  color:#000;
}

.tree-btn{
  background:#f5c242;
  border:none;
  padding:14px 18px;
  border-radius:8px;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
}


/* ================= META ================= */

.meta-text{
  font-size:11px;
  color:#777;
  line-height:1.4;
  margin-top:2px;
}

.meta-inline{
  font-size:11px;
  color:#666;
  margin-top:6px;
}

.meta-center{
  font-size:11px;
  color:#777;
  text-align:center;
  margin-top:12px;
}

/* ============================= */
/* 🔥 THANIYAN STYLES (NEW) */
/* ============================= */

/* Container */
.thaniyan-container {
  max-width: 500px;
  margin: 0 auto 30px auto;
  padding: 0 10px;
}

/* Title (Main Heading) */
.thaniyan-title {
  text-align: center;
  font-weight: 700;
  margin: 20px 0;
  font-size: 18px;
}

/* SUBHEAD → CENTER */
.thaniyan-subhead {
  text-align: center;        /* ✅ changed */
  font-weight: 500;
  margin: 10px 0 6px;
}
/* Group block (controls breathing space) */
.thaniyan-group {
  margin-bottom: 15px;
}

/* LINE → LEFT */
.thaniyan-line {
  text-align: left;          /* ✅ ensure left */
  margin-left: 8px;          /* slight indent for readability */
  line-height: 1.9;
  margin-bottom: 4px;
}

/* Prosody (small, subtle) */
.thaniyan-prosody {
  font-size: 12px;
  color: #666;
  margin-bottom: 2px;
}

.display-block {
  font-size: 11px;
  opacity: 0.7;
  text-align: center;
  margin: 6px 0 2px 0;
}

.display-item {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}
.pasuram-local {
  text-align: right;
  font-size: 11px;
  opacity: 0.7;
}


.pathu-header {
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}

.thirumozhi-header {
  margin-top: 15px;
  font-weight: 600;
  text-align: center;
}


.prabandham-header {
  text-align: center;
  margin-top: 12px;
  margin-bottom: 4px;
}

.line1 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.line2 {
  font-size: 14px;
  line-height: 1.4;
}

.line3-bold {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin: 8px 0;
  line-height: 1.5;
  word-break: break-word;
}

.prabandham-header,
.line1,
.line2,
.line3-bold {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.line {
  margin-bottom: 6px;
  line-height: 1.8;
}

.line {
  margin-bottom: 6px;
  line-height: 1.8;
  padding: 4px 6px;
  border-radius: 4px;
}

/* ================= SECTION HEADER ================= */

.section-header {
  text-align: center;
  font-weight: 600;
  margin: 20px 0 10px;
}

/* ================= GLOBAL NUMBER ================= */

.global-no {
  text-align: left;
  font-weight: 600;
  margin: 5px 0 10px;
}

/* ================= CONTAINERS ================= */

.madal-container,
.kootrirukkai-container {
  text-align: left;
}

/* ================= LINE ================= */

.line {
  text-align: left;
  padding: 4px 6px;
  margin-bottom: 6px;
  line-height: 1.8;
  border-radius: 4px;
}

/* ================= COUPLET ================= */

.couplet {
  margin-bottom: 10px;
}

/* ================= ALIGN NUMBER ================= */

.line-with-no {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 4px 6px;
}

/* ================= COUPLET NUMBER ================= */

.couplet-no {
  font-size: 12px;
  color: #666;
  margin-left: 10px;
}

/* ================= DUAL BLOCK ================= */

.dual-block {
  background: #fff9d6 !important;
  padding: 6px 6px;
  border-radius: 4px;
}

/* ================= LINE DUAL ================= */

.dual-line {
  background: #fffdf0 !important;
}

.recital-float {
  position: fixed;
  top: 80px;
  right: 15px;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f5c242;
  border-radius: 50%;

  font-size: 20px;
  cursor: pointer;

  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 999;
}

.recital-float:hover {
  background: #e0ad30;
}/* ================= OVERLAY ================= */

#overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;

  background:rgba(0,0,0,0.4);

  display:none;
  pointer-events:none;

  z-index:2500;   /* 🔥 FIXED */
}

#overlay.show{
  display:block;
  pointer-events:auto;
}
/* 🔥 FORCE NAV STYLE — FINAL OVERRIDE */
.nav a,
.nav a:visited,
.nav a:active {
  color: #5a3a00 !important;
  text-decoration: none !important;
}

.nav {
  background: #f5c242 !important;
}

body{
  margin:0;
}

/* 🔥 HEADER ALWAYS ON TOP */
.header{
  position:relative;
  z-index:2000;
}

/* 🔥 HAMBURGER ABOVE EVERYTHING */
.hamburger{
  position:absolute;   /* ✅ REQUIRED */
  z-index:2100;
}

/* 🔥 FINAL COLOR STANDARDIZATION (SAFE OVERRIDE) */

.dual-block,
.dual-line,
.tree-item {
  background:#fff8e1 !important;
}

/* 🔥 FORCE CLICK PRIORITY */
.hamburger{
  position:absolute;
  z-index:9999 !important;
}

.mobile-menu a:first-child{
  margin-top:10px;
}

/* 🔥 LANGUAGE SWITCH */
.lang-switch{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:6px;
    padding:10px;
    border-bottom:1px solid #eee;
}

.lang-item{
    text-align:center;
    cursor:pointer;
    padding:4px 6px;
    border-radius:6px;
    min-width:45px;
    font-size:16px;
}

.lang-item span{
    display:block;
    font-size:9px;
    margin-top:2px;
}

.lang-item:hover{
    background:#f5c24233;
}

/* MOBILE */
@media (max-width:600px){
    .lang-item{
        width:22%;
        font-size:18px;
    }
}

/* 🔹 Display items (song_reference, carnatic, etc) */
.display-item {
  font-size: 12px;
  opacity: 0.85;
  margin: 3px 0;
}

/* 🔹 If inside block */
.display-block .display-item {
  font-size: 12px;
  text-align: center;   /* for pasuram-level */
}

/* 🔹 Section-level display */
.section-display .display-item {
  text-align: center;
}

/* 🔹 Prosody line */
.prosody {
  font-size: 12px;
  text-align: center;
  font-style: italic;
  margin: 8px 0;
  opacity: 0.8;
}

.section-close {
  margin-top: 6px;
  font-weight: 600;
  text-align: center;
}

/* ✅ CARNATIC (ALIGN LIKE PROSODY) */
.display-item {
  text-align: center;
  margin: 4px 0;
  font-style: italic;
}

.section-header,
.display-item,
.prosody {
  text-align: center;
  margin: 6px 0;
}

.content-box {
  margin-top: 10px;
  padding: 8px 10px;
}

.content-box .global-no {
  text-align: left;
  font-size: 13px;
  color: #666;
  margin-bottom: 2px; /* VERY IMPORTANT */
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* 🔥 OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* 🔥 MODAL BOX */
.adiyen-modal {
  background: #fff;
  width: 90%;
  max-width: 420px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  font-size: 14px;
}

/* 🔥 HEADER */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 🔥 CLOSE BUTTON */
#closeModal {
  cursor: pointer;
  font-size: 16px;
}

/* 🔥 QUESTION */
.adiyen-question {
  margin: 10px 0;
  font-weight: 500;
}

/* 🔥 OPTIONS */
.adiyen-options label {
  display: block;
  margin: 6px 0;
  cursor: pointer;
}

/* 🔥 RADIO */
.adiyen-options input[type="radio"] {
  margin-right: 8px;
}

/* 🔥 BACK BUTTON */
#backModal {
  cursor: pointer;
  font-size: 13px;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0;
}

.adiyen-options {
  text-align: left;
}

.adiyen-sub {
  font-size: 12px;
  color: #666;
  margin: 5px 0 10px 2px;
}

.adiyen-sub-divider {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin: 10px 0;
}

/* ===============================
   PASURAM ONLY (SAFE SCOPED)
   =============================== */

/* ONLY pasuram blocks */
.pasuram-item {
  margin-bottom: 24px;
}

/* Global number */
.pasuram-item > b {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  font-size: 18px;
}

/* Pasuram lines */
.pasuram-item .pasuram-line {
  text-align: left;
  font-size: 20px;
  line-height: 1.8;
  word-break: keep-all;
}

/* 🔥 ONLY group change spacing */
.pasuram-item .group-gap {
  height: 10px;
}

/* Dual mark */
.pasuram-item .dual-mark {
  color: #2e7d32;
  font-weight: bold;
  margin-bottom: 4px;
}

/* Local number */
.pasuram-item .pasuram-local {
  text-align: right;
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.7;
}

/* ===============================
   FLOATING MIC (SAFE)
   =============================== */

.mic-btn {
  position: fixed;
  bottom: 80px;
  right: 18px;
  width: 54px;
  height: 54px;
  background: #f5c242;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  z-index: 9999;
}

@media (max-width: 768px) {
  .mic-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 70px;
    right: 14px;
  }
}

/* ===============================
   PASURAM ONLY STYLES (SAFE)
   =============================== */

/* 🔥 Only pasuram container */
.pasuram-item {
  background: #ffffff;   /* pure white */
  border-radius: 8px;
}

/* 🔥 Increase gap between group 1 & 2 */
.pasuram-item .group-gap {
  height: 15px;   /* adjust: 16–22 as per taste */
}

/* 🔥 Ensure lines clean */
.pasuram-item .pasuram-line {
  line-height: 1.8;
}

/* 🔥 Dual mark inline styling */
.pasuram-item .dual-mark-inline {
  color: #2e7d32;
  font-weight: bold;
  margin-right: 6px;
}

/* ===============================
   PASURAM FINAL FIX (FORCE OVERRIDE)
   =============================== */

/* 🔥 FORCE WHITE (override old yellow) */
.tree-item.pasuram-item {
  background: #fffaf0 !important;
}

/* 🔥 Slightly smaller font */
.pasuram-item .pasuram-line {
  font-size: 18px;     /* reduce from ~20 */
  line-height: 1.8;
}

/* 🔥 Optional: global number slightly smaller */
.pasuram-item > b {
  font-size: 16px;
}

/* 🔥 Keep good spacing */
.pasuram-item .group-gap {
  height: 18px;
}

.pasuram-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.pasuram-text {
  flex: 1;
}

.pasuram-localno {
  margin-left: 10px;
  white-space: nowrap;
}

.pasuram-item {
  position: relative;
}

.pasuram-local {
  position: absolute;
  right: 12px;
  bottom: 18px;
  font-size: 12px;
  opacity: 0.7;
}

.pasuram-content {
  padding-bottom: 18px; /* prevents overlap */
}


/* =========================
   📖 BOOK CONTAINER
   ========================= */
.book-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 30px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  font-family: serif;
  line-height: 1.6;
}

/* =========================
   📄 BOOK PAGE
   ========================= */
.book-page {
  border: 1px solid #ddd;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
  background: #fff;

  /* 🔥 works for both desktop & mobile */
  min-height: auto;
}

/* =========================
   ✨ SECTION END DECORATION
   ========================= */
.section-end {
  text-align: center;
  margin-top: 35px;
  font-size: 18px;
  letter-spacing: 5px;
  color: #777;
}

/* =========================
   🔢 PAGE NUMBER
   ========================= */
.page-number {
  position: absolute;
  bottom: 12px;
  right: 20px;
  font-size: 12px;
  color: #666;
}

/* =========================
   📱 MOBILE OPTIMIZATION
   ========================= */
@media (max-width: 768px) {

  .book-container {
    margin: 10px;
    padding: 15px;
  }

  .book-page {
    padding: 18px;
    margin-bottom: 20px;
  }

  .section-end {
    font-size: 14px;
    letter-spacing: 3px;
    margin-top: 25px;
  }

  .page-number {
    font-size: 11px;
    right: 15px;
    bottom: 8px;
  }

}

/* =========================
   📖 BOOK PAGE FINAL FRAME
   ========================= */
.book-page {
  position: relative;
  margin-bottom: 30px;
  padding: 28px;

  background: #fff;

  /* 🔥 CLEAN DOUBLE BORDER */
  border: 2px solid #5a4a2f;            /* outer */
  box-shadow: inset 0 0 0 1px #c8b68a;  /* inner */

  border-radius: 4px;
}

.book-page::before,
.book-page::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1.5px solid #5a4a2f;
}

/* top-left */
.book-page::before {
  top: 6px;
  left: 6px;
  border-right: none;
  border-bottom: none;
}

/* bottom-right */
.book-page::after {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
}

@media (max-width: 768px) {

  .book-page {
    padding: 18px;
    margin-bottom: 20px;

    border: 1.5px solid #5a4a2f;
    box-shadow: inset 0 0 0 1px #d8caa3;
  }

  .book-page::before,
  .book-page::after {
    width: 12px;
    height: 12px;
  }

}


.section-highlight {
  background: yellow;
  color: red;
  padding: 4px;
  border-radius: 4px;
}

.debug-highlight {
  border: 3px solid red;
  background: yellow;
}

html, body {
  height: auto;
  margin: 0;
  overflow-y: auto;
}

#app {
  height: auto;
  overflow: visible;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.section-display {
  display: block !important;
}

.tree-item {
  display: block !important;
}

.index-children {
  margin-left: 20px;
}

.hidden {
  display: none;
}

.pathu-block {
  display: none;
}

.pathu-block.active {
  display: block;
}

.index-page {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;

  background: #fffdf5;
  border: 2px solid #d4b26a;
  border-radius: 6px;

  text-align: left;
}

.index-container {
  text-align: left;
  line-height: 1.8;
}

.section-title {
  font-weight: 600;
  margin: 6px 0;
  cursor: pointer;
}

.content-page {
  max-width: 700px;
  margin: 40px auto;
}

.index-border {
  margin: 20px auto;
  padding: 25px;

  max-width: 900px;
  background: #fdf6e3;   /* 📜 book color */

  border: 6px double #5a3e1b;
  border-radius: 10px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.content-border {
  margin: 20px auto;
  padding: 25px;

  max-width: 900px;
  background: #ffffff;

  border: 6px double #5a3e1b;
  border-radius: 10px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);

  font-size: 1em;        /* ✅ ADD THIS */
  line-height: 1.7;      /* optional slight improve */
}

/* 🔥 FORCE ALL CONTENT TO FOLLOW GLOBAL FONT */
.content-border,
.content-border * {
  font-size: inherit !important;
}

/* ensure root scaling flows down */
.content-border {
  font-size: 1em;
}
/* =========================
   📑 INDEX TITLE
========================= */
.index-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-spacer {
  height: 100vh;
}

.thaniyan-border {
  margin: 20px auto;
  padding: 20px;
  max-width: 900px;

  background: #ffffff;
  border: 4px double #b89b5e;
  border-radius: 8px;

  font-size: 0.9em;   /* 🔥 CHANGED (was 14px) */
  color: #555;
  line-height: 1.6;
}


/* subtle emphasis */
.thaniyan-border b,
.thaniyan-border strong {
  font-weight: 600;
}

.section-heading {
  text-align: center;
  font-size: 20px;
  font-weight: 700;

  margin-bottom: 20px;
  padding-bottom: 10px;

  border-bottom: 1px solid #c8b38a;
}
.section-close {
  text-align: center;
  margin: 30px 0 35px 0;
  font-weight: 600;
  font-size: 15px;
  color: #4a3b1f;
  position: relative;
}

/* 🔶 stronger top line */
.section-close::before {
  content: "";
  display: block;
  width: 70%;
  margin: 0 auto 12px auto;
  border-top: 2px solid #b89b5e;  /* golden-brown */
}

/* 🔶 decorative symbol */
.section-close::after {
  content: "❖ ❖ ❖";
  display: block;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 6px;
  color: #b89b5e;
}

.section-final-ending {
  text-align: center;
  margin: 10px 0 30px 0;
  font-size: 12px;
  font-weight: 600;
  color: #6b5a3a;
}


/* =========================
   📘 COVER BASE
========================= */
.cover {
  min-height: 100vh;
  background: #f3c04d;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px 0;
}

/* =========================
   📖 COVER FRAME
========================= */
.cover-frame {
  width: 92%;
  max-width: 480px;

  margin: 0 auto;

  border: 8px double #8b6b1f;

  background: linear-gradient(
    to bottom,
    #fff6cc,
    #f3c04d,
    #d89c1a
  );

  box-shadow: 0 0 20px rgba(0,0,0,0.25);

  padding: 20px 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   🔱 LOGO
========================= */
.cover-logo {
  height: 55px;
  margin-bottom: 10px;
}

/* =========================
   🖼 SLIDESHOW
========================= */
.cover-slideshow {
  width: 100%;
  display: flex;
  justify-content: center;
}

.cover-slide {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   🧍 IMAGE
========================= */
.cover-image {
  width: 100%;
  height: 200px;            /* 🔥 FORCE HEIGHT */

  display: block;           /* 🔥 IMPORTANT */

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 🔽 Child items (index list) */
.index-item,
.index-child,
.index-list li {
  font-size: 14px;     /* 🔥 reduce from default */
  line-height: 1.5;
}




/* =========================
   🏷 CAPTION
========================= */
.cover-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

/* =========================
   📜 FINAL TEXT
========================= */
.cover-text {
  width: 100%;
  margin-top: 40px;
  text-align: center;
}

/* line 1 */
.line1 {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
  padding: 0 12px;
}

/* main title */
.line2 {
  font-size: 26px;
  font-weight: 900;
  margin-top: 12px;
}

/* sub title */
.line3 {
  font-size: 18px;
  margin-top: 8px;
  margin-bottom: 20px;
}

/* =========================
   🔘 BUTTON
========================= */
#enterBtn {
  margin-top: 30px;
  margin-bottom: 20px;

  padding: 10px 18px;

  background: #8b6b1f;
  color: #fff;
  border: none;

  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

/* =========================
   📱 MOBILE OPTIMIZATION
========================= */
@media (max-width: 480px) {

  .cover-frame {
    max-width: 360px;
    padding: 18px 10px;
  }

  .cover-logo {
    height: 50px;
  }

  .cover-image {
    max-height: 180px;
  }

  .line1 {
    font-size: 13px;
  }

  .line2 {
    font-size: 24px;
  }

  .line3 {
    font-size: 17px;
  }

  #enterBtn {
    padding: 9px 16px;
    font-size: 13px;
  }
}

.book-image-card {
  text-align: center;
  margin: 15px 0;
  cursor: pointer;
}

.book-img {
  width: 140px;       /* 🔥 controlled size */
  max-width: 80%;
  display: block;
  margin: 0 auto;
}

.book-label {
  margin-top: 8px;
  font-size: 13px;
  color: #555;
}