/* ============================================
   h动漫 - 暗黑哥特教堂风主题样式
   CSS前缀: ha-
   ============================================ */

/* === Google Fonts 本地化替代 === */
@font-face {
    font-family: 'Uncial Antiqua';
    src: local('Uncial Antiqua');
    font-display: swap;
}
@font-face {
    font-family: 'Cinzel Decorative';
    src: local('Cinzel Decorative');
    font-display: swap;
}

/* === CSS变量 === */
:root {
    --ha-midnight: #121212;
    --ha-blood: #4A0404;
    --ha-stone: #E0E0E0;
    --ha-silver: #CCCCCC;
    --ha-deep-red: #9B2226;
    --ha-dark-bg: #0a0a0a;
    --ha-card-bg: #1a1a1a;
    --ha-border: #2a2a2a;
    --ha-gold: #8B7355;
    --ha-font-title: 'Uncial Antiqua', 'Georgia', 'Times New Roman', cursive;
    --ha-font-body: 'Cinzel Decorative', 'Georgia', 'Times New Roman', serif;
}

/* === 全局重置 === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--ha-font-body);
    background-color: var(--ha-midnight);
    color: var(--ha-silver);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ha-deep-red);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #c0392b;
    text-shadow: 0 0 8px rgba(155, 34, 38, 0.6);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ha-font-title);
    color: var(--ha-stone);
    line-height: 1.3;
}

/* === 干扰码隐藏 === */
.goth-jammer-block {
    display: none !important;
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* === 导航栏 === */
#ha-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.92);
    border-bottom: 1px solid var(--ha-blood);
    backdrop-filter: blur(10px);
}

.ha-nav-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 64px;
}

.ha-logo {
    font-family: var(--ha-font-title);
    font-size: 1.5rem;
    color: var(--ha-stone);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(74, 4, 4, 0.8);
}

.ha-nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.ha-nav-links li a {
    display: block;
    padding: 0 1.2rem;
    height: 64px;
    line-height: 64px;
    color: var(--ha-silver);
    font-size: 0.9rem;
    font-family: var(--ha-font-body);
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s, background 0.3s;
}

.ha-nav-links li a:hover,
.ha-nav-links li a.ha-active {
    color: var(--ha-deep-red);
    text-shadow: 0 0 12px rgba(155, 34, 38, 0.7);
    background: rgba(74, 4, 4, 0.15);
}

/* 汉堡菜单 */
.ha-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.ha-hamburger span {
    width: 28px;
    height: 2px;
    background: var(--ha-silver);
    transition: transform 0.3s, opacity 0.3s;
}

.ha-hamburger.ha-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.ha-hamburger.ha-open span:nth-child(2) {
    opacity: 0;
}

.ha-hamburger.ha-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端侧边菜单 */
.ha-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(74, 4, 4, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: right 0.4s ease;
    padding-top: 80px;
    border-left: 1px solid var(--ha-deep-red);
}

.ha-mobile-menu.ha-open {
    right: 0;
}

.ha-mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    color: var(--ha-stone);
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(224, 224, 224, 0.1);
    transition: background 0.3s, padding-left 0.3s;
}

.ha-mobile-menu a:hover {
    background: rgba(0, 0, 0, 0.3);
    padding-left: 2.5rem;
    color: #fff;
}

.ha-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s;
}

.ha-overlay.ha-open {
    opacity: 1;
}

/* === Hero Banner (暗夜剧场) === */
#ha-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ha-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    z-index: 1;
}

.ha-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
    z-index: 2;
}

.ha-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    animation: ha-fadeInUp 1.5s ease;
}

.ha-hero-logo {
    font-family: var(--ha-font-title);
    font-size: 4rem;
    color: var(--ha-stone);
    text-shadow: 0 0 30px rgba(74, 4, 4, 0.8), 0 0 60px rgba(74, 4, 4, 0.4);
    margin-bottom: 1rem;
    letter-spacing: 8px;
}

.ha-hero-slogan {
    font-size: 1.3rem;
    color: var(--ha-silver);
    margin-bottom: 2.5rem;
    letter-spacing: 3px;
    opacity: 0.9;
}

