/*
Theme Name: Satan's Jamaican Asshole
Theme URI: https://satansjamaicanasshole.com
Author: The Asshole Itself
Description: The internet's most cursed corner. A theme for an offering.
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Pirata+One&family=IM+Fell+English:ital@0;1&display=swap');

:root {
  --bg: #050000;
  --bg-2: #0d0303;
  --bg-3: #1a0606;
  --blood: #c00000;
  --blood-bright: #ff0000;
  --flame: #ff5e00;
  --ember: #ffb347;
  --bone: #f0e6d2;
  --rot: #5a0e0e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--bone);
  font-family: "IM Fell English", "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.55;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'><text y='18' font-size='18'>🔥</text></svg>") 6 12, auto;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(192,0,0,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,94,0,0.10), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 4px);
}
a { color: var(--blood-bright); text-decoration: none; }
a:hover { color: var(--flame); text-shadow: 0 0 12px var(--blood-bright); }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== Marquee ===== */
.marquee {
  background: var(--blood);
  color: #fff;
  font-family: "Pirata One", serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  padding: 8px 0;
  overflow: hidden;
  border-bottom: 2px solid #000;
  position: relative;
  z-index: 10;
  box-shadow: 0 0 30px rgba(192,0,0,0.6);
}
.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  padding-left: 100%;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 0 28px; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  background:
    radial-gradient(ellipse at center, rgba(192,0,0,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(255,94,0,0.20) 0%, transparent 70%);
  overflow: hidden;
}
.hero::before {
  /* faint pulsing pentagram-ish glow */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(255,0,0,0.10), transparent 40%);
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

.hero-eyebrow {
  font-family: "Pirata One", serif;
  font-size: 16px;
  letter-spacing: 0.5em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 0 8px rgba(255,94,0,0.6);
}

.hero-title {
  font-family: "Creepster", "Pirata One", serif;
  font-size: clamp(56px, 12vw, 180px);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--blood-bright);
  text-shadow:
    0 0 4px #000,
    0 4px 0 #2a0000,
    0 8px 16px rgba(255,0,0,0.6),
    0 16px 40px rgba(255,94,0,0.45);
  margin-bottom: 36px;
  animation: flicker 6s infinite;
  transform-origin: center;
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  43%      { opacity: 1; }
  45%      { opacity: 0.4; }
  47%      { opacity: 1; }
  72%      { opacity: 0.7; }
  73%      { opacity: 1; }
}

.hero-zalgo {
  font-family: "IM Fell English", serif;
  font-size: clamp(22px, 3vw, 36px);
  color: var(--bone);
  opacity: 0.85;
  font-style: italic;
  margin-bottom: 28px;
  max-width: 900px;
  text-shadow: 0 0 8px var(--blood);
}

.hero-sub {
  font-family: "Pirata One", serif;
  font-size: 18px;
  color: var(--ember);
  letter-spacing: 0.2em;
}

/* ===== Stats ===== */
.stats {
  padding: 80px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--rot);
  border-bottom: 1px solid var(--rot);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--rot);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--bg-3) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}
.stat:hover { border-color: var(--blood); transform: translateY(-4px); }
.stat:hover::after {
  content: "🔥";
  position: absolute;
  top: 8px; right: 12px;
  font-size: 20px;
  animation: shake 0.3s infinite;
}
@keyframes shake {
  0%,100% { transform: rotate(-5deg); }
  50%     { transform: rotate(5deg); }
}
.stat-num {
  font-family: "Creepster", serif;
  font-size: 96px;
  color: var(--blood-bright);
  line-height: 1;
  text-shadow: 0 0 12px rgba(255,0,0,0.7);
}
.stat-label {
  font-family: "Pirata One", serif;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--bone);
  text-transform: uppercase;
  margin-top: 14px;
  opacity: 0.85;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-num { font-size: 76px; }
}

/* ===== Rules ===== */
.rules { padding: 90px 24px; }
.section-title {
  font-family: "Creepster", serif;
  text-align: center;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--blood-bright);
  margin-bottom: 12px;
  text-shadow: 0 0 16px rgba(255,0,0,0.6);
}
.section-sub {
  text-align: center;
  font-family: "Pirata One", serif;
  color: var(--ember);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 56px;
  font-size: 14px;
}
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.rule {
  border: 2px solid var(--rot);
  background: linear-gradient(180deg, rgba(26,6,6,0.8), rgba(13,3,3,0.9));
  padding: 36px 28px;
  position: relative;
  transition: all 0.25s;
}
.rule:hover {
  border-color: var(--blood-bright);
  transform: rotate(-1deg) translateY(-4px);
  box-shadow: 0 12px 40px rgba(192,0,0,0.4);
}
.rule:nth-child(even):hover { transform: rotate(1deg) translateY(-4px); }
.rule-num {
  font-family: "Creepster", serif;
  font-size: 48px;
  color: var(--flame);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.rule-name {
  font-family: "Pirata One", serif;
  font-size: 22px;
  color: var(--blood-bright);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.rule p { color: var(--bone); opacity: 0.85; font-size: 17px; }
@media (max-width: 880px) {
  .rules-grid { grid-template-columns: 1fr; }
}

/* ===== Altar (CTA to comments) ===== */
.altar {
  padding: 100px 24px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(255,0,0,0.25), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--rot);
  border-bottom: 1px solid var(--rot);
}
.altar-title {
  font-family: "Creepster", serif;
  font-size: clamp(48px, 8vw, 96px);
  color: var(--blood-bright);
  text-shadow: 0 0 24px rgba(255,0,0,0.8);
  margin-bottom: 20px;
  animation: flicker 8s infinite;
}
.altar p {
  font-family: "IM Fell English", serif;
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--bone);
  max-width: 720px;
  margin: 0 auto 32px;
  opacity: 0.9;
}
.altar-arrow {
  display: inline-block;
  font-size: 80px;
  color: var(--flame);
  animation: bob 1.6s ease-in-out infinite;
  text-shadow: 0 0 20px var(--blood);
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(20px); }
}

/* ===== Page content + comments ===== */
.pit {
  padding: 60px 24px 80px;
  background: var(--bg-2);
}
.pit-inner {
  max-width: 900px;
  margin: 0 auto;
  border: 2px solid var(--rot);
  background: rgba(0,0,0,0.5);
  padding: 48px 36px;
  border-radius: 4px;
  box-shadow:
    inset 0 0 80px rgba(192,0,0,0.15),
    0 0 60px rgba(0,0,0,0.6);
}
.pit-inner h2.wp-block-heading,
.pit-inner h2 {
  font-family: "Creepster", serif;
  text-align: center;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--flame);
  margin: 24px 0 32px;
  text-shadow: 0 0 12px var(--blood);
}
.pit-inner p { margin-bottom: 16px; color: var(--bone); }
.pit-inner .has-text-align-center { text-align: center; }

