/* Velmora English — Soft, Elegant Classical Storybook Design System */
:root {
  --ve-bg: #070b12;
  --ve-surface: #0c121e;
  --ve-surface-card: rgba(13, 20, 32, 0.88);
  --ve-border: rgba(255, 255, 255, 0.06);
  --ve-border-glow: rgba(212, 163, 115, 0.12);
  --ve-gold: #c69563;
  --ve-gold-soft: #d8be9f;
  --ve-gold-bright: #ebd0ad;
  --ve-cyan-glow: #38bdf8;
  --ve-purple-glow: #c084fc;
  
  /* Soft, Eye-Friendly Warm Whites (Zero glare, smooth on eyes) */
  --ve-heading: #f5f2eb;        /* Soft ivory pearl white for H1 and titles */
  --ve-text-story: #ece7de;     /* Gentle warm novel paper white for story text */
  --ve-text: #ded9cf;           /* Smooth off-white for regular descriptions */
  --ve-text-muted: #8b99ac;      /* Relaxing muted slate */
  
  --ve-success: #10b981;
  --ve-radius: 20px;
  
  /* Fluid, Organic Classical Book Fonts (No sharp angles, no harsh chisel corners) */
  --ve-font-serif: "Iowan Old Style", Baskerville, Georgia, serif;
  --ve-font-story: "Iowan Old Style", Georgia, serif;
  --ve-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ve-max-width: 1280px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body.ve-body {
  background-color: var(--ve-bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 163, 115, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.03) 0%, transparent 50%);
  color: var(--ve-text);
  font-family: var(--ve-font-sans);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  padding-bottom: 84px;
}

@media (min-width: 769px) {
  body.ve-body {
    padding-bottom: 0;
  }
}

.ve-container {
  max-width: var(--ve-max-width);
  margin: 0 auto;
  padding: 24px 28px;
}

/* Headings with smooth curved calligraphy serif */
h1, .ve-h1 {
  font-family: var(--ve-font-serif);
  color: var(--ve-heading);
  font-weight: 600;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 14px rgba(245, 242, 235, 0.08);
}

h2, h3, .ve-h2, .ve-h3 {
  font-family: var(--ve-font-serif);
  color: var(--ve-heading);
  font-weight: 600;
  letter-spacing: 0.1px;
}

/* Header Nav */
.ve-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--ve-border);
  margin-bottom: 32px;
}

.ve-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.ve-brand-mark-img {
  height: 48px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 0 10px rgba(212, 163, 115, 0.35));
  transition: transform 0.25s ease;
}

.ve-brand-mark-img:hover {
  transform: scale(1.06);
}

.ve-brand-title {
  font-family: var(--ve-font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ve-heading);
  letter-spacing: 0.3px;
}

.ve-nav-links {
  display: flex;
  gap: 24px;
}

.ve-nav-links a {
  color: var(--ve-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s, text-shadow 0.2s;
}

.ve-nav-links a:hover, .ve-nav-links a.active {
  color: var(--ve-heading);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .ve-nav-links {
    display: none;
  }
}

/* Dropdown Select Elements */
select, select.ve-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #0d1522 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg width=12 height=12 viewBox=0 0 24 24 fill=none stroke=%23ded9cf stroke-width=2 stroke-linecap=round stroke-linejoin=round%3E%3Cpolyline points=6 9 12 15 18 9%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  color: var(--ve-text-story) !important;
  border: 1px solid rgba(212, 163, 115, 0.25) !important;
  border-radius: 10px !important;
  padding: 7px 32px 7px 12px !important;
  font-family: var(--ve-font-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

select:hover, select:focus {
  border-color: var(--ve-gold-soft) !important;
  box-shadow: 0 0 14px rgba(212, 163, 115, 0.25) !important;
}

select option {
  background-color: #070c12 !important;
  color: var(--ve-text-story) !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  font-family: var(--ve-font-sans) !important;
}

select option:hover, select option:focus, select option:checked {
  background-color: #1a2538 !important;
  color: var(--ve-heading) !important;
}

/* Glassmorphism Cards */
.ve-card {
  background: var(--ve-surface-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--ve-border);
  border-radius: var(--ve-radius);
  padding: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  margin-bottom: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ve-card:hover {
  border-color: rgba(212, 163, 115, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 24px rgba(212, 163, 115, 0.1);
}

/* Buttons */
.ve-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #d4a373 0%, #b8860b 100%);
  color: #070c12;
  font-family: var(--ve-font-sans);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(212, 163, 115, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ve-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 163, 115, 0.4);
  background: linear-gradient(135deg, #e8be93 0%, #d4a373 100%);
}

.ve-btn-outline {
  background: rgba(15, 23, 36, 0.8);
  border: 1px solid var(--ve-border);
  color: var(--ve-text);
  box-shadow: none;
}

.ve-btn-outline:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--ve-gold-soft);
  color: var(--ve-heading);
}

/* Cinema Player */
.ve-cinema-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(212, 163, 115, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 163, 115, 0.15);
  background: #05080c;
  margin-bottom: 28px;
}

.ve-cinema-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
  transition: filter 0.5s ease;
}

