
:root { --background: #07070a; --gold: #FFD700; --gold-deep: #C9A227; --gold-dark: #6b5410; --ink: #f5f0dc; --card: #111116; --muted: #b8b09a; }
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--background); color: var(--ink); line-height: 1.5; }
a { color: var(--gold); }
.wrap { max-width: 66rem; margin: 0 auto; padding: 0 1.5rem; }
header.site { background: #0d0d12; border-bottom: 3px solid var(--gold-deep); padding: 0.9rem 0; }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
header.site .logo { font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; font-weight: 700; color: var(--gold); text-decoration: none; text-shadow: 0 2px 0 var(--gold-dark), 0 4px 0 #3d2f08, 0 6px 14px rgba(0,0,0,0.8), 0 0 18px rgba(255,215,0,0.35); white-space: nowrap; }
header.site .logo span { color: #fff; }
header.site nav.main { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-left: auto; }
header.site nav.main a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 0.3rem 0; }
header.site nav.main a:hover { color: var(--gold); }
.banner { position: relative; text-align: center; padding: 3rem 1.25rem 2.75rem; background-color: #0d0d12; background-image: radial-gradient(circle at 18% 30%, rgba(255,215,0,0.20), transparent 22%), radial-gradient(circle at 82% 22%, rgba(255,215,0,0.16), transparent 20%), radial-gradient(circle at 50% 85%, rgba(201,162,39,0.22), transparent 30%), radial-gradient(circle at 68% 60%, rgba(255,215,0,0.10), transparent 12%), radial-gradient(circle at 32% 70%, rgba(255,215,0,0.08), transparent 12%); border-bottom: 3px solid var(--gold-deep); box-shadow: 0 2px 0 #000, 0 10px 0 #141419, 0 18px 34px rgba(0,0,0,0.65); }
.banner::before { content: ""; position: absolute; inset: 0.65rem; border: 1px solid rgba(255,215,0,0.35); pointer-events: none; }
.banner h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 3rem; line-height: 1.1; letter-spacing: 0.02em; color: #FFD700; background: linear-gradient(135deg, #FFD700 0%, #FFF3A0 25%, #C9A227 50%, #FFE97A 75%, #FFD700 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #8a6d15) drop-shadow(0 4px 0 #5c4a0e) drop-shadow(0 6px 0 #3d2f08) drop-shadow(0 10px 18px rgba(0,0,0,0.85)); animation: shimmer 6s linear infinite; }
.banner .tagline { margin: 0.9rem 0 0; font-size: 1.1rem; text-shadow: 0 2px 6px rgba(0,0,0,0.8); }
.banner .deal { display: inline-block; margin: 1.4rem 0 0; padding: 0.55rem 1.1rem; border: 1px solid var(--gold-deep); border-radius: 999px; color: #000; background: linear-gradient(180deg, #FFE97A 0%, var(--gold) 55%, #E6BE00 100%); font-weight: 700; font-size: 0.95rem; box-shadow: 0 3px 0 #a8861d, 0 6px 0 var(--gold-dark), 0 10px 18px rgba(0,0,0,0.55); }
.banner .ornament { color: var(--gold); letter-spacing: 0.9rem; font-size: 0.85rem; margin: 0 0 0.7rem; text-shadow: 0 0 12px rgba(255,215,0,0.8), 0 2px 0 #5c4a0e; }
.hero-books { display: flex; justify-content: center; align-items: flex-end; gap: 1rem; margin: 1.9rem auto 0.4rem; perspective: 900px; }
.hero-books .book3d { width: 7rem; animation: floaty 5s ease-in-out infinite; animation-delay: var(--delay, 0s); }
.hero-books .book3d:nth-child(2) { width: 8rem; margin-bottom: 0.6rem; }
.hero-books img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #050505; border-radius: 2px; }
.btn-hero { margin-top: 1.5rem; position: relative; overflow: hidden; font-size: 1.05rem; padding: 0.85rem 1.9rem; }
.btn-hero::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent); transform: translateX(-160%) skewX(-18deg); animation: sheen 3.5s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotateY(var(--tilt, 0deg)); } 50% { transform: translateY(-9px) rotateY(var(--tilt, 0deg)); } }
@keyframes sheen { 0% { transform: translateX(-160%) skewX(-18deg); } 55%, 100% { transform: translateX(320%) skewX(-18deg); } }
.section-title { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; line-height: 1.25; text-align: center; margin: 0.4rem 0 1.4rem; letter-spacing: 0.02em; color: var(--gold); background: linear-gradient(135deg, #FFD700 0%, #FFF3A0 40%, #C9A227 75%, #FFD700 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #8a6d15) drop-shadow(0 4px 0 #5c4a0e) drop-shadow(0 8px 14px rgba(0,0,0,0.8)); }
.section-title::after { content: ""; display: block; width: 7.5rem; height: 3px; margin: 0.7rem auto 0; border-radius: 2px; background: linear-gradient(90deg, transparent, #FFD700, #C9A227, #FFD700, transparent); }
/* True 3D book mockup: gold spine on the left, page edges on the right,
   soft shadow below. Used by the hero books and every product cover. */
.book3d { display: block; position: relative; transform: translateZ(24px) rotateY(-3deg); transform-style: preserve-3d; transition: transform 0.25s ease; box-shadow: 0 12px 20px rgba(0,0,0,0.55); border-radius: 2px; }
.book3d::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; z-index: 2; background: linear-gradient(90deg, #2e2303 0%, #8a6d15 35%, #FFD700 60%, #6b5410 100%); box-shadow: 1px 0 3px rgba(0,0,0,0.7); border-radius: 2px 0 0 2px; }
.book3d::after { content: ""; position: absolute; right: 0; top: 2px; bottom: 2px; width: 7px; z-index: 2; background: repeating-linear-gradient(180deg, #fdfdf8 0 2px, #cfc9b8 2px 4px); box-shadow: -1px 0 3px rgba(0,0,0,0.55); border-radius: 0 2px 2px 0; }
main { max-width: 66rem; margin: 0 auto; padding: 2.5rem 1.5rem 3rem; }
main.page h1 { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1.2; color: var(--gold); background: linear-gradient(135deg, #FFD700 0%, #FFF3A0 40%, #C9A227 75%, #FFD700 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #8a6d15) drop-shadow(0 4px 0 #5c4a0e) drop-shadow(0 8px 14px rgba(0,0,0,0.8)); }
main.page h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; color: var(--gold); margin: 2rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--gold-deep); background: linear-gradient(135deg, #FFD700 0%, #FFF3A0 40%, #C9A227 75%, #FFD700 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #8a6d15) drop-shadow(0 4px 0 #5c4a0e) drop-shadow(0 8px 14px rgba(0,0,0,0.8)); }
.toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0 0 1rem; }
.toolbar input[type="search"] { flex: 1 1 16rem; max-width: 26rem; padding: 0.7rem 0.9rem; border-radius: 8px; border: 1px solid var(--gold-deep); background: #0d0d12; color: var(--ink); font-size: 1rem; }
.toolbar input[type="search"]:focus { outline: 2px solid var(--gold); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; }
.filters button { padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--gold-deep); background: #111116; color: var(--ink); font-weight: 700; font-size: 0.9rem; cursor: pointer; }
.filters button[aria-pressed="true"] { background: linear-gradient(180deg, #FFE97A 0%, var(--gold) 55%, #E6BE00 100%); color: #000; border-color: var(--gold); }
#count-line { color: var(--muted); margin: 0 0 1rem; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.75rem; padding: 0.6rem 0.4rem 1.75rem; margin: 0; list-style: none; perspective: 1400px; }
.products li { perspective: 1100px; }
.products .card { display: flex; flex-direction: column; height: 100%; color: inherit; border: 1px solid var(--gold-deep); border-radius: 10px; overflow: hidden; background: var(--card); transform: perspective(900px) rotateY(-6deg) rotateX(3deg); transform-style: preserve-3d; box-shadow: 10px 14px 0 rgba(0,0,0,0.45), 10px 14px 26px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,162,39,0.35); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.products li:nth-child(even) .card { transform: perspective(900px) rotateY(6deg) rotateX(3deg); box-shadow: -10px 14px 0 rgba(0,0,0,0.45), -10px 14px 26px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,162,39,0.35); }
.products .card:hover, .products .card:focus-within, .products .card:active { border-color: var(--gold); transform: perspective(900px) rotateY(0deg) rotateX(0deg) translateY(-6px) translateZ(14px); box-shadow: 0 18px 0 rgba(0,0,0,0.4), 0 22px 34px rgba(0,0,0,0.65), 0 0 22px rgba(255,215,0,0.35); }
.products .card:hover .book3d, .products .card:focus-within .book3d, .products .card:active .book3d { transform: translateZ(30px) rotateY(0deg) translateY(-3px); }
.products .cover { display: block; position: relative; border-bottom: 1px solid var(--gold-deep); background: #050505; }
.products img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #050505; border-radius: 2px; }
.products .badge { position: absolute; bottom: 0.6rem; right: 0.6rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--gold); color: #000; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.03em; box-shadow: 0 2px 0 #a8861d, 0 4px 8px rgba(0,0,0,0.6); transform: translateZ(48px); }
.products .details { display: flex; flex-direction: column; flex: 1; padding: 0.85rem 1rem 1rem; transform: translateZ(30px); }
.products .title { display: block; margin: 0 0 0.6rem; font-size: 1rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1.35; min-height: 2.7em; }
.products .desc { margin: 0 0 0.8rem; color: var(--ink); font-size: 0.93rem; flex: 1; }
.products .price-row { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.products .was { color: var(--muted); text-decoration: line-through; font-size: 0.9rem; }
.products .price { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 4px; background: linear-gradient(180deg, #FFE97A 0%, var(--gold) 55%, #E6BE00 100%); color: #000; font-weight: 800; font-size: 1.05rem; box-shadow: 0 2px 0 #a8861d, 0 4px 0 var(--gold-dark), 0 6px 12px rgba(0,0,0,0.55); transform: translateZ(40px); }
.products .save { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px; border: 1px solid var(--gold-deep); color: var(--gold); font-weight: 800; font-size: 0.8rem; }
.btn { display: inline-block; padding: 0.7rem 1.4rem; border-radius: 8px; border: 1px solid var(--gold-deep); background: linear-gradient(115deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 22%), linear-gradient(180deg, #FFE97A 0%, var(--gold) 55%, #E6BE00 100%); color: #000; font-weight: 800; font-size: 1rem; text-decoration: none; text-align: center; cursor: pointer; box-shadow: 0 4px 0 #a8861d, 0 8px 0 var(--gold-dark), 0 14px 22px rgba(0,0,0,0.6); transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease; }
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #a8861d, 0 2px 0 var(--gold-dark), 0 4px 10px rgba(0,0,0,0.5); }
.btn-ghost { background: linear-gradient(180deg, #262633, #1a1a23); color: var(--ink); border: 1px solid var(--gold-deep); box-shadow: 0 3px 0 rgba(0,0,0,0.6); }
.btn-sm { padding: 9px 13px; min-height: 40px; font-size: 14px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.25rem; margin: 2.5rem 0; }
.features div { border: 1px solid var(--gold-deep); border-radius: 10px; background: var(--card); padding: 1.1rem 1.25rem; box-shadow: 6px 8px 0 rgba(0,0,0,0.45), 6px 8px 18px rgba(0,0,0,0.6); }
.features h3 { margin: 0 0 0.4rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; color: var(--gold); background: linear-gradient(135deg, #FFD700 0%, #FFF3A0 40%, #C9A227 75%, #FFD700 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #8a6d15) drop-shadow(0 4px 0 #5c4a0e) drop-shadow(0 6px 10px rgba(0,0,0,0.8)); }
.features p { margin: 0; color: var(--ink); font-size: 0.95rem; }
.faq details { border: 1px solid var(--gold-deep); border-radius: 8px; background: var(--card); margin: 0.75rem 0; padding: 0.75rem 1rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--gold); }
.faq p { margin: 0.6rem 0 0.2rem; }
#no-results { display: none; color: var(--muted); font-size: 1.05rem; padding: 1rem 0; }
footer.site { border-top: 1px solid var(--gold-deep); padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.9rem; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-bottom: 1.5rem; }
footer.site nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
footer.site nav a:hover { color: var(--gold); }
footer.site .our-sites h3 { font-family: Georgia, "Times New Roman", serif; margin: 0 0 0.75rem; color: var(--gold); background: linear-gradient(135deg, #FFD700 0%, #FFF3A0 40%, #C9A227 75%, #FFD700 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #8a6d15) drop-shadow(0 4px 0 #5c4a0e) drop-shadow(0 6px 10px rgba(0,0,0,0.8)); }
footer.site .our-sites ul { list-style: none; margin: 0 0 1.5rem; padding: 0; columns: 2; column-gap: 2rem; }
footer.site .our-sites li { break-inside: avoid; margin: 0 0 0.6rem; }
footer.site .our-sites a { color: var(--ink); text-decoration: none; }
footer.site .our-sites a:hover { color: var(--gold); }
footer.site .our-sites a:first-child { font-weight: 700; }
#cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: #0b0b0f; border-top: 2px solid #C9A227; color: #f5f0dc; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -4px 24px rgba(0,0,0,.6); max-width: 100vw; }
#cookie-banner[hidden] { display: none !important; }
#cookie-banner p { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.5; }
#cookie-banner a { color: #FFD700; }
#cookie-banner .cookie-actions { display: flex; gap: 10px; }
form label { font-weight: 700; }
form input, form textarea { padding: 0.6rem 0.7rem; border-radius: 8px; border: 1px solid var(--gold-deep); background: #0d0d12; color: var(--ink); font-size: 1rem; font-family: inherit; }
form input:focus, form textarea:focus { outline: 2px solid var(--gold); }
#cf-status { font-weight: 700; min-height: 1.5em; }
@media (max-width: 640px) {
  .banner h1 { font-size: 2rem; }
  .hero-books { gap: 0.6rem; margin-top: 1.5rem; }
  .hero-books .book3d { width: 5.2rem; }
  .hero-books .book3d:nth-child(2) { width: 6rem; }
  .section-title { font-size: 1.35rem; }
  footer.site .our-sites ul { columns: 1; }
  main { padding: 1.75rem 1rem 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .banner h1, .hero-books .book3d, .btn-hero::after { animation: none !important; }
  .products .card, .products .book3d, .btn { transition: none; }
}