/* wpDiscuz / WordPress comments styling: tint everything red-ish */
#comments, .wpd-comments {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px dashed var(--rot);
}
#comments .comments-title,
.wpd-thread-info {
  font-family: "Pirata One", serif !important;
  color: var(--blood-bright) !important;
  font-size: 24px !important;
  letter-spacing: 0.1em;
}
.wpd-form-wrapper,
.comment-respond {
  background: rgba(13,3,3,0.6) !important;
  border: 1px solid var(--rot) !important;
  padding: 24px !important;
  border-radius: 4px;
}
.wpd-form input[type=text],
.wpd-form input[type=email],
.wpd-form textarea,
.comment-respond input,
.comment-respond textarea {
  background: #0d0303 !important;
  color: var(--bone) !important;
  border: 1px solid var(--rot) !important;
  font-family: "IM Fell English", serif !important;
}
.wpd-submit, .wpd_label,
.comment-respond .submit {
  background: var(--blood) !important;
  color: #fff !important;
  font-family: "Pirata One", serif !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Footer ===== */
.cursed-footer {
  background: #000;
  border-top: 2px solid var(--blood);
  padding: 36px 24px;
  text-align: center;
  font-family: "Pirata One", serif;
  color: var(--ember);
  letter-spacing: 0.2em;
  font-size: 14px;
}
.cursed-footer .small { color: var(--bone); opacity: 0.5; font-size: 11px; margin-top: 12px; font-family: "IM Fell English", serif; font-style: italic; letter-spacing: 0; }

/* ===== Cursor flame trail ===== */
.flame-trail {
  position: fixed;
  pointer-events: none;
  font-size: 16px;
  opacity: 1;
  transition: opacity 0.6s, transform 0.6s;
  will-change: transform, opacity;
  z-index: 9999;
}

/* ===== Max-cursed mode (Konami code) ===== */
body.max-cursed .hero-title { animation: flicker 0.8s infinite, spin-slight 6s linear infinite; }
body.max-cursed .marquee { animation: pulse 0.7s ease-in-out infinite; }
body.max-cursed .stat-num { animation: shake 0.15s infinite; }
body.max-cursed .rule:nth-child(odd) { transform: rotate(-2deg); }
body.max-cursed .rule:nth-child(even) { transform: rotate(2deg); }
@keyframes spin-slight {
  0%   { transform: rotate(-1deg) skewX(0deg); }
  25%  { transform: rotate(1deg) skewX(-1deg); }
  50%  { transform: rotate(-1deg) skewX(1deg); }
  75%  { transform: rotate(1deg) skewX(-1deg); }
  100% { transform: rotate(-1deg) skewX(0deg); }
}
.cursed-toast {
  position: fixed;
  top: 80px; right: 32px;
  background: var(--blood);
  color: #fff;
  padding: 14px 22px;
  font-family: "Pirata One", serif;
  letter-spacing: 0.2em;
  font-size: 16px;
  z-index: 99999;
  box-shadow: 0 0 40px var(--blood-bright);
  animation: toast-in 0.4s;
}
@keyframes toast-in {
  from { transform: translateX(120%); }
  to   { transform: translateX(0); }
}

/* ===== Bookmarks (The Asshole Recommends) ===== */
.bookmarks {
  padding: 90px 24px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.bookmarks .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bookmarks .section-title, .bookmarks .section-sub { grid-column: 1 / -1; }
.bookmark {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(192,0,0,0.10), rgba(13,3,3,0.6));
  border: 1px solid var(--rot);
  border-left: 4px solid var(--blood);
  text-decoration: none;
  color: var(--bone);
  position: relative;
  transition: all 0.22s;
  overflow: hidden;
}
.bookmark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,0,0,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.bookmark:hover {
  border-color: var(--blood-bright);
  transform: translateX(6px) skewX(-1deg);
  box-shadow: -6px 0 24px rgba(192,0,0,0.5);
  color: var(--bone);
}
.bookmark:hover::before { transform: translateX(100%); }
.bookmark:hover .bookmark-label { color: var(--flame); text-shadow: 0 0 8px var(--blood); }
.bookmark-icon {
  font-size: 32px;
  flex: 0 0 32px;
  text-align: center;
  filter: grayscale(0.2) brightness(0.95);
}
.bookmark-label {
  font-family: "Pirata One", serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--blood-bright);
  transition: color 0.18s, text-shadow 0.18s;
  flex: 1;
}
.bookmark-host {
  font-family: "IM Fell English", serif;
  font-size: 13px;
  color: var(--ember);
  opacity: 0.65;
  font-style: italic;
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .bookmarks .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bookmarks .container { grid-template-columns: 1fr; }
  .bookmark-host { display: none !important; }
}
.bookmark-host { display: none !important; }

/* ===== Haunted stat counter animations ===== */
.stat-num {
  display: inline-block;
  will-change: transform, filter, color;
  transition: text-shadow 0.2s;
}
.stat-pulse {
  animation: stat-pulse 0.5s ease-out;
}
@keyframes stat-pulse {
  0%   { transform: scale(1);    text-shadow: 0 0 12px rgba(255,0,0,0.7); color: var(--blood-bright); }
  40%  { transform: scale(1.08); text-shadow: 0 0 30px var(--flame), 0 0 60px var(--blood); color: var(--ember); }
  100% { transform: scale(1);    text-shadow: 0 0 12px rgba(255,0,0,0.7); color: var(--blood-bright); }
}
.stat-flicker {
  animation: stat-flicker 5s infinite;
}
@keyframes stat-flicker {
  0%, 96%, 100% { opacity: 1; }
  97%, 98%      { opacity: 0.55; }
  97.5%         { opacity: 0.2; }
}
.stat-maxout {
  animation: stat-maxout 0.9s linear;
  color: #fff200 !important;
  text-shadow: 0 0 30px #fff700, 0 0 60px var(--flame), 0 0 100px var(--blood-bright) !important;
}
@keyframes stat-maxout {
  0%   { transform: scale(1)    rotate(0deg); }
  25%  { transform: scale(1.18) rotate(-2deg); }
  50%  { transform: scale(1.05) rotate(2deg); }
  75%  { transform: scale(1.15) rotate(-1deg); }
  100% { transform: scale(1)    rotate(0deg); }
}

