    .heritage-whorwe {
        position: relative;
        width: 100%;
        min-height: 100vh;
        padding: 6rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        background: #000000;
        color: #e8e1c7;
        isolation: isolate;
      }
.card-heri-title{
    text-align: center;
}
      .heritage-whorwe::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c8a951' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
        opacity: 0.5;
        z-index: -1;
      }

      .heritage-whorwe::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, rgba(200, 169, 81, 0.03) 0%, transparent 25%, transparent 75%, rgba(200, 169, 81, 0.03) 100%);
        z-index: -1;
      }

      .dragon-border-whorwe {
        position: absolute;
        width: 94%;
        height: 94%;
        top: 3%;
        left: 3%;
        pointer-events: none;
        z-index: 1;
      }

      .dragon-border-whorwe::before,
      .dragon-border-whorwe::after {
        content: "";
        position: absolute;
        width: 40px;
        height: 40px;
        border: 2px solid #c8a951;
        opacity: 0.7;
      }

      .dragon-border-whorwe::before {
        top: -5px;
        left: -5px;
        border-right: none;
        border-bottom: none;
      }

      .dragon-border-whorwe::after {
        bottom: -5px;
        right: -5px;
        border-left: none;
        border-top: none;
      }

      .dragon-border-whorwe .corner-decoration {
        position: absolute;
        width: 30px;
        height: 30px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20,20 C40,10 60,10 80,20 C90,40 90,60 80,80 C60,90 40,90 20,80 C10,60 10,40 20,20 Z' fill='none' stroke='%23c8a951' stroke-width='2' stroke-opacity='0.5'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
      }

      .dragon-border-whorwe .corner-tl {
        top: 10px;
        left: 10px;
      }

      .dragon-border-whorwe .corner-tr {
        top: 10px;
        right: 10px;
        transform: rotate(90deg);
      }

      .dragon-border-whorwe .corner-bl {
        bottom: 10px;
        left: 10px;
        transform: rotate(-90deg);
      }

      .dragon-border-whorwe .corner-br {
        bottom: 10px;
        right: 10px;
        transform: rotate(180deg);
      }

      .container-whorwe {
        max-width: 1200px;
        width: 100%;
        position: relative;
        z-index: 2;
      }

      .header-whorwe {
        margin-bottom: 4rem;
        position: relative;
        padding-bottom: 2rem;
      }

      .header-whorwe::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: 2px;
        background: linear-gradient(90deg, transparent, #c8a951, transparent);
      }


      .pretitle-whorwe {
        font-family: 'Cinzel', serif;
        font-size: 1rem;
        color: #c8a951;
        letter-spacing: 0.4em;
        text-transform: uppercase;
        margin-bottom: 1.5rem;
        display: block;
        text-shadow: 0 0 5px rgba(200, 169, 81, 0.3);
      }

      .chinese-whorwe {
        font-family: 'Noto Serif SC', serif;
        font-size: 3.5rem;
        color: #c8a951;
        margin-bottom: 1.5rem;
        text-shadow: 0 0 10px rgba(200, 169, 81, 0.2);
      }

      .title-whorwe {
        font-family: 'Cinzel', serif;
        font-size: 3rem;
        font-weight: 700;
        color: #e8e1c7;
        margin-top: 2rem;
        position: relative;
        display: inline-block;
      }

      .title-whorwe .highlight-whorwe {
        color: #c8a951;
        position: relative;
      }

      .title-whorwe .highlight-whorwe::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, #c8a951, transparent);
      }

      .grid-whorwe {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        margin-bottom: 4rem;
      }

      .content-whorwe {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
      }

      .heritage-card-whorwe {
        padding: 2rem;
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease;
      }

      .heritage-card-whorwe::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, rgba(200, 169, 81, 0.05) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
      }

      .heritage-card-whorwe h3 {
        font-family: 'Cinzel', serif;
        font-size: 1.5rem;
        color: #c8a951;
        margin-bottom: 1rem;
        position: relative;
      }



      .heritage-card-whorwe p {
        font-family: 'Noto Serif SC', serif;
        line-height: 1.8;
        font-weight: 300;
        color: #d6cfb6;
      }

      .heritage-card-whorwe .emphasis-whorwe {
        color: #c8a951;
        font-weight: 400;
      }

      .visual-whorwe {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
      }

      .map-container-whorwe {
        background: linear-gradient(145deg, rgba(20, 20, 16, 0.7), rgba(15, 15, 12, 0.7));
        border: 1px solid rgba(200, 169, 81, 0.15);
        border-radius: 4px;
        padding: 2rem;

        position: relative;
        overflow: hidden;
      }

      .map-container-whorwe::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Crect fill='%230f0f0c' width='100' height='100'/%3E%3Cpath fill='%23c8a951' fill-opacity='0.03' d='M0 0h50v50H0z'/%3E%3C/svg%3E");
        opacity: 0.5;
        z-index: -1;
      }

      .map-container-whorwe h3 {
        font-family: 'Cinzel', serif;
        font-size: 1.5rem;
        color: #c8a951;
        margin-bottom: 1.5rem;
        text-align: center;
        position: relative;
      }

      .map-container-whorwe h3::after {
        content: "";
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 1px;
        background: linear-gradient(90deg, transparent, #c8a951, transparent);
      }

      #academy-map-whorwe {
        height: 300px;
        width: 100%;
        margin-bottom: 1.5rem;
        z-index: 1;
        border-radius: 2px;
        overflow: hidden;
        border: 1px solid rgba(200, 169, 81, 0.1);
      }