.ha-search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.ha-search-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.5rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--ha-blood);
    color: var(--ha-silver);
    font-size: 1rem;
    font-family: var(--ha-font-body);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ha-search-input::placeholder {
    color: rgba(204, 204, 204, 0.5);
}

.ha-search-input:focus {
    border-color: var(--ha-deep-red);
    box-shadow: 0 0 15px rgba(155, 34, 38, 0.3);
}

.ha-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--ha-deep-red);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

/* === 通用模块容器 === */
.ha-section {
    padding: 5rem 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

.ha-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ha-section-title {
    font-size: 2.2rem;
    color: var(--ha-stone);
    text-shadow: 0 0 15px rgba(74, 4, 4, 0.5);
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.ha-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ha-deep-red), transparent);
}

.ha-section-subtitle {
    font-size: 1rem;
    color: rgba(204, 204, 204, 0.7);
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === 视频卡片 === */
.ha-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ha-card {
    background: var(--ha-card-bg);
    border: 1px solid var(--ha-border);
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
    position: relative;
}

.ha-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(74, 4, 4, 0.5), 0 0 50px rgba(74, 4, 4, 0.2);
    border-color: var(--ha-blood);
}

.ha-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    transition: border-color 0.4s;
    z-index: 2;
    pointer-events: none;
}

.ha-card:hover::before {
    border-color: rgba(155, 34, 38, 0.6);
    box-shadow: inset 0 0 20px rgba(155, 34, 38, 0.15);
}

.ha-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.ha-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s, filter 0.6s;
}

.ha-card:hover .ha-card-image img {
    transform: scale(1.08);
    filter: brightness(0.8);
}

.ha-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--ha-blood);
    color: var(--ha-stone);
    padding: 4px 10px;
    font-size: 0.75rem;
    z-index: 3;
    letter-spacing: 1px;
}

.ha-card-info {
    padding: 1rem;
}

.ha-card-title {
    font-family: var(--ha-font-title);
    font-size: 1rem;
    color: var(--ha-stone);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ha-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(204, 204, 204, 0.6);
}

.ha-card-rating {
    color: var(--ha-gold);
}

/* === 横向滚动卡片 (禁忌书馆) === */
.ha-scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ha-blood) var(--ha-midnight);
}

.ha-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.ha-scroll-container::-webkit-scrollbar-track {
    background: var(--ha-midnight);
}

.ha-scroll-container::-webkit-scrollbar-thumb {
    background: var(--ha-blood);
}

.ha-scroll-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--ha-card-bg);
    border: 1px solid var(--ha-border);
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
}

.ha-scroll-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(74, 4, 4, 0.5);
}

/* === 排行榜 (炼狱回廊) === */
.ha-rank-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ha-rank-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--ha-card-bg);
    border: 1px solid var(--ha-border);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ha-rank-item:hover {
    border-color: var(--ha-blood);
    box-shadow: 0 0 15px rgba(74, 4, 4, 0.3);
}

.ha-rank-number {
    font-family: var(--ha-font-title);
    font-size: 2rem;
    color: var(--ha-blood);
    min-width: 50px;
    text-align: center;
    text-shadow: 0 0 10px rgba(74, 4, 4, 0.5);
}

.ha-rank-number.ha-top-3 {
    color: var(--ha-gold);
    text-shadow: 0 0 15px rgba(139, 115, 85, 0.5);
}

.ha-rank-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border: 1px solid var(--ha-border);
}

.ha-rank-info {
    flex: 1;
}

.ha-rank-title {
    font-family: var(--ha-font-title);
    font-size: 1rem;
    color: var(--ha-stone);
    margin-bottom: 0.3rem;
}

.ha-rank-score {
    font-size: 0.85rem;
    color: var(--ha-gold);
}

/* === 主题合集 (罪恶诗篇) === */
.ha-collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ha-collection-card {
    position: relative;
    height: 280px;
    overflow: hidden;
    border: 1px solid var(--ha-border);
    cursor: pointer;
}