/* ===== Cursed jumpscare modal ===== */
.cursed-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cursed-in 0.45s ease-out;
}
.cursed-modal.closing { animation: cursed-out 0.32s ease-in forwards; }
.cursed-modal-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(80,0,0,0.92), rgba(0,0,0,0.98));
  backdrop-filter: blur(6px);
}
.cursed-modal-box {
  position: relative;
  max-width: 720px;
  width: calc(100% - 48px);
  padding: 28px 28px 24px;
  background: #0a0000;
  border: 3px solid var(--blood-bright);
  box-shadow:
    0 0 40px var(--blood-bright),
    0 0 80px var(--flame),
    inset 0 0 60px rgba(192,0,0,0.4);
  text-align: center;
  animation: cursed-shake 0.6s ease-out;
}
.cursed-modal-title {
  font-family: "Creepster", serif;
  font-size: clamp(22px, 4vw, 38px);
  color: var(--blood-bright);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  text-shadow: 0 0 12px var(--blood);
  animation: stat-flicker 2.4s infinite;
}
.cursed-modal-img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 60vh;
  width: auto;
  height: auto;
  /* deliberate upscale of the low-res source — looks more cursed */
  image-rendering: pixelated;
  width: 380px;
  border: 4px ridge var(--blood);
  box-shadow: 0 0 30px var(--flame);
}
.cursed-modal-sub {
  font-family: "IM Fell English", serif;
  font-style: italic;
  color: var(--bone);
  margin-top: 18px;
  font-size: 15px;
  opacity: 0.85;
}
.cursed-modal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  background: var(--blood-bright);
  color: #fff;
  border: 3px solid #000;
  padding: 8px 16px;
  font-family: "Pirata One", serif;
  font-size: 16px;
  letter-spacing: 0.15em;
  cursor: pointer;
  box-shadow: 0 0 20px var(--blood-bright);
  transform: rotate(-3deg);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cursed-modal-close:hover {
  transform: rotate(3deg) scale(1.1);
  box-shadow: 0 0 30px var(--flame);
  background: var(--flame);
}
@keyframes cursed-in {
  0%   { opacity: 0; transform: scale(0.85); }
  60%  { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes cursed-out {
  to { opacity: 0; transform: scale(0.9); }
}
@keyframes cursed-shake {
  0%, 100% { transform: rotate(0deg); }
  20%      { transform: rotate(-1deg) translateX(-4px); }
  40%      { transform: rotate(1deg)  translateX(4px); }
  60%      { transform: rotate(-0.5deg) translateX(-2px); }
  80%      { transform: rotate(0.5deg)  translateX(2px); }
}

/* ===================================================================
   wpDiscuz cursed restyle — high specificity to override defaults
   =================================================================== */

/* Section heading + thread info */
#comments, .wpd-thread-wrapper {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px dashed var(--rot);
  color: var(--bone);
}
.wpd-thread-info,
.wpd-thread-header .wpd-thread-info,
.wpd-thread-header .wpdiscuz-comment-count {
  font-family: "Pirata One", serif !important;
  color: var(--blood-bright) !important;
  font-size: 26px !important;
  letter-spacing: 0.08em !important;
  background: transparent !important;
  border: none !important;
  text-shadow: 0 0 12px var(--blood);
}
.wpd-thread-info i, .wpd-thread-info svg { color: var(--flame) !important; }

/* Filter / order bar */
.wpd-thread-filter, .wpd-filter, .wpd-sort {
  background: rgba(13,3,3,0.7) !important;
  border: 1px solid var(--rot) !important;
  color: var(--bone) !important;
}
.wpd-thread-filter a, .wpd-filter a {
  color: var(--ember) !important;
  border: none !important;
}
.wpd-thread-filter a.wpdf-active, .wpd-filter a.wpdf-active {
  background: var(--blood) !important;
  color: #fff !important;
  border-radius: 0 !important;
}

/* Main form wrapper */
.wpd-form-wrapper,
.wpdiscuz_select,
#wpdcom .wpdiscuz-comment-pagination,
#wpdcom {
  background: transparent !important;
  color: var(--bone) !important;
}

/* The actual form */
.wpd-form,
.wpdiscuz-comment-form,
#wpd-editor-0_0,
form.wpd_comm_form {
  background: linear-gradient(180deg, rgba(13,3,3,0.85), rgba(26,6,6,0.5)) !important;
  border: 2px solid var(--rot) !important;
  border-left: 4px solid var(--blood) !important;
  padding: 24px !important;
  border-radius: 0 !important;
  box-shadow: inset 0 0 40px rgba(192,0,0,0.15);
}

/* Comment textarea + inputs */
.wpd-form textarea,
.wpd-form input[type=text],
.wpd-form input[type=email],
.wpd-form input[type=url],
#wpd-editor-0_0,
#wpdcom .wpd_comm_form textarea,
#wpdcom .wpd_comm_form input[type=text],
.wpd-field-name input,
.wpd-field-email input {
  background: #000 !important;
  color: var(--bone) !important;
  border: 1px solid var(--rot) !important;
  border-radius: 0 !important;
  font-family: "IM Fell English", serif !important;
  font-size: 17px !important;
  padding: 12px !important;
  box-shadow: inset 0 0 12px rgba(192,0,0,0.2);
}
.wpd-form textarea:focus,
.wpd-form input:focus,
#wpdcom .wpd_comm_form textarea:focus,
#wpdcom .wpd_comm_form input:focus {
  outline: none !important;
  border-color: var(--blood-bright) !important;
  box-shadow: 0 0 20px var(--blood), inset 0 0 18px rgba(255,0,0,0.25) !important;
}

/* Placeholder text */
.wpd-form textarea::placeholder,
.wpd-form input::placeholder,
#wpd-editor-0_0::placeholder {
  color: rgba(240,230,210,0.4) !important;
  font-style: italic;
}

/* Editor button toolbar (rich text icons) — keep but tone down */
.wpd-editor-toolbar,
.wpd-text-toolbar {
  background: rgba(0,0,0,0.6) !important;
  border-bottom: 1px solid var(--rot) !important;
}
.wpd-text-toolbar a,
.wpd-text-toolbar button {
  color: var(--ember) !important;
}

/* Field labels (name field icon + placeholder) */
.wpd-field-name { position: relative; }
.wpd-field-name::before {
  content: "your cursed name (optional)";
  display: block;
  font-family: "Pirata One", serif;
  color: var(--ember);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
/* Hide email field if it somehow leaks through */
.wpd-field-email,
.wc_email,
input[name="wc_email"] { display: none !important; }

/* Submit button */
.wpd-form .wpd-submit,
.wpd-form button.wc_comm_submit,
#wpdcom .wpd-form .wpd-submit,
.wc_comm_submit, .wpd_label, .submit {
  background: var(--blood) !important;
  color: #fff !important;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  font-family: "Pirata One", serif !important;
  font-size: 18px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  padding: 12px 28px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  box-shadow: 0 0 12px rgba(192,0,0,0.5);
}
.wpd-form .wpd-submit:hover,
.wpd-form button.wc_comm_submit:hover {
  background: var(--blood-bright) !important;
  box-shadow: 0 0 28px var(--blood-bright), 0 0 50px var(--flame) !important;
  transform: translateY(-1px);
}

/* Replace submit label "Post Comment" with cursed phrasing via CSS */
.wpd-form .wpd-submit { font-size: 0 !important; }
.wpd-form .wpd-submit::after {
  content: "Offer to the Pit";
  font-size: 18px !important;
}

/* Individual comments */
.wpd-comment, .wpd-comment-wrap, .wpd-comment-right {
  background: transparent !important;
  border: none !important;
}
.wpd-comment {
  border-bottom: 1px dashed var(--rot) !important;
  padding: 18px 0 !important;
}
.wpd-comment-author,
.wpd-comment-author a {
  font-family: "Pirata One", serif !important;
  color: var(--blood-bright) !important;
  font-size: 18px !important;
  letter-spacing: 0.05em !important;
  text-decoration: none !important;
}
.wpd-comment-date {
  color: var(--ember) !important;
  font-style: italic;
  font-size: 12px !important;
  letter-spacing: 0.05em;
}
.wpd-comment-text,
.wpd-comment-text p {
  color: var(--bone) !important;
  font-family: "IM Fell English", serif !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
}
.wpd-comment-text blockquote {
  border-left: 3px solid var(--blood) !important;
  padding-left: 12px;
  color: var(--ember) !important;
  font-style: italic;
}

/* Avatar — convert to a cursed sigil ring */
.wpd-avatar img,
img.avatar {
  border-radius: 0 !important;
  border: 2px solid var(--blood) !important;
  filter: grayscale(0.4) sepia(0.3) hue-rotate(330deg) saturate(1.6);
  box-shadow: 0 0 10px rgba(192,0,0,0.5);
}

/* Reply + action links */
.wpd-comment-footer a,
.wpd-reply-button,
.wpd-action {
  color: var(--ember) !important;
  font-family: "Pirata One", serif !important;
  text-transform: uppercase;
  font-size: 12px !important;
  letter-spacing: 0.12em;
  background: transparent !important;
  border: 1px solid transparent !important;
  padding: 4px 10px !important;
  border-radius: 0 !important;
  transition: all 0.15s;
}
.wpd-comment-footer a:hover,
.wpd-reply-button:hover,
.wpd-action:hover {
  color: var(--blood-bright) !important;
  border-color: var(--rot) !important;
  background: rgba(192,0,0,0.1) !important;
}

/* Vote arrows / counters */
.wpd-vote, .wpd-vote-up, .wpd-vote-down {
  color: var(--ember) !important;
}
.wpd-up.wpd-up-active, .wpd-down.wpd-down-active {
  color: var(--blood-bright) !important;
}

/* Pagination, load more */
.wpd-load-more-submit, .wpd-load-comments {
  background: rgba(13,3,3,0.7) !important;
  color: var(--bone) !important;
  border: 1px solid var(--rot) !important;
  font-family: "Pirata One", serif !important;
  letter-spacing: 0.15em;
}
.wpd-load-more-submit:hover {
  border-color: var(--blood-bright) !important;
  color: var(--blood-bright) !important;
}

/* Hide notify-of-replies checkbox (we don't collect emails) */
.wpd-notification-bar,
.wpd-subscribe-bar,
.wpd-cookies-consent { display: none !important; }

/* Hide email field if JS hasn't pruned it yet */
.wc_email-wrapper,
.wpd-field-email,
input[name="wc_email"],
.wc-field-submit > label[wpd-tooltip*="reply"] { display: none !important; }

/* Name field — cursed look */
input[name="wc_name"] {
  font-family: "Pirata One", serif !important;
  letter-spacing: 0.06em !important;
}
.wc_name-wrapper { width: 100% !important; }

/* Hide stray Font Awesome icons inside/around form fields */
#wpdcom .wpd-field-icon,
#wpdcom .wc-field-submit .wpd_label,
#wpdcom .wpd_label__check,
#wpdcom .wc-field-submit > label,
#wpdcom .fa-bell, #wpdcom .fa-bell-slash,
#wpdcom .wpdlb {
  display: none !important;
}

