@font-face {
  font-family: 'Uncial Antiqua';
  src: url('../fonts/UncialAntiqua-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Shippori Mincho';
  src: url('../fonts/ShipporiMincho-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* General */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #111;
  color: #eee;
  font-family: 'Uncial Antiqua', 'Shippori Mincho', serif;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Language Switch */
.language-switch {
  position: absolute;
  top: 310px;
  left: 10px;
  z-index: 999;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.nav-btn, .discord-join-btn, .pixiv-join-btn, .subscribe-join-btn {
  position: relative;
  margin: 5px 10px;
  padding: 16px 26px;
  background-color: #2b2b2b;
  border: 2px solid #9013FE;
  color: #eee;
  font-size: 20px;
  font-weight: normal;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

/* Underline effect only on buttons */
.nav-btn::after, .discord-join-btn::after, .pixiv-join-btn::after, .subscribe-join-btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 5px;
  background-color: #9013FE;
  transition: width 0.4s ease, left 0.4s ease;
}

.nav-btn:hover::after, .discord-join-btn:hover::after, .pixiv-join-btn:hover::after, .subscribe-join-btn:hover::after {
  width: 80%;
  left: 10%;
}

.nav-btn:hover, .discord-join-btn:hover, .pixiv-join-btn:hover, .subscribe-join-btn:hover {
  background-color: #3b003b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 10px #9013FE;
}

/* Home Layout */
.home-container,
.home-container-wide {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Left and Right Panels */
.home-left {
  flex: 2;
  min-width: 300px;
  padding: 20px;
  box-sizing: border-box;
}
.home-right {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  box-sizing: border-box;
}

/* Splash Cards */
.splash-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 8px;
}

.splash-grid > div {
  flex: 1 1 250px;
  max-width: 300px;
}

.discord-invite, .pixiv-invite, .subscribe-invite {
  background-color: #1a1a1a;
  border: 2px solid #9013FE;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin: 40px auto;
  width: 100%;
  max-width: 400px;
  animation: fadeIn 1s ease forwards;
  transition: transform 0.3s, box-shadow 0.3s;
}

.discord-invite:hover, .pixiv-invite:hover, .subscribe-invite:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.discord-logo, .pixiv-logo, .subscribe-logo {
  width: 100px;
  height: 100px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 20%;
  margin-bottom: 15px;
}

/* Latest Updates */
.latest-updates {
  background-color: #1a1a1a;
  border: 2px solid #9013FE;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 800px;
  overflow-y: auto;
}

/* Preserve line breaks inside Latest Updates */
.latest-updates * {
  white-space: pre-wrap;
}

/* Sidebar + Schedule */
.sidebar {
  flex: 0 0 300px;
  min-width: 250px;
  max-width: 300px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #1a1a1a;
  border-radius: 10px;
  margin: 10px;
}
.schedule-main {
  flex: 1;
  min-width: 500px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #1a1a1a;
  border-radius: 10px;
  margin: 10px;
}
.schedule-entry {
  background: #1e1e1e;
  margin-bottom: 15px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 16px;
  border: 1px solid #333;
  word-break: break-word;
}

/* Full Width Iframe */
.full-width-iframe {
  width: 100%;
  margin: auto;
  padding: 20px 0;
  box-sizing: border-box;
  overflow-x: auto;
}
.full-width-iframe iframe {
  width: 100%;
  min-width: 1400px;
  height: 1000px;
  border: none;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  background-color: #111;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Uncial Antiqua', 'Shippori Mincho', serif;
  font-weight: normal;
  margin-bottom: 20px;
}

h2 {
  font-size: 32px;
  text-align: center;
}

/* Sidebar Button Hover */
.sidebar .nav-btn, .link-buttons a {
  transition: background-color 0.3s, color 0.3s;
}
.sidebar .nav-btn:hover, .link-buttons a:hover {
  background-color: #3b003b;
  color: #ffffff;
}

/* Dark Scrollbar (Webkit Browsers) */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 10px;
  border: 2px solid #1a1a1a;
}

/* Fade-In Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@font-face {
  font-family: 'Uncial Antiqua';
  src: url('../fonts/UncialAntiqua-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Shippori Mincho';
  src: url('../fonts/ShipporiMincho-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* General */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #111;
  color: #eee;
  font-family: 'Uncial Antiqua', 'Shippori Mincho', serif;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Header */
header img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

/* Language Switch */
.language-switch {
  position: absolute;
  top: 310px;
  left: 10px;
  z-index: 999;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.nav-btn, .discord-join-btn, .pixiv-join-btn, .subscribe-join-btn {
  position: relative;
  margin: 5px 10px;
  padding: 16px 26px;
  background-color: #2b2b2b;
  border: 2px solid #9013FE;
  color: #eee;
  font-size: 20px;
  font-weight: normal;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

/* Underline effect only on buttons */
.nav-btn::after, .discord-join-btn::after, .pixiv-join-btn::after, .subscribe-join-btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 5px;
  background-color: #9013FE;
  transition: width 0.4s ease, left 0.4s ease;
}

.nav-btn:hover::after, .discord-join-btn:hover::after, .pixiv-join-btn:hover::after, .subscribe-join-btn:hover::after {
  width: 80%;
  left: 10%;
}

.nav-btn:hover, .discord-join-btn:hover, .pixiv-join-btn:hover, .subscribe-join-btn:hover {
  background-color: #3b003b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 10px #9013FE;
}

/* Home Layout */
.home-container,
.home-container-wide {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Left and Right Panels */
.home-left {
  flex: 2;
  min-width: 300px;
  padding: 20px;
  box-sizing: border-box;
}
.home-right {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  box-sizing: border-box;
}

/* Splash Cards */
.splash-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 8px;
}

.splash-grid > div {
  flex: 1 1 250px;
  max-width: 300px;
}

.discord-invite, .pixiv-invite, .subscribe-invite {
  background-color: #1a1a1a;
  border: 2px solid #9013FE;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin: 40px auto;
  width: 100%;
  max-width: 400px;
  animation: fadeIn 1s ease forwards;
  transition: transform 0.3s, box-shadow 0.3s;
}

.discord-invite:hover, .pixiv-invite:hover, .subscribe-invite:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.discord-logo, .pixiv-logo, .subscribe-logo {
  width: 100px;
  height: 100px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 20%;
  margin-bottom: 15px;
}

/* Latest Updates */
.latest-updates {
  background-color: #1a1a1a;
  border: 2px solid #9013FE;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 800px;
  overflow-y: auto;
}

/* Preserve line breaks inside Latest Updates */
.latest-updates * {
  white-space: pre-wrap;
}

/* Sidebar + Schedule */
.sidebar {
  flex: 0 0 300px;
  min-width: 250px;
  max-width: 300px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #1a1a1a;
  border-radius: 10px;
  margin: 10px;
}
.schedule-main {
  flex: 1;
  min-width: 500px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #1a1a1a;
  border-radius: 10px;
  margin: 10px;
}
.schedule-entry {
  background: #1e1e1e;
  margin-bottom: 15px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 16px;
  border: 1px solid #333;
  word-break: break-word;
}

/* Full Width Iframe */
.full-width-iframe {
  width: 100%;
  margin: auto;
  padding: 20px 0;
  box-sizing: border-box;
  overflow-x: auto;
}
.full-width-iframe iframe {
  width: 100%;
  min-width: 1400px;
  height: 1000px;
  border: none;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  background-color: #111;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Uncial Antiqua', 'Shippori Mincho', serif;
  font-weight: normal;
  margin-bottom: 20px;
}

h2 {
  font-size: 32px;
  text-align: center;
}

/* Sidebar Button Hover */
.sidebar .nav-btn, .link-buttons a {
  transition: background-color 0.3s, color 0.3s;
}
.sidebar .nav-btn:hover, .link-buttons a:hover {
  background-color: #3b003b;
  color: #ffffff;
}

/* Dark Scrollbar (Webkit Browsers) */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 10px;
  border: 2px solid #1a1a1a;
}

/* Fade-In Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


.twitter-btn {
  position: absolute;
  top: 520px;
  right: calc(50% - 580px + 20px);
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: #2b2b2b;
  border: 2px solid #9013FE;
  border-radius: 8px;
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}


.twitter-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.twitter-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Character stitched banner */
.character-banner {
  width: 100%;
  background-color: #111;
  overflow-x: auto;
  overflow-y: hidden;
}

.character-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: nowrap;
  min-height: 500px;
  max-height: 500px;
  height: 500px;
}

/* Characters */
.character {position: relative;

  perspective: 1000px;
  position: relative;
  flex: 0 0 auto;
  max-height: 500px;
  height: 500px;
  overflow: visible;
  min-width: 150px;
  transition: transform 0.15s ease-out;

  background-color: #111;
  position: relative;
  z-index: auto;
}

.portrait {
  max-height: 500px;
  height: 100%;
  width: auto;
  object-fit: contain;

  position: relative;
  z-index: 2; }

.scroll {
  position: absolute;
  top: 0;
  left: 0;
  max-height: 500px;
  height: 100%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.character:hover .scroll {
  opacity: 0;
}

/* Glow Only on Hover */

.character.sadie:hover, 







/* Floating - Clockwise Animation on Hover */
@keyframes floatUpDown {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}




/* Language switch button */
.language-switch {
  position: absolute;
  top: 8px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 10px;
}
.language-switch a {
  color: white;
  font-size: 16px;
  text-decoration: none;
  padding: 5px;
}
.language-switch a:hover {
  color: #ff66cc;
}

/* Social buttons */
.banner-social-buttons {
  position: absolute;
  top: 520px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.banner-social-buttons img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}





.character {position: relative;

  perspective: 1000px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s ease;

  background-color: #111;
  position: relative;
  z-index: auto;
}
.portrait.slam {
  animation: slam-wobble 0.4s ease-in-out;
}
@keyframes slam-wobble {
  0%   { transform: scale(1.08) rotateZ(0deg); }
  25%  { transform: scale(0.97) rotateZ(2deg); }
  50%  { transform: scale(1.04) rotateZ(-1.5deg); }
  100% { transform: scale(1) rotateZ(0deg); }
}
  25%  { transform: scale(0.98) rotateZ(2deg); }
  50%  { transform: scale(1.06) rotateZ(-1.5deg); }
  100% { transform: scale(1) rotateZ(0deg); }
}
  25%  { transform: scale(0.96) rotateZ(2deg); }
  50%  { transform: scale(1.02) rotateZ(-1.5deg); }
  100% { transform: scale(1) rotateZ(0deg); }
}
.glow {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
   0%, transparent 70%);
  filter: blur(10px);
  animation: shimmer 3s ease-in-out infinite alternate;
}
@keyframes shimmer {
  0%   { opacity: 0.25; }
  100% { opacity: 0.5; }
}


