/* ================= 全局 ================= */
:root {
    --primary: #6b4fd8;
    --primary-dark: #4a35a8;
    --primary-deep: #241a4e;
    --accent: #f5c356;
    --accent-deep: #d9a02f;
    --bg-light: #f7f4fd;
    --text-dark: #2b2350;
    --text-gray: #6b6488;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(74, 53, 168, 0.12);
    --radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif SC', 'PingFang SC', 'Microsoft YaHei', serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= 导航栏 ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, rgba(20, 12, 48, 0.55), transparent);
}

.navbar.scrolled {
    background: rgba(28, 18, 64, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 8px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(0,0,0,0.4);
}

.nav-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.nav-badge {
    display: inline-block;
    padding: 2px 9px;
    font-size: 12px;
    font-weight: 700;
    color: #3a2a05;
    background: linear-gradient(135deg, #ffd97a, #f0a93a);
    border-radius: 999px;
    line-height: 1.5;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 6px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

/* 汉堡菜单 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ================= Hero ================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s ease, transform 6s linear;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(20, 12, 48, 0.62) 0%, rgba(20, 12, 48, 0.45) 45%, rgba(15, 9, 38, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    animation: heroFade 1.2s ease both;
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, rgba(245, 195, 86, 0.95), rgba(217, 160, 47, 0.95));
    color: #3a2a05;
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(245, 195, 86, 0.4);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(48px, 9vw, 92px);
    font-weight: 900;
    color: var(--white);
    letter-spacing: 8px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 200, 100, 0.35);
    margin-bottom: 14px;
}

.hero-subtitle {
    font-size: clamp(16px, 2.6vw, 24px);
    color: var(--accent);
    letter-spacing: 4px;
    margin-bottom: 26px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}

.tag {
    padding: 6px 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    color: var(--white);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 44px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd97a, #f0a93a);
    color: #4a3005;
    box-shadow: 0 8px 24px rgba(240, 169, 58, 0.45);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(240, 169, 58, 0.6);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 56px;
    font-size: 19px;
}

/* 轮播圆点 */
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent);
    width: 32px;
    border-radius: 999px;
}

/* 首屏二维码悬浮弹层 */
.btn-qrcode-wrapper {
    position: relative;
    display: inline-block;
}

.qrcode-popup {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    padding: 14px 14px 10px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-align: center;
    z-index: 10;
}

.qrcode-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.qrcode-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--white);
}

.qrcode-img {
    width: 140px;
    height: 140px;
}

.qrcode-img img,
.qrcode-img canvas {
    width: 100% !important;
    height: 100% !important;
}

.qrcode-tip {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-gray);
}

/* ================= 通用 Section ================= */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.8;
}

.section-title {
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--text-dark);
}

.section-divider {
    width: 64px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* ================= 游戏简介 ================= */
.section-intro {
    background: var(--white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 64px;
}

.intro-lead {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 4px solid var(--accent);
}

.intro-text p {
    margin-bottom: 14px;
    color: var(--text-gray);
    font-size: 16px;
    text-align: justify;
}

.intro-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.4s ease;
}

.intro-image img:hover {
    transform: translateY(-6px) scale(1.02);
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 30px 18px;
    background: linear-gradient(150deg, #faf8ff, #f2edfd);
    border-radius: var(--radius);
    border: 1px solid #e8e0fb;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
}

.stat-number span {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-deep);
    margin-top: 4px;
}

.stat-item p {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-gray);
}

/* ================= 特色玩法 ================= */
.section-features {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(107, 79, 216, 0.08), transparent 55%),
        radial-gradient(ellipse at 85% 100%, rgba(245, 195, 86, 0.1), transparent 55%),
        var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    border-top: 4px solid transparent;
    transition: all 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--accent);
    box-shadow: 0 18px 44px rgba(74, 53, 168, 0.2);
}

.feature-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(74, 53, 168, 0.25);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 14.5px;
    color: var(--text-gray);
}

/* ================= 上线福利 ================= */
.section-welfare {
    background: linear-gradient(160deg, #241a4e 0%, #37256e 55%, #4a35a8 100%);
}

.section-welfare .section-tag {
    color: var(--accent);
}

.section-welfare .section-title {
    color: var(--white);
}

.welfare-banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.welfare-banner-img {
    width: 100%;
    object-fit: cover;
}

.welfare-banner-text {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 40px 30px 22px;
    background: linear-gradient(to top, rgba(20, 12, 48, 0.92), transparent);
}

.welfare-banner-text h3 {
    font-size: clamp(20px, 3.4vw, 30px);
    color: var(--accent);
    font-weight: 900;
    letter-spacing: 2px;
}

.welfare-banner-text p {
    color: rgba(255, 255, 255, 0.88);
    margin-top: 6px;
    font-size: 15px;
}

.welfare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.welfare-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.3s ease;
}

