*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

/* Custom Scrollbar for a Premium Look */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(201, 168, 76, 0.3); border-radius: 10px; border: 2px solid var(--ink); transition: background 0.3s; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Firefox support */
* { scrollbar-width: thin; scrollbar-color: rgba(201, 168, 76, 0.3) var(--ink); }

:root {
  --ink:#0e0c09; --parchment:#f5f0e8; --gold:#c9a84c; --gold-light:#e8c97a;
  --text-muted:#8a7f6e; --border:rgba(201,168,76,0.25); --section-bg:#13110d; --card-bg:#1a1712;
}
html { scroll-behavior:smooth; }
body { font-family:'Lato',sans-serif; background:var(--ink); color:var(--parchment); font-weight:300; overflow-x:hidden; }

@keyframes pulse-gold { 0%,100%{opacity:0.5;} 50%{opacity:1;} }
.hero-counter { margin-top:2.5rem; display:flex; align-items:center; font-family:'Cinzel',serif; font-size:0.75rem; letter-spacing:0.25em; text-transform:uppercase; color:var(--gold); animation:pulse-gold 3s ease-in-out infinite; position:relative; z-index:10; }
.hero-counter-dot { margin:0 1.2rem; opacity:0.4; }
.hero-counter-italic { font-style:italic; font-family:'Cormorant Garamond',serif; font-size:0.9rem; letter-spacing:0.15em; text-transform:none; }
nav { position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:center;
  padding:1.2rem 4rem; background:rgba(14,12,9,0.92);
  backdrop-filter:blur(12px); border-bottom:1px solid var(--border);
}
.nav-logo { position:absolute; left:4rem; font-family:'Cinzel',serif; font-size:1.1rem; letter-spacing:0.35em; color:var(--gold); text-decoration:none; text-transform:uppercase; }
.nav-links { display:flex; gap:2.5rem; list-style:none; align-items:center; }
.nav-links a { font-size:0.72rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--parchment); text-decoration:none; opacity:0.7; transition:opacity 0.2s,color 0.2s; cursor:pointer; }
.nav-links a:hover { opacity:1; color:var(--gold); }
.nav-links .nav-search-link { display:inline-flex; align-items:center; line-height:1; }
.nav-links .nav-search-link svg { display:block; }
.nav-actions { position:absolute; right:4rem; display: flex; align-items: center; gap: 1rem; }
.nav-dropdown { position:relative; }
.nav-dropdown > a::after { content:' ▾'; font-size:0.6rem; opacity:0.5; }
.nav-submenu { display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%); z-index:110; background:rgba(14,12,9,0.96); border:1px solid rgba(201,168,76,0.3); min-width:200px; flex-direction:column; backdrop-filter:blur(12px); padding-top:0; }
.nav-dropdown::after { content:''; position:absolute; top:100%; left:0; right:0; height:1.5rem; }
.nav-dropdown:hover .nav-submenu { display:flex; }
.nav-submenu a { display:block; padding:0.7rem 1.2rem; border-bottom:1px solid rgba(201,168,76,0.1); font-size:0.68rem !important; white-space:nowrap; }
.nav-submenu a:last-child { border-bottom:none; }
.nav-submenu a:hover { background:rgba(201,168,76,0.06); }