.locations-whorwe {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.location-item-whorwe {
  flex: 1 1 220px;
  max-width: 300px;
}


      .location-item-whorwe {
        padding: 1.2rem;
        background: rgba(15, 15, 12, 0.6);
        border: 1px solid rgba(200, 169, 81, 0.1);
        border-radius: 4px;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
      }

      .location-item-whorwe::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(200, 169, 81, 0.1), transparent);
        transition: left 0.5s ease;
      }

      .location-item-whorwe:hover {
        border-color: rgba(200, 169, 81, 0.3);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      }

      .location-item-whorwe:hover::before {
        left: 100%;
      }

      .location-item-whorwe h4 {
        font-family: 'Cinzel', serif;
        color: #c8a951;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
      }

      .location-item-whorwe p {
        font-size: 0.9rem;
        opacity: 0.8;
        margin: 0;
        color: #d6cfb6;
      }

      .contact-note-whorwe {
        text-align: center;
        font-style: italic;
        opacity: 0.8;
        font-size: 0.9rem;
        color: #d6cfb6;
        margin-top: 1rem;
        position: relative;
        padding-top: 1rem;
      }

      .contact-note-whorwe::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(200, 169, 81, 0.5), transparent);
      }

      .philosophy-whorwe {
        text-align: center;
        position: relative;
      }

      .philosophy-whorwe::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 2px;
        background: linear-gradient(90deg, transparent, #c8a951, transparent);
      }

      .philosophy-whorwe::before {
        top: 0;
      }

      .philosophy-whorwe::after {
        bottom: 0;
      }

      .quote-whorwe {
        font-family: 'Noto Serif SC', serif;
        font-size: 1.4rem;
        line-height: 1.7;
        font-style: italic;
        margin-bottom: 1.5rem;
        color: #e8e1c7;
        position: relative;
        padding: 0 2rem;
      }

      .quote-whorwe::before,
      .quote-whorwe::after {
        content: "";
        position: absolute;
        font-family: 'Cinzel', serif;
        font-size: 4rem;
        color: #c8a951;
        opacity: 0.3;
        line-height: 1;
      }

      .quote-whorwe::before {
        top: -1rem;
        left: 0;
      }

      .quote-whorwe::after {
        bottom: -2rem;
        right: 0;
        transform: rotate(180deg);
      }

      .cite-whorwe {
        font-family: 'Cinzel', serif;
        color: #c8a951;
        font-style: normal;
        font-size: 1rem;
        letter-spacing: 0.1em;
      }

      /* Floating symbols */
      .floating-symbols-whorwe {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 0;
      }

      .symbol-whorwe {
        position: absolute;
        opacity: 0.3;
        color: #c8a951;
        font-family: 'Noto Serif SC', serif;
        font-size: 2rem;
      }

      .symbol-1-whorwe {
        top: 15%;
        left: 8%;
        animation: float-whorwe 18s infinite ease-in-out;
      }

      .symbol-2-whorwe {
        top: 65%;
        right: 12%;
        animation: float-whorwe 15s infinite ease-in-out reverse;
      }

      .symbol-3-whorwe {
        bottom: 20%;
        left: 15%;
        animation: float-whorwe 20s infinite ease-in-out;
      }     .symbol-4-whorwe {
            top: 30%;
            right: 25%;
            animation: float 22s infinite ease-in-out 2s;
        }

        .symbol-5-whorwe {
            bottom: 40%;
            left: 8%;
            animation: float 17s infinite ease-in-out 1s;
        }

        .symbol-6-whorwe {
            top: 10%;
            right: 8%;
            animation: float 19s infinite ease-in-out 3s;
        }

        .symbol-7-whorwe {
            bottom: 15%;
            right: 30%;
            animation: float 16s infinite ease-in-out 4s;
        }

        .symbol-8-whorwe {
            top: 45%;
            left: 30%;
            animation: float 21s infinite ease-in-out 5s;
        }

        .symbol-9-whorwe {
            bottom: 60%;
            right: 40%;
            animation: float 24s infinite ease-in-out 2s;
        }

        .symbol-10-whorwe {
            top: 75%;
            left: 40%;
            animation: float 18s infinite ease-in-out 3s;
        }


      @keyframes float-whorwe {
        0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
        33% { transform: translateY(-15px) rotate(3deg) scale(1.05); }
        66% { transform: translateY(10px) rotate(-3deg) scale(0.95); }
      }

      /* Map tile styling */
      .map-tiles-whorwe {
        filter: grayscale(0.7) contrast(0.8) sepia(0.3) hue-rotate(5deg) saturate(0.6) brightness(0.9);
      }

      /* Responsive adjustments */
      @media (max-width: 900px) {
        .grid-whorwe {
          grid-template-columns: 1fr;
          gap: 3rem;
        }

        #academy-map-whorwe {
          height: 250px;
        }

        .locations-whorwe {
          grid-template-columns: 1fr;
        }

        .philosophy-whorwe {
          padding: 3rem 5%;
        }

        .chinese-whorwe {
          font-size: 2.8rem;
        }

        .title-whorwe {
          font-size: 2.5rem;
        }
      }

      @media (max-width: 480px) {
        .heritage-whorwe {
          padding: 4rem 1.5rem;
        }

        .chinese-whorwe {
          font-size: 2.2rem;
        }

        .title-whorwe {
          font-size: 2rem;
        }

        .heritage-card-whorwe {
          padding: 1.5rem;
        }

        .map-container-whorwe {
          padding: 1.5rem;
        }

        .quote-whorwe {
          font-size: 1.2rem;
          padding: 0 1.5rem;
        }

        .symbol-whorwe {
          font-size: 2rem;
        }
      }      .alliance-visual-whorwe {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        border-radius: 8px;
        height: fit-content;
      }

      .alliance-logo-whorwe {
        width: 180px;
        height: 180px;
        margin-bottom: 2rem;
        margin-top: 2rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .alliance-logo-whorwe::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        border: 2px solid #c8a951;
        border-radius: 50%;
        opacity: 0.5;
        animation: pulse 4s infinite ease-in-out;
      }

      .alliance-logo-whorwe::after {
        content: "";
        position: absolute;
        width: 120%;
        height: 120%;
        border: 1px solid #c8a951;
        border-radius: 50%;
        opacity: 0.3;
      }

      @keyframes pulse {
        0%, 100% { transform: scale(1); opacity: 0.5; }
        50% { transform: scale(1.05); opacity: 0.7; }
      }

      .logo-image-whorwe {
        width: 100px;
        height: 100px;
        object-fit: contain;
        filter: drop-shadow(0 0 10px rgba(200, 169, 81, 0.5));
      }

      .alliance-name-whorwe {
        font-family: 'Cinzel', serif;
        font-size: 1.5rem;
        color: #c8a951;
        text-align: center;
        margin-bottom: 1.5rem;
        position: relative;
        padding: 0 2rem;
      }

      .alliance-name-whorwe::before,
      .alliance-name-whorwe::after {
        content: "※";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #c8a951;
        opacity: 0.6;
      }

      .alliance-name-whorwe::before {
        left: 0;
      }

      .alliance-name-whorwe::after {
        right: 0;
      }
