:root {
  --primary-color: #00d4e8;
  --secondary-color: #0891a8;
  --bg-dark: #0a0a0a;
  --bg-darker: #1a1a2e;
  --text-color: #e0e0e0;
  --border-color: #2a2a3e;
  --font-primary: "scribo-ink-caps", sans-serif;
  --font-story: "Crimson Text", serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-color);
  line-height: 1.5;
  cursor: default;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow-x: hidden;
  position: relative;
}

/* ========== VANTA FOG ========== */

#vanta-fog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}



@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 8px var(--glow-color); }
  50% { text-shadow: 0 0 16px var(--glow-color); }
}

@keyframes glow-pulse-strong {
  0%, 100% { text-shadow: 0 0 10px var(--glow-color); }
  50% { text-shadow: 0 0 18px var(--glow-color), 0 0 28px var(--glow-color-fade, transparent); }
}

@keyframes subtle-flicker {
  0%, 98%, 100% { opacity: 1; }
  99% { opacity: 0.7; }
}

@keyframes flicker {
  0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% { opacity: 1; }
  20%, 21.999%, 63%, 63.999%, 65%, 69.999% { opacity: 0.6; }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes btn-shine {
  to { left: 100%; }
}

/* ========== HIGHLIGHT / INLINE TEXT ========== */

.highlight-primary {
  color: var(--primary-color);
  font-weight: bold;
  position: relative;
  text-shadow: 0 0 2px rgba(0, 212, 232, 0.9), 0 0 5px rgba(0, 212, 232, 0.5);
  --glow-color: rgba(0, 212, 232, 0.7);
  animation: glow-pulse 3s infinite;
  display: inline-block;
}

/* ========== CHROMATIC TEXT ==========*/

.chromatic-text {
  position: relative;
}

.chromatic-text::before,
.chromatic-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  will-change: transform;
}

.chromatic-text::before {
  color: #00d4e8;
  animation: chromatic-shift-cyan 5s infinite alternate;
}

.chromatic-text::after {
  color: #ff00ff;
  animation: chromatic-shift-magenta 5s infinite alternate;
}

@keyframes chromatic-shift-cyan {
  0%, 100% { transform: translate(-2px, 1px); }
  33% { transform: translate(0px, -2px); }
  66% { transform: translate(2px, 1px); }
}

@keyframes chromatic-shift-magenta {
  0%, 100% { transform: translate(2px, -1px); }
  33% { transform: translate(0px, 2px); }
  66% { transform: translate(-2px, -1px); }
}

/* ========== MAIN TITLE ========== */

.main-title-container {
  font-size: 3.543rem;
  text-align: center;
  padding: 60px 20px 40px;
  margin-bottom: 40px;
}

.section-heading {
  position: relative;
  z-index: 5;
  color: var(--primary-color);
  text-align: center;
  margin: 80px 0 50px;
  font-size: 3.0rem;
  display: inline-block;
  width: 100%;
  overflow: visible;
  padding: 10px 0;
  text-shadow: 0 0 8px rgba(0, 212, 232, 0.5);
}

.section-heading::before {
  display: none !important;
}

.section-heading.glitch-element.chromatic-text {
  position: relative;
  z-index: 1;
  color: transparent;
  text-shadow: 0 0 5px var(--primary-color);
}

.section-heading.glitch-element.chromatic-text::before,
.section-heading.glitch-element.chromatic-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block !important;
}

.section-heading.glitch-element.chromatic-text::before {
  color: rgba(0, 212, 232, 0.8);
  text-shadow: 0 0 2px rgba(0, 212, 232, 0.8);
  animation: heading-shift-cyan 8s ease-in-out infinite alternate;
}

.section-heading.glitch-element.chromatic-text::after {
  color: rgba(255, 0, 255, 0.8);
  text-shadow: 0 0 2px rgba(255, 0, 255, 0.8);
  animation: heading-shift-magenta 8s ease-in-out infinite alternate;
}

@keyframes heading-shift-cyan {
  0% { transform: translate(-1px, 0.5px); }
  100% { transform: translate(-2px, 1px); }
}

@keyframes heading-shift-magenta {
  0% { transform: translate(1px, -0.5px); }
  100% { transform: translate(2px, -1px); }
}