.welfare-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
}

.welfare-card.highlight {
    border-color: rgba(245, 195, 86, 0.55);
    background: linear-gradient(150deg, rgba(245, 195, 86, 0.14), rgba(245, 195, 86, 0.04));
}

.welfare-icon {
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 12px;
}

.welfare-card h3 {
    font-size: 19px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 8px;
}

.welfare-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

/* ================= 游戏截图 ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: rgba(36, 26, 78, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ================= 视频 ================= */
.section-video {
    background: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.video-item video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    background: #000;
    box-shadow: var(--shadow);
}

/* ===== 游戏原画轮播 ===== */
.gallery-carousel {
    position: relative;
    margin-top: 26px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 54px;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(var(--per-view, 3), 1fr);
    gap: 20px;
}

.gallery-strip-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-strip-item img {
    width: 100%;
    aspect-ratio: 720 / 1280;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-strip-item:hover img {
    transform: scale(1.04);
}

.carousel-placeholder {
    visibility: hidden;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(36, 26, 78, 0.72);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.carousel-btn:hover {
    background: var(--primary);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #d8d0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 999px;
}

/* ================= 下载 ================= */
.section-download {
    background:
        radial-gradient(ellipse at 50% 120%, rgba(245, 195, 86, 0.22), transparent 60%),
        linear-gradient(160deg, #241a4e, #37256e);
}

.download-box {
    display: grid;
    grid-template-columns: 1.4fr auto auto;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 50px 46px;
    backdrop-filter: blur(8px);
}

.download-info h2 {
    font-size: clamp(26px, 4vw, 36px);
    color: var(--white);
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.download-info > p {
    color: var(--accent);
    font-size: 17px;
    margin-bottom: 18px;
}

.download-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.download-tags span {
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
}

.download-qr-box {
    text-align: center;
}

.download-qr-item .qrcode-img {
    width: 130px;
    height: 130px;
    background: var(--white);
    padding: 8px;
    border-radius: 12px;
}

.download-qr-item p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dl-ios {
    background: linear-gradient(135deg, #8f7bff, #6b4fd8);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(107, 79, 216, 0.5);
}

.dl-ios:hover {
    box-shadow: 0 12px 32px rgba(107, 79, 216, 0.7);
}

/* ================= 灯箱 ================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 10, 35, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 36px;
    font-size: 44px;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--accent);
}

/* ================= 返回顶部 ================= */
.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8f7bff, #6b4fd8);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(107, 79, 216, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ================= 页脚 ================= */
.footer {
    background: #170f38;
    padding: 56px 0 32px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-logo span {
    font-size: 22px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 2px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14.5px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-friend-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.friend-links-title,
.footer-friend-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

.footer-friend-links a:hover {
    color: var(--accent);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
}

/* ================= 滚动渐入动画 ================= */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= 响应式 ================= */
@media (max-width: 992px) {
    .features-grid,
    .welfare-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-box {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 30px;
        padding: 40px 28px;
    }

    .download-info .download-tags {
        justify-content: center;
    }

    .download-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(28, 18, 64, 0.98);
        backdrop-filter: blur(12px);
        padding: 16px 20px 22px;
        gap: 4px;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 16px;
    }

    .hero {
        min-height: 520px;
    }

    .hero-title {
        letter-spacing: 4px;
    }

    .hero-buttons .btn {
        padding: 13px 34px;
        font-size: 16px;
    }

    .qrcode-popup {
        display: none;
    }

    .video-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        aspect-ratio: auto;
    }

    .gallery-item img {
        height: auto;
    }

    .gallery-carousel {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .carousel-page {
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .features-grid,
    .welfare-grid,
    .intro-stats {
        grid-template-columns: 1fr;
    }

    .hero-badge {
        font-size: 13px;
        padding: 6px 18px;
    }

    .stat-number {
        font-size: 36px;
    }

    .back-to-top {
        right: 16px;
        bottom: 20px;
    }

    .download-actions {
        flex-direction: column;
        width: 100%;
    }

    .download-actions .btn {
        width: 100%;
    }
}