.hero {
  min-height:100vh; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center;
  padding:2rem; position:relative;
  background:radial-gradient(ellipse at 50% 60%, #1f1a10 0%, var(--ink) 70%);
  overflow: visible;
}
.hero-ornament { font-size:0.7rem; letter-spacing:0.5em; color:var(--gold); text-transform:uppercase; margin-bottom:2rem; opacity:0.8; }
.hero-ornament::before, .hero-ornament::after { content:'—'; margin:0 1rem; opacity:0.5; }
.hero-title-wrap {
  position:relative; display:inline-block; margin-bottom:0.5rem;
  font-family:'Cinzel','Times New Roman',serif;
  font-size:clamp(3.5rem,10vw,7.5rem); font-weight:600; letter-spacing:0.12em; line-height:1;
}
.gl { display:inline-block; color:var(--gold); transition:color 0.06s ease-out,text-shadow 0.06s ease-out,-webkit-text-stroke 0.06s ease-out,transform 0.25s ease; -webkit-text-stroke:0px transparent; cursor:default; }
.gl:hover { color:#f8e898; transform:scale(1.1); text-shadow:0 0 12px rgba(255,250,200,0.7),0 0 4px rgba(255,250,200,0.5); }
.gl.under {
  color:#f8e898; -webkit-text-stroke:0.5px rgba(255,252,220,0.9);
  text-shadow:0px -1px 0px rgba(255,250,200,0.95),0px 2px 0px rgba(40,20,0,0.9),0px 3px 2px rgba(0,0,0,0.7);
}
.gl.passed { color:var(--gold); -webkit-text-stroke:0px transparent; text-shadow:none; transition:color 0.4s,text-shadow 0.4s,-webkit-text-stroke 0.4s; }
.hero-scanline { position:absolute; top:0; height:100%; width:2px; background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0.6) 30%,rgba(255,255,255,1) 50%,rgba(255,255,255,0.6) 70%,rgba(255,255,255,0) 100%); pointer-events:none; opacity:0; filter:blur(0.5px); box-shadow:0 0 12px 2px rgba(255,255,255,0.4); z-index:50; left:0; }
.hero-lit { transition:filter 0.15s ease-out, opacity 0.15s ease-out; }
.hero-lit.lit { filter:brightness(1.8) drop-shadow(0 0 8px rgba(255,250,200,0.5)); opacity:1 !important; }
#fiorentiaLogo.lit, #furraLogo.lit { filter:brightness(1.3) drop-shadow(0 0 4px rgba(255,250,200,0.25)); }
.hero-lit.lit-fade { filter:brightness(1); opacity:inherit; transition:filter 0.6s ease-out, opacity 0.6s ease-out; }
#fiorentiaLogo.lit-fade, #furraLogo.lit-fade { transition:filter 0.25s ease-out, opacity 0.25s ease-out; }
.scanner-line {
  position:absolute; top:-8%; height:116%; width:2px;
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
  pointer-events:none; opacity:0; filter:blur(0.4px);
  box-shadow:0 0 6px 1px rgba(255,255,255,0.6);
}
.hero-sub { font-family:'Cormorant Garamond',serif; font-size:clamp(1rem,2.5vw,1.4rem); font-weight:300; font-style:italic; letter-spacing:0.08em; color:var(--parchment); opacity:0.75; margin-bottom:3rem; }
.hero-divider { width:120px; height:1px; background:linear-gradient(to right,transparent,var(--gold),transparent); margin:0 auto 3rem; }
.hero-tagline { font-family:'Cormorant Garamond',serif; font-size:clamp(1.1rem,2vw,1.5rem); font-style:italic; color:var(--parchment); opacity:0.6; max-width:500px; }
.fgl { display:inline; color:inherit; transition:color 0.06s ease-out, text-shadow 0.06s ease-out; }
.fgl.under { color:#ffffff; text-shadow:0px -1px 2px rgba(255,255,255,0.95), 0px 1px 2px rgba(255,255,255,0.9), 0 0 8px rgba(255,255,255,0.6); }
.hero-cta { margin-top:3.5rem; display:flex; gap:1.5rem; flex-wrap:wrap; justify-content:center; position:relative; z-index:10; }
.btn-gold { font-family:'Cinzel',serif; font-size:0.68rem; letter-spacing:0.3em; text-transform:uppercase; color:var(--ink); background:var(--gold); border:none; padding:0.9rem 2.5rem; cursor:pointer; text-decoration:none; transition:background 0.25s; display:inline-block; }
.btn-gold:hover { background:var(--gold-light); }
.btn-outline { font-family:'Cinzel',serif; font-size:0.68rem; letter-spacing:0.3em; text-transform:uppercase; color:var(--gold); background:transparent; border:1px solid var(--gold); padding:0.9rem 2.5rem; cursor:pointer; text-decoration:none; transition:background 0.25s; display:inline-block; }
.btn-outline:hover { background:rgba(201,168,76,0.08); }

section { padding:7rem 2rem; scroll-margin-top: 110px; }
.section-label { font-size:0.65rem; letter-spacing:0.45em; text-transform:uppercase; color:var(--gold); opacity:0.75; margin-bottom:1.2rem; }
.section-title { font-family:'Cormorant Garamond',serif; font-size:clamp(2rem,4vw,3rem); font-weight:300; color:var(--parchment); line-height:1.2; margin-bottom:0.5rem; }
.gold-line { width:60px; height:1px; background:var(--gold); margin:1.5rem 0; }
.container { max-width:1200px; margin:0 auto; }

#rreth-nesh {
  background: linear-gradient(to bottom, var(--ink), var(--section-bg));
  position: relative;
}
#rreth-nesh::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.15), transparent);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: stretch;
  margin-top: 4rem;
}
.about-text {
  position: relative;
}
.about-text p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--parchment);
  opacity: 0.85;
  margin-bottom: 1.5rem;
  text-align: justify;
}
.about-text p:first-of-type::first-letter {
  float: left;
  font-family: 'Cinzel', serif;
  font-size: 4.8rem;
  line-height: 0.75;
  color: var(--gold);
  padding-right: 0.8rem;
  padding-top: 0.4rem;
  text-shadow: 0 0 12px rgba(201,168,76,0.3);
}
.about-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  background: rgba(201,168,76,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 3.5rem 3rem;
  position: relative;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
}
.about-visual::after {
  content: '';
  position: absolute;
  top: 10px; right: 10px; bottom: 10px; left: 10px;
  border: 1px dashed rgba(201,168,76,0.25);
  pointer-events: none;
}
.stat-item {
  text-align: center;
  position: relative;
  z-index: 2;
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 15px rgba(201,168,76,0.2);
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--parchment);
  opacity: 0.6;
  margin-top: 0.8rem;
}
.stat-divider {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto;
  opacity: 0.5;
}