/* ========== GALLERY CAPTIONS ========== */

.image-caption {
  text-align: center;
  font-size: 1.8rem;
  color: var(--text-color);
  padding: 15px 0 0 0;
  margin-top: 10px;
  position: relative;
  z-index: 1;
  text-shadow:
    -2px 1px 0 rgba(0, 212, 232, 0.7),
    2px -1px 0 rgba(255, 0, 255, 0.7);
  animation: caption-glitch 3s ease-in-out infinite alternate;
}

.image-caption::before,
.image-caption::after {
  content: none;
}

@keyframes caption-glitch {
  0% {
    text-shadow:
      -2px 1px 0 rgba(0, 212, 232, 0.7),
      2px -1px 0 rgba(255, 0, 255, 0.7);
  }
  100% {
    text-shadow:
      -3px 2px 0 rgba(0, 212, 232, 0.7),
      3px -2px 0 rgba(255, 0, 255, 0.7);
  }
}

/* ========== GLITCH ELEMENT ========== */

.glitch-element {
  display: inline-block;
  position: relative;
}

/* ========== DECORATIVE LINES ========== */

.border-line {
  display: block;
  margin: 20px auto;
  height: 2px;
  width: 80%;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
  position: relative;
  overflow: hidden;
}

.border-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  animation: border-flash 3s infinite;
}

@keyframes border-flash {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

/* ========== EXPANDABLE SECTIONS ========== */

#story-sections {
  width: 800px;
  max-width: 90%;
  margin: 60px auto;
}

.expandable {
  margin-bottom: 35px;
  background-color: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 212, 232, 0.2);
  position: relative;
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}

.expandable::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 212, 232, 0.03) 2px,
    rgba(0, 212, 232, 0.03) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.expandable:hover {
  box-shadow: 0 0 20px rgba(0, 212, 232, 0.4);
}

.toggle-btn {
  background-color: rgba(26, 26, 46, 0.95);
  border: none;
  padding: 20px;
  width: 100%;
  text-align: left;
  font-size: 2rem !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-primary);
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 212, 232, 0.3);
  z-index: 2;
}

.toggle-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 232, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.toggle-btn:hover::before {
  left: 100%;
}

.toggle-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 232, 0.5), transparent);
}

.toggle-btn.active {
  background-color: rgba(10, 40, 50, 0.95);
  color: #fff;
  text-shadow: 0 0 5px var(--primary-color);
}

.btn-icon {
  position: relative;
  margin-left: 10px;
  font-size: 2.5rem;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.4s ease;
  color: var(--primary-color);
  text-shadow: 0 0 5px rgba(0, 212, 232, 0.5);
}

.expanded .btn-icon {
  transform: rotate(45deg);
  text-shadow: 0 0 10px var(--primary-color);
}

.content {
  padding: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  position: relative;
  background-color: rgba(15, 15, 25, 0.95);
}

.expandable.active .content {
  opacity: 1;
}

.content-inner {
  padding: 25px 30px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.content-inner > * {
  margin-top: 20px;
  margin-bottom: 20px;
}

.content-inner > *:last-child {
  margin-bottom: 0;
}

.story-subheading:last-child {
  margin-bottom: 0;
}

.content-inner p:last-child,
.content-inner h3:last-child,
.content-inner img:last-child {
  margin-bottom: 0;
}

.content-inner p {
  text-align: center;
  width: 100%;
  max-width: 650px;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

.content-inner img {
  max-width: 650px;
  width: auto;
  height: auto;
  margin: 25px auto 30px;
  display: block;
}

/* ========== STORY TEXT ========== */

.story-text {
  line-height: 1.8;
  font-size: 1.15rem;
  text-transform: none;
  font-family: var(--font-story);
  letter-spacing: 0.5px;
  color: #e0e0e0;
  position: relative;
  text-shadow: 0 0 1px rgba(0, 212, 232, 0.2);
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
  max-width: 650px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.story-dialogue {
  font-style: italic;
  color: #b3e5ec;
  text-shadow: 0 0 2px rgba(0, 212, 232, 0.3);
  display: inline;
}

.story-thought {
  font-style: italic;
  color: #95c5ce;
  opacity: 0.9;
  display: inline;
}

.story-emphasis {
  color: var(--primary-color);
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0, 212, 232, 0.4);
  display: inline;
}

.story-subheading {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--primary-color);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 40px auto 25px;
  padding: 15px 0;
  position: relative;
  max-width: 650px;
  text-shadow: 0 0 5px rgba(0, 212, 232, 0.5);
  border-top: 1px solid rgba(0, 212, 232, 0.3);
  border-bottom: 1px solid rgba(0, 212, 232, 0.3);
}

.story-image {
  max-width: 100%;
  display: block;
  margin: 25px auto;
  transition: filter 0.3s ease;
}

.story-image:hover {
  filter: brightness(1.1);
}

/* Scanlines overlay */
.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 212, 232, 0.2) 2px,
    rgba(0, 212, 232, 0.2) 4px
  );
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: soft-light;
  opacity: 0.8;
}