.dust-particle.poof {
  animation: poof 0.5s ease-out forwards;
}
@keyframes poof {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.5); }
}


body {
  padding-top: 80px;
overflow-x: visible;
overflow-y: visible;
  background-color: #000;
}

.character {position: relative;

  margin: 0 15px 30px 15px;

  background-color: #111;
  position: relative;
  z-index: auto;
}

.portrait {
  border-radius: 4px;
  transition: transform 0.2s ease, filter 0.2s ease;

  position: relative;
  z-index: 2; }




.language-toggle {
  position: absolute;
  top: 8px;
  left: 20px;
  z-index: 100;
}
.language-toggle button {
  background: #222;
  color: #fff;
  border: none;
  padding: 6px 10px;
  margin-right: 6px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}
.language-toggle button:hover {
  background: #444;
}


body {
  padding-top: 80px;
overflow-x: visible;
overflow-y: visible;
}

.language-toggle {
  top: 8px;
}

.character {position: relative;

  margin: 0 15px 30px 15px;
  height: 500px;
  transition: transform 0.2s ease;

  background-color: #111;
  position: relative;
  z-index: auto;
}


.portrait {
  width: 100%;
  height: 100%;
  border-radius: 4px;

  position: relative;
  z-index: 2; }

.glow {
  border-radius: 4px;
}

