/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6c5ce7;
    --gradient: linear-gradient(135deg, #6c5ce7, #a29bfe);
    --dark: #1a1a2e;
    --text: #555;
    --text-light: #999;
    --bg: #fff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

/* ===== Main ===== */
.main {
    flex: 1;
    display: flex;
    align-items: center;
}

.center {
    text-align: center;
}

.hero-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

/* ===== Text Block (整段一体) ===== */
.text-block {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    padding: 20px 24px;
    background: #f8f9ff;
    border-radius: 12px;
    border: 1px solid #eee;
    margin: 20px 0;
}

/* ===== Text List ===== */
.text-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
}

.text-item {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    padding: 16px 20px;
    background: #f8f9ff;
    border-radius: 10px;
    border: 1px solid #eee;
}

/* ===== Gallery ===== */
.gallery-section {
    margin: 24px 0;
}

.gallery-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-item {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.gallery-img {
    width: 100%;
    display: block;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-img:active {
    transform: scale(0.98);
}

/* ===== Fullscreen Overlay ===== */
.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.fullscreen-overlay.active {
    display: flex;
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.5rem;
    color: #fff;
    z-index: 10000;
    line-height: 1;
}

.fullscreen-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* ===== Video ===== */
.video-section {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.video-player {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.download-section {
    text-align: center;
    margin: 32px 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 40px;
    font-size: 1.05rem;
    border-radius: 10px;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid #eee;
}

.footer-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-link:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-light);
}