#katalog { background:var(--ink); }
.filter-bar { display:flex; gap:1rem; flex-wrap:wrap; margin:2.5rem 0 3.5rem; position: relative; z-index: 10; }
.filter-btn { font-size:0.68rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--parchment); background:transparent; border:1px solid rgba(201,168,76,0.25); padding:0.5rem 1.4rem; cursor:pointer; transition:all 0.2s; opacity:0.6; }
.filter-btn.active,.filter-btn:hover { border-color:var(--gold); color:var(--gold); opacity:1; background:rgba(201,168,76,0.05); }
.filter-dropdown:hover .filter-submenu { display:flex !important; }
.filter-dropdown { position:relative; display:inline-block; }
.filter-submenu { display:none; position:absolute; top:100%; left:0; z-index:150; background:#1a1712; border:1px solid rgba(201,168,76,0.3); min-width:220px; flex-direction:column; white-space:nowrap; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.filter-submenu .filter-btn { margin:0; border:none; border-bottom:1px solid rgba(201,168,76,0.15); width:100%; text-align:left; display:block; }
.filter-submenu .filter-btn:last-child { border-bottom:none; }

#autoret { background:var(--section-bg); }
.authors-grid { display:flex; flex-direction:row; flex-wrap:nowrap; gap:2rem; overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none; padding:1rem 4rem 1.5rem; align-items:flex-start; margin-top:2rem; }
.author-card { min-width:280px; max-width:280px; flex-shrink:0; }
.author-card { background:var(--card-bg); border:1px solid var(--border); padding:2rem; transition:border-color 0.3s; }
.author-card:hover { border-color:rgba(201,168,76,0.5); }
.author-card.deceased-card { border:2px solid #111 !important; }
.author-card.deceased-card:hover { border-color:rgba(201,168,76,0.5) !important; }
.author-avatar { width:64px; height:64px; border-radius:50%; border:1px solid #000; display:flex; align-items:center; justify-content:center; margin-bottom:1.2rem; background:rgba(201,168,76,0.06); overflow:hidden; padding:0; }
.author-name { font-family:'Cormorant Garamond',serif; font-size:1.3rem; color:var(--parchment); margin-bottom:0.3rem; }
.author-genre { font-size:0.62rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold); opacity:0.7; margin-bottom:1rem; }
.author-bio { font-family:'Cormorant Garamond',serif; font-size:1rem; font-style:italic; line-height:1.7; color:var(--parchment); opacity:0.65; margin-bottom:1.2rem; }

#kontakt { background:var(--ink); }
.contact-wrapper { display:grid; grid-template-columns:1fr 1.4fr; gap:6rem; margin-top:4rem; align-items:start; }
.contact-info h3 { font-family:'Cormorant Garamond',serif; font-size:1.6rem; font-weight:300; color:var(--parchment); margin-bottom:1.5rem; }
.contact-detail { margin-bottom:1.5rem; }
.contact-detail-label { font-size:0.62rem; letter-spacing:0.25em; text-transform:uppercase; color:var(--gold); opacity:0.7; margin-bottom:0.4rem; }
.contact-detail-value { font-family:'Cormorant Garamond',serif; font-size:1.1rem; color:var(--parchment); opacity:0.85; }
.contact-form { display:flex; flex-direction:column; gap:1.2rem; }
.form-group { display:flex; flex-direction:column; gap:0.4rem; }
.form-label { font-size:0.62rem; letter-spacing:0.25em; text-transform:uppercase; color:var(--gold); opacity:0.7; }
.form-input,.form-select,.form-textarea { background:rgba(201,168,76,0.04); border:1px solid rgba(201,168,76,0.2); color:var(--parchment); padding:0.85rem 1rem; font-family:'Lato',sans-serif; font-size:0.9rem; font-weight:300; outline:none; transition:border-color 0.2s; }
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color:var(--gold); }
.form-select { appearance:none; cursor:pointer; }
.form-textarea { resize:vertical; min-height:130px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }

.modal-overlay { position:fixed; inset:0; z-index:300; background:rgba(8,7,5,0.92); display:flex; align-items:flex-start; justify-content:center; padding:5vh 2rem; opacity:0; pointer-events:none; transition:opacity 0.35s; overflow-y: auto; }
.modal-overlay.open { opacity:1; pointer-events:all; }
.modal { background:var(--card-bg); border:1px solid rgba(201,168,76,0.3); max-width:900px; width:100%; max-height:90vh; overflow:hidden; display:grid; grid-template-columns:320px minmax(0,1fr); transform:translateY(20px); transition:transform 0.35s; margin-top: auto; margin-bottom: auto; }
.modal-overlay.open .modal { transform:translateY(0); }
.modal-body { padding:2.5rem 2rem; display:flex; flex-direction:column; gap:1.2rem; position:relative; overflow-y:auto; max-height:90vh; }
.modal-close { position:absolute; top:1.2rem; right:1.2rem; background:transparent; border:none; color:var(--parchment); opacity:0.4; font-size:1.4rem; cursor:pointer; transition:opacity 0.2s; }
.modal-close:hover { opacity:1; }
.modal-genre { font-size:0.6rem; letter-spacing:0.35em; text-transform:uppercase; color:var(--gold); opacity:0.75; }
.modal-title { font-family:'Cormorant Garamond',serif; font-size:2rem; font-weight:300; color:var(--parchment); line-height:1.2; }
.modal-subtitle { font-family:'Cormorant Garamond',serif; font-size:1.1rem; font-style:italic; color:var(--gold); opacity:0.85; margin-top:-0.8rem; }
.modal-divider { width:50px; height:1px; background:var(--gold); opacity:0.4; }
.modal-author { font-family:'Cormorant Garamond',serif; font-size:1.15rem; color:var(--parchment); }
.modal-translator { font-size:0.72rem; letter-spacing:0.1em; color:var(--parchment); opacity:0.5; font-style:italic; }
.modal-desc { font-family:'Cormorant Garamond',serif; font-size:1.05rem; line-height:1.85; color:var(--parchment); opacity:0.75; }

/* Modal 2D Premium Cover */
.modal-cover { width:320px; min-width:320px; max-width:320px; overflow:hidden; align-self:stretch; background: radial-gradient(circle at 50% 50%, #1a1712 0%, #0a0805 100%); display:flex; align-items:center; justify-content:center; padding: 2.5rem; }
.modal-cover img { width:100%; height:100%; object-fit:cover; display:block; }

.book-2d-premium {
  width: 100%;
  aspect-ratio: 2 / 3;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 5px 15px rgba(0,0,0,0.4);
  background: #111;
  border: 1px solid rgba(255,255,255,0.05);
}
.book-2d-premium:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 25px 45px rgba(0,0,0,0.8), 0 10px 20px rgba(0,0,0,0.5), 0 0 35px rgba(201,168,76,0.12);
}
.book-2d-premium img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.book-2d-premium::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 40%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}
.modal-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; padding-top:1.2rem; border-top:1px solid rgba(201,168,76,0.15); }
.modal-price { font-family:'Cormorant Garamond',serif; font-size:1.4rem; color:var(--gold); }