.ha-collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
    filter: brightness(0.5);
}

.ha-collection-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.3);
}

.ha-collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    z-index: 2;
}

.ha-collection-name {
    font-family: var(--ha-font-title);
    font-size: 1.4rem;
    color: var(--ha-stone);
    margin-bottom: 0.5rem;
}

.ha-collection-count {
    font-size: 0.85rem;
    color: rgba(204, 204, 204, 0.6);
}

/* === 创作者聚光灯 (魔神画廊) === */
.ha-creator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ha-creator-card {
    text-align: center;
    padding: 2rem;
    background: var(--ha-card-bg);
    border: 1px solid var(--ha-border);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ha-creator-card:hover {
    border-color: var(--ha-blood);
    box-shadow: 0 0 20px rgba(74, 4, 4, 0.4);
}

.ha-creator-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--ha-blood);
    transition: border-color 0.3s;
}

.ha-creator-card:hover .ha-creator-avatar {
    border-color: var(--ha-deep-red);
    box-shadow: 0 0 20px rgba(155, 34, 38, 0.5);
}

.ha-creator-name {
    font-family: var(--ha-font-title);
    font-size: 1.2rem;
    color: var(--ha-stone);
    margin-bottom: 0.5rem;
}

.ha-creator-desc {
    font-size: 0.85rem;
    color: rgba(204, 204, 204, 0.7);
    line-height: 1.6;
}

/* === 创作者入驻 CTA === */
#ha-creator-cta {
    position: relative;
    padding: 6rem 2rem;
    text-align: center;
    overflow: hidden;
}

.ha-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
    z-index: 1;
}

.ha-cta-content {
    position: relative;
    z-index: 2;
}

.ha-cta-title {
    font-size: 2.5rem;
    color: var(--ha-stone);
    text-shadow: 0 0 20px rgba(74, 4, 4, 0.6);
    margin-bottom: 1.5rem;
}

.ha-cta-text {
    font-size: 1.1rem;
    color: var(--ha-silver);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* === 按钮样式 === */
.ha-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--ha-blood), var(--ha-deep-red));
    color: var(--ha-stone);
    font-family: var(--ha-font-title);
    font-size: 1.1rem;
    letter-spacing: 2px;
    border: 1px solid var(--ha-deep-red);
    cursor: pointer;
    transition: all 0.4s;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.ha-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

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

.ha-btn:hover {
    box-shadow: 0 0 25px rgba(155, 34, 38, 0.6);
    transform: translateY(-2px);
    color: #fff;
}

/* === 会员 (圣餐仪式) === */
.ha-membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ha-membership-card {
    background: var(--ha-card-bg);
    border: 1px solid var(--ha-border);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.ha-membership-card:hover {
    border-color: var(--ha-blood);
    box-shadow: 0 0 25px rgba(74, 4, 4, 0.4);
    transform: translateY(-5px);
}

.ha-membership-card.ha-featured {
    border-color: var(--ha-deep-red);
    position: relative;
}

.ha-membership-card.ha-featured::before {
    content: '至尊';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--ha-deep-red);
    color: var(--ha-stone);
    padding: 4px 12px;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.ha-membership-tier {
    font-family: var(--ha-font-title);
    font-size: 1.5rem;
    color: var(--ha-stone);
    margin-bottom: 1rem;
}

.ha-membership-price {
    font-size: 2.5rem;
    color: var(--ha-deep-red);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.ha-membership-price span {
    font-size: 1rem;
    color: rgba(204, 204, 204, 0.6);
}

.ha-membership-features {
    list-style: none;
    margin-bottom: 2rem;
}

.ha-membership-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(42, 42, 42, 0.5);
    font-size: 0.9rem;
    color: var(--ha-silver);
}

.ha-membership-features li::before {
    content: '\2720 ';
    color: var(--ha-deep-red);
}

/* === 社区论坛 (忏悔室) === */
.ha-forum-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ha-forum-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: var(--ha-card-bg);
    border: 1px solid var(--ha-border);
    transition: border-color 0.3s;
}