/* ========== GALLERY ========== */

.gallery {
  width: 800px;
  max-width: 90%;
  margin: 80px auto;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
}

.gallery-controls button {
  background-color: rgba(20, 20, 30, 0.95);
  font-family: var(--font-primary);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 15px 30px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 15px rgba(0, 212, 232, 0.3);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.gallery-controls button:hover {
  background-color: var(--primary-color);
  color: #000;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 20px rgba(0, 212, 232, 0.7);
  letter-spacing: 3px;
}

.gallery-controls button:active {
  transform: translateY(1px);
  box-shadow: 0 0 5px rgba(0, 212, 232, 0.5);
}

.gallery-controls button:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: btn-shine 0.5s linear;
}

.gallery-container {
  position: relative;
  margin: 20px 0;
  min-height: 500px;
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.gallery-image img {
  width: 650px;
  height: 400px;
  object-fit: cover;
  display: block;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 212, 232, 0.5);
  margin: 0;
  transition: filter 0.4s ease, box-shadow 0.4s ease;
  filter: brightness(0.9) contrast(1.1);
}

.gallery-image:hover img {
  filter: brightness(1.1) contrast(1.2) saturate(1.1);
  box-shadow: 0 0 25px rgba(0, 212, 232, 0.7);
}

.gallery-image.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.gallery-image.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}


.gallery-image.fade-in {
  animation: fade-in-effect 0.6s forwards;
}