/* Fix for double EN/JA showing up */
.language-toggle span {
  display: none;
}

/* Adjust Twitter button */
.twitter-btn {
  margin-top: 100px !important;
}


/* Fix for floating EN/JA text */

.language-toggle .lang-name {
  display: none !important;
}

/* Twitter button replaced by image-only link */
.twitter-btn {
  position: absolute;
  bottom: 30px;
  right: 20px;
  background: none;
  border: none;
  padding: 0;
  width: auto;
  height: auto;
  z-index: 99;
}
.twitter-btn img {
  display: block;
  width: 36px;
  height: 36px;
  transition: opacity 0.2s ease;
}
.twitter-btn:hover img {
  opacity: 0.8;
}


/* Ensure container doesn't cut off hover-scaled cards */
.character-container {
  overflow: visible !important;
}


.language-toggle * {
  all: unset;
}

.language-toggle {
  display: flex;
  gap: 6px;
  background: none;
  position: absolute;
  top: 8px;
  left: 20px;
  z-index: 99;
}

.language-toggle button {
  background: #222;
  color: #fff;
  border: none;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
}

.character-container {
  overflow: visible !important;
  padding: 0 80px;
}


/* Enforce reset on all language toggle elements */
.language-toggle *, .language-toggle::before, .language-toggle::after {
  all: unset !important;
  display: inline-block;
}

