/* 引入鸿蒙字体 */
@import url('https://cdn.jsdelivr.net/npm/@ayahub/webfont-harmony-sans-sc@1.0.0/css/index.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Harmony Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #fff;
    min-height: 100vh;
    color: #000;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    touch-action: pan-y;
    padding-top: 70px;
}

main {
    flex: 1;
}

header {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px 8px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo h1 {
    color: #000;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo p {
    color: #747474;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
}

.header-content a {
    text-decoration: none;
}

.header-content a .logo h1 {
    color: #000;
}

.header-content a .logo p {
    color: #747474;
}

nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-link.active {
    background: rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.hero {
    position: relative;
    min-height: 650px;
    max-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 5%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.95) 95%,
        rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.scroll-row {
    display: flex;
    position: relative;
    height: 135px;
    align-items: center;
}

.scroll-row .scroll-card {
    margin-right: 30px;
}

.scroll-left {
    animation: scrollLeft 40s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.scroll-right {
    animation: scrollRight 35s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.scroll-third {
    animation: scrollLeft 45s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.scroll-fourth {
    animation: scrollRight 42s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.scroll-card {
    flex-shrink: 0;
    width: 240px;
    height: 135px;
    max-height: 135px;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0.5;
    aspect-ratio: 16/9;
    will-change: transform;
    backface-visibility: hidden;
}

.scroll-row > * {
    white-space: nowrap;
}

.scroll-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 900;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 20px;
    color: #555;
    margin-bottom: 36px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: #fff;
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-hint:hover {
    color: #000;
}

.scroll-hint span {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-hint:hover span {
    opacity: 1;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}

.weekly-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5px 30px 60px;
}

/* 翻页banner样式 */
.banner-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    text-align: center;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.5s cubic-bezier(0.3, 0.9, 0.3, 1);
}

.banner-title.fade-out {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
}

.banner-subtitle {
    text-align: center;
    color: #444;
    margin-bottom: 0;
    line-height: 1.5;
    opacity: 0.8;
    transform: translateY(0) scale(1);
    transition: all 0.5s cubic-bezier(0.3, 0.9, 0.3, 1);
    font-weight: 600;
    font-size: 14px;
}

.banner-subtitle.fade-out {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
}

.banner-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.banner-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 7;
    height: auto !important;
    position: relative;
}

@supports not (aspect-ratio: 16 / 7) {
    .banner-track {
        width: 100%;
        height: 0;
        padding-bottom: 43.75%;
        position: relative;
    }
}

.banner-slide {
    position: absolute;
    width: 68%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.35;
    transform: translateX(0) scale(0.75);
    z-index: 1;
    cursor: pointer;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 10;
}

.banner-slide.prev {
    transform: translateX(-50%) scale(0.78);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.banner-slide.next {
    transform: translateX(50%) scale(0.78);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.banner-controls {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    justify-content: center;
}

.banner-control-btn {
    background: #f0f0f0;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    color: #333;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-control-btn:hover {
    background: #e0e0e0;
    transform: scale(1.05);
}

.banner-indicators {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #999;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.banner-indicator.active {
    background-color: #000;
    transform: scale(1.2);
}

.banner-progress-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    opacity: 0;
    transition: opacity 0.3s;
}

.banner-indicator.active .banner-progress-ring {
    opacity: 1;
}

.banner-progress-ring circle {
    fill: none;
    stroke: #000;
    stroke-width: 2;
    stroke-dasharray: 62.8;
    stroke-dashoffset: 62.8;
    transform: rotate(-90deg);
    transform-origin: center;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;

}

.section-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.report-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.report-slider {
    flex: 1;
    overflow: hidden;
    border-radius: 32px;
}

.report-cards {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.report-card {
    min-width: 100%;
    flex-shrink: 0;
    padding: 10px;
}

.report-card-inner {
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.report-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.report-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.report-card-meta {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.report-card-meta span {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.report-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    justify-content: space-between;
}

.report-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.report-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.report-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.report-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 15px;
    font-weight: 500;
}

.report-author {
    font-weight: 600;
    color: #333;
}

.report-separator {
    opacity: 0.5;
}

.report-tag {
    color: #666;
}

.report-title {
    font-size: 36px;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
}

.report-summary {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.report-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-read-more {
    background: #000;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.slider-btn {
    background: #000;
    color: #fff;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-btn:hover:not(:disabled) {
    background: #333;
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: #999;
}

.slider-dot.active {
    background: #000;
    transform: scale(1.2);
}

.about-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 80px;
}

.about-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.about-photo-card {
    background: #ffffff;
    padding: 16px;
    padding-bottom: 55px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    transform-origin: top center;
    transform: rotate(var(--rotate, 0deg));
    box-sizing: border-box;
}

.about-photo-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background-color: #333;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.about-photo-card:hover {
    transform: translateY(-8px) scale(1.02) rotate(var(--rotate, 0deg));
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.about-photo-card .img-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
}

.about-photo-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.view-more {
    text-align: center;
}

footer {
    background: #fff;
    padding: 20px 10px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content p {
    color: #888;
    font-size: 11px;
    font-weight: 600;
}

@media (min-width: 1025px) {
    .report-card-inner {
        flex-direction: row;
    }
    
    .report-card-image {
        width: 55%;
        aspect-ratio: 4/3;
        flex-shrink: 0;
    }
    
    .report-card-content {
        width: 45%;
    }
}

@media (max-width: 1024px) {
    .report-card-content {
        padding: 30px;
    }
    
    .report-title {
        font-size: 28px;
    }
    
    .report-summary {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 14px 20px;
        padding-bottom: 8px;
    }
    
    nav {
        gap: 4px;
    }
    
    .nav-link {
        font-size: 13px;
        font-weight: 700;
        padding: 6px 6px;
    }
    
    .hero {
        min-height: 650px;
        max-height: 750px;
    }
    
    .hero-background {
        padding: 0;
        justify-content: space-evenly;
    }
    
    .scroll-row {
        height: 125px;
    }
    
    .scroll-row .scroll-card {
        margin-right: 15px;
        width: 230px;
        height: 129px;
        max-height: 129px;
        aspect-ratio: 16/9;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .hero-content p {
        font-size: 17px;
        margin-bottom: 30px;
    }
    
    .scroll-hint {
        margin-top: 40px;
        font-weight: 300;
    }
    
    .weekly-section {
        padding: 40px 0px;
    }
    
    .about-section {
        padding: 0 20px 60px;
    }
    
    .about-photos {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .about-photo-card {
        padding: 10px;
        padding-bottom: 28px;
    }
    
    .report-slider-container {
        flex-direction: column;
    }
    
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    
    .slider-btn-prev {
        left: 10px;
    }
    
    .slider-btn-next {
        right: 10px;
    }
    
    .report-card-inner {
        border-radius: 24px;
    }
    
    .report-card-image {
        border-radius: 24px 24px 0 0;
    }
    
    .report-card-content {
        padding: 24px;
    }
    
    .report-title {
        font-size: 24px;
    }
    
    .report-summary {
        font-size: 15px;
    }
    
    .report-avatar {
        width: 50px;
        height: 50px;
    }
    
    .btn-read-more {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* 翻页banner移动端适配 */
    .banner-title {
        font-size: 18px;
    }
    
    .banner-subtitle {
        font-size: 13px;
    }
    
    .banner-slide {
        width: 85%;
    }
}

/* 图片全屏弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal img {
    max-width: 90%;
    max-height: 75vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-info {
    color: #fff;
    text-align: center;
    margin-top: 24px;
}

.modal-date {
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: bold;
}

.modal-notes {
    font-size: 16px;
    color: #ccc;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #fff;
    font-size: 42px;
    cursor: pointer;
    transition: 0.2s;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.about-photo-card .photo-title {
    position: absolute;
    bottom: 17px;
    left: 0;
    right: 0;
    text-align: center;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
}

/* 页面内容容器 */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px 60px;
}

@media (max-width: 768px) {
    .page-container {
        padding: 16px 20px 40px;
    }
    
    .about-photo-card .photo-title {
        bottom: 7px;
        font-size: 10px;
    }
}