.ve-cinema-image-bg {
  transform: scale(1.02);
  transform-origin: center center;
}

.ve-cinema-container.playing .ve-cinema-image-bg {
  animation: ve-context-pan 24s ease-in-out infinite alternate;
}

@keyframes ve-context-pan {
  from { transform: scale(1.02) translate3d(-0.4%, 0, 0); }
  to { transform: scale(1.1) translate3d(0.8%, -0.6%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ve-cinema-container.playing .ve-cinema-image-bg { animation: none; }
}

.ve-cinema-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 12, 18, 0.2) 0%, rgba(7, 12, 18, 0.95) 90%);
  pointer-events: none;
}

.ve-big-play-btn {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(212, 163, 115, 0.95);
  border: 2px solid #fff;
  box-shadow: 0 0 35px rgba(212, 163, 115, 0.5), 0 8px 24px rgba(0,0,0,0.6);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ve-big-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
  box-shadow: 0 0 45px rgba(212, 163, 115, 0.8);
}

.ve-big-play-icon {
  font-size: 28px;
  margin-left: 4px;
}

.ve-cinema-container.playing .ve-big-play-btn {
  opacity: 0.15;
  transform: translate(-50%, -50%) scale(0.85);
}

.ve-cinema-container.playing:hover .ve-big-play-btn {
  opacity: 0.95;
  transform: translate(-50%, -50%) scale(1.05);
}

/* AI Movie Cinema Subtitle Teleprompter */
.ve-cinema-teleprompter {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 880px;
  max-height: 38% !important;
  overflow-y: auto !important;
  background: rgba(8, 13, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 163, 115, 0.25);
  padding: 14px 22px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.85), 0 0 25px rgba(212, 163, 115, 0.12);
  z-index: 10;
  text-align: center;
}

.ve-cinema-word {
  display: inline;
  font-family: var(--ve-font-story);
  font-size: 17px;
  font-weight: 400;
  color: var(--ve-text-story);
  margin: 0 2px;
  padding: 2px 4px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1.7;
  transition: color 0.15s, background 0.15s, transform 0.15s;
}

.ve-cinema-word:hover {
  color: #fff;
  background: rgba(212, 163, 115, 0.2);
}

.ve-cinema-word.active {
  color: #070c12 !important;
  background: var(--ve-gold-soft) !important;
  font-weight: 600 !important;
  box-shadow: 0 0 12px rgba(212, 163, 115, 0.6) !important;
}

/* Player Controls Bar */
.ve-yt-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(5,8,12,0.96) 0%, rgba(5,8,12,0.7) 80%, transparent 100%);
  padding: 8px 18px 10px 18px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ve-yt-progress-container {
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.18);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.ve-yt-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ve-gold) 0%, #e8be93 100%);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.ve-yt-buttons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.ve-yt-btn {
  background: none;
  border: none;
  color: var(--ve-text-story);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.ve-yt-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--ve-heading);
}

/* Dictionary HUD Card */
.ve-hud-card {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 320px;
  max-width: 90%;
  background: rgba(10, 15, 26, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--ve-gold);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 163, 115, 0.2);
  z-index: 30;
  animation: veSlideIn 0.25s ease-out;
}

@keyframes veSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sentence Breakdown Reader */
.ve-sentence-card {
  background: rgba(12, 18, 30, 0.65);
  border: 1px solid var(--ve-border);
  padding: 20px 22px;
  border-radius: 16px;
  margin-bottom: 16px;
  transition: border-color 0.2s, background 0.2s;
}