@keyframes fade-in-effect {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery-indicator {
  text-align: center;
  margin-top: 15px;
  font-size: 1rem;
  color: #ccc;
}

/* ========== RESPONSIVE ========== */

@media screen and (max-width: 768px) {
  .title-text { font-size: 3rem; }
  .symbol-container { width: 3rem; height: 3rem; }
  .observer-symbol { font-size: 3rem; }
  .left-symbol-container { left: 5%; }
  .right-symbol-container { right: 5%; }
  .gallery-container { min-height: 400px; }
  [class*="field-"][class*="-label"] { font-size: 0.95em; }
  .status-dot, .alias-marker { font-size: 0.8em; }
}

@media screen and (max-width: 480px) {
  .title-text { font-size: 2.5rem; }
  .intro { font-size: 1.1rem; }
  .gallery-container { min-height: 300px; }
  .toggle-btn { font-size: 1.5rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ===============================================
   CHARACTER PROFILE FIELD EFFECTS
   =============================================== */

/* --- Labels --- */

.field-alias-label {
  color: #00ff88 !important;
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.8);
  --glow-color: rgba(0, 255, 136, 0.8);
  animation: glow-pulse 3s ease-in-out infinite;
}

.alias-marker {
  color: #00ff88;
  margin-right: 6px;
  animation: subtle-flicker 1.5s ease-in-out infinite;
}

.field-status-label {
  color: #00d4e8 !important;
  text-shadow: 0 0 12px rgba(0, 212, 232, 0.8);
  --glow-color: rgba(0, 212, 232, 0.8);
  animation: glow-pulse 2s ease-in-out infinite;
}

.status-dot {
  color: #00d4e8;
  font-size: 0.9em;
  margin-right: 6px;
  display: inline-block;
  animation: blink 1s steps(1) infinite;
}

.field-mental-label {
  color: #8ba6a9 !important;
  text-shadow: 0 0 8px rgba(139, 166, 169, 0.4);
  --glow-color: rgba(139, 166, 169, 0.5);
  animation: glow-pulse 4s ease-in-out infinite;
}

.field-morale-label {
  color: #ffaa00 !important;
  text-shadow: 0 0 12px rgba(255, 170, 0, 0.8);
  --glow-color: rgba(255, 170, 0, 0.8);
  animation: glow-pulse 3s ease-in-out infinite;
}

.field-birthplace-label {
  color: #00d4e8 !important;
  text-shadow: 0 0 8px rgba(0, 212, 232, 0.5);
}

.field-nationality-label {
  color: #ffffff !important;
  text-shadow: -1px 0 #00d4e8, 1px 0 #ff00ff, 0 0 10px rgba(255, 255, 255, 0.3);
  animation: nationality-rgb 4s ease-in-out infinite;
}

@keyframes nationality-rgb {
  0%, 100% { text-shadow: -1px 0 #00d4e8, 1px 0 #ff00ff; }
  50% { text-shadow: -2px 0 #00d4e8, 2px 0 #ff00ff; }
}

.field-ethnicity-label {
  color: #00d4e8 !important;
  --glow-color: rgba(0, 212, 232, 0.8);
  --glow-color-fade: rgba(0, 212, 232, 0.4);
  text-shadow: 0 0 10px rgba(0, 212, 232, 0.8), 0 0 20px rgba(0, 212, 232, 0.4);
  animation: glow-pulse-strong 3s ease-in-out infinite;
}


.field-languages-label {
  color: #00d4e8 !important;
  text-shadow: 0 0 15px rgba(0, 212, 232, 0.6);
  --glow-color: rgba(0, 212, 232, 0.6);
  animation: glow-pulse 4s ease-in-out infinite;
}

.field-relationship-label {
  color: #ff00ff !important;
  --glow-color: rgba(255, 0, 255, 0.8);
  --glow-color-fade: rgba(255, 0, 255, 0.4);
  text-shadow: 0 0 12px rgba(255, 0, 255, 0.8);
  animation: glow-pulse-strong 2.5s ease-in-out infinite;
}

.field-family-label {
  color: #ffaa55 !important;
  text-shadow: 0 0 10px rgba(255, 170, 85, 0.6);
}

.field-religion-label {
  color: #aa88ff !important;
  text-shadow: 0 0 10px rgba(170, 136, 255, 0.7);
  --glow-color: rgba(170, 136, 255, 0.7);
  animation: glow-pulse 4s ease-in-out infinite;
}

.field-alignment-label {
  color: #00d4e8 !important;
  text-shadow: 0 0 15px rgba(0, 212, 232, 0.6);
  --glow-color: rgba(0, 212, 232, 0.6);
  animation: glow-pulse 4s ease-in-out infinite;
}

.field-occupation-label {
  color: #00d4e8 !important;
  text-shadow: 0 0 10px rgba(0, 212, 232, 0.6);
  animation: subtle-flicker 5s ease-in-out infinite;
}

.field-affiliation-label {
  color: #00ff88 !important;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.7);
  --glow-color: rgba(0, 255, 136, 0.7);
  animation: glow-pulse 3s ease-in-out infinite;
}

.field-eyes-label {
  color: #88ccff !important;
  text-shadow: 0 0 8px rgba(136, 204, 255, 0.6);
}

.field-hair-label {
  color: #cccccc !important;
  text-shadow: 0 0 6px rgba(204, 204, 204, 0.4);
}

.field-equipment-label {
  color: #00ff88 !important;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

.field-height-label,
.field-weight-label,
.field-build-label {
  color: #00d4e8 !important;
  text-shadow: 0 0 5px rgba(0, 212, 232, 0.3);
}

/* --- Values --- */

.field-alias-value {
  color: #00ff88 !important;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
  animation: subtle-flicker 4s ease-in-out infinite;
}

.field-status-value {
  color: #00ffff !important;
  --glow-color: rgba(0, 255, 255, 0.7);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
  animation: glow-pulse 2s ease-in-out infinite;
}

.field-mental-value {
  color: #8ba6a9 !important;
  --glow-color: rgba(139, 166, 169, 0.5);
  text-shadow: 0 0 10px rgba(139, 166, 169, 0.5);
  animation: glow-pulse 3.5s ease-in-out infinite;
}

.field-morale-value {
  color: #ffaa55 !important;
  --glow-color: rgba(255, 170, 85, 0.5);
  text-shadow: 0 0 8px rgba(255, 170, 85, 0.5);
  animation: glow-pulse 3.5s ease-in-out infinite;
}

.field-nationality-value {
  background: linear-gradient(90deg, #ff0000, #ffdd00, #ff0000);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: chinese-flag-flow 4s linear infinite;
  font-weight: bold;
}

@keyframes chinese-flag-flow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.field-ethnicity-value {
  background: linear-gradient(135deg, #ff0000 0%, #ffdd00 50%, #ff0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}

.field-birthplace-value {
  color: #66ddff !important;
  --glow-color: rgba(102, 221, 255, 0.5);
  text-shadow: 0 0 6px rgba(102, 221, 255, 0.5);
  animation: glow-pulse 3s ease-in-out infinite;
}

.field-languages-value {
  color: #88ddff !important;
  text-shadow: 0 0 8px rgba(136, 221, 255, 0.4);
}

.field-relationship-value {
  color: #ff66ff !important;
  --glow-color: rgba(255, 102, 255, 0.6);
  text-shadow: 0 0 10px rgba(255, 102, 255, 0.6);
  animation: glow-pulse 2.5s ease-in-out infinite;
}

.field-family-value {
  color: #ffcc77 !important;
  --glow-color: rgba(255, 204, 119, 0.5);
  text-shadow: 0 0 8px rgba(255, 204, 119, 0.5);
  animation: glow-pulse 4s ease-in-out infinite;
}

.field-religion-value {
  color: #bb99ff !important;
  --glow-color: rgba(187, 153, 255, 0.6);
  text-shadow: 0 0 10px rgba(187, 153, 255, 0.6);
  animation: glow-pulse 5s ease-in-out infinite;
}

.field-alignment-value {
  color: #66ddff !important;
  text-shadow: 0 0 8px rgba(102, 221, 255, 0.4);
  font-weight: bold;
}

.field-occupation-value {
  color: #66ccff !important;
  --glow-color: rgba(102, 204, 255, 0.5);
  text-shadow: 0 0 8px rgba(102, 204, 255, 0.5);
  animation: glow-pulse 3s ease-in-out infinite;
}

.field-affiliation-value {
  color: #66ffaa !important;
  --glow-color: rgba(102, 255, 170, 0.6);
  text-shadow: 0 0 8px rgba(102, 255, 170, 0.6);
  animation: glow-pulse 3.5s ease-in-out infinite;
}

.field-height-value,
.field-weight-value {
  color: #99ccff !important;
  text-shadow: 0 0 5px rgba(153, 204, 255, 0.4);
}

.field-build-value {
  color: #99ffcc !important;
  text-shadow: 0 0 6px rgba(153, 255, 204, 0.4);
}

.field-hair-value {
  animation: hair-reveal 5s ease-in-out infinite;
}

@keyframes hair-reveal {
  0%, 100% {
    color: #111111;
    text-shadow: 0 0 2px rgba(200, 200, 200, 0.1);
  }
  50% {
    color: #cccccc;
    text-shadow: 0 0 12px rgba(200, 200, 200, 0.6);
  }
}

.field-eyes-value {
  color: #66aaff !important;
  --glow-color: rgba(102, 170, 255, 0.6);
  --glow-color-fade: rgba(102, 170, 255, 0.3);
  text-shadow: 0 0 8px rgba(102, 170, 255, 0.6);
  animation: glow-pulse-strong 3s ease-in-out infinite;
}

.field-equipment-value {
  color: #88ff66 !important;
  --glow-color: rgba(136, 255, 102, 0.5);
  text-shadow: 0 0 8px rgba(136, 255, 102, 0.5);
  animation: glow-pulse 2.5s ease-in-out infinite;
}

/* ========== FEATURES FLIPPER ========== */

.field-features-label {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.field-features-value {
  overflow: visible;
}

.features-flipper {
  height: 1.4em;
  overflow: hidden;
  position: relative;
}

.features-flipper__list {
  margin: 0;
  padding: 0;
  list-style: none;
  animation: features-flip 12s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

.features-flipper__item {
  height: 1.4em;
  line-height: 1.4em;
  margin: 0;
  padding: 0;
  color: #00d4e8;
  text-shadow: 0 0 10px rgba(0, 212, 232, 0.6);
  animation: features-color 12s ease-in-out infinite;
}

.features-flipper__item:nth-child(7n+1) { animation-delay: 0s; }
.features-flipper__item:nth-child(7n+2) { animation-delay: -1.7s; }
.features-flipper__item:nth-child(7n+3) { animation-delay: -3.4s; }
.features-flipper__item:nth-child(7n+4) { animation-delay: -5.1s; }
.features-flipper__item:nth-child(7n+5) { animation-delay: -6.8s; }
.features-flipper__item:nth-child(7n+6) { animation-delay: -8.5s; }
.features-flipper__item:nth-child(7n+7) { animation-delay: -10.2s; }

@keyframes features-flip {
  0%, 12% { transform: translateY(0); }
  14.28%, 26.28% { transform: translateY(-14.28%); }
  28.56%, 40.56% { transform: translateY(-28.56%); }
  42.84%, 54.84% { transform: translateY(-42.84%); }
  57.12%, 69.12% { transform: translateY(-57.12%); }
  71.4%, 83.4% { transform: translateY(-71.4%); }
  85.68%, 97.68% { transform: translateY(-85.68%); }
  100% { transform: translateY(0); }
}

@keyframes features-color {
  0%, 14% { color: #00d4e8; text-shadow: 0 0 10px rgba(0, 212, 232, 0.6); }
  28% { color: #00ff88; text-shadow: 0 0 10px rgba(0, 255, 136, 0.6); }
  42% { color: #ff00ff; text-shadow: 0 0 10px rgba(255, 0, 255, 0.6); }
  56% { color: #ffaa00; text-shadow: 0 0 10px rgba(255, 170, 0, 0.6); }
  70% { color: #aa88ff; text-shadow: 0 0 10px rgba(170, 136, 255, 0.6); }
  84% { color: #ff5555; text-shadow: 0 0 10px rgba(255, 85, 85, 0.6); }
  100% { color: #00d4e8; text-shadow: 0 0 10px rgba(0, 212, 232, 0.6); }
}

/* ===============================================
              INVISION CLASSES
   =============================================== */

@keyframes title-pulse {
  0%, 100% {
    text-shadow:
      0 0 5px var(--primary-color, #00d4e8),
      0 0 8px var(--primary-color, #00d4e8);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 8px var(--primary-color, #00d4e8),
      0 0 15px var(--primary-color, #00d4e8),
      0 0 20px rgba(0, 212, 232, 0.4);
    transform: scale(1.02);
  }
}

.ipsButton.ipsButton_primary,
.ipsButton.ipsButton_veryLight,
.ipsComment_controls a[data-action=quoteComment],
.ipsComment_controls button[data-action=multiQuoteComment],
.ipsType_blendLinks,
.ipsType_pageTitle,
.ipsType_pageTitle a span,
.ipsType_reset.ipsType_sectionTitle,
.ipsType_sectionHead,
ul.ipsList_reset li strong {
  animation: flicker 5s infinite;
}

.ipsRating,
.ipsType_light.ipsType_medium,
.ipsType_reset.ipsType_sectionTitle {
  display: none;
}

.ipsDataItem_main,
.ipsPos_right,
.ipsType_light,
.ipsType_reset,
.ipsType_sectionHead,
.ipsType_sectionTitle {
  text-align: left;
  font-family: var(--font-primary);
  font-size: 1.5rem;
}

.ipsAreaBackground_light.ipsPad.ipsClearfix.ipsType_center,
.ipsAreaBackground_light.ipsPad.ipsSpacer_bottom,
.ipsType_reset.ipsType_sectionTitle {
  background-color: transparent !important;
}

.ipsType_pageTitle.ipsType_center.ipsType_veryLarge.ipsSpacer_bottom {
  font-family: var(--font-primary, "scribo-ink-caps", sans-serif);
  font-size: 4.5rem;
  color: var(--text-color, #fff);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  animation: title-pulse 4s infinite alternate;
  text-align: center;
}

.ipsType_sectionTitle {
  color: var(--primary-color, #00d4e8);
  text-align: center;
  margin: 80px 0 50px;
  font-size: 2.8rem;
  width: 100%;
  padding: 10px 0;
}

.ipsType_pageTitle.ipsType_center.ipsType_large a span {
  color: var(--primary-color, #00d4e8) !important;
  font-size: 3rem;
}

.focus-content { background: transparent !important; box-shadow: none !important; }
.ipsToolList_primaryAction a { background: transparent !important; }
.ipsBreadcrumb { background: transparent; }
.ipsBreadcrumb::before { display: none; }
.ipsBreadcrumb a, .ipsBreadcrumb li { font-size: 1.5rem !important; border: none !important; }
.ipsList_inline.ipsPos_right a { font-size: 1.5rem !important; }
.ipsList_inline.ipsPos_right li, .ipsList_inline.ipsPos_right a { border: none !important; outline: none !important; box-shadow: none !important; }
.ipsList_inline.ipsPos_right li:hover, .ipsList_inline.ipsPos_right a:hover { background: transparent !important; box-shadow: none !important; }
.ipsBreadcrumb [data-role="breadcrumbList"] a::before, .ipsBreadcrumb [data-role="breadcrumbList"] a::after { display: none !important; }
.ipsDataItem { border: none !important; }
.ipsColumns { border: none !important; }
.ipsBox, .ipsQuote, .ipsQuote_citation, .ipsQuote_contents { background: transparent !important; border: none !important; box-shadow: none !important; }
.ipsAreaBackground.ipsPad.ipsClear.ipsSpacer_top { background: transparent !important; border: none !important; box-shadow: none !important; }

.ipsButton, .ipsButton_primary, .ipsButton_veryLight, .ipsButton_light, .ipsButton_verySmall, .ipsButton_narrow, a[data-action="quoteComment"] {
  background: transparent !important;
  color: #00d4e8 !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
  padding: 5px 10px !important;
  text-shadow: 0 0 8px rgba(0, 212, 232, 0.6) !important;
}

.ipsButton:hover, .ipsButton_primary:hover, .ipsButton_veryLight:hover, .ipsButton_light:hover, .ipsButton_verySmall:hover, .ipsButton_narrow:hover, a[data-action="quoteComment"]:hover {
  color: #00ffff !important;
  text-shadow: 0 0 12px rgba(0, 212, 232, 0.9) !important;
  transform: translateY(-2px);
}

[data-role="commentContent"] p {
  position: relative;
  color: #fff;
  text-shadow: -2px 0 0 #00d4e8, 2px 0 0 #ffffff;
  font-size: 1.4rem !important;
}

.ipsType_sectionHead {
  position: relative;
  color: #fff;
  text-shadow: -3px 0 0 #00d4e8, 3px 0 0 #ffffff;
  font-size: 2.5rem !important;
}

.ipsQuote_citation { font-size: 1.3rem !important; color: #00d4e8 !important; font-weight: bold !important; }
.ipsQuote_contents p { font-size: 1.2rem !important; color: #4db8c4 !important; text-shadow: none !important; }
.cke_chrome { background: rgba(10, 10, 10, 0.9) !important; border: 1px solid #00d4e8 !important; }
.cke_top { background: rgba(26, 26, 46, 0.8) !important; border-bottom: 1px solid #00d4e8 !important; }
.cke_contents { background: rgba(10, 10, 10, 0.95) !important; }
.cke_wysiwyg_div { background: transparent !important; color: #e0e0e0 !important; }
.ipsComposeArea { background: transparent !important; }
.ipsComposeArea_attachments { background: rgba(0, 212, 232, 0.05) !important; border-color: #00d4e8 !important; }
.ipsComposeArea_dropZone { background: rgba(10, 10, 10, 0.8) !important; border-color: #00d4e8 !important; }
.ipsAreaBackground_light { background: rgba(26, 26, 46, 0.6) !important; }
.ipsComposeArea_dummy { background: rgba(10, 10, 10, 0.9) !important; border: 1px solid #00d4e8 !important; color: #00d4e8 !important; }
[data-ipseditor] { border: 1px solid transparent !important; padding: 0 !important; }