/* Enforce that nothing is absolutely positioned above or outside cards */
.character {position: relative;

  margin: 0 15px 30px 15px;
  position: relative;
  overflow: visible !important;
  z-index: auto;

  background-color: #111;
  position: relative;
  z-index: auto;
}


.language-toggle {
  font-size: 0;
  line-height: 0;
}
.language-toggle button {
  font-size: 14px;
  line-height: 1.2;
}
.language-toggle span, .language-toggle::before, .language-toggle::after {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
}


.language-toggle {
  display: flex;
  gap: 6px;
  position: absolute;
  top: 8px;
  left: 20px;
  z-index: 99;
}

.language-toggle button {
  width: 52px;
  height: 32px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.language-toggle button:hover {
  background: #444;
}


.character-container {
  overflow: visible !important;
  padding-top: 0;
  margin-top: 0;
}

.character {position: relative;

  overflow: visible !important;
  margin: 0 15px;
  position: relative;
  z-index: auto;

  background-color: #111;
  position: relative;
  z-index: auto;
}

/* Per-character glow */
.character:hover.marchosias {
  outline: 3px solid rgba(255, 64, 64, 0.4);
  box-shadow: 0 0 20px rgba(255, 64, 64, 0.3);
}
.character:hover.stolas {
  outline: 3px solid rgba(0, 255, 128, 0.4);
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.3);
}
.character:hover.furfur {
  outline: 3px solid rgba(64, 160, 255, 0.4);
  box-shadow: 0 0 20px rgba(64, 160, 255, 0.3);
}
.character:hover.valefor {
  outline: 3px solid rgba(255, 128, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 128, 0, 0.3);
}

/* Scrollbar height tweak */
::-webkit-scrollbar {
  height: 12px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 6px;
}


  50% {
    box-shadow: 0 0 30px 10px rgba(255, 255, 180, 1);
  }
}

/* Language button nudge */
.language-button {
  position: relative;
  top: -2px;
}



.character {position: relative;

  margin: 6px 12px;  /* restore horizontal margin */
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  background-color: #111;
  position: relative;
  z-index: auto;
}



/* Ensure card wrappers allow upward expansion */
.card-container, .cards-wrapper, .characters, .main-content {
  overflow: visible !important;
  padding-top: 12px;
}

/* General glow element cleanup */


/* Default: no yellow tint */


/* Match class colors */
.character.fire:hover .glow {
  box-shadow: 0 0 25px 10px rgba(255, 80, 40, 0.75);
}
.character.ice:hover .glow {
  box-shadow: 0 0 25px 10px rgba(80, 180, 255, 0.75);
}
.character.arcane:hover .glow {
  box-shadow: 0 0 25px 10px rgba(180, 100, 255, 0.75);
}
.character.dark:hover .glow {
  box-shadow: 0 0 25px 10px rgba(100, 100, 100, 0.75);
}
.character.nature:hover .glow {
  box-shadow: 0 0 25px 10px rgba(80, 255, 120, 0.75);
}

/* Pulse effect */

  50% {
    box-shadow: 0 0 35px 14px rgba(255,255,255,0.5);
  }
}

/* Ensure character containers allow vertical expansion */
.main-content,
.characters,
section {
  overflow: visible !important;
  position: relative;
  padding-top: 20px;
}


  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}




  50% {
    transform: scale(1.03);
    opacity: 0.95;
    box-shadow: 0 0 32px 12px currentColor;
  }
}



  50% {
    transform: scale(1.03);
    opacity: 1;
    box-shadow: 0 0 36px 16px currentColor;
  }
}




  50% {
    box-shadow: 0 0 40px 15px currentColor;
    transform: scale(1.04);
    opacity: 0.95;
  }
}




  50% {
    transform: scale(1.04);
    opacity: 0.85;
  }
}



