html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    overflow-x: hidden;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    color: #fff;
    background: #080808;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
    border: 0;
}

#app {
    width: 100%;
    min-height: 100vh;
}

.pc-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #080808;
}

.pc-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: #080808 center top / cover no-repeat;
}

.pc-page > :not(.pc-bg) {
    position: relative;
    z-index: 1;
}

.site-header {
    position: relative;
    z-index: 20;
    width: 100%;
}

.header-inner {
    width: min(1300px, calc(100% - 48px));
    height: 116px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    width: 260px;
    height: auto;
}

.top-links,
.qr-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .9);
    transition: transform .2s ease, color .2s ease;
}

.top-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.top-link-icon {
    width: 48px;
    height: 48px;
}

.pc-main {
    width: min(1300px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(600px, 730px) minmax(300px, 374px);
    align-items: start;
    gap: clamp(28px, 6vw, 126px);
}

.pc-content {
    width: 100%;
}

.pc-hero-swiper {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .45);
}

.slide-img {
    width: 100%;
    aspect-ratio: 730 / 390;
    object-fit: cover;
}

.pc-hero-swiper .swiper-pagination {
    bottom: 22px !important;
}

.pc-hero-swiper .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    margin: 0 8px !important;
    background: #fff;
    opacity: .28;
}

.pc-hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.category-grid {
    width: 100%;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px 25px;
}

.category-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: #fff;
    transition: transform .2s ease, filter .2s ease;
}

.category-item:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

.category-img-wrap {
    width: min(100%, 121px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-title {
    min-height: 20px;
    font-size: 18px;
    line-height: 1.15;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .65);
}

.qr-card {
    width: 100%;
    min-height: 500px;
    margin-top: clamp(8px, 11vh, 140px);
    padding: 32px 32px 28px;
    border-radius: 24px;
    background: rgba(0, 0, 0, .42);
    backdrop-filter: blur(8px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .34);
    text-align: center;
}

.qr-box {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 8px;
    background: #fff;
}

.qr-box canvas,
.qr-box img {
    display: block;
    width: 100%;
    height: auto;
}

.qr-card h2 {
    margin: 18px 0 8px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

.qr-card p {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .55);
}

.download-btn {
    width: 100%;
    max-width: 260px;
    height: 48px;
    margin-top: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0c66c, #b8742c);
    color: #1b1007;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(212, 143, 54, .28);
    transition: transform .2s ease, filter .2s ease;
}

.download-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.qr-actions {
    justify-content: center;
    margin-top: 22px;
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
}

.site-footer {
    width: 100%;
    padding: 22px 16px 28px;
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, .45);
}

.mobile-page {
    display: none;
    position: relative;
    overflow-x: hidden;
}

.mobile-bg-swiper {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    background: #090909;
    overflow: hidden;
}

.mobile-bg-swiper .swiper-slide {
    width: 100%;
    height: 100vh;
}

.mobile-bg-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.mobile-header {
    position: relative;
    z-index: 20;
    height: 67px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    height: 48px;
    width: auto;
}

.mobile-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-link {
    min-width: 58px;
    height: 66px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #fff;
    font-size: 14px;
}

.mobile-link-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.mobile-main {
    position: relative;
    z-index: 10;
    padding: 8px 0 96px;
}

.mobile-banner-swiper {
    width: min(80vw, 590px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.mobile-banner-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.mobile-banner-swiper .swiper-pagination {
    bottom: 10px !important;
}

.mobile-banner-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
    background: #d8a05c;
    opacity: .3;
}

.mobile-banner-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.mobile-work {
    width: 100%;
    margin-top: 10px;
}

.work-title {
    width: 100%;
    padding: 10px 0 4px;
    display: flex;
    justify-content: center;
}

.work-title-img {
    width: 76%;
    max-width: 554px;
}

.mobile-work-swiper {
    width: 100%;
    overflow: hidden;
}

.mobile-work-swiper .swiper-slide {
    width: 60%;
    max-width: 342px;
    margin: 0 5px;
}

.work-img {
    width: 100%;
    aspect-ratio: 342 / 192;
    object-fit: cover;
    border-radius: 4px;
}

.work-lab {
    width: 100%;
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

.work-lab-img {
    width: 80%;
    max-width: 572px;
}

.mobile-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 14px;
    border-top: 1px solid #58371d;
    background: #201207;
}

.mobile-fixed button {
    width: min(42vw, 190px);
    animation: pulseScale 1s infinite;
}

.fixed-img {
    width: 100%;
    height: auto;
}

@keyframes pulseScale {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(.92);
    }
}

@media (max-width: 1200px) {
    .pc-main {
        grid-template-columns: minmax(560px, 650px) minmax(280px, 340px);
        gap: 36px;
    }

    .top-link {
        font-size: 21px;
    }
}

@media (max-width: 994px) {
    .pc-page {
        display: none;
    }

    .mobile-page {
        display: block;
        min-height: 100vh;
        background: #080808;
    }
}