.lineage-timeline {
  margin-top: 3rem;
  position: relative;
}

.timeline-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: #c8a951;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c8a951, transparent);
}

.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: linear-gradient(to bottom,
    transparent 0%,
    #c8a951 10%,
    #c8a951 90%,
    transparent 100%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 45%;
  opacity: 1; /* Ensure items are always visible */
  transform: translateY(0); /* Remove the translateY effect */
  transition: none; /* Disable the animation transition */
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 55%;
}

.timeline-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0f0f0c;
  border: 2px solid #c8a951;
  box-shadow: 0 0 10px rgba(200, 169, 81, 0.5);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -8px;
  top: 20px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -8px;
  top: 20px;
}

.timeline-content {
  padding: 1.5rem;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.timeline-content h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: #c8a951;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #d6cfb6;
  font-weight: 300;
  line-height: 1.5;
}

.timeline-note {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
  color: #d6cfb6;
  margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .timeline-track {
    left: 30px;
  }

  .timeline-item {
    width: 80%;
    left: 60px !important;
  }

  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    left: -38px;
    right: auto;
  }
}


.master-profile {
  margin-top: 3rem;
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
}

.master-profile::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}


/* Title */
.master-profile h3 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: #c8a951;
  margin-bottom: 1.5rem;
  position: relative;
  text-align: center;
}