.toast { position:fixed; bottom:2rem; right:2rem; background:var(--card-bg); border:1px solid var(--gold); padding:1rem 1.5rem; font-family:'Cormorant Garamond',serif; font-style:italic; color:var(--parchment); font-size:1rem; z-index:999; opacity:0; transform:translateY(10px); transition:opacity 0.3s,transform 0.3s; pointer-events:none; }
.toast.show { opacity:1; transform:translateY(0); }

footer { background:#080705; padding:3rem 2rem; text-align:center; border-top:1px solid var(--border); }
.footer-logo { font-family:'Cinzel',serif; font-size:1.2rem; letter-spacing:0.35em; color:var(--gold); margin-bottom:1rem; }
.footer-text { font-size:0.7rem; letter-spacing:0.1em; color:var(--parchment); opacity:0.3; }

/* Hamburger & Mobile Menu */
.hamburger { display:none; background:none; border:none; cursor:pointer; padding:0.5rem; z-index:101; }
.hamburger span { display:block; width:22px; height:1.5px; background:var(--gold); margin:5px 0; transition:all 0.3s; }

.mobile-menu { position:fixed; inset:0; z-index:200; background:rgba(14,12,9,0.98); backdrop-filter:blur(20px); opacity:0; pointer-events:none; transition:opacity 0.35s; }
.mobile-menu.open { opacity:1; pointer-events:all; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.mobile-search-btn { display: none; color: var(--gold); cursor: pointer; padding: 0.5rem; transition: opacity 0.2s; }
.mobile-search-btn:hover { opacity: 0.8; }
.mobile-menu-inner { display:flex; flex-direction:column; height:100%; padding:1.5rem 2rem; }
.mobile-menu-header { display:flex; justify-content:space-between; align-items:center; padding-bottom:2rem; border-bottom:1px solid var(--border); }
.mobile-menu-links { display:flex; flex-direction:column; gap:0; margin-top:1rem; flex:1; }
.mobile-menu-links a { font-family:'Cinzel',serif; font-size:0.8rem; letter-spacing:0.3em; text-transform:uppercase; color:var(--parchment); text-decoration:none; opacity:0.7; padding:1.2rem 0; border-bottom:1px solid rgba(201,168,76,0.1); cursor:pointer; transition:opacity 0.2s, color 0.2s; }
.mobile-menu-links a:hover, .mobile-menu-links a:active { opacity:1; color:var(--gold); }
.mobile-menu-footer { padding-top:1.5rem; border-top:1px solid var(--border); text-align:center; }

@media (max-width:768px) {
  .hamburger { display:block; }
  .mobile-search-btn { display: flex; }
  .nav-links { display:none !important; }
  .nav-spacer { display:none !important; }
  nav { padding:0.8rem 1rem; width: calc(100% - 2rem) !important; left:1rem; right:1rem; top:1rem; justify-content: space-between; }
  .nav-logo { position:static; font-size:1.1rem; }
  .nav-actions { position:static; gap: 0.5rem; }
  .hero { min-height:85vh; padding:4rem 1rem 1.5rem; width: 100%; overflow: hidden; }
  .hero-title-wrap { font-size:clamp(1.5rem,8vw,2.8rem) !important; width: 100% !important; min-width: 0 !important; }
  .hero-ornament { font-size:0.5rem; letter-spacing:0.25em; margin-bottom:1rem; }
  .hero-sub { font-size:clamp(0.8rem,3vw,1rem); margin-bottom:1.5rem; }
  .hero-divider { margin:0 auto 2rem; }
  .hero-tagline { font-size:clamp(0.8rem,2.5vw,1rem); max-width:90%; margin: 0 auto; }
  .hero-cta { margin-top:2.5rem; gap:1rem; width: 100%; justify-content: center; }
  .btn-gold, .btn-outline { font-size:0.6rem; padding:0.75rem 1.8rem; letter-spacing:0.2em; min-width: 140px; }
  .hero-counter { margin-top:1.8rem; font-size:0.65rem; flex-wrap:wrap; justify-content:center; gap:0.2rem; }
  #fiorentiaLogo { width:180px !important; }
  #furraLogo { width:80px !important; }
  section { padding:3rem 1.2rem; scroll-margin-top: 110px; }
  .section-title { font-size:clamp(1.5rem,5vw,2rem); }
  .section-label { font-size:0.55rem; }
  .about-grid { grid-template-columns:1fr; gap:2rem; }
  .about-visual { padding: 1.5rem 1.2rem; gap: 1.5rem; }
  .about-text p { font-size:1rem; text-align: left; }
  
  .libri-ri-hero-container {
    padding: 1.5rem 1.2rem;
    gap: 2rem;
    flex-direction: column;
    text-align: center;
  }
  .libri-ri-hero-container > div:last-child {
    min-width: 0 !important;
    width: 100%;
  }
  .libri-ri-hero-container > div:last-child > div:last-child {
    justify-content: center;
    gap: 1rem;
  }
  .libri-ri-hero-container .book-vip-hover {
    max-width: 100% !important;
  }
  
  .highlight-grid { gap: 2rem; }
  .highlight-book-title { font-size: 1.8rem; }
  .highlight-book-desc { font-size: 1.05rem; }
  .about-text p:first-of-type::first-letter { font-size: 3.8rem; }
  .stat-number { font-size:2.2rem; }
  .filter-bar { gap:0.5rem; margin:1.5rem 0 2rem; overflow-x:auto; flex-wrap:nowrap; padding-bottom:0.5rem; scrollbar-width:none; -ms-overflow-style:none; }
  .filter-bar::-webkit-scrollbar { display:none; }
  .filter-btn { font-size:0.6rem; padding:0.45rem 1rem; white-space:nowrap; flex-shrink:0; }
  .filter-dropdown { flex-shrink:0; }
  #books-grid { padding:1.5rem 1.5rem !important; gap:1.5rem !important; }
  #books-grid > div { width:160px !important; min-width:160px !important; max-width:160px !important; }
  #books-grid > div > div:first-child { width:160px !important; }
  .authors-grid { padding:1rem 1.5rem 1.5rem !important; gap:1.2rem; }
  .author-card { min-width:250px; max-width:250px; padding:1.5rem; }
  .author-bio { font-size:0.9rem; }
  .contact-wrapper { grid-template-columns:1fr; gap:2.5rem; }
  .form-row { grid-template-columns:1fr; }
  .contact-info h3 { font-size:1.3rem; }
  .modal { grid-template-columns:1fr; max-height:90vh; margin: auto 1rem; width: calc(100% - 2rem); }
  .modal-cover { width:100%; max-width:100%; min-height:180px; max-height:220px; padding: 1.5rem; }
  .modal-body { padding:1.2rem; max-height: none; }
  .modal-title { font-size:1.4rem; }
  .modal-desc { font-size:0.95rem; }
  .modal-footer { flex-direction:column; align-items:center; gap: 1rem; }
  
  .author-highlight-grid { gap: 2.5rem; }
  .author-highlight-frame { width: 200px; height: 200px; }
  .author-highlight-name { font-size: 1.8rem; }
  .author-highlight-bio { font-size: 1.05rem; margin-bottom: 1.5rem; }
  #arrowLeft, #arrowRight, #authorArrowLeft, #authorArrowRight { font-size:3rem !important; }
  #searchOverlay { padding:5rem 1.2rem 1.5rem !important; }
  #searchInput { font-size:1.1rem !important; }
  footer { padding:2rem 1.5rem; }
  .footer-logo { font-size:1rem; }
}
@media (max-width:400px) {
  .hero-title-wrap { font-size:clamp(2rem,11vw,3rem) !important; }
  #fiorentiaLogo { width:140px !important; }
  #furraLogo { width:60px !important; }
  .btn-gold, .btn-outline { font-size:0.55rem; padding:0.65rem 1.4rem; }
  .hero-cta { flex-direction:column; align-items:center; }
}

.book-card-item {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  border-radius: 4px;
}

.book-card-item:hover {
  transform: translateY(-8px) scale(1.02);
}

.book-cover-container {
  width: 200px;
  aspect-ratio: 2/3;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.15);
  margin-bottom: 1rem;
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  border-radius: 2px;
}

.book-card-item:hover .book-cover-container {
  border-color: rgba(201, 168, 76, 0.6);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.15), 0 0 15px rgba(201, 168, 76, 0.1);
}