/* Dust effect tuned for visibility */




.dust-particle.poof {
  opacity: 1;
  transform: scale(1.5);
}

/* Match top and bottom card spacing */
.characters,
.main-content,
section {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  margin-top: 24px !important;
  overflow: visible !important;
}

/* Ensure body and html allow overflow */
html,
body {
  overflow: visible !important;
}

/* Edge-positioned, bright dust particles */




.dust-particle.poof {
  opacity: 1;
  transform: scale(1.6);
}


  50% {
    box-shadow: 0 0 80px 40px currentColor;
    transform: scale(1.05);
    opacity: 0.9;
  }
}





.characters,
.main-content,
section {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  margin-top: 24px !important;
  overflow: visible !important;
}





.dust-particle.poof {
  opacity: 1;
  transform: scale(1.4);
}

.character {position: relative;

  position: relative;
  margin: 48px 12px !important;
  transition: transform 0.3s ease;

  background-color: #111;
  position: relative;
  z-index: auto;
}

.characters,
.main-content,
section {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
  margin-top: 0 !important;
  overflow: visible !important;
}

html,
body {
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Give breathing room to header */
header {
  margin-bottom: 32px !important;
}

/* Push entire character row down */
.characters {
  margin-top: 48px !important;
  padding-top: 0 !important;
  padding-bottom: 64px !important;
}

/* Ensure individual cards have vertical margin for hover expansion */
.character {position: relative;

  margin: 24px 12px !important;

  background-color: #111;
  position: relative;
  overflow: visible;
  z-index: auto;
}


  50% {
    box-shadow: 0 0 20px 8px currentColor;
    transform: scale(1.02);
    opacity: 0.95;
  }
}





/* Cloudier, edge-weighted dust effect */
.dust-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.dust-particle {
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0;
  transform: scale(0.8);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.dust-particle.poof {
  opacity: 1;
  transform: scale(1.4);
}


.character .name {
  color: inherit;
}

.character {position: relative;

  color: inherit;
  position: relative;

  background-color: #111;
  position: relative;
  z-index: auto;
}



.character-row,
.characters {
  perspective: 800px;
}

.character {position: relative;

  transform-style: preserve-3d;
  will-change: transform;

  background-color: #111;
  position: relative;
  z-index: auto;
}

.character {position: relative;

  padding-bottom: 10px;

  background-color: #111;
  position: relative;
  z-index: auto;
}

.character {position: relative;

  perspective: 1000px;

  background-color: #111;
  position: relative;
  z-index: auto;
}

.portrait {
  display: block;
  transform-style: preserve-3d;
  will-change: transform;

  position: relative;
  z-index: 2; }

.dust-particle {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0;
  transform: scale(0.6);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.dust-particle.poof {
  opacity: 1;
  transform: scale(1.6);
}


  50% {
    box-shadow: 0 0 14px 6px currentColor;
    outline-offset: -1px;
  }
}




  50% {
    box-shadow: 0 0 18px 7px currentColor;
    outline-offset: -1px;
  }
}

.character:hover,
.character:hover[class*="marchosias"],
.character:hover[class*="stolas"],
.character:hover[class*="furfur"],
.character:hover[class*="valefor"],
.character:hover[class*="vassago"] {
  animation: pulseOutline 2.5s infinite ease-in-out;
  color: inherit;
}


  50% {
    box-shadow: 0 0 20px 8px currentColor;
    outline-offset: -1px;
  }
}




  50% {
    box-shadow: 0 0 20px 8px var(--glow-color, currentColor);
    outline-offset: -1px;
  }
}



.character {position: relative;

  --glow-color: currentColor;
  color: inherit;
  border-radius: 14px;

  background-color: #111;
  position: relative;
  z-index: auto;
}










  50% {
    box-shadow: 0 0 20px 8px var(--glow-color);
    outline-offset: -1px;
  }
}

.character {position: relative;

  position: relative;
  border-radius: 14px;
  color: inherit;
  --glow-color: currentColor;
  z-index: auto;
}





@keyframes pulseOutline {
  0%, 100% {
    box-shadow: 0 0 12px 6px var(--glow-color);
  }
  50% {
    box-shadow: 0 0 22px 10px var(--glow-color);
  }
}

/* Class-based colors */