.ha-forum-item:hover {
    border-color: var(--ha-blood);
}

.ha-forum-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ha-border);
}

.ha-forum-content {
    flex: 1;
}

.ha-forum-title {
    font-family: var(--ha-font-title);
    font-size: 1rem;
    color: var(--ha-stone);
    margin-bottom: 0.3rem;
}

.ha-forum-excerpt {
    font-size: 0.85rem;
    color: rgba(204, 204, 204, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ha-forum-stats {
    text-align: right;
    font-size: 0.8rem;
    color: rgba(204, 204, 204, 0.5);
    min-width: 80px;
}

/* === APP下载 === */
#ha-app-section {
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
}

.ha-app-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.25);
    z-index: 1;
}

.ha-app-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.ha-app-text {
    flex: 1;
}

.ha-app-title {
    font-size: 2.5rem;
    color: var(--ha-stone);
    text-shadow: 0 0 20px rgba(74, 4, 4, 0.6);
    margin-bottom: 1rem;
}

.ha-app-subtitle {
    font-size: 1.1rem;
    color: var(--ha-silver);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.ha-app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* === 地狱契约 === */
#ha-guidelines {
    background: var(--ha-dark-bg);
    border-top: 1px solid var(--ha-border);
}

.ha-guidelines-content {
    max-width: 800px;
    margin: 0 auto;
}

.ha-guidelines-content p {
    margin-bottom: 1.5rem;
    line-height: 2;
    color: rgba(204, 204, 204, 0.8);
}

/* === 页脚 === */
#ha-footer {
    background: var(--ha-dark-bg);
    border-top: 1px solid var(--ha-blood);
    padding: 4rem 2rem 2rem;
}

.ha-footer-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.ha-footer-col h4 {
    font-family: var(--ha-font-title);
    font-size: 1.1rem;
    color: var(--ha-stone);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.ha-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--ha-deep-red);
}

.ha-footer-links {
    list-style: none;
}

.ha-footer-links li {
    margin-bottom: 0.8rem;
}

.ha-footer-links li a {
    color: rgba(204, 204, 204, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s, padding-left 0.3s;
}

.ha-footer-links li a:hover {
    color: var(--ha-deep-red);
    padding-left: 5px;
}

.ha-social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ha-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--ha-border);
    color: var(--ha-silver);
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
    font-size: 0.9rem;
}

.ha-social-link:hover {
    border-color: var(--ha-deep-red);
    color: var(--ha-deep-red);
    box-shadow: 0 0 10px rgba(155, 34, 38, 0.3);
}

.ha-footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--ha-border);
    text-align: center;
}

.ha-footer-cert {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--ha-gold);
    letter-spacing: 1px;
}

.ha-footer-beian {
    font-size: 0.8rem;
    color: rgba(204, 204, 204, 0.5);
    margin-bottom: 0.8rem;
}

.ha-footer-beian a {
    color: rgba(204, 204, 204, 0.5);
}

.ha-footer-beian a:hover {
    color: var(--ha-deep-red);
}

.ha-footer-copyright {
    font-size: 0.8rem;
    color: rgba(204, 204, 204, 0.4);
}

/* === 内页通用 === */
.ha-page-banner {
    position: relative;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 64px;
}

.ha-page-banner img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.ha-page-banner-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(18, 18, 18, 0.9));
}

.ha-page-banner h1 {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(74, 4, 4, 0.6);
}

/* === 视频详情页 === */
.ha-video-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.ha-video-player {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid var(--ha-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.ha-video-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.ha-play-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(74, 4, 4, 0.8);
    border: 2px solid var(--ha-deep-red);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 2;
}

.ha-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(155, 34, 38, 0.6);
}

.ha-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid var(--ha-stone);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

.ha-video-info h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.ha-video-meta-bar {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: rgba(204, 204, 204, 0.6);
    flex-wrap: wrap;
}

.ha-video-description {
    line-height: 2;
    color: rgba(204, 204, 204, 0.85);
    margin-bottom: 3rem;
}

.ha-video-screenshots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.ha-video-screenshots img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 1px solid var(--ha-border);
    transition: border-color 0.3s;
}