/* Now that the icon container is gone, give the input proper full-width padding */
#wpdcom .wc_name-wrapper {
  width: 100% !important;
  position: relative;
}
#wpdcom .wc_name-wrapper input[name="wc_name"] {
  padding-left: 14px !important;
}

/* Keep right column for submit button but hide the bell+captcha that lived in it */
#wpdcom .wpd_label,
#wpdcom .wc_captcha,
#wpdcom .wc_captcha-wrapper { display: none !important; }
#wpdcom .wpd-form-col-right { width: 30% !important; text-align: right; padding-top: 8px; }
#wpdcom .wpd-form-col-left  { width: 65% !important; float: left; }
#wpdcom .wpd-form-row { display: flex !important; gap: 20px; align-items: center; }
#wpdcom .wpd-form-col-right { float: none !important; }

/* ============================================================================
   CURSED EFFECTS SUITE — STYLES
   ============================================================================ */

/* Sins counter (bottom-left) */
.cursed-sins {
  position: fixed; bottom: 18px; left: 18px; z-index: 9990;
  background: rgba(13,3,3,0.92);
  border: 1px solid var(--rot);
  border-left: 4px solid var(--blood);
  padding: 10px 14px;
  font-family: "Pirata One", serif;
  color: var(--bone);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(192,0,0,0.4);
}
.cursed-sins-label { color: var(--ember); display: block; opacity: 0.85; }
.cursed-sins-num   { color: var(--blood-bright); font-size: 22px; display: block; letter-spacing: 0.06em; }
.cursed-sins-num.flash { animation: cursed-flash 0.45s ease-out; }
@keyframes cursed-flash {
  0%   { color: #fff200; text-shadow: 0 0 18px #fff200, 0 0 36px var(--blood); transform: scale(1.15); }
  100% { color: var(--blood-bright); transform: scale(1); }
}

/* Achievement toasts (top-right stack) */
.cursed-ach {
  position: fixed; top: 70px; right: 18px; z-index: 9991;
  background: linear-gradient(135deg, #1a0606 0%, #2a0000 100%);
  border: 1px solid var(--blood);
  border-left: 4px solid var(--flame);
  padding: 12px 18px;
  min-width: 240px;
  font-family: "Pirata One", serif;
  color: var(--bone);
  box-shadow: 0 0 24px rgba(192,0,0,0.5);
  transform: translateX(140%);
  transition: transform 0.45s ease-out;
}
.cursed-ach.in { transform: translateX(0); }
.cursed-ach + .cursed-ach { top: 130px; }
.cursed-ach + .cursed-ach + .cursed-ach { top: 190px; }
.cursed-ach-head {
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--ember); text-transform: uppercase;
}
.cursed-ach-body {
  font-size: 16px; color: var(--blood-bright); margin-top: 4px;
}

/* Idle haunting popup (slides in from left) */
.idle-haunt {
  position: fixed; left: 18px; top: 50%; transform: translate(-130%, -50%);
  background: rgba(13,3,3,0.96);
  border: 2px solid var(--blood);
  padding: 16px 22px;
  font-family: "IM Fell English", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--bone);
  z-index: 9992;
  box-shadow: 0 0 40px var(--blood-bright);
  transition: transform 0.55s ease-out;
  max-width: 320px;
  display: flex; align-items: center; gap: 16px;
}
.idle-haunt.in { transform: translate(0, -50%); }
.idle-haunt-close {
  background: transparent; border: 1px solid var(--rot);
  color: var(--bone); padding: 2px 8px; cursor: pointer;
  font-family: "Pirata One", serif;
}

/* 3:33 AM (witching hour) global tone */
body.witching-hour {
  filter: hue-rotate(-15deg) saturate(1.6) brightness(0.7);
}
body.witching-hour .marquee-track { animation-duration: 8s !important; }
body.witching-hour .hero-title    { animation-duration: 1.4s !important; }

/* Custom right-click menu */
.rc-menu {
  position: fixed; z-index: 100001;
  background: #0a0000;
  border: 2px solid var(--blood);
  box-shadow: 0 0 30px var(--blood-bright);
  min-width: 200px;
}
.rc-menu button {
  display: block; width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rot);
  padding: 12px 18px;
  font-family: "Pirata One", serif;
  color: var(--bone);
  font-size: 15px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.rc-menu button:last-child { border-bottom: none; }
.rc-menu button:hover {
  background: var(--blood);
  color: #fff;
}

