/* Visorium Guides — viewer (view-only) */

.vg-gate {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, #eff6ff 0%, #fff7ed 45%, #f8fafc 100%);
  font-family: Georgia, "Times New Roman", serif;
  color: #0f172a;
}

.vg-gate__box {
  max-width: 480px;
  margin: 48px auto;
  padding: 28px;
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(30, 64, 175, 0.08);
}

.vg-gate__box h1 {
  font-size: 1.875rem;
  color: #1e3a8a;
  margin: 0.5rem 0 1rem;
}

.vg-gate__price {
  font-size: 2rem;
  font-weight: 700;
  color: #ea580c;
  margin: 0.5rem 0 1rem;
  font-family: system-ui, sans-serif;
}

.vg-gate__note {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

.vg-gate__premium {
  margin-top: 1.25rem;
}

.vg-gate__premium a {
  color: #1e40af;
  font-weight: 600;
}

.vg-reader {
  margin: 0;
  background: #f8fafc;
  color: #0f172a;
  font-family: Georgia, "Times New Roman", serif;
  /* Deterrent only — screenshots still possible */
  -webkit-user-select: none;
  user-select: none;
}

.vg-reader__bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #1e3a8a;
  color: #fff;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
}

.vg-reader__back {
  color: #fff !important;
  text-decoration: underline;
}

.vg-reader__label {
  opacity: 0.9;
}

.vg-reader__account {
  opacity: 0.85;
}

.vg-reader__watermark {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-around;
  opacity: 0.07;
  font-size: 14px;
  font-family: system-ui, sans-serif;
  transform: rotate(-18deg);
  line-height: 8rem;
  word-break: break-all;
  padding: 2rem;
}

.vg-reader__main {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.vg-reader__article {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem 1.5rem 2.5rem;
  line-height: 1.65;
  /* Allow selecting short snippets for UX; JS still limits bulk copy */
  -webkit-user-select: text;
  user-select: text;
}

.vg-reader__article h1,
.vg-reader__article h2,
.vg-reader__article h3 {
  color: #1e3a8a;
  font-family: system-ui, sans-serif;
}

.vg-reader__article a {
  color: #1d4ed8;
}

.vg-reader__article blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #ea580c;
  background: #fff7ed;
  color: #9a3412;
}

.vg-reader__article pre,
.vg-reader__code {
  overflow-x: auto;
  background: #0f172a;
  color: #e2e8f0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
}

.vg-reader__aside {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: #eff6ff;
  border-radius: 10px;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  color: #1e40af;
}

.vg-reader__premium-badge {
  font-weight: 700;
  color: #ea580c;
}

/* Catalog / marketing refresh — Visorium blue/orange */
.vg-card__badge {
  color: #1e40af !important;
  background: #dbeafe !important;
}

.vg-card__btn--primary {
  background: #1e40af !important;
  color: #fff !important;
}

.vg-card__btn--primary:hover {
  background: #1d4ed8 !important;
}

.vg-catalog {
  max-width: none !important;
  width: 100%;
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
}

.vg-catalog__hero {
  padding: 1.5rem 0 0.5rem;
}

.vg-catalog__hero h2 {
  color: #1e3a8a;
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.vg-catalog__price-range {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ea580c;
  font-family: system-ui, sans-serif;
}

.vg-catalog__premium {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 60%, #ea580c 160%) !important;
  color: #fff !important;
}

.vg-catalog__premium h3,
.vg-catalog__premium p {
  color: #fff !important;
}

.vg-catalog__premium .vg-card__btn--secondary {
  background: #fff;
  color: #1e3a8a;
  border: none;
}

.vg-catalog__owned {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #15803d;
  font-family: system-ui, sans-serif;
}

@media print {
  .vg-reader__bar,
  .vg-reader__aside,
  .vg-reader__watermark {
    display: none !important;
  }
  .vg-reader__article::before {
    content: "Visorium — только для личного просмотра. Печать/копирование ограничены.";
    display: block;
    margin-bottom: 1rem;
    color: #64748b;
  }
}