.master-profile h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
}

/* Bio Text */
/* Master bio text */
.master-bio {
  font-family: 'Noto Serif SC', serif;
  font-size: 1rem;
  color: #d6cfb6;
  line-height: 1.7;
}

/* Paragraph alignment */
.master-bio p {
  text-align: start !important; /* left in LTR, right in RTL */
  margin-bottom: 1rem;
}

/* List styling */
.master-bio ul {
  list-style: none; /* remove default bullets */
  margin: 1rem 0 1.5rem;
  padding: 0;
  text-align: start !important; /* aligns text depending on dir */
}

/* List items */
.master-bio li {
  position: relative;
  padding-inline-start: 3rem; /* space for bullet, automatically flips in RTL */
  margin-bottom: 0.8rem;
  color: #e8e1c7;
  transition: color 0.3s ease;
}

/* Custom bullet (star) */
.master-bio li::before {
  content: "✦";
  position: absolute;
  inset-inline-start: 0; /* left in LTR, right in RTL */
  color: #c8a951;
  font-size: 1rem;
  text-shadow: 0 0 6px rgba(200,169,81,0.8), 0 0 12px rgba(200,169,81,0.5);
  animation: sparkle 2.5s infinite ease-in-out;
}

/* Hover shimmer */
.master-bio li:hover {
  color: #fff;
}

.master-bio li strong {
  color: #c8a951;
}

/* Sparkle animation (unchanged) */
@keyframes sparkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    text-shadow:
      0 0 6px rgba(200,169,81,0.8),
      0 0 12px rgba(200,169,81,0.5);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
    text-shadow:
      0 0 12px rgba(255,230,150,1),
      0 0 20px rgba(200,169,81,0.8),
      0 0 30px rgba(200,169,81,0.6);
  }
}


.master-signature {
  margin-top: 3rem;
  font-family: 'Allura', cursive;  /* or 'Dancing Script', 'Homemade Apple' */
  font-size: 2rem;
  color: #c8a951;
  opacity: 0.95;
  transform: rotate(-3deg); /* slight tilt */
  display: inline-block;
  text-shadow:
    1px 1px 2px rgba(0, 0, 0, 0.3),  /* subtle ink bleed */
    0 0 4px rgba(200,169,81,0.3);     /* golden glow hint */
  letter-spacing: 0.02em;
}


.chinese-title-heri {
  font-size: 7rem;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.5rem;
  margin: 2rem auto;
  font-family: 'Noto Serif SC', 'SimSun', serif;
  color: #f9d774;
  transform: translateX(0px);
  position: relative;
  padding: 10px 0;
  display: inline-flex;
  gap: 0.5rem;
}