.ha-video-screenshots img:hover {
    border-color: var(--ha-blood);
}

/* === 创作者入驻表单页 === */
.ha-form-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.ha-form-scroll {
    background: var(--ha-card-bg);
    border: 1px solid var(--ha-border);
    padding: 3rem;
    position: relative;
}

.ha-form-scroll::before,
.ha-form-scroll::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 30px;
    background: var(--ha-card-bg);
    border: 1px solid var(--ha-border);
    border-radius: 50%;
}

.ha-form-scroll::before {
    top: -15px;
    border-bottom: none;
}

.ha-form-scroll::after {
    bottom: -15px;
    border-top: none;
}

.ha-form-group {
    margin-bottom: 2rem;
}

.ha-form-label {
    display: block;
    font-family: var(--ha-font-title);
    font-size: 1rem;
    color: var(--ha-stone);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.ha-form-input,
.ha-form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--ha-border);
    color: var(--ha-silver);
    font-family: var(--ha-font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ha-form-input:focus,
.ha-form-textarea:focus {
    border-color: var(--ha-deep-red);
    box-shadow: 0 0 10px rgba(155, 34, 38, 0.2);
}

.ha-form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* === 弹窗提示 === */
.ha-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.ha-modal-overlay.ha-show {
    display: flex;
}

.ha-modal {
    background: var(--ha-card-bg);
    border: 1px solid var(--ha-blood);
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    animation: ha-fadeInUp 0.5s ease;
}

.ha-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ha-stone);
}

.ha-modal p {
    color: var(--ha-silver);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* === 分页背景区块 === */
.ha-bg-section {
    position: relative;
    overflow: hidden;
}

.ha-bg-section > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2);
    z-index: 0;
}

.ha-bg-section > .ha-section {
    position: relative;
    z-index: 1;
}

/* === 动画 === */
@keyframes ha-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ha-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ha-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* === 响应式 - 1440px === */
@media (max-width: 1440px) {
    .ha-card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === 响应式 - 1024px === */
@media (max-width: 1024px) {
    .ha-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ha-collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ha-creator-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ha-membership-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ha-app-content {
        flex-direction: column;
        text-align: center;
    }

    .ha-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ha-video-screenshots {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === 响应式 - 768px === */
@media (max-width: 768px) {
    .ha-nav-links {
        display: none;
    }

    .ha-hamburger {
        display: flex;
    }

    .ha-mobile-menu {
        display: block;
    }

    .ha-hero-logo {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .ha-hero-slogan {
        font-size: 1rem;
    }

    .ha-section {
        padding: 3rem 1.5rem;
    }

    .ha-section-title {
        font-size: 1.8rem;
    }

    .ha-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .ha-collection-grid {
        grid-template-columns: 1fr;
    }

    .ha-collection-card {
        height: 200px;
    }

    .ha-creator-grid {
        grid-template-columns: 1fr;
    }

    .ha-membership-grid {
        grid-template-columns: 1fr;
    }

    .ha-footer-grid {
        grid-template-columns: 1fr;
    }

    .ha-cta-title {
        font-size: 1.8rem;
    }

    .ha-app-title {
        font-size: 1.8rem;
    }

    .ha-page-banner {
        height: 250px;
    }

    .ha-page-banner h1 {
        font-size: 1.8rem;
    }

    .ha-video-screenshots {
        grid-template-columns: 1fr;
    }

    .ha-rank-item {
        flex-wrap: wrap;
    }

    .ha-form-scroll {
        padding: 2rem 1.5rem;
    }
}

/* === 响应式 - 360px === */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .ha-nav-container {
        padding: 0 1rem;
    }

    .ha-hero-logo {
        font-size: 2rem;
    }

    .ha-section {
        padding: 2rem 1rem;
    }

    .ha-card-grid {
        grid-template-columns: 1fr;
    }

    .ha-scroll-card {
        flex: 0 0 220px;
    }

    .ha-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* === 页面切换动画 === */
.ha-page-enter {
    animation: ha-fadeIn 0.6s ease;
}