.book-cover-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: none;
  z-index: 10;
  pointer-events: none;
}

.book-card-item:hover .book-cover-container::after {
  animation: shine-effect 0.8s ease forwards;
}

@keyframes shine-effect {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Hover effect for the Like button */
@media (hover: hover) {
  .book-card-item .like-btn-wrapper {
    opacity: 0;
    pointer-events: none;
    margin-top: -5px;
  }
  .book-card-item:hover .like-btn-wrapper {
    opacity: 1;
    pointer-events: auto;
    margin-top: 0;
  }
}

.loop-spacer {
  width: 200px;
  flex-shrink: 0;
  display: block;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* Parallax Background */
.parallax-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.10; /* Stronger watermark */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.parallax-logo {
  width: 110%;
  max-width: 1400px;
  transform-origin: center;
  will-change: transform;
}
#rreth-nesh .container {
  position: relative;
  z-index: 10;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #080705;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}
.preloader-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.preloader-logo {
  position: relative;
  width: 280px;
  opacity: 0;
  animation: preloader-fade 0.4s ease-out forwards;
  z-index: 2;
}
.preloader-furra-logo {
  position: absolute;
  width: 115px;
  opacity: 0;
  z-index: 1;
}
.preloader-blur {
  position: absolute;
  width: 180px;
  height: 180px;
  background: var(--gold);
  filter: blur(80px);
  opacity: 0.15;
  border-radius: 50%;
  animation: pulse-gold 2s infinite alternate;
}
@keyframes preloader-fade {
  0% { opacity: 0; transform: scale(0.95); filter: blur(5px); }
  50% { opacity: 1; transform: scale(1); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); }
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Highlight Section (Libri i Muajit) */
.highlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.highlight-book-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--parchment);
  line-height: 1.2;
  margin-top: 1rem;
}
.highlight-book-author {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.highlight-book-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--parchment);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .highlight-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .highlight-book-title { font-size: 2.2rem; }
  .highlight-text { display: flex; flex-direction: column; align-items: center; }
  .highlight-book-desc { text-align: center; }
}