/* Ask Satan widget (bottom-right) */
.ask-satan {
  position: fixed; bottom: 18px; right: 18px; z-index: 9993;
}
.ask-satan-toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blood);
  color: #fff;
  border: 2px solid #000;
  font-family: "Creepster", serif;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 24px var(--blood-bright);
  animation: stat-flicker 4s infinite;
  display: flex; align-items: center; justify-content: center;
}
.ask-satan-toggle:hover { transform: rotate(20deg); }
.ask-satan-box {
  position: absolute; bottom: 70px; right: 0;
  width: 300px;
  background: #0a0000;
  border: 2px solid var(--blood);
  padding: 16px;
  box-shadow: 0 0 30px var(--blood-bright);
  display: none;
}
.ask-satan.open .ask-satan-box { display: block; }
.ask-satan-title {
  font-family: "Creepster", serif;
  color: var(--blood-bright);
  font-size: 24px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-shadow: 0 0 12px var(--blood);
}
.ask-satan-input {
  width: 100%;
  background: #000; color: var(--bone);
  border: 1px solid var(--rot);
  padding: 8px 10px;
  font-family: "IM Fell English", serif;
  margin-bottom: 8px;
}
.ask-satan-ask {
  width: 100%;
  background: var(--blood); color: #fff;
  border: none; padding: 10px;
  font-family: "Pirata One", serif;
  letter-spacing: 0.15em;
  cursor: pointer;
}
.ask-satan-ask:hover { background: var(--blood-bright); }
.ask-satan-answer {
  margin-top: 14px;
  font-family: "IM Fell English", serif;
  font-style: italic;
  color: var(--ember);
  min-height: 28px;
  opacity: 0;
  transition: opacity 0.35s;
}
.ask-satan-answer.show { opacity: 1; }

/* Unclickable button */
.unclickable {
  position: fixed; z-index: 9994;
  padding: 12px 22px;
  background: var(--blood);
  color: #fff;
  border: 2px solid #000;
  font-family: "Pirata One", serif;
  font-size: 15px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 16px var(--blood-bright);
  transition: left 0.22s cubic-bezier(.45,1.4,.6,1), top 0.22s cubic-bezier(.45,1.4,.6,1), transform 0.15s;
  user-select: none;
}
.unclickable.jumped { transform: rotate(-3deg) scale(1.08); }
.unclickable:hover  { background: var(--blood-bright); }

/* Visitors remaining (top-left ticker) */
.visitors-remaining {
  position: fixed; top: 60px; left: 18px; z-index: 9990;
  background: rgba(13,3,3,0.85);
  border: 1px solid var(--rot);
  padding: 6px 12px;
  font-family: "Pirata One", serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone);
  pointer-events: none;
  display: flex; gap: 10px; align-items: baseline;
}
.vr-label { color: var(--ember); }
.vr-num   { color: var(--blood-bright); font-size: 16px; }
.vr-num.flash { animation: cursed-flash 0.45s ease-out; }

/* Faux loading bar (top) */
.cursed-loadbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9995;
  height: 3px;
  background: rgba(13,3,3,0.6);
}
.cursed-loadbar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blood), var(--flame), var(--ember));
  width: 5%;
  box-shadow: 0 0 12px var(--blood-bright);
  transition: width 0.4s ease-out;
}
.cursed-loadbar-label {
  position: absolute; top: 8px; left: 12px;
  font-family: "IM Fell English", serif; font-style: italic;
  color: var(--ember); font-size: 11px;
  opacity: 0.6;
  pointer-events: none;
}

/* Hover-counter escalation on rule cards */
.rule.rule-shake { animation: rule-wobble 0.6s ease-out; }
.rule.rule-spasm { animation: rule-spasm 0.5s ease-out; border-color: var(--flame) !important; }
.rule.rule-doom  { animation: rule-doom  0.7s ease-out; border-color: var(--blood-bright) !important; box-shadow: 0 0 40px var(--blood-bright) !important; }
@keyframes rule-wobble {
  0%, 100% { transform: rotate(-1deg); }
  50%      { transform: rotate(1deg); }
}
@keyframes rule-spasm {
  0%   { transform: translateX(0)  rotate(0deg); }
  20%  { transform: translateX(-6px) rotate(-2deg); }
  40%  { transform: translateX(6px)  rotate(2deg); }
  60%  { transform: translateX(-4px) rotate(-1deg); }
  80%  { transform: translateX(4px)  rotate(1deg); }
  100% { transform: translateX(0)    rotate(0deg); }
}
@keyframes rule-doom {
  0%   { transform: scale(1) rotate(0deg); filter: hue-rotate(0deg); }
  25%  { transform: scale(1.04) rotate(-2deg); filter: hue-rotate(-30deg) brightness(1.3); }
  50%  { transform: scale(0.98) rotate(2deg);  filter: hue-rotate(30deg)  brightness(0.8); }
  75%  { transform: scale(1.02) rotate(-1deg); filter: hue-rotate(-15deg) brightness(1.1); }
  100% { transform: scale(1) rotate(0deg); }
}

/* satan-flash full-page red blink */
.satan-flash {
  position: fixed; inset: 0; z-index: 100002;
  background: var(--blood-bright);
  pointer-events: none;
  animation: satan-flash 0.7s ease-out forwards;
}
@keyframes satan-flash {
  0% { opacity: 0.85; }
  100% { opacity: 0; }
}

/* Mobile — hide some widgets to avoid crowding */
@media (max-width: 720px) {
  .cursed-sins, .visitors-remaining { display: none; }
  .cursed-ach { right: 8px; min-width: 200px; }
  .ask-satan-box { width: 90vw; right: -50px; }
  .unclickable { padding: 9px 14px; font-size: 13px; }
}

/* ============================================================================
   GOATSE CLICKER — full-screen overlay
   ============================================================================ */
.goatse-game-overlay {
  position: fixed; inset: 0; z-index: 100100;
  background:
    radial-gradient(circle at center, rgba(120,0,0,0.5), rgba(0,0,0,0.98));
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  padding: 24px 28px;
  font-family: "IM Fell English", serif;
  color: var(--bone);
  animation: gg-in 0.35s ease-out;
}
@keyframes gg-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.gg-exit {
  position: absolute; top: 18px; right: 18px;
  background: transparent;
  border: 1px solid var(--rot);
  color: var(--bone);
  padding: 6px 14px;
  font-family: "Pirata One", serif;
  letter-spacing: 0.15em;
  cursor: pointer;
  font-size: 14px;
}
.gg-exit:hover { color: var(--blood-bright); border-color: var(--blood); }

.gg-header {
  text-align: center;
  margin-bottom: 18px;
}
.gg-title {
  font-family: "Creepster", serif;
  font-size: clamp(40px, 6vw, 64px);
  color: var(--blood-bright);
  text-shadow: 0 0 18px var(--blood);
  letter-spacing: 0.04em;
  animation: stat-flicker 6s infinite;
}
.gg-subtitle {
  font-family: "Pirata One", serif;
  color: var(--ember);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 4px;
}

.gg-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  min-height: 0;
}

