#hero-banner {
    position: relative;
    width: 100%;
    overflow: visible;
}

.hero-video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (min-width: 75rem) {
    #hero-banner {
    }
}

@media (min-width: 48rem) and (max-width: 74.9375rem) {
    #hero-banner {
    }
}

@media (max-width: 47.9375rem) {
    #hero-banner {
        aspect-ratio: 3 / 4;
        width: 100%;
        overflow: hidden;
    }
    
    .hero-video {
        width: auto;
        height: 100%;
        min-width: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content-inner {
    width: 100%;
    max-width: min(100% - 3rem, 75rem);
    margin-left: auto;
    margin-right: auto;
}

.hero-text-wrapper {
    text-align: left;
    color: #fff;
    padding: 2.5rem 1.5rem;
    max-width: 40rem;
    margin-left: 0;
    background: transparent;
    box-sizing: border-box;
}

.hero-chapter {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.25rem;
    margin-bottom: 0.625rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    color: #c9b075;
    text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.5);
    margin: 0;
    letter-spacing: 0.25rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(201, 176, 117, 0.8);
    margin-left: 1rem;
}

.hero-description {
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-description p {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.5);
}

.hero-description .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-description .char.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-slogan {
    font-size: 1.5rem;
    color: #c9b075;
    font-weight: bold;
    letter-spacing: 0.25rem;
    text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.5);
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-slogan.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 75rem) {
    .hero-text-wrapper {
        max-width: 60rem;
    }
}

@media (min-width: 48rem) and (max-width: 74.9375rem) {
    .hero-text-wrapper {
        max-width: 45rem;
    }
}

@media (max-width: 47.9375rem) {
    .hero-text-wrapper {
        padding: 1rem 0;
        max-width: 95%;
        margin: 0 0.5rem;
        background: transparent;
    }
    
    .hero-chapter {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-left: 0.5rem;
    }
    
    .hero-description p {
        font-size: 0.875rem;
    }
    
    .hero-slogan {
        font-size: 1rem;
    }
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: url(../images/body-top01.png) repeat-x center top;
    background-size: auto 70%;
    min-height: 6.25rem;
}

#header.scrolled {
}

#header .header-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    min-height: 6.25rem;
    padding: 0 1.5rem;
}

.header-logo {
    flex-shrink: 0;
    margin-right: 2.5rem;
    display: flex;
    align-items: flex-start;
}

.header-logo a {
    display: flex;
    align-items: flex-start;
}

.header-logo img {
    height: auto;
    width: auto;
    max-width: none;
    vertical-align: middle;
}

#nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 4.25rem;
}

#nav ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
    align-self: center;
}

#nav ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

#nav ul li {
    float: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

#nav ul li a {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    color: #c9b075;
    text-decoration: none;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

#nav ul li a:hover {
    color: #f40;
}

#nav ul li.cur a {
    color: #f40;
}

#nav ul li.cur a::after {
    content: '';
    position: absolute;
    bottom: 0.3125rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.875rem;
    height: 0.1875rem;
    background: #f40;
    border-radius: 0.125rem;
}

@media (min-width: 75rem) {
    #header .header-inner {
        width: min(100%, 75rem);
        margin: 0 auto;
        padding: 0;
    }
    
    #nav .mobile-menu-toggle {
        display: none !important;
    }
}

@media (min-width: 48rem) and (max-width: 74.9375rem) {
    #header .header-inner {
        width: 100%;
        padding: 0 1.25rem;
    }
    
    .header-logo {
        margin-right: 1.875rem;
    }
    
    #nav .mobile-menu-toggle {
        display: none !important;
    }
    
    #nav ul li a {
        padding: 0.625rem 0.9375rem;
    }
}

@media (max-width: 47.9375rem) {
    #header .header-inner {
        width: 100%;
        padding: 0 0.9375rem;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .header-logo {
        margin-right: auto;
        z-index: 1001;
        flex-shrink: 0;
    }
    
    .header-logo img {
        transform: scale(0.7);
        transform-origin: left top;
    }
    
    #nav {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 auto;
    }
    
    #nav .mobile-menu-toggle {
        display: block !important;
        position: relative;
        width: 2.5rem;
        height: 2.5rem;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
    }
    
    .mobile-menu-toggle span {
        display: block;
        position: absolute;
        left: 50%;
        width: 1.5rem;
        height: 0.125rem;
        background: #c9b075;
        transition: all 0.3s ease;
        border-radius: 0.0625rem;
        transform: translateX(-50%);
        transform-origin: center center;
    }
    
    .mobile-menu-toggle span:nth-child(1) {
        top: 0.625rem;
    }
    
    .mobile-menu-toggle span:nth-child(2) {
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
    
    .mobile-menu-toggle span:nth-child(3) {
        bottom: 0.625rem;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        top: 50%;
        transform: translateX(-50%) translateY(-50%) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-50%) translateY(-50%) translateX(-1rem);
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        bottom: auto;
        top: 50%;
        transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    }
    
    #nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background: transparent;
        overflow: hidden;
        transition: height 0.3s ease, background 0.3s ease;
        flex-direction: column;
        padding: 0;
        margin: 0;
        z-index: 999;
    }
    
    #nav.open ul {
        height: auto;
        min-height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        padding-top: 6.25rem;
    }
    
    #nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 0.0625rem solid rgba(201, 176, 117, 0.2);
    }
    
    #nav ul li:last-child {
        border-bottom: none;
    }
    
    #nav ul li a {
        padding: 0.9375rem 1.25rem;
        font-size: 1rem;
        display: block;
    }
    
    #nav ul li.cur a::after {
        display: none;
    }
}

#main-content {
    padding: 6.25rem 1.5rem;
    background: url(../images/body-bg2.jpg) no-repeat center top;
    background-size: 100% auto;
    min-height: 62.5rem;
    box-sizing: border-box;
}

@media (hover: none) and (pointer: coarse) {
    #nav ul li a {
        min-height: 2.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
