/* 英雄区域样式 */
.hero {
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
    z-index: 10;
}

.hero h2 {
    font-size: 3.2rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    color: rgba(248, 240, 227, 0.9);
    margin: -10px auto 40px;
}

/* 文稿解读区域样式 */
.document-section {
    padding: 80px 0;
    background: rgba(25, 30, 48, 0.7);
    border-top: 1px solid rgba(94, 74, 159, 0.2);
    border-bottom: 1px solid rgba(94, 74, 159, 0.2);
    margin: 50px 0;
}

.document-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 0 20px;
    gap: 30px;
}

.document-list {
    flex: 1;
    max-width: 400px;
}

.document-item {
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(37, 42, 66, 0.7);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.document-item:hover {
    background: rgba(47, 53, 80, 0.9);
    border-left: 3px solid var(--gold);
    transform: translateX(5px);
}

.document-item h3 {
    color: var(--gold);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.document-item p {
    color: rgba(248, 240, 227, 0.8);
    font-size: 0.95rem;
}

.document-detail-container {
    flex: 2;
    background: rgba(30, 35, 56, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-height: 500px;
}

.document-detail h2 {
    color: var(--gold);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.document-content {
    line-height: 1.8;
    transition: all 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}

.document-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.document-content p {
    margin-bottom: 15px;
}

/* 团队介绍区域样式 */
.features-section {
    padding: 80px 0;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-us-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.bagua-description {
    flex: 1;
    max-width: 700px;
    min-width: 500px;
    background: rgba(37, 42, 66, 0.7);
    padding: 30px;
    border-radius: 15px;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    align-self: flex-start;
}

.bagua-info {
    display: none;
}

.bagua-icon {
    font-size: 50px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--gold);
}

.bagua-name {
    font-size: 1.8rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 15px;
}

.bagua-saying {
    font-style: italic;
    text-align: center;
    margin-bottom: 20px;
    color: rgba(248, 240, 227, 0.9);
    font-size: 1.1rem;
}

.bagua-desc {
    text-align: center;
    line-height: 1.7;
    color: rgba(248, 240, 227, 0.85);
}

.bagua-description {
    padding: 40px 30px;
}

.team-icon {
    font-size: 3rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 20px;
    opacity: 0.7;
}

.default-message h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 25px;
    position: relative;
}

.default-message h3:after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 10px auto;
    opacity: 0.5;
}

.team-description p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.team-values {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background: rgba(47, 53, 80, 0.5);
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    color: rgba(248, 240, 227, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(197, 162, 110, 0.2);
    transform: translateY(-3px);
}

.value-item span {
    color: var(--gold);
    font-size: 1.4rem;
}

.bagua-info {
    padding: 20px 0;
}

.bagua-icon {
    font-size: 4rem !important;
    margin-bottom: 25px !important;
}

.bagua-name {
    font-size: 2.2rem !important;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 15px;
}

.bagua-name:after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 10px auto;
    opacity: 0.6;
}

.bagua-saying {
    font-size: 1.3rem !important;
    margin-bottom: 30px !important;
    line-height: 1.6;
    padding: 0 20px;
}

.bagua-desc {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    max-width: 90%;
    margin: 0 auto;
}

.back-to-default {
    display: block;
    margin: 25px auto 0;
    padding: 8px 25px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.back-to-default:hover {
    background: rgba(197, 162, 110, 0.2);
}

.bagua-diagram {
    flex: 1.618;
    position: relative;
    height: 600px;
    max-width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.rotating-bagua {
    position: relative;
    width: 400px;
    height: 400px;
    animation: rotate 120s linear infinite;
}

.bagua-symbol-container {
    position: absolute;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.bagua-symbol {
    font-size: 40px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    animation: rotateReverse 120s linear infinite;
}

.symbol-name {
    font-size: 1.2rem;
    color: var(--gold);
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    animation: rotateReverse 120s linear infinite;
}

.bagua-symbol-container:hover .bagua-symbol {
    transform: scale(1.2);
    color: var(--gold);
    text-shadow: 0 0 15px rgba(197, 162, 110, 0.7);
}

.bagua-symbol-container {
    --radius: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
                rotate(var(--angle))
                translate(var(--radius))
                rotate(calc(-1 * var(--angle)));
}

.bagua-1 { --angle: 0deg; }
.bagua-2 { --angle: 45deg; }
.bagua-3 { --angle: 90deg; }
.bagua-4 { --angle: 135deg; }
.bagua-5 { --angle: 180deg; }
.bagua-6 { --angle: 225deg; }
.bagua-7 { --angle: 270deg; }
.bagua-8 { --angle: 315deg; }

.circuit-bagua-container {
    position: relative;
    display: inline-block;
    margin: 20px auto;
    cursor: pointer;
}

.circuit-bagua {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.bagua {
    font-size: 140px;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(100, 200, 255, 0.7);
    animation: pulse 4s infinite alternate, rotate 20s linear infinite;
    display: block;
    text-align: center;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.action-buttons {
    position: absolute;
    left: -180px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transition: all 1s ease;
    pointer-events: none;
    z-index: 10;
}

.circuit-bagua-container:hover .action-buttons {
    left: 100%;
    opacity: 1;
    pointer-events: auto;
}

.action-btn {
    background: var(--fusion-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(79, 134, 247, 0.4);
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    min-width: 150px;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--primary);
}

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

.action-btn:active {
    transform: translateY(2px);
}

/* ===作者的话=== */
.author-content {
  line-height: 1.8;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 15px;
}

.author-content h3 {
  color: var(--gold);
  margin: 25px 0 15px;
  font-size: 1.5rem;
  position: relative;
  padding-left: 20px;
}

.author-content h3:before {
  content: "❖";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.author-content p {
  margin-bottom: 15px;
  text-align: justify;
}

.author-content ul {
  margin: 15px 0 25px;
  padding-left: 30px;
}

.author-content ul li {
  margin-bottom: 10px;
  position: relative;
}

.author-content ul.values-list li {
  background: rgba(47, 53, 80, 0.3);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 3px solid var(--gold);
}

.author-content ul.invitation-list li {
  background: rgba(37, 42, 66, 0.4);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.author-content ul ul {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 20px;
}

.author-content ul ul li {
  margin-bottom: 8px;
  background: none;
  padding: 0;
}

.signature {
  text-align: right;
  margin-top: 40px;
  font-style: italic;
  color: var(--gold);
  border-top: 1px solid rgba(197, 162, 110, 0.3);
  padding-top: 20px;
}

/* ===作者的话静态模态框=== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-dialog {
  position: relative;
  max-width: 800px;
  width: 90%;
  margin: 2rem auto;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: rgba(47, 53, 80, 0.95);
  border-radius: 0.5rem;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(197, 162, 110, 0.5),
    0 0 0 4px var(--gold);
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  padding-left: 3px;
}

.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(197, 162, 110, 0.05), transparent);
  z-index: 0;
}

.modal-content:hover {
  background: rgba(55, 61, 90, 0.95);
  border-left: 3px solid var(--gold);
  transform: translateX(5px);
}

.modal-header {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1.5rem 1.2rem 15px;
  border-bottom: 1px solid rgba(197, 162, 110, 0.3);
  background: linear-gradient(
    to right,
    rgba(35, 40, 65, 0.95),
    rgba(45, 40, 70, 0.95)
  );
}

.modal-title {
  color: var(--gold);
  font-size: 1.5rem;
  text-shadow: 0 0 5px rgba(197, 162, 110, 0.3);
    padding-right: 30px;
  letter-spacing: 1px;
  font-weight: 600;
}

.modal-body {
  padding: 1.8rem;
  line-height: 2;
}

.modal-footer {
  padding: 1.2rem;
  background: linear-gradient(
    to right,
    rgba(35, 40, 65, 0.9),
    rgba(45, 40, 70, 0.9)
  );
}

.modal-header .btn-close {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  z-index: 3;
}

.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 0.5rem 1.2rem;
  margin-left: 0.8rem;
  border-radius: 30px;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(197, 162, 110, 0.4),
    transparent
  );
  transition: 0.5s;
  z-index: -1;
}

.btn:hover::after {
  left: 100%;
}

.btn-secondary {
  border: 1px solid rgba(197, 162, 110, 0.6);
  background: rgba(37, 42, 66, 0.5);
}

.btn-secondary:hover {
  background: rgba(47, 53, 80, 0.7);
}

.btn-close {
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 2px rgba(197, 162, 110, 0.5));
  width: 1.8em;
  height: 1.8em;
}

.btn-close:hover {
  transform: rotate(90deg);
  filter: drop-shadow(0 0 4px rgba(197, 162, 110, 0.8));
  opacity: 1;
}

.author-content p {
  position: relative;
  padding-left: 15px;
  margin-bottom: 20px;
}

.author-content p::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
}

.signature {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  text-shadow: 0 0 5px rgba(197, 162, 110, 0.3);
}


/* ===== 中国老黄历样式 - 高优先级 ===== */
#default-content .daily-saying-content .huangli-container {
    background: rgba(30, 35, 56, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--gold);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    font-family: 'Noto Serif SC', serif;
}

#default-content .daily-saying-content .huangli-header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 25px;
    position: relative;
}

#default-content .daily-saying-content .huangli-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

#default-content .daily-saying-content .huangli-title {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(197, 162, 110, 0.3);
    letter-spacing: 2px;
}

#default-content .daily-saying-content .huangli-dates {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

#default-content .daily-saying-content .huangli-date-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#default-content .daily-saying-content .date-label {
    font-size: 1.1rem;
    color: rgba(248, 240, 227, 0.7);
    margin-bottom: 5px;
}

#default-content .daily-saying-content .date-value {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

#default-content .daily-saying-content .huangli-ganzhi {
    font-size: 1.3rem;
    color: var(--gold);
    margin-top: 15px;
    letter-spacing: 2px;
    background: rgba(197, 162, 110, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
}

#default-content .daily-saying-content .huangli-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#default-content .daily-saying-content .huangli-item {
    background: rgba(40, 45, 70, 0.7);
    border-radius: 10px;
    padding: 18px;
    border-left: 3px solid var(--gold);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#default-content .daily-saying-content .huangli-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(197, 162, 110, 0.05), transparent);
    z-index: 0;
}

#default-content .daily-saying-content .huangli-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: rgba(50, 55, 80, 0.8);
}

#default-content .daily-saying-content .huangli-label {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

#default-content .daily-saying-content .huangli-label::after {
    content: "：";
}

#default-content .daily-saying-content .huangli-value {
    font-size: 1.1rem;
    color: rgba(248, 240, 227, 0.95);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Markdown内容样式 */
.markdown-content {
  line-height: 1.8;
  color: rgba(248, 240, 227, 0.9);
}

.markdown-content p {
  margin-bottom: 20px;
}

.markdown-content strong {
  color: var(--gold);
  font-weight: 600;
  text-shadow: 0 0 5px rgba(197, 162, 110, 0.3);
}



