/* Article rich content (Blogger-style HTML) */
.article-content {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  color: #fff;
  font-weight: 700;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  line-height: 1.25;
}
.article-content h1 { font-size: 1.875rem; }
.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.25rem; }
.article-content p { margin: 0.85em 0; }
.article-content a {
  color: #e50914;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-content a:hover { color: #ff3b46; }
.article-content img,
.article-content video,
.article-content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.2em auto;
  display: block;
}
.article-content iframe { aspect-ratio: 16 / 9; width: 100%; }
.article-content blockquote {
  border-left: 4px solid #e50914;
  padding: 0.5em 1em;
  margin: 1.2em 0;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.03);
  border-radius: 0 8px 8px 0;
}
.article-content ul,
.article-content ol { padding-left: 1.4em; margin: 0.85em 0; }
.article-content li { margin: 0.35em 0; }
.article-content code {
  background: rgba(255,255,255,0.08);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.92em;
}
.article-content pre {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1em;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.2em 0;
}
.article-content pre code { background: transparent; padding: 0; }
.article-content hr {
  border: 0;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 2em 0;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
}
.article-content th,
.article-content td {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.6em 0.9em;
  text-align: left;
}
.article-content th { background: rgba(255,255,255,0.05); font-weight: 600; }

/* Card hover */
.article-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(229, 9, 20, 0.25);
}

/* Hide scrollbars but keep scroll */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* Content Locker — base styles */
.unlock-button {
  --btn-color: #e50914;
  --btn-color-rgb: 229, 9, 20;
  position: relative;
  display: inline-flex;
  border: 0;
  background: transparent;
  cursor: pointer;
  outline: 0;
  transition: transform .2s ease;
}
.unlock-button > .glow {
  position: absolute; inset: 0;
  border-radius: 9999px;
  background: var(--btn-color);
  filter: blur(20px);
  opacity: .6;
  z-index: 0;
}
.unlock-button > .core {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.75rem;
  border-radius: 9999px;
  color: #fff; font-weight: 700;
  /* Solid color fallback (works on all browsers) */
  background: var(--btn-color, #e50914);
  /* Gradient on supporting browsers (Chrome 111+/Safari 16.2+) */
  background: linear-gradient(135deg, var(--btn-color, #e50914), var(--btn-color-dark, #a3060c));
  box-shadow: 0 12px 30px -8px rgba(var(--btn-color-rgb, 229,9,20), 0.55), inset 0 0 0 1px rgba(255,255,255,.08);
}
.unlock-button:hover { transform: scale(1.06); animation-play-state: paused; }
.unlock-button:active { transform: scale(0.97); }
.unlock-button:disabled { animation-play-state: paused; opacity: .75; cursor: wait; }

/* 🔒 lock icon */
.locker-lock {
  animation: lk-bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 6px 16px rgba(var(--btn-color-rgb), 0.5));
}
@keyframes lk-bounce {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08) rotate(-4deg); }
}

#unlockedBox iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }

/* Share bar */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border-radius: 9999px;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.4);
}
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 8px 20px -4px rgba(0,0,0,.5); }
.share-btn:active { transform: translateY(0); }
.share-btn .w-5 { flex-shrink: 0; }
@media (max-width: 480px) {
  .share-btn span:not(#copyLabel) { display: none; }
  .share-btn { padding: .55rem; }
}

/* Web push soft prompt */
#wp-soft-prompt {
  position: fixed;
  bottom: 20px; right: 20px;
  max-width: 360px;
  background: #1f1f1f;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 16px 16px 14px 16px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
  z-index: 60;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
  font-family: Inter, system-ui, sans-serif;
}
#wp-soft-prompt.wp-show { opacity: 1; transform: translateY(0); }
#wp-soft-prompt .wp-close {
  position: absolute; top: 8px; right: 8px;
  background: transparent; border: 0; color: rgba(255,255,255,0.5);
  cursor: pointer; font-size: 16px; padding: 4px 8px; border-radius: 6px;
}
#wp-soft-prompt .wp-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
#wp-soft-prompt .wp-icon { font-size: 28px; margin-bottom: 6px; }
#wp-soft-prompt .wp-body strong { font-size: 15px; }
#wp-soft-prompt .wp-body p { font-size: 13px; color: rgba(255,255,255,0.65); margin: 4px 0 12px; line-height: 1.4; }
#wp-soft-prompt .wp-actions { display: flex; gap: 8px; justify-content: flex-end; }
#wp-soft-prompt button { font-size: 13px; padding: 8px 14px; border-radius: 8px; border: 0; cursor: pointer; font-weight: 600; transition: background .15s; }
#wp-soft-prompt .wp-no { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
#wp-soft-prompt .wp-no:hover { background: rgba(255,255,255,0.15); }
#wp-soft-prompt .wp-yes { background: #e50914; color: #fff; }
#wp-soft-prompt .wp-yes:hover { background: #c5070f; }

