/* --- 全局与变量 --- */
:root {
    --primary-color: #012169; 
    --accent-color: #C8102E; 
    --text-color: #333;
    --bg-color: #fdfdfd;
    --light-gray: #f4f4f4;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Noto Sans SC', sans-serif;
    --header-height: 60px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height); 
}

body {
    font-family: var(--body-font);
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* --- 固定头部导航 --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#main-header nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    margin: 0 25px;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

#main-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

#main-header nav a:hover,
#main-header nav a.active {
    color: var(--accent-color);
}

#main-header nav a:hover::after,
#main-header nav a.active::after {
    width: 100%;
}

/* --- 首页区域 --- */
.hero-section {
    position: relative;
    overflow: hidden;
    z-index: 1; 
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-family: var(--heading-font);
    font-size: 4rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-text p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 10px;
}

/* --- 内容区域 --- */
.content-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.content-section:nth-child(odd) {
    background-color: var(--light-gray);
}

.section-title {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.content-block {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.content-image {
    width: 45%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.text-content {
    width: 55%;
}

.text-content h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 交替布局 */
.image-right {
    order: 2;
}

/* --- 动画效果 --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    text-align: center;
    padding: 25px;
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text p { font-size: 1.2rem; }
    
    .content-block {
        flex-direction: column;
        text-align: center;
    }
    .content-image, .text-content {
        width: 100%;
    }
    .image-right { order: 0; }
    .content-image { margin-bottom: 20px; height: 250px; }
}

/* --- 英国风光集锦 --- */
/* --- 英国风光集锦 --- */
/* --- 英国风光集锦 --- */
.slider-container {
    width: 100%;
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.slider-container h3 {
    text-align: center;
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.slider-frame {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.slider-track {
    display: flex;
    width: 500%; 
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 20%; 
    flex-shrink: 0;
    position: relative;
}

.slide img {
    width: 100%;
    display: block;
    height: 450px; 
    object-fit: cover;
}


.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: white;
    color: var(--accent-color);
}

.prev {
    left: 25px;
}

.next {
    right: 25px;
}

.slider-dots {
    position: absolute;
    bottom: 15px; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active-dot {
    background-color: white;
}

@media (max-width: 768px) {
    .slide img {
        height: 250px;
    }
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .prev { left: 15px; }
    .next { right: 15px; }
}
/* --- 结束 --- */

/* --- 旅游景点 --- */
/* --- 旅游景点 --- */
/* --- 旅游景点 --- */
.landmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.landmark-card {
    perspective: 1000px; 
    height: 400px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
}

.landmark-card:hover .card-inner {
    transform: rotateY(5deg) rotateX(5deg) scale(1.05); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.card-front {
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    padding: 20px;
}

.card-front h3 {
    font-family: var(--heading-font);
    color: white;
    font-size: 2rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    margin: 0;
    text-align: center;
}

.card-back {
    background: linear-gradient(135deg, var(--primary-color), #012a85);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    text-align: center;
    transform: rotateY(180deg); 
    opacity: 0; 
    transition: opacity 0.5s ease-in-out 0.2s;
}

.landmark-card:hover .card-back {
    transform: rotateY(0deg); 
    opacity: 1; 
}

.card-back h4 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-back p {
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .landmark-card {
        height: 350px;
    }
}
/* --- 结束 --- */

/* --- 经典美食 --- */
/* --- 经典美食 --- */
/* --- 经典美食 --- */
.accordion-container {
    display: flex;
    width: 100%;
    height: 500px; 
    gap: 10px;
}

.accordion-panel {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    flex: 0.5; 
    position: relative;
    transition: flex 0.7s cubic-bezier(0.05, 0.6, 0.4, 0.95);
    overflow: hidden;
}

.accordion-panel.active {
    flex: 5; 
}

.accordion-panel .panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.panel-title {
    font-family: var(--heading-font);
    font-size: 1.8rem; 
    position: absolute;
    bottom: 140px; 
    left: -45px;   
    margin: 0;
    opacity: 1;
    transition: opacity 0.3s ease 0.4s;
    white-space: nowrap; 
    transform: rotate(-90deg); 
    transform-origin: left top; 
}

.accordion-panel.active .panel-title {
    opacity: 0; 
    transition: opacity 0.3s ease;
}

.panel-body {
    opacity: 0; 
    transform: translateY(20px);
    transition: opacity 0.4s ease-in-out 0.3s, transform 0.4s ease-in-out 0.3s;
    width: 80%; 
}

.accordion-panel.active .panel-body {
    opacity: 1; 
    transform: translateY(0);
}

.panel-body h4 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.panel-body p {
    font-size: 1rem;
    line-height: 1.6;
}

/* 响应式设计：在小屏幕上变为垂直堆叠的卡片 */
@media (max-width: 900px) {
    .accordion-container {
        flex-direction: column;
        height: auto;
    }
    
    .accordion-panel {
        flex: 1;
        height: 250px; 
        margin-bottom: 10px;
    }

    .accordion-panel.active {
        flex: 1; 
    }

    .panel-title {
        writing-mode: horizontal-tb; 
        transform: none;
        position: static; 
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .accordion-panel .panel-content {
        justify-content: center;
        align-items: center;
        text-align: center;
        background: rgba(0,0,0,0.6);
    }
    
    .accordion-panel .panel-body,
    .accordion-panel.active .panel-body {
        opacity: 0; 
        display: none; 
    }

    .accordion-panel.active .panel-title,
    .accordion-panel .panel-title {
        opacity: 1; 
    }
}
/* --- 结束 --- */

/* --- 历史背景 --- */
/* --- 历史背景 --- */
/* --- 历史背景 --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px 0;
}

/* 时间轴中心线 */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #ccc;
    transform: translateX(-50%);
}

.timeline-container::after {
    content: '';
    position: absolute;
    bottom: -10px; 
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;  
    border-right: 16px solid transparent; 
    border-top: 20px solid #ccc;          
    z-index: 1; 
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

/* 时间轴上的圆点 */
.timeline-dot {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid var(--accent-color);
    top: 25px;
    z-index: 1;
}

.timeline-item.left .timeline-dot {
    right: -8px; 
}

.timeline-item.right .timeline-dot {
    left: -8px; 
}

.timeline-date {
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-item.left .timeline-date {
    text-align: right;
}


.timeline-content::after {
    content: " ";
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item.left .timeline-content::after {
    right: -20px;
    border-left-color: white;
}

.timeline-item.right .timeline-content::after {
    left: -20px;
    border-right-color: white;
}

@media screen and (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left .timeline-date,
    .timeline-item.right .timeline-date {
        text-align: left;
    }

    .timeline-item .timeline-dot {
        left: 12px;
    }

    .timeline-item .timeline-content::after {
        left: -20px;
        border-right-color: white;
        border-left-color: transparent;
    }
}
/* --- 结束 --- */

/* --- 动物 --- */
/* --- 动物 --- */
/* --- 动物 --- */
#animals {
    background-color: #38423B; /
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
}

#animals .section-title {
    color: white; 
}

.vignette-gallery {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    min-height: 600px; 
    transition: background-color 0.5s ease;
}

.vignette-item {
    position: relative;
    z-index: 1; 
    width: 280px;
    height: 350px;
    cursor: pointer;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1；
}

.vignette-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20px;
}

.vignette-image h3 {
    color: white;
    font-family: var(--heading-font);
    font-size: 2rem;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.9);
    transition: opacity 0.5s ease;
    position: absolute;
    bottom: 50px; 
    left: 0;
    right: 0;
    text-align: center;
}


.shape-1 .vignette-image { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.shape-2 .vignette-image { clip-path: circle(40% at 50% 50%); }
.shape-3 .vignette-image { clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%); }
.shape-4 .vignette-image { clip-path: ellipse(45% 50% at 50% 50%); }

.vignette-info {
    position: absolute;
    top: 50%;
    left: 110%; 
    transform: translateY(-50%);
    width: 250px;
    background-color: white; 
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease 0.2s, visibility 0.5s ease 0.2s, left 0.5s ease 0.2s;
}

.vignette-info h4 { font-family: var(--heading-font); color: var(--primary-color); }
.vignette-info p { font-size: 0.9rem; line-height: 1.6; }

.vignette-item:hover .vignette-image {
    transform: scale(1.1);
}
.vignette-item:hover .vignette-image h3 {
    opacity: 0;
}
.vignette-item:hover .vignette-info {
    opacity: 1;
    visibility: visible;
    left: 115%; 
}

.vignette-item:hover {
    z-index: 10;
}

.vignette-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.vignette-gallery.focus-mode::before {
    opacity: 1;
}

.vignette-gallery.focus-mode .vignette-item:hover {
    z-index: 3;
    transition-delay: 0s;
}
/* --- 结束 --- */


/* --- 灿烂文化 --- */
/* --- 灿烂文化 --- */
/* --- 灿烂文化 --- */
.culture-tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background-color: #f0f2f5; 
    border-radius: 99px; 
    padding: 5px;
    position: relative;
    width: max-content; 
    margin-left: auto;
    margin-right: auto;
}

.culture-tabs-nav::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: var(--active-tab-width, 100px); 
    background-color: white;
    border-radius: 99px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    transform: translateX(var(--active-tab-offset, 0)); 
}

.tab-link {
    display: flex;
    flex-direction: row; 
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: color 0.4s ease;
    color: #555; 
    z-index: 1; 
    white-space: nowrap; 
}
.tab-link img {
    width: 20px; 
    height: 20px;
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.4s ease;
}
.tab-link span {
    font-weight: 600;
}

.tab-link:hover {
    color: var(--primary-color);
}
.tab-link:hover img {
    filter: grayscale(0%) opacity(1);
}

.tab-link.active {
    color: var(--primary-color);
}
.tab-link.active img {
    filter: none; 
}

/* 内容区域 */
.culture-tabs-content {
    position: relative;
    min-height: 400px; 
}
.tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.tab-content.active {
    opacity: 1;
    visibility: visible;
}

.content-card {
    display: flex;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 100%;
}

.card-text {
    width: 60%;
    padding: 30px 40px;
}
.card-text h4 {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.card-text p {
    font-size: 1rem;
    line-height: 1.8;
}

.card-image {
    width: 40%;
    background-size: cover;
    background-position: center;
    min-height: 400px; 
}

/* 响应式设计 */
@media (max-width: 900px) {
    .content-card {
        flex-direction: column-reverse; 
    }
    .card-text, .card-image {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .culture-tabs-nav {
        gap: 5px;
    }
    .tab-link {
        padding: 10px;
    }
    .tab-link span {
        font-size: 0.8rem;
    }
}
/* --- 结束 --- */

/* --- 各界伟人滚动墙样式 --- */
/* --- 各界伟人滚动墙样式 --- */
/* --- 各界伟人滚动墙样式 --- */
#figures {
    position: relative;
    padding: 80px 0;
    overflow: hidden; 
    isolation: isolate;
}

.pantheon-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(20, 20, 30, 0.85), rgba(20, 20, 30, 0.85)), url('images/hero-bg.jpg'); 
    background-attachment: fixed; 
    background-position: center;
    background-size: cover;
    z-index: -1;
}

#figures .section-title {
    color: white;
    margin-bottom: 80px;
}

.pantheon-container {
    display: flex;
    flex-direction: column;
    gap: 80px; 
}

.pantheon-card-wrapper {
    display: flex;
    opacity: 0; 
    transform: scale(0.9) translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.pantheon-card-wrapper.from-left {
    justify-content: flex-start;
    transform: scale(0.9) translateX(-50%);
}
.pantheon-card-wrapper.from-right {
    justify-content: flex-end;
    transform: scale(0.9) translateX(50%);
}

.pantheon-card-wrapper.is-visible {
    opacity: 1;
    transform: scale(1) translateX(0) translateY(0);
}

.pantheon-card {
    display: flex;
    width: 60%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}

.pantheon-image {
    width: 200px;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%); 
}

.pantheon-content {
    padding: 25px;
    color: #f0f0f0;
}

.pantheon-content h3 {
    font-family: var(--heading-font);
    color: white;
    font-size: 2rem;
    margin: 0;
}
.pantheon-content span {
    display: block;
    color: #ccc;
    margin-bottom: 15px;
}
.pantheon-content p {
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .pantheon-card {
        width: 90%;
    }
}
@media (max-width: 768px) {
    .pantheon-card {
        flex-direction: column;
        width: 100%;
    }
    .pantheon-card-wrapper.from-left,
    .pantheon-card-wrapper.from-right {
        justify-content: center; 
    }
    .pantheon-image {
        width: 100%;
        height: 250px;
    }
}
/* --- 结束 --- */


/* --- 按钮 --- */
/* --- 按钮 --- */
/* --- 按钮 --- */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn-Up 1s ease-out 0.8s forwards;
}


@keyframes fadeIn-Up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-btn {
    padding: 14px 30px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
    text-decoration: none; 
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-block;
    border: 2px solid transparent;
}

.hero-btn span {
    z-index: 1;
    position: relative;
    transition: color 0.4s ease; 
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    transform: translate3d(-50%,-50%,0) scale3d(0,0,0);
    transition: opacity .6s cubic-bezier(.19,1,.22,1),transform 1.2s cubic-bezier(.19,1,.22,1);
    opacity: 0;
}

.primary-btn {
    background-color: hsla(0, 0%, 100%, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    border-color: white;
}
.primary-btn::before {
    background-color: white; 
}
.primary-btn:hover span {
    color: var(--primary-color); 
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border-color: hsla(0, 0%, 100%, 0.5);
}
.secondary-btn::before {
    background-color: hsla(0, 0%, 100%, 0.2); 
}
.secondary-btn:hover {
    border-color: white;
}
.secondary-btn:hover span {
    color: white;
}

.hero-btn:hover::before {
    opacity: 1;
    transition-duration: .85s;
    transform: translate3d(-50%,-50%,0) scale3d(1.2,1.2,1.2);
}
/* --- 结束 --- */


/* --- 按钮环绕样式 --- */
/* --- 按钮环绕样式 --- */
/* --- 按钮环绕样式 --- */
.hero-btn.primary-btn {
    /* 紫色 */
    box-shadow: 0 0 8px rgba(170, 100, 255, 0.7), /
                inset 0 0 8px rgba(170, 100, 255, 0.6); 
    
    
    animation: breath-glow-purple 3s ease-in-out infinite;
}

@keyframes breath-glow-purple {
    0% {
        box-shadow: 0 0 6px rgba(170, 100, 255, 0.6), 
                    inset 0 0 6px rgba(170, 100, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(200, 160, 255, 1), 
                    inset 0 0 16px rgba(200, 160, 255, 0.9);
    }
    100% {
        box-shadow: 0 0 6px rgba(170, 100, 255, 0.6), 
                    inset 0 0 6px rgba(170, 100, 255, 0.5);
    }
}
/* --- 结束 --- */