/* Content Protection CSS - Basic deterrents for casual copying */
/* Note: Determined users can bypass these, but they discourage casual piracy */

/* Disable text selection on manual content */
.prose {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* But allow selection in code blocks (for learning) */
.prose pre,
.prose code {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Prevent image dragging */
.prose img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Print stylesheet - show watermark prominently */
@media print {
  /* Hide navigation and purchase buttons in print */
  nav,
  .gumroad-button,
  button,
  .purchase-section {
    display: none !important;
  }
  
  /* Add watermark on every printed page */
  body::before {
    content: "Licensed to: See watermark below";
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: #999;
    z-index: 9999;
  }
  
  /* Make watermark more prominent */
  .watermark-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #f0f0f0 !important;
    padding: 10px !important;
    font-size: 10px !important;
    border-bottom: 1px solid #ccc !important;
  }
  
  /* Add footer watermark on each page */
  body::after {
    content: "© Rondanini Publishing Ltd - Unauthorized reproduction prohibited";
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10px;
    color: #999;
  }
}

/* Subtle visual indicator that content is protected */
.protected-content {
  position: relative;
}

.protected-content::selection {
  background: transparent;
}