.wp-toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: #10b981; color: #fff; padding: 12px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 600; z-index: 70;
  box-shadow: 0 10px 30px -8px rgba(16,185,129,0.5);
  transition: opacity .4s ease;
}

/* ============ 10 ANIMATIONS ============ */

/* 1. float — gentle up/down */
.anim-float        { animation: lk-float 2.6s ease-in-out infinite; }
.anim-float .core  { animation: lk-glow 2.6s ease-in-out infinite; }
@keyframes lk-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes lk-glow {
  0%,100% { box-shadow: 0 12px 30px -8px rgba(var(--btn-color-rgb),0.55), inset 0 0 0 1px rgba(255,255,255,.08); }
  50%     { box-shadow: 0 22px 60px -8px rgba(var(--btn-color-rgb),0.95), inset 0 0 0 1px rgba(255,255,255,.20); }
}

/* 2. pulse — scale in/out */
.anim-pulse { animation: lk-pulse 1.6s ease-in-out infinite; }
@keyframes lk-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

/* 3. bounce — sharp vertical bounce */
.anim-bounce { animation: lk-bounce-y 1.4s cubic-bezier(.28,.84,.42,1) infinite; }
@keyframes lk-bounce-y {
  0%,100% { transform: translateY(0); }
  40%     { transform: translateY(-14px); }
  60%     { transform: translateY(0); }
  75%     { transform: translateY(-6px); }
  90%     { transform: translateY(0); }
}

/* 4. shake — horizontal shake */
.anim-shake { animation: lk-shake 1.8s ease-in-out infinite; }
@keyframes lk-shake {
  0%,100% { transform: translateX(0); }
  10%,30%,50%,70%,90% { transform: translateX(-6px); }
  20%,40%,60%,80% { transform: translateX(6px); }
}

/* 5. wobble — rotational wobble */
.anim-wobble { animation: lk-wobble 2.2s ease-in-out infinite; transform-origin: center; }
@keyframes lk-wobble {
  0%,100% { transform: rotate(0); }
  15%     { transform: rotate(-5deg); }
  30%     { transform: rotate(4deg); }
  45%     { transform: rotate(-3deg); }
  60%     { transform: rotate(2deg); }
  75%     { transform: rotate(-1deg); }
}

/* 6. glow-ring — expanding ring */
.anim-glow .core {
  animation: lk-ring 1.8s ease-out infinite;
}
@keyframes lk-ring {
  0%   { box-shadow: 0 0 0 0 rgba(var(--btn-color-rgb), .85), 0 12px 30px -8px rgba(var(--btn-color-rgb),0.55); }
  70%  { box-shadow: 0 0 0 22px rgba(var(--btn-color-rgb), 0),   0 12px 30px -8px rgba(var(--btn-color-rgb),0.55); }
  100% { box-shadow: 0 0 0 0 rgba(var(--btn-color-rgb), 0),      0 12px 30px -8px rgba(var(--btn-color-rgb),0.55); }
}

/* 7. flash — opacity blink */
.anim-flash { animation: lk-flash 1.2s ease-in-out infinite; }
@keyframes lk-flash { 0%,100%{opacity:1} 50%{opacity:.4} }

/* 8. tilt — 3D tilt left/right */
.anim-tilt { animation: lk-tilt 2.4s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes lk-tilt {
  0%,100% { transform: perspective(400px) rotateY(-12deg); }
  50%     { transform: perspective(400px) rotateY(12deg); }
}

/* 9. jelly — squash & stretch */
.anim-jelly { animation: lk-jelly 1.8s ease-in-out infinite; transform-origin: bottom; }
@keyframes lk-jelly {
  0%,100% { transform: scale(1, 1); }
  25%     { transform: scale(1.12, 0.88); }
  50%     { transform: scale(0.92, 1.08); }
  75%     { transform: scale(1.06, 0.94); }
}

/* 10. rainbow — hue rotation */
.anim-rainbow .core {
  animation: lk-rainbow 4s linear infinite;
}
.anim-rainbow > .glow {
  animation: lk-rainbow 4s linear infinite;
}
@keyframes lk-rainbow {
  0%   { filter: hue-rotate(0deg) saturate(1.1); }
  100% { filter: hue-rotate(360deg) saturate(1.1); }
}
.anim-rainbow > .glow { filter: blur(20px) hue-rotate(0deg); }