.ve-sentence-card:hover {
  border-color: rgba(212, 163, 115, 0.2);
  background: rgba(15, 23, 36, 0.8);
}

.ve-sentence-text {
  font-family: var(--ve-font-story);
  font-size: 21px;
  font-weight: 400;
  color: var(--ve-text-story);
  line-height: 1.75;
  letter-spacing: 0.1px;
}

.ve-video-word {
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}

.ve-video-word:hover {
  background: rgba(212, 163, 115, 0.18);
  color: var(--ve-heading);
}

.ve-translation-text {
  font-family: var(--ve-font-sans);
  font-size: 14px;
  color: var(--ve-gold-soft);
  font-style: italic;
  margin-top: 12px;
  background: rgba(255,255,255,0.03);
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.5;
}

/* Story Cards on Library Page */
.ve-story-card {
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  padding: 22px;
}

.ve-story-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 163, 115, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 163, 115, 0.12);
}

.ve-story-card-title {
  font-family: var(--ve-font-serif);
  color: var(--ve-heading);
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1px;
}

.ve-chapter-badge {
  min-width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #d4a373 0%, #b8860b 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #070c12;
  font-family: var(--ve-font-sans);
}


/* ============================================================ */

/* ============================================================ */
/* PRESTIGIOUS LUXURY ACADEMIC NAVBAR (EDITORIAL PERFECTION)   */
/* ============================================================ */
.ve-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 36px;
  position: relative;
}

.ve-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
}