.gg-arena {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  overflow: auto;
  padding: 18px;
}
.gg-goatse {
  cursor: pointer;
  border: 3px ridge var(--blood);
  background: #000;
  padding: 6px;
  box-shadow: 0 0 24px var(--blood-bright);
  transition: transform 0.1s;
  user-select: none;
}
.gg-goatse:hover { transform: scale(1.02) rotate(-1deg); }
.gg-goatse:active { transform: scale(0.96); }
.gg-goatse img {
  display: block;
  width: 280px;
  height: 280px;
  object-fit: cover;
  image-rendering: pixelated;
}
.gg-goatse img.punched {
  animation: gg-punch 0.18s ease-out;
}
@keyframes gg-punch {
  0%   { transform: scale(1); filter: brightness(1); }
  50%  { transform: scale(1.06) rotate(-2deg); filter: brightness(1.6) saturate(1.4); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* Side panel — stats + shop */
.gg-side {
  display: flex; flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.gg-stats {
  border: 1px solid var(--rot);
  background: rgba(0,0,0,0.5);
  padding: 18px;
  text-align: center;
}
.gg-sins-big {
  font-family: "Creepster", serif;
  font-size: 56px;
  color: var(--blood-bright);
  text-shadow: 0 0 18px var(--blood);
  line-height: 1;
}
.gg-sins-label {
  font-family: "Pirata One", serif;
  letter-spacing: 0.25em;
  color: var(--ember);
  font-size: 12px;
  margin-top: 4px;
  text-transform: uppercase;
}
.gg-rates {
  margin-top: 10px;
  font-size: 13px;
  color: var(--bone);
  opacity: 0.8;
  font-style: italic;
}

.gg-shop {
  flex: 1;
  overflow-y: auto;
  display: flex; flex-direction: column;
  gap: 8px;
  padding-right: 6px;
}
.gg-up {
  width: 100%;
  text-align: left;
  background: linear-gradient(135deg, rgba(13,3,3,0.85), rgba(26,6,6,0.5));
  border: 1px solid var(--rot);
  border-left: 4px solid var(--rot);
  color: var(--bone);
  padding: 12px 14px;
  font-family: "IM Fell English", serif;
  cursor: pointer;
  transition: all 0.15s;
  opacity: 0.55;
}
.gg-up.afford {
  opacity: 1;
  border-left-color: var(--blood-bright);
  box-shadow: 0 0 14px rgba(192,0,0,0.3);
}
.gg-up.afford:hover {
  background: linear-gradient(135deg, rgba(192,0,0,0.25), rgba(255,94,0,0.10));
  transform: translateX(-2px);
}
.gg-up.maxed { opacity: 0.5; border-left-color: var(--ember); }
.gg-up-head {
  display: flex; justify-content: space-between; align-items: baseline;
}
.gg-up-name {
  font-family: "Pirata One", serif;
  color: var(--blood-bright);
  font-size: 16px;
  letter-spacing: 0.08em;
}
.gg-up-owned {
  font-family: "Pirata One", serif;
  color: var(--ember);
  font-size: 12px;
  letter-spacing: 0.15em;
}
.gg-up-desc {
  font-style: italic;
  font-size: 13px;
  opacity: 0.8;
  margin: 4px 0;
}
.gg-up-cost {
  font-family: "Pirata One", serif;
  font-size: 13px;
  color: var(--flame);
  letter-spacing: 0.12em;
}

.gg-footer {
  text-align: center;
  font-size: 11px;
  color: var(--bone);
  opacity: 0.6;
  margin-top: 4px;
}
.gg-reset { color: var(--blood); text-decoration: underline; }
.gg-reset:hover { color: var(--blood-bright); }

/* +N floating click bumper */
.gg-bump {
  position: fixed;
  z-index: 100200;
  font-family: "Creepster", serif;
  font-size: 32px;
  color: var(--ember);
  text-shadow: 0 0 14px var(--blood-bright);
  pointer-events: none;
  animation: gg-bump 0.9s ease-out forwards;
}
@keyframes gg-bump {
  0%   { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
  20%  { transform: translate(-50%, -90%) scale(1.1); opacity: 1; }
  100% { transform: translate(-50%, -180%) scale(1); opacity: 0; }
}

.gg-intro-toast {
  position: absolute; top: 24%; left: 50%; transform: translateX(-50%);
  background: rgba(13,3,3,0.95);
  border: 2px solid var(--blood);
  padding: 14px 24px;
  font-family: "Pirata One", serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--blood-bright);
  box-shadow: 0 0 40px var(--blood-bright);
  animation: gg-toast 4.5s ease-out forwards;
}
@keyframes gg-toast {
  0%   { opacity: 0; transform: translate(-50%, -20px); }
  10%  { opacity: 1; transform: translate(-50%, 0); }
  85%  { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -20px); }
}

/* Mobile */
@media (max-width: 800px) {
  .gg-body { grid-template-columns: 1fr; }
  .gg-side { max-height: 50vh; }
  .gg-goatse img { width: 220px; height: 220px; }
  .gg-sins-big { font-size: 40px; }
}

/* Sins widget becomes clickable after first unlock */
.cursed-sins { pointer-events: auto !important; cursor: pointer; }
.cursed-sins:hover { background: rgba(26,6,6,0.95); border-color: var(--blood-bright); }

/* Tier progression visuals in goatse clicker */
.gg-tier-row {
  font-family: "Pirata One", serif;
  color: var(--flame);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
#gg-tier {
  color: var(--blood-bright);
  font-size: 20px;
  text-shadow: 0 0 8px var(--blood);
}
.gg-goatse img.tier-up {
  animation: tier-up 0.9s ease-out;
}
@keyframes tier-up {
  0%   { filter: brightness(2) saturate(0); transform: scale(1.15) rotate(-3deg); }
  50%  { filter: brightness(1.5) saturate(1.5); transform: scale(1.05) rotate(2deg); }
  100% { filter: brightness(1) saturate(1); transform: scale(1) rotate(0); }
}
.gg-tier-toast {
  position: absolute; left: 50%; top: 30%; transform: translate(-50%, 0);
  background: rgba(0,0,0,0.92);
  border: 2px solid var(--flame);
  padding: 16px 32px;
  font-family: "Creepster", serif;
  color: var(--blood-bright);
  font-size: 28px;
  letter-spacing: 0.08em;
  box-shadow: 0 0 50px var(--blood-bright);
  pointer-events: none;
  z-index: 100210;
  animation: tier-toast-in 0.4s ease-out;
  text-shadow: 0 0 16px var(--blood);
}
.gg-tier-toast.out { animation: tier-toast-out 0.6s ease-in forwards; }
@keyframes tier-toast-in {
  0%   { opacity: 0; transform: translate(-50%, -20px) scale(0.85); }
  100% { opacity: 1; transform: translate(-50%, 0)     scale(1); }
}
@keyframes tier-toast-out {
  0%   { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -10px); }
}

/* ============================================================================
   MEGA BATCH — STYLES
   ============================================================================ */

/* Time-of-day greeting toast */
.tod-greet {
  position: fixed; top: 30%; left: 50%; transform: translate(-50%, -16px);
  background: rgba(0,0,0,0.92);
  border: 2px solid var(--blood);
  padding: 16px 30px;
  font-family: "Creepster", serif;
  font-size: 24px;
  color: var(--blood-bright);
  text-shadow: 0 0 14px var(--blood);
  letter-spacing: 0.06em;
  z-index: 99996;
  opacity: 0;
  transition: opacity 0.6s, transform 0.6s;
  pointer-events: none;
  text-align: center;
  max-width: 80vw;
}
.tod-greet.in { opacity: 1; transform: translate(-50%, 0); }

/* Anonymous comment ticker */
.cursed-ticker {
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(13,3,3,0.9));
  border-top: 1px solid var(--rot);
  border-bottom: 1px solid var(--rot);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  font-family: "IM Fell English", serif;
  font-size: 13px;
  font-style: italic;
}
.cursed-ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 90s linear infinite;
  padding-left: 100%;
}
.cursed-ticker:hover .cursed-ticker-track { animation-play-state: paused; }
.cursed-tick {
  display: inline-block;
  margin-right: 60px;
  color: var(--bone);
  opacity: 0.75;
}
.cursed-tick b {
  color: var(--ember);
  font-style: normal;
  font-family: "Pirata One", serif;
  letter-spacing: 0.06em;
  margin-right: 6px;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Battery low warning */
.battery-warn {
  position: fixed; top: 90px; left: 50%; transform: translate(-50%, -10px);
  background: rgba(192,0,0,0.96);
  color: #fff;
  padding: 10px 20px;
  font-family: "Pirata One", serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  z-index: 99997;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  box-shadow: 0 0 30px var(--blood-bright);
}
.battery-warn.in { opacity: 1; transform: translate(-50%, 0); }

/* Shake response */
body.shaken { animation: body-shake 0.6s ease-out; }
@keyframes body-shake {
  0%, 100% { transform: rotate(0deg); }
  20%      { transform: rotate(-1deg) translateX(-6px); }
  40%      { transform: rotate(1deg)  translateX(6px); }
  60%      { transform: rotate(-0.5deg) translateX(-3px); }
  80%      { transform: rotate(0.5deg)  translateX(3px); }
}

/* STOP THAT screamer */
.stop-that {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(192,0,0,0.7);
  color: #fff;
  font-family: "Creepster", serif;
  font-size: clamp(72px, 16vw, 220px);
  letter-spacing: 0.04em;
  text-shadow: 0 0 30px #000, 0 0 60px var(--blood-bright);
  pointer-events: none;
  animation: stop-that 1.4s ease-out;
}
.stop-that.out { animation: stop-that-out 0.6s ease-in forwards; }
@keyframes stop-that {
  0%   { opacity: 0; transform: scale(0.7); }
  20%  { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes stop-that-out { to { opacity: 0; transform: scale(1.1); } }

/* Prestige button styling in the goatse clicker shop */
.gg-up.gg-prestige {
  border-left-color: var(--flame);
  background: linear-gradient(135deg, rgba(192,0,0,0.4), rgba(255,94,0,0.15));
  border-width: 2px;
  margin-bottom: 14px;
}
.gg-up.gg-prestige .gg-up-name { color: #fff200; letter-spacing: 0.1em; text-shadow: 0 0 12px var(--blood); }
.gg-up.gg-prestige .gg-up-owned { color: #fff200; }
.gg-up.gg-prestige.afford { box-shadow: 0 0 30px var(--blood-bright); animation: stat-flicker 3s infinite; }
.gg-up.gg-prestige.afford .gg-up-cost { color: #fff200; font-weight: bold; }
.gg-rebirths {
  margin-top: 8px;
  font-family: "Pirata One", serif;
  font-size: 11px;
  color: var(--ember);
  letter-spacing: 0.18em;
}
.gg-rebirths span { color: var(--blood-bright); font-size: 14px; }

/* ===== SECTION-SPECIFIC CURSORS ===== */
/* Devil cursor on rules */
.rules, .rules * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><polygon points='8,12 11,4 13,12' fill='%23ff0000'/><polygon points='24,12 21,4 19,12' fill='%23ff0000'/><circle cx='16' cy='18' r='10' fill='%23c00000' stroke='%23000' stroke-width='1.5'/><circle cx='12' cy='17' r='1.8' fill='%23000'/><circle cx='20' cy='17' r='1.8' fill='%23000'/><path d='M11 22 Q16 25 21 22' stroke='%23000' fill='none' stroke-width='1.5' stroke-linecap='round'/></svg>") 6 6, crosshair;
}

/* Skull cursor on bookmarks */
.bookmarks, .bookmarks * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M8 12 Q8 4 16 4 Q24 4 24 12 L24 18 L21 22 L11 22 L8 18 Z' fill='%23f0e6d2' stroke='%23000' stroke-width='1.5'/><ellipse cx='12' cy='14' rx='2.6' ry='3.2' fill='%23000'/><ellipse cx='20' cy='14' rx='2.6' ry='3.2' fill='%23000'/><path d='M16 18 L15 20 L17 20 Z' fill='%23000'/><path d='M13 22 L13 26 M16 22 L16 26 M19 22 L19 26' stroke='%23f0e6d2' stroke-width='2'/></svg>") 6 6, crosshair;
}

/* Cute lil' DILDO cursor on comments — pink, friendly face */
.pit, .pit *, #wpdcom, #wpdcom *, #comments, #comments *, .wpd-comment, .wpd-comment * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><defs><linearGradient id='p' x1='0' x2='0' y1='0' y2='1'><stop offset='0' stop-color='%23ff8fcc'/><stop offset='1' stop-color='%23ff4d9d'/></linearGradient></defs><ellipse cx='16' cy='9' rx='7' ry='7' fill='url(%23p)' stroke='%23a8225f' stroke-width='1'/><rect x='9' y='9' width='14' height='18' rx='5' fill='url(%23p)' stroke='%23a8225f' stroke-width='1'/><circle cx='13.5' cy='9' r='1.1' fill='%23000'/><circle cx='18.5' cy='9' r='1.1' fill='%23000'/><circle cx='13.2' cy='8.6' r='0.4' fill='%23fff'/><circle cx='18.2' cy='8.6' r='0.4' fill='%23fff'/><path d='M14 12 Q16 14 18 12' stroke='%23a8225f' fill='none' stroke-width='1.2' stroke-linecap='round'/></svg>") 16 16, pointer;
}

/* Hover variants stay on the buttons */
.bookmark, .gg-exit, .ask-satan-toggle, .gg-up.afford, .wpd-submit { cursor: pointer !important; }

/* ============================================================================
   SATAN.AI fake chat overlay
   ============================================================================ */
.satan-ai-overlay {
  position: fixed; inset: 0; z-index: 100150;
  background: radial-gradient(circle at center, rgba(8,0,0,0.94), rgba(0,0,0,0.99));
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
}
.satan-ai-overlay.in  { opacity: 1; }
.satan-ai-overlay.out { opacity: 0; transition: opacity 0.6s; }

.satan-ai-window {
  width: 100%;
  max-width: 720px;
  height: min(86vh, 720px);
  background: #0e0e0e;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 60px rgba(192,0,0,0.25);
  position: relative;
  transition: filter 0.6s, transform 0.3s;
}
.satan-ai-window.burning {
  animation: ai-shake 0.18s linear infinite;
}
.satan-ai-window.charred {
  filter: brightness(0.5) contrast(1.6) sepia(0.6) hue-rotate(-25deg);
}
.satan-ai-window.consumed {
  filter: brightness(0.15) contrast(2) sepia(1) hue-rotate(-15deg) blur(1px);
}
@keyframes ai-shake {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: translate(-1px, 1px) rotate(-0.15deg); }
  75%      { transform: translate(1px, -1px) rotate(0.15deg); }
}

.satan-ai-header {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #1f1f1f;
  background: #131313;
}
.satan-ai-brand { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.satan-ai-logo {
  font-size: 24px; color: #ff2a2a;
  text-shadow: 0 0 10px rgba(255,0,0,0.5);
}
.satan-ai-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #f5f5f5;
}
.satan-ai-name-dot { color: #ff2a2a; }
.satan-ai-badge {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff5e00;
  border: 1px solid #ff5e00;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
}
.satan-ai-status {
  font-size: 11px;
  color: #888;
  display: flex; align-items: center; gap: 6px;
}
.satan-ai-status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: ai-pulse 1.4s ease-in-out infinite;
}
@keyframes ai-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.satan-ai-close {
  background: transparent;
  border: none;
  color: #888;
  font-size: 18px;
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  transition: all 0.15s;
}
.satan-ai-close:hover { background: #1f1f1f; color: #fff; }

.satan-ai-chat {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 16px;
}
.satan-ai-msg {
  display: flex; gap: 12px;
  align-items: flex-start;
  max-width: 90%;
}
.satan-ai-from-bot  { align-self: flex-start; }
.satan-ai-from-user { align-self: flex-end; flex-direction: row-reverse; }
.satan-ai-avatar {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #1a0606;
  border: 1px solid #3a0000;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #ff5e00;
  flex-shrink: 0;
}
.satan-ai-avatar-user {
  background: #1a1a1a;
  border-color: #2a2a2a;
  color: #ddd;
}
.satan-ai-bubble {
  background: #161616;
  border: 1px solid #232323;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: #e5e5e5;
}
.satan-ai-bubble strong { color: #ff5e00; }
.satan-ai-bubble em     { color: #ffb347; font-style: normal; }
.satan-ai-bubble-user {
  background: #1f1f1f;
  border-color: #2f2f2f;
}

.satan-ai-typing .satan-ai-bubble {
  padding: 16px 18px;
}
.satan-ai-typing .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #666;
  margin: 0 2px;
  animation: ai-typing 1.2s infinite;
}
.satan-ai-typing .dot:nth-child(2) { animation-delay: 0.2s; }
.satan-ai-typing .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes ai-typing {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(-2px); }
}

.satan-ai-input-area {
  display: flex; gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid #1f1f1f;
  background: #131313;
}
.satan-ai-input {
  flex: 1;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  color: #f5f5f5;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}
.satan-ai-input:focus {
  outline: none;
  border-color: #ff2a2a;
  box-shadow: 0 0 0 2px rgba(255,42,42,0.15);
}
.satan-ai-send {
  background: linear-gradient(180deg, #ff2a2a, #c00000);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.satan-ai-send:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,42,42,0.4); }
.satan-ai-send:disabled { opacity: 0.5; cursor: not-allowed; }
.satan-ai-disclaimer {
  padding: 6px 18px 12px;
  font-size: 11px;
  color: #666;
  text-align: center;
  background: #131313;
  border-top: 1px solid #1f1f1f;
}

.satan-ai-fire-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100200;
  mix-blend-mode: screen;
}

/* ===== DOOM launcher section ===== */
.doom-launch {
  padding: 50px 24px;
  background: linear-gradient(180deg, var(--bg) 0%, #0a0000 100%);
  text-align: center;
  border-top: 1px solid var(--rot);
}
.doom-launch-inner { max-width: 600px; margin: 0 auto; }
.doom-btn {
  background: linear-gradient(180deg, #ff1010 0%, #c00000 50%, #500000 100%);
  color: #fff;
  border: 3px solid #000;
  padding: 18px 80px;
  font-family: "Creepster", "Impact", "Anton", sans-serif;
  font-size: clamp(40px, 7vw, 64px);
  letter-spacing: 0.18em;
  cursor: pointer;
  text-shadow:
    0 0 20px #ff0000,
    0 0 40px #ff5e00,
    0 3px 0 #000,
    0 6px 12px rgba(0,0,0,0.8);
  box-shadow:
    0 0 40px rgba(255,0,0,0.6),
    0 0 80px rgba(255,94,0,0.4),
    inset 0 -6px 0 rgba(0,0,0,0.5),
    inset 0 6px 0 rgba(255,255,255,0.15);
  transition: all 0.18s;
  position: relative;
  animation: doom-glow 2.4s ease-in-out infinite;
}
@keyframes doom-glow {
  0%, 100% { box-shadow: 0 0 40px rgba(255,0,0,0.6), 0 0 80px rgba(255,94,0,0.4), inset 0 -6px 0 rgba(0,0,0,0.5), inset 0 6px 0 rgba(255,255,255,0.15); }
  50%      { box-shadow: 0 0 60px rgba(255,0,0,0.85), 0 0 120px rgba(255,94,0,0.6), inset 0 -6px 0 rgba(0,0,0,0.5), inset 0 6px 0 rgba(255,255,255,0.15); }
}
.doom-btn:hover {
  transform: translateY(-3px) scale(1.04);
  filter: brightness(1.18) saturate(1.2);
}
.doom-btn:active { transform: translateY(0); }
.doom-tag {
  margin-top: 14px;
  font-family: "IM Fell English", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ember);
  opacity: 0.8;
}

/* DOOM fullscreen overlay */
.doom-overlay {
  position: fixed; inset: 0; z-index: 100300;
  background: #000;
  display: flex;
  opacity: 0;
  transition: opacity 0.35s;
}
.doom-overlay.in  { opacity: 1; }
.doom-overlay.out { opacity: 0; }
.doom-close {
  position: fixed;
  top: 14px; right: 14px;
  z-index: 2;
  background: linear-gradient(180deg, #ff2a2a, #800000);
  color: #fff;
  border: 2px solid #000;
  padding: 8px 18px;
  font-family: "Creepster", serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  cursor: pointer;
  box-shadow: 0 0 20px #ff0000;
}
.doom-close:hover { filter: brightness(1.2); }
.doom-frame {
  flex: 1;
  border: 0;
  background: #000;
  width: 100%;
  height: 100%;
}

/* ===== Small inline DOOM button (overrides earlier .doom-btn) ===== */
.doom-launch { display: none !important; } /* hide old big section if anywhere */
.doom-mini {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  background: linear-gradient(180deg, #ff1010, #800000);
  color: #fff;
  border: 1px solid #000;
  border-radius: 3px;
  font-family: "Creepster", "Impact", sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-shadow: 0 0 8px rgba(255,0,0,0.7);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255,0,0,0.5);
  transition: all 0.15s;
  vertical-align: baseline;
  text-transform: none;
}
.doom-mini:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(255,0,0,0.9);
}

/* DOOM 3 button - slightly different color to differentiate from DOOM */
.doom-mini.doom3-mini {
  background: linear-gradient(180deg, #ff5e00, #6b2200);
  text-shadow: 0 0 8px rgba(255,94,0,0.8);
  box-shadow: 0 0 10px rgba(255,94,0,0.5);
  margin-left: 0;
  margin-right: 6px;
}
.doom-mini.doom3-mini:hover {
  box-shadow: 0 0 16px rgba(255,94,0,0.9);
}

/* THE WHEELS bookmark — center on its own row, icon-only (no label) */
.bookmark-internal {
  grid-column: 2 !important;
  justify-content: center !important;
}
.bookmark-internal .bookmark-label { display: none !important; }
.bookmark-internal .bookmark-icon {
  font-size: 40px !important;
  flex: 0 0 auto !important;
}
@media (max-width: 900px) {
  /* On mobile/tablet the grid collapses to 2 or 1 col — let it span the row */
  .bookmark-internal { grid-column: 1 / -1 !important; }
}

/* Linked Rule tile (Rule II → /lore) — keeps tile styling, removes link underline + inherits color */
.rule.rule-link { text-decoration: none; color: inherit; cursor: pointer; }
.rule.rule-link:hover { color: inherit; }