/* Author of the Month Section */
#autori-muajit {
  background: #080a0c;
  padding: 6rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  position: relative;
  overflow: hidden;
}
.author-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.author-highlight-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.author-highlight-frame {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  padding: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, #8a6030 100%);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(201,168,76,0.15);
  position: relative;
}
.author-highlight-frame::after {
  content: '';
  position: absolute;
  top: -15px; left: -15px; right: -15px; bottom: -15px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  pointer-events: none;
}
.author-highlight-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #080a0c;
  background: #111;
}
.author-highlight-name {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  color: var(--parchment);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}
.author-highlight-title {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 2rem;
  text-transform: uppercase;
  opacity: 0.85;
}
.author-highlight-bio {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--parchment);
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .author-highlight-grid { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
  .author-highlight-visual { order: -1; }
  .author-highlight-frame { width: 260px; height: 260px; }
  .author-highlight-text { display: flex; flex-direction: column; align-items: center; }
}

/* Blog / Magazina Letrare Section */
#magazina {
  background: #0a0b0d;
  padding: 6rem 0;
  border-top: 1px solid rgba(201,168,76,0.1);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.blog-card {
  background: rgba(20,22,25,0.6);
  border: 1px solid rgba(201,168,76,0.08);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}
.blog-card:hover {
  background: rgba(30,33,38,0.8);
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}
.blog-meta {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  opacity: 0.7;
}
.blog-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--parchment);
  margin-bottom: 1.5rem;
}
.blog-excerpt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--parchment);
  opacity: 0.65;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.blog-read-more {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.blog-read-more::after {
  content: '→';
  transition: transform 0.3s;
}
.blog-card:hover .blog-read-more::after {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .blog-card { padding: 1.5rem; }
}

/* Blog Content Modal Specifics */
.blog-modal-content {
  max-width: 800px;
  line-height: 1.45;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--parchment);
  text-align: justify;
}
.blog-modal-content p {
  margin-bottom: 1rem;
}
.blog-modal-content p:has(> strong) {
  margin-bottom: 0;
}
.blog-modal-content strong {
  font-weight: 700;
}
.nav-editorial {
  position: fixed;
  top: 5.5rem;
  left: 4rem;
  z-index: 99;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.nav-editorial-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: none;
  margin: 0;
  padding: 0;
  align-items: flex-start;
}