.ve-brand-mark-wrap {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid rgba(212, 163, 115, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ve-brand:hover .ve-brand-mark-wrap {
  transform: scale(1.05);
  border-color: var(--ve-gold);
}

.ve-brand-mark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ve-brand-title {
  font-family: var(--ve-font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ve-heading);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.ve-brand-subtitle {
  font-size: 11px;
  color: var(--ve-text-muted);
  font-weight: 400;
  letter-spacing: 0.4px;
  margin-top: 2px;
}

/* Nav Links - High Spacing, Clean Typography */
.ve-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* Editorial Minimalist Nav Items */
.ve-nav-item {
  color: var(--ve-text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.ve-nav-item:hover {
  color: var(--ve-heading);
}

/* Elegant Underline Indicator on Active State */
.ve-nav-item.active {
  color: var(--ve-gold-soft);
  font-weight: 600;
}

.ve-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ve-gold-soft);
  border-radius: 2px;
}

/* Distinguished CTA Pill: Thẻ Nhập Học */
.ve-nav-item.ve-nav-cta {
  padding: 7px 16px;
  border-radius: 20px;
  color: var(--ve-gold-soft);
  background: rgba(212, 163, 115, 0.08);
  border: 1px solid rgba(212, 163, 115, 0.25);
  font-weight: 600;
  transition: all 0.2s ease;
}

.ve-nav-item.ve-nav-cta:hover {
  background: rgba(212, 163, 115, 0.18);
  border-color: var(--ve-gold);
  color: #fff;
}

.ve-nav-item.ve-nav-cta.active::after {
  display: none;
}

/* Distinguished Amazon Link */
.ve-nav-item.ve-nav-amazon {
  color: #ff9900;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
  background: rgba(255, 153, 0, 0.05);
}

.ve-nav-item.ve-nav-amazon:hover {
  color: #ffb84d;
  background: rgba(255, 153, 0, 0.12);
}

.ve-mobile-drawer {
  display: none;
  flex-direction: column;
  background: rgba(10, 15, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8);
  gap: 6px;
}

.ve-mobile-drawer.open {
  display: flex;
}

.ve-mobile-link {
  display: block;
  padding: 12px 16px;
  color: var(--ve-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s;
}

.ve-mobile-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ve-heading);
}

@media (max-width: 960px) {
  .ve-nav-links {
    display: none;
  }
}

/* ============================================================ */
/* LUXURY EDITORIAL ACADEMY FOOTER                              */
/* ============================================================ */
.ve-footer {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.ve-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.ve-footer-col {
  display: flex;
  flex-direction: column;
}

.ve-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ve-footer-crest {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(212, 163, 115, 0.25);
}

.ve-footer-title {
  font-family: var(--ve-font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ve-heading);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.ve-footer-subtitle {
  font-size: 10.5px;
  color: var(--ve-text-muted);
  font-weight: 400;
  letter-spacing: 0.4px;
}

.ve-footer-desc {
  font-size: 13px;
  color: var(--ve-text-muted);
  line-height: 1.7;
  margin: 0 0 14px 0;
}

.ve-footer-motto {
  font-family: var(--ve-font-serif);
  font-size: 12px;
  font-style: italic;
  color: var(--ve-gold-soft);
  opacity: 0.85;
}

.ve-footer-heading {
  font-family: var(--ve-font-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ve-heading);
  margin: 0 0 16px 0;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.ve-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.ve-footer-links a {
  color: var(--ve-text-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.ve-footer-links a:hover {
  color: var(--ve-heading);
  transform: translateX(2px);
}

.ve-footer-muted {
  color: var(--ve-text-muted);
  opacity: 0.7;
}

.ve-footer-bottom {
  padding: 24px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--ve-text-muted);
}

.ve-footer-legal-links {
  display: flex;
  gap: 10px;
}

.ve-footer-legal-links a {
  color: var(--ve-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.ve-footer-legal-links a:hover {
  color: var(--ve-heading);
}

@media (max-width: 900px) {
  .ve-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .ve-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ve-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ============================================================ */
/* LUXURY 3D BOOKSHELF & REALISTIC BOOK COVERS                  */
/* ============================================================ */

/* Spotlight Flagship Card */
.ve-spotlight-card {
  background: radial-gradient(circle at 70% 30%, rgba(212, 163, 115, 0.1) 0%, rgba(12, 18, 30, 0.85) 70%);
  border: 1px solid rgba(212, 163, 115, 0.2);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.6);
}

.ve-spotlight-inner {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
}

.ve-spotlight-cover-wrap {
  width: 200px;
  flex-shrink: 0;
  margin: 0 auto;
}

.ve-spotlight-info {
  flex: 1;
  min-width: 300px;
}

.ve-spotlight-title {
  font-family: var(--ve-font-serif);
  font-size: 25px;
  font-weight: 700;
  color: var(--ve-heading);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

/* Badges */
.ve-badge-core {
  background: rgba(212, 163, 115, 0.18);
  color: var(--ve-gold-soft);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ve-badge-free {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.ve-badge-level {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ve-text);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

/* 3D Standing Book Effect for Spotlight */
.ve-book-3d-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.85), -6px 0 16px rgba(0,0,0,0.5), inset 2px 0 3px rgba(255,255,255,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.ve-book-3d-wrap:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 28px 56px rgba(0,0,0,0.95), 0 0 32px rgba(212,163,115,0.3);
}

.ve-book-3d-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

/* Bookshelf Grid */
.ve-bookshelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 28px 20px;
}

/* Individual Book Card */
.ve-book-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 0.25s ease;
}

.ve-book-cover-link {
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
}

/* 3D Realistic Book Box */
.ve-book-3d-box {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,0.7), -4px 0 12px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #0d1420;
}

.ve-book-card:hover .ve-book-3d-box {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 48px rgba(0,0,0,0.85), 0 0 24px rgba(212,163,115,0.2);
}

.ve-book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Left Book Spine Crease Effect */
.ve-book-spine-shade {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 18px;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(255,255,255,0.15) 30%, rgba(0,0,0,0.3) 70%, transparent 100%);
  pointer-events: none;
}

/* Floating Level Tag */
.ve-book-level-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(7, 12, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--ve-gold-soft);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.ve-book-level-tag.ve-tag-gothic {
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.3);
}

/* Book Details Typography */
.ve-book-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ve-book-title {
  font-family: var(--ve-font-serif);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 4px 0;
}

.ve-book-title a {
  color: var(--ve-heading);
  text-decoration: none;
  transition: color 0.2s;
}

.ve-book-title a:hover {
  color: var(--ve-gold-soft);
}

.ve-book-author {
  font-size: 11.5px;
  color: var(--ve-text-muted);
  margin-bottom: 6px;
}

.ve-book-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ve-gold-soft);
  margin-bottom: 10px;
}

.ve-book-btn {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ve-gold-soft);
  background: rgba(212, 163, 115, 0.08);
  border: 1px solid rgba(212, 163, 115, 0.2);
  padding: 4px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ve-book-btn:hover {
  background: rgba(212, 163, 115, 0.2);
  border-color: var(--ve-gold);
  color: #fff;
}

/* ==========================================================================
   VELMORA LUXURY INTERACTIVE MICRO-ANIMATIONS & HOVER SUITE
   ========================================================================== */

/* Brand & Logo Micro-Animations */
.ve-brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ve-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
    border: 1px solid rgba(212, 163, 115, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ve-brand-link:hover .ve-brand-logo {
    transform: scale(1.1) rotate(-3deg);
    border-color: var(--ve-gold);
    box-shadow: 0 0 20px rgba(212, 163, 115, 0.6), 0 8px 24px rgba(0,0,0,0.8);
}

.ve-brand-title {
    font-family: var(--ve-font-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--ve-gold-soft);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.ve-brand-link:hover .ve-brand-title {
    color: #ffffff;
    text-shadow: 0 0 16px rgba(212, 163, 115, 0.7);
    letter-spacing: 1.5px;
}

.ve-brand-subtitle {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--ve-text-muted);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.ve-brand-link:hover .ve-brand-subtitle {
    color: var(--ve-gold-soft);
    letter-spacing: 2px;
}

/* Nav Menu Hover & Active Pill Effects */
.ve-nav-link {
    position: relative;
    padding: 7px 14px;
    border-radius: 8px;
    color: var(--ve-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ve-nav-link:hover {
    color: #ffffff;
    background: rgba(212, 163, 115, 0.12);
    border-color: rgba(212, 163, 115, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 163, 115, 0.15);
}

.ve-nav-link.active,
.ve-nav-link-active {
    color: var(--ve-gold-soft) !important;
    background: rgba(212, 163, 115, 0.14) !important;
    border-color: rgba(212, 163, 115, 0.35) !important;
    font-weight: 600;
    box-shadow: 0 0 14px rgba(212, 163, 115, 0.2);
}

.ve-nav-link-amazon {
    color: #ff9900 !important;
    background: rgba(255, 153, 0, 0.1) !important;
    border: 1px solid rgba(255, 153, 0, 0.25) !important;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ve-nav-link-amazon:hover {
    background: rgba(255, 153, 0, 0.2) !important;
    border-color: #ff9900 !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.3);
}

/* Button Shimmer & Elevation Effects */
.ve-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ve-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: none;
}

.ve-btn:hover::after {
    left: 160%;
    transition: left 0.75s ease-in-out;
}

.ve-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(212, 163, 115, 0.4);
    filter: brightness(1.08);
}

.ve-btn:active {
    transform: translateY(1px) scale(0.98);
}

.ve-btn-outline:hover {
    background: rgba(212, 163, 115, 0.15) !important;
    border-color: var(--ve-gold) !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(212, 163, 115, 0.25);
}

/* Card Hover Elevation */
.ve-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.ve-card:hover {
    border-color: rgba(212, 163, 115, 0.3);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 163, 115, 0.1);
}

.ve-story-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ve-story-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 163, 115, 0.45) !important;
    background: rgba(18, 27, 44, 0.9) !important;
    box-shadow: 0 16px 36px rgba(0,0,0,0.85), 0 0 24px rgba(212,163,115,0.2) !important;
}

.ve-story-card:hover .ve-chapter-badge {
    background: linear-gradient(135deg, #d4a373 0%, #b8860b 100%);
    color: #070c12;
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(212, 163, 115, 0.6);
}

.ve-story-card:hover .ve-story-card-title {
    color: var(--ve-gold-soft);
}

/* 3D Book Cover Physics & Hover Tilt */
.ve-book-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ve-book-card:hover {
    transform: translateY(-8px);
}

.ve-book-card:hover .ve-book-3d-box {
    transform: rotateY(-6deg) scale(1.03);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.95), 0 0 32px rgba(212, 163, 115, 0.35);
}

.ve-book-card:hover .ve-book-spine-shade {
    opacity: 0.6;
}

.ve-book-card:hover .ve-book-title a {
    color: var(--ve-gold-soft);
}

.ve-book-card:hover .ve-book-btn {
    background: linear-gradient(135deg, #d4a373 0%, #b8860b 100%);
    color: #070c12;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(212,163,115,0.4);
}

/* Sacred Crest Aura Animation */
.ve-crest-aura-wrap {
    padding: 16px;
    background: rgba(12, 18, 30, 0.85);
    border-radius: 18px;
    border: 1px solid rgba(212, 163, 115, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ve-crest-aura-wrap:hover {
    transform: scale(1.05) translateY(-4px);
    border-color: var(--ve-gold);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.9), 0 0 36px rgba(212, 163, 115, 0.45);
}

.ve-crest-aura-wrap:hover img {
    filter: drop-shadow(0 0 20px rgba(212, 163, 115, 0.5));
}

.ve-btn-gold {
    background: linear-gradient(135deg, #d4a373 0%, #b8860b 100%) !important;
    color: #070c12 !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px rgba(212, 163, 115, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ve-btn-gold:hover {
    background: linear-gradient(135deg, #f5c994 0%, #d4a373 100%) !important;
    color: #070c12 !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 12px 32px rgba(212, 163, 115, 0.55), 0 0 24px rgba(212, 163, 115, 0.35) !important;
    filter: brightness(1.12);
}

/* ========================================================================== */
/* VELMORA CINEMA V3 — shared 16:9 player and subtitle-safe controls          */
/* ========================================================================== */
.ve-cinema-container {
    width: 100%;
    max-width: 1280px;
    aspect-ratio: auto;
    max-height: none;
    margin: 0 auto 28px;
    display: grid;
    grid-template-rows: auto auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(226, 185, 91, 0.28);
    background: #02060b;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255,255,255,.02) inset;
    isolation: isolate;
}

.ve-cinema-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
    background: #02060b;
}

.ve-cinema-bg {
    filter: brightness(.78) contrast(1.06) saturate(.94);
    transition: filter .35s ease, transform .6s ease;
}

.ve-cinema-vignette {
    z-index: 2;
    background:
        linear-gradient(to bottom, rgba(2,6,11,.42) 0%, transparent 23%, transparent 55%, rgba(2,6,11,.74) 100%),
        radial-gradient(circle at 50% 43%, transparent 25%, rgba(2,6,11,.46) 100%);
}

.ve-cinema-topbar {
    position: absolute;
    z-index: 8;
    top: 14px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    pointer-events: none;
}

.ve-cinema-media-badge,
.ve-cinema-section-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(226,185,91,.24);
    background: rgba(2,6,11,.66);
    color: rgba(250,246,237,.88);
    font: 600 10px/1.2 var(--ve-font-sans);
    letter-spacing: .055em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.ve-big-play-btn {
    top: 43%;
    width: 72px;
    height: 72px;
    z-index: 12;
    background: linear-gradient(145deg, #f0c892, #c98d4d);
    border: 2px solid rgba(255,255,255,.92);
    box-shadow: 0 0 0 9px rgba(5,10,17,.28), 0 16px 42px rgba(0,0,0,.62);
}

.ve-big-play-btn:focus-visible,
.ve-yt-btn:focus-visible,
.ve-player-range:focus-visible,
#ve-voice-select:focus-visible {
    outline: 2px solid var(--ve-gold-soft);
    outline-offset: 3px;
}

.ve-cinema-container.playing .ve-big-play-btn,
.ve-cinema-container.playing:hover .ve-big-play-btn {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.85);
}

.ve-cinema-teleprompter {
    bottom: 18px;
    width: min(88%, 980px);
    max-width: none;
    min-height: 96px;
    max-height: none !important;
    overflow: visible !important;
    padding: 12px 22px 15px;
    border-radius: 14px;
    background: rgba(3,8,15,.82);
    border: 1px solid rgba(226,185,91,.3);
    box-shadow: 0 16px 46px rgba(0,0,0,.62);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    text-align: left;
}

.ve-subtitle-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
    color: var(--ve-gold-soft);
    font: 700 10px/1.2 var(--ve-font-sans);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ve-subtitle-words-wrapper {
    min-height: 48px;
    display: grid;
    align-items: center;
}

.ve-subtitle-cue {
    display: none;
    font-family: var(--ve-font-story);
    font-size: clamp(17px, 1.65vw, 23px);
    font-weight: 520;
    color: #fffdf7;
    line-height: 1.46;
    letter-spacing: .01em;
    text-wrap: balance;
    text-shadow: 0 2px 8px rgba(0,0,0,.95);
}

.ve-subtitle-cue.is-active {
    display: block;
    animation: ve-subtitle-in .2s ease-out;
}

@keyframes ve-subtitle-in {
    from { opacity: .3; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.ve-cinema-word {
    display: inline;
    font: inherit;
    color: inherit;
    margin: 0;
    padding: 1px 3px;
    line-height: inherit;
}

.ve-cinema-word.active {
    color: #fff8e8 !important;
    background: rgba(196,132,63,.82) !important;
    font-weight: 750 !important;
    box-shadow: 0 0 0 2px rgba(240,200,146,.16), 0 0 18px rgba(212,163,115,.38) !important;
}

.ve-yt-controls-bar {
    position: relative;
    inset: auto;
    padding: 9px 16px 8px;
    gap: 8px;
    background: linear-gradient(180deg, #07101a, #03080e);
    border-top: 1px solid rgba(226,185,91,.2);
}

.ve-yt-buttons-row {
    justify-content: space-between;
    gap: 16px;
}

.ve-yt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.ve-step-btn {
    min-width: 28px;
    min-height: 28px;
    padding: 2px 7px;
    border-color: rgba(255,255,255,.1);
    font-size: 17px;
}

.ve-player-control-group,
.ve-player-field {
    display: flex;
    align-items: center;
}

.ve-player-control-group { gap: 7px; }
.ve-player-secondary-controls { margin-left: auto; gap: 14px; }
.ve-player-field { gap: 7px; color: var(--ve-gold-soft); font-size: 11px; font-weight: 700; }

.ve-player-range {
    appearance: none;
    height: 4px;
    margin: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.22);
    accent-color: var(--ve-gold);
    cursor: pointer;
}

.ve-player-range::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #f5ddba;
    background: #c98d4d;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.ve-volume-range { width: 78px; }
.ve-speed-range { width: 88px; }

.ve-player-time,
.ve-speed-value {
    color: #f7f2e8;
    font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
    white-space: nowrap;
}

#ve-voice-select {
    min-width: 158px;
    max-width: 190px;
}

.ve-player-status {
    min-height: 13px;
    color: rgba(226,220,208,.62);
    font-size: 9.5px;
    line-height: 1.2;
    text-align: right;
    letter-spacing: .035em;
}

@media (max-width: 820px) {
    .ve-cinema-container { border-radius: 14px; }
    .ve-cinema-topbar { top: 9px; left: 9px; right: 9px; }
    .ve-cinema-media-badge { display: none; }
    .ve-cinema-section-badge { margin-left: auto; font-size: 9px; }
    .ve-big-play-btn { width: 58px; height: 58px; }
    .ve-cinema-teleprompter { bottom: 10px; width: 94%; min-height: 78px; padding: 9px 13px 11px; }
    .ve-subtitle-heading { font-size: 8.5px; margin-bottom: 5px; }
    .ve-subtitle-cue { font-size: clamp(13px, 3.15vw, 18px); line-height: 1.36; }
    .ve-yt-controls-bar { padding: 7px 9px; }
    .ve-yt-buttons-row { align-items: stretch; flex-direction: column; gap: 7px; }
    .ve-player-primary-controls,
    .ve-player-secondary-controls { width: 100%; justify-content: center; margin: 0; }
    .ve-player-secondary-controls { justify-content: space-between; }
    .ve-player-status { display: none; }
}

@media (max-width: 520px) {
    .ve-cinema-section-badge { display: none; }
    .ve-big-play-btn { top: 38%; width: 50px; height: 50px; }
    .ve-cinema-teleprompter { width: 96%; bottom: 7px; min-height: 70px; border-radius: 10px; }
    #ve-subtitle-badge { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ve-subtitle-cue { font-size: 13px; line-height: 1.32; text-wrap: pretty; }
    .ve-volume-range { width: 58px; }
    .ve-speed-range { width: 62px; }
    .ve-voice-field > span,
    .ve-speed-field > span:first-child { display: none; }
    #ve-voice-select { min-width: 138px; max-width: 148px; }
}
