/* 轮播图样式 */
.carousel-container {
    width: 100vw;
    max-width: 100vw;
    height: 48vw;
    max-height: 420px;
    min-height: 180px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 0 auto;
    background: #111;
    z-index: 1;
}
.carousel-track {
    display: flex;
    width: 500vw;
    height: 100%;
    transition: transform 1s cubic-bezier(.4,2,.6,1);
}
.carousel-track img {
    width: 100vw;
    height: 48vw;
    max-height: 420px;
    min-height: 180px;
    object-fit: cover;
    flex-shrink: 0;
    filter: brightness(0.85);
    /* 去除模糊，保留轻微暗角 */
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(0,0,0,0.35);
    color: #ffe14a;
    border: none;
    border-radius: 50%;
    font-size: 2em;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.carousel-arrow:hover {
    background: rgba(0,0,0,0.55);
}
.carousel-arrow.left {
    left: 18px;
}
.carousel-arrow.right {
    right: 18px;
}
.carousel-indicators {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}
.carousel-indicators span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffe14a99;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s;
}
.carousel-indicators span.active {
    opacity: 1;
    background: #ffe14a;
    box-shadow: 0 0 8px #ffe14a;
}
@media (max-width: 700px) {
    .carousel-container {
        height: 38vw;
        max-height: 180px;
        min-height: 90px;
    }
    .carousel-track img {
        height: 38vw;
        max-height: 180px;
        min-height: 90px;
    }
}
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    margin: 0;
    padding: 0;
        background: url('main-bg.jpg') center center/cover no-repeat fixed, #181818;
    color: #fff;
    min-height: 100vh;
    background-attachment: fixed;
}

header {
    background: #181818;
    color: #ffe14a;
    padding: 48px 0 24px 0;
    text-align: center;
    border-bottom: 2px solid #222;
    position: relative;
    overflow: hidden;
}
header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffe14a;
    text-shadow: none;
    animation: fadeInDown 1s;
}
header p {
    margin: 0;
    font-size: 1.3em;
    color: #ffe14a;
    letter-spacing: 1px;
    animation: fadeInDown 1.2s;
}
header img {
    border: 3px solid #ffe14a;
    box-shadow: 0 4px 24px rgba(255,225,74,0.12);
    transition: transform 0.4s cubic-bezier(.4,2,.6,1);
}
header img:hover {
    transform: scale(1.04) rotate(-2deg);
}

section {
    max-width: 1000px;
    margin: 36px auto;
    background: #232323;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 36px 28px;
    border-left: 6px solid #ffe14a;
    animation: fadeInUp 1.2s;
}
section h2 {
    color: #ffe14a;
    margin-top: 0;
    font-size: 2em;
    letter-spacing: 1px;
    font-weight: bold;
    text-shadow: 1px 1px 6px #000;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}
.product-item {
    width: 240px;
    background: #181818;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(255,225,74,0.08), 0 1.5px 8px rgba(0,0,0,0.10);
    text-align: center;
    padding: 18px 10px 14px 10px;
    border: 2px solid #232323;
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.2s;
}
.product-item:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px #ffe14a44, 0 2px 12px #000a;
    z-index: 2;
}
.product-item img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 2px solid #ffe14a;
    box-shadow: 0 2px 12px #ffe14a22;
    transition: transform 0.4s cubic-bezier(.4,2,.6,1);
}
.product-item img:hover {
    transform: scale(1.07) rotate(-2deg);
}
.product-item p {
    color: #ffe14a;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
    font-size: 1.1em;
}

footer {
    text-align: center;
    color: #ffe14a;
    padding: 22px 0;
    font-size: 1em;
    background: #181818;
    margin-top: 48px;
    border-top: 2px solid #222;
    letter-spacing: 1px;
}

/* 动效 */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 二维码样式优化 */
#qrcode {
    margin: 0 auto;
    background: #232323;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 2px 12px #ffe14a22;
    width: fit-content;
}

@media (max-width: 900px) {
    section {
        padding: 18px 6px;
    }
    .product-list {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }
    .product-item {
        width: 98%;
        min-width: 160px;
        max-width: 420px;
    }
    header {
        padding: 28px 0 12px 0;
    }
    .product-item img {
        width: 96vw;
        max-width: 420px;
        height: auto;
        max-height: 48vw;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }
    section {
        padding: 10px 2px;
    }
    .product-item img {
        max-width: 98vw;
        max-height: 38vh;
    }
    .product-item {
        padding: 10px 2px 10px 2px;
    }
    header {
        background: url('header-bg.jpg') center center/cover no-repeat;
        color: #ffe14a;
        padding: 48px 0 24px 0;
        text-align: center;
        border-bottom: 2px solid #222;
        position: relative;
        overflow: hidden;
    }