.nav-editorial a {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
  opacity: 0.55;
  white-space: nowrap;
  transition: all 0.3s ease, color 0.3s ease;
  position: relative;
  border-left: 1px solid rgba(201, 168, 76, 0);
  padding-left: 0;
}

.nav-editorial a:hover {
  opacity: 1;
  color: #fff;
  padding-left: 0.8rem;
  border-left: 1px solid var(--gold);
}

.nav-editorial a::before {
  display: none;
}

@media (max-width: 768px) {
  .nav-editorial {
    top: 70px;
    padding: 0.2rem 0;
  }
  .nav-editorial-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem 0;
    padding: 1.2rem 1.5rem 0.8rem;
    text-align: center;
  }
  .nav-editorial a {
    font-size: 0.52rem;
    letter-spacing: 0.2em;
    padding: 0.2rem 0;
  }
  .nav-editorial a::before {
    display: none;
  }
  .nav-editorial a:nth-child(even) {
    border-left: 1px solid rgba(201, 168, 76, 0.1);
  }
}
.blog-modal-container {
  background: #0d0f11;
  border: 1px solid rgba(201,168,76,0.3);
  max-width: 1000px;
  width: 95%;
  margin: 0 auto;
  padding: 6rem 5rem;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-nav-link {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.blog-nav-link:hover {
  color: #ffffff;
  transform: translateX(10px);
}

/* Custom scrollbar for the blog modal */
.blog-modal-container::-webkit-scrollbar {
  width: 8px;
}
.blog-modal-container::-webkit-scrollbar-track {
  background: #0d0f11;
}
.blog-modal-container::-webkit-scrollbar-thumb {
  background: #d4c59a; /* Soft beige/parchment color */
  border-radius: 10px;
  border: 2px solid #0d0f11; /* Adds some spacing around the thumb */
}
.blog-modal-container::-webkit-scrollbar-thumb:hover {
  background: #e5d9b5; /* Slightly lighter on hover */
}
.modal-overlay.open .blog-modal-container {
  transform: translateY(0);
}
@media (max-width: 768px) {
  .blog-modal-container { padding: 3rem 1.5rem; }
  .blog-modal-content { font-size: 1.15rem; line-height: 1.8; }
}

/* Reviews / Recensat Section */
#recensat {
  background: var(--section-bg);
  padding: 6rem 0;
  border-top: 1px solid rgba(201,168,76,0.1);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}
.review-card {
  position: relative;
  padding: 2.5rem;
  background: rgba(201,168,76,0.02);
  border: 1px solid rgba(201,168,76,0.1);
  transition: all 0.3s ease;
}
.review-card::before {
  content: '“';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}
.review-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--parchment);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.review-author {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0.8;
}

@media (max-width: 992px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 600px) {
  .review-grid { grid-template-columns: 1fr; }
  .review-card { padding: 2rem 1.5rem; }
}

/* Libri i Ri Redesign */
.libri-ri-hero-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
  padding: 3.5rem 3rem;
}
.book-vip-hover {
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease, filter 0.6s ease;
  transform-style: preserve-3d;
  filter: brightness(1);
}
.book-vip-hover:hover {
  transform: perspective(1000px) rotateX(4deg) rotateY(-4deg) scale(1.03);
  box-shadow: -15px 25px 40px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(201,168,76,0.5), inset 0 0 20px rgba(201,168,76,0.2) !important;
  filter: brightness(1.1);
}
.libri-ri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(201,168,76,0.1);
  padding-top: 4rem;
}
@media (max-width: 600px) {
  .libri-ri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