/* Flicker animations only when this class is active */
.chinese-title-heri.flicker {
  animation:
    neonFlicker 10s infinite,
    float 6s ease-in-out infinite;
}

/* Keep your hover, before/after, keyframes as-is */


.chinese-title-heri span {
  position: relative;
  transition: all 0.3s;
}
.chinese-title-heri.flicker {
  animation: neonFlickerOnce 1.5s ease forwards, float 3s ease-in-out infinite;
}

/* Add a golden engraved texture */
.chinese-title-heri::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
  border-radius: 10px;
}

.chinese-title-heri span:hover {
  transform: scale(1.15);
  text-shadow:
    0 0 10px #FFD700,      /* bright gold core */
    0 0 20px #FFC200,      /* soft golden glow */
    0 0 30px #FFA500,      /* outer warm glow */
    0 0 40px #FF8C00;      /* subtle orange edge for depth */
  filter: brightness(1.4);
}


/* Subtle floating animation */
@keyframes float {
  0%, 100% { transform: translateX(0px) translateY(0); }
  50% { transform: translateX(0px) translateY(-8px); }
}
@keyframes borderFlicker {
  0%, 19.999%, 22%, 62.999%, 64%, 64.999% {
    opacity: 0.5;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
  }
  20%, 21.999%, 63%, 63.999%, 65%, 100% {
    opacity: 0.1;
    box-shadow: 0 0 5px rgba(255, 140, 0, 0.1);
  }
}
@keyframes neonFlickerOnce {
  0%, 8%, 16%, 25%, 40%, 55% {
    opacity: 0.3;
    text-shadow:
      0 0 4px rgba(255, 215, 0, 0.3),
      0 0 8px rgba(255, 180, 0, 0.2),
      0 0 12px rgba(255, 140, 0, 0.1);
  }
  4%, 12%, 20%, 30%, 45% {
    opacity: 1;
    text-shadow:
      0 0 8px rgba(255, 215, 0, 0.6),
      0 0 16px rgba(255, 180, 0, 0.4),
      0 0 24px rgba(255, 140, 0, 0.3);
  }
  100% {
    opacity: 1;
    text-shadow:
      0 0 10px rgba(255, 215, 0, 0.8),
      0 0 20px rgba(255, 180, 0, 0.6),
      0 0 30px rgba(255, 140, 0, 0.4);
  }
}
/* Optional: Add a mystical border glow */
.chinese-title-heri::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid rgba(255, 165, 0, 0.3);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
  pointer-events: none;
  animation: glowBorder 3s infinite alternate;
  z-index: -1;
}

@keyframes glowBorder {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}


    .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(200, 169, 81, 0.7);
    box-shadow: 0 0 6px rgba(200, 169, 81, 0.6);
    animation: floaty 12s infinite ease-in-out;
    opacity: 0;
}

  .particles-two {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle-two {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(200, 169, 81, 0.7);
    box-shadow: 0 0 6px rgba(200, 169, 81, 0.6);
    animation: floaty 12s infinite ease-in-out;
    opacity: 0;
}
  .particles-three {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle-three {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(200, 169, 81, 0.7);
    box-shadow: 0 0 6px rgba(200, 169, 81, 0.6);
    animation: floaty 12s infinite ease-in-out;
    opacity: 0;
}

  .particles-four {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle-four {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(200, 169, 81, 0.7);
    box-shadow: 0 0 6px rgba(200, 169, 81, 0.6);
    animation: floaty 12s infinite ease-in-out;
    opacity: 0;
}


  .particles-five {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle-five {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(200, 169, 81, 0.7);
    box-shadow: 0 0 6px rgba(200, 169, 81, 0.6);
    animation: floaty 12s infinite ease-in-out;
    opacity: 0;
}
@keyframes floaty {
    0% {
        transform: translateY(0) translateX(0) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(-50vh) translateX(30px) scale(1.2);
        opacity: 0.8;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(-20px) scale(0.6);
        opacity: 0;
    }
}
.text-content{
    text-align: center;
}