.character::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -6px;
  right: -6px;
  bottom: 2px;
  border-radius: 14px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: scale(1);
  box-shadow: 0 0 40px 14px var(--glow-color);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
  border-radius: 10px;
  box-shadow: 0 0 20px 9px var(--glow-color);
  opacity: 1;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: -1;
}


/* Added by debug patch */
@keyframes slam {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.slam {
  animation: slam 0.3s ease-in-out;
}

#dust-cloud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}


.portrait,
.scroll {
  border-radius: 0 !important;
}
.character {position: relative;

  overflow: visible !important;
}




@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 40px 14px var(--glow-color);
  }
  50% {
    box-shadow: 0 0 64px 28px var(--glow-color);
  }
}
  50% {
    box-shadow: 0 0 64px 30px var(--glow-color);
    transform: scale(1.04);
    opacity: 1;
  }
}
  50% {
    box-shadow: 0 0 64px 30px var(--glow-color);
  }
}
  25%  { box-shadow: 0 0 48px 20px var(--glow-color); opacity: 1; }
  50%  { box-shadow: 0 0 56px 26px var(--glow-color); opacity: 0.95; }
  75%  { box-shadow: 0 0 48px 20px var(--glow-color); opacity: 1; }
  100% { box-shadow: 0 0 40px 14px var(--glow-color); opacity: 0.9; }
}
  50% {
    box-shadow: 0 0 56px 24px var(--glow-color);
  }
}




.character.luma       { --glow-color: rgba(138, 43, 226, 0.7); }
.character.sadie      { --glow-color: rgba(255, 102, 0, 0.8); }
.character.sadie-street { --glow-color: rgba(255, 102, 0, 0.8); }
.character.kiyuw      { --glow-color: rgba(220, 20, 60, 0.7); }
.character.seraphinia { --glow-color: rgba(34, 139, 34, 0.7); }
.character.eiriastraeea { --glow-color: rgba(120, 220, 250, 0.7); }
.character.sheriche   { --glow-color: rgba(0, 160, 255, 0.9); }


.character::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -6px;
  right: -6px;
  bottom: 2px;
  border-radius: 14px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: scale(1);
  box-shadow: 0 0 40px 14px var(--glow-color);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
  border-radius: 14px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transform: scale(1);
  box-shadow: 0 0 40px 14px var(--glow-color);
  transition: opacity 0.3s ease;
}

.character:hover::after {
  opacity: 0.8;
  transform: scale(1.04);
  animation: pulseGlow 1.4s ease-in-out infinite;
}

.character:hover::after {
  opacity: 0.8;
  transform: scale(1.04);
  animation: pulseGlow 1.4s ease-in-out infinite;
}

.character:hover {
  z-index: 10;
}

.character.luma {
  --glow-color: rgba(138, 43, 226, 0.7);
}

@keyframes glitterShimmer {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 3px 1px rgba(255, 255, 220, 0.3); }
  30%      { opacity: 1;   box-shadow: 0 0 6px 3px rgba(255, 255, 255, 0.9); }
  60%      { opacity: 0.8; box-shadow: 0 0 5px 2px rgba(255, 255, 200, 0.5); }
}
  50% {
    opacity: 0.8;
    box-shadow: 0 0 6px 2px rgba(255, 255, 200, 0.7);
  }
}

.character {
  position: relative;
  z-index: 1;
}

.character::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -1px;
  bottom: 8px;
  z-index: 99;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 0.2s ease;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.5);


}

.character:hover::before {
  opacity: 1;
  animation: edgeShimmer 2s ease-in-out infinite;
  animation-delay: 0.15s;
}



@keyframes edgeShimmer {
  0%, 100% {
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.45);
  }
  25% {
    box-shadow: 0 0 9px 2px rgba(255, 255, 255, 0.52);
  }
  47% {
    box-shadow: 0 0 7px 2px rgba(255, 255, 255, 0.35);
  }
  68% {
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
  }
  82% {
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.38);
  }
}





@keyframes floatUpDown {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes poof {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.5); }
}

.character:hover {
  animation: floatUpDown 3s ease-in-out infinite;
  z-index: 10;
}

.dust-particle.poof {
  animation: poof 0.5s ease-out forwards;
}

.portrait {
  position: relative;
  z-index: 2;
}

.scroll {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
  z-index: 3;
}

.character:hover .scroll {
  opacity: 0;
}

.dust-ring {
  z-index: 2;
}
