/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.w {
	width:75rem;
	margin:0 auto;
}
/* 导航 */
nav {
    /* display: flex; */
    /* justify-content: space-between; */
    /* align-items: center; */
    /* padding: 1.0625rem 0; */
    /* background-color: #000; */
    /* position: fixed; */
    /* width: 100%; */
    /* top: 0; */
    /* z-index: 100; */
}
.nav-container {
	height:4.375rem;
    display: flex;
	width:75rem;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}
.user{
	display:flex;
align-items:center;
}

.userAvatar{
	height:2.5rem;
	width:2.5rem;
	display:block;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-icon {
    color: #e53935;
    font-size: 1.5rem;
}

.logo-icon img {
    height: 2.25rem;
    width: 16.3125rem;
}

nav ul {
    display: flex;
    list-style: none;
	width:25.0625rem;
    justify-content:space-between;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    font-weight: bold;
}

nav ul li a.active,
nav ul li a:hover {
    color: #e53935;
}

.cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 2.5rem;
    width: 10.9375rem;
    background-color: #333;
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-button:hover {
    background-color: #444;
}

.cart-count {
    background-color: #ff9800;
    color: #000;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: bold;
}

/* 轮播 */
.hero {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    left: 0;
    top: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    width: 43.4375rem;
    height: 8.75rem;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.25);
    font-size: 3rem;
    font-weight: 700;
    line-height: 4.34375rem;
    color: #fff;
    text-align: center;
    margin: 0 auto;
}

.hero-subtitle {
    width: 30.5rem;
    height: 1.3125rem;
    font-size: 0.9375rem;
    line-height: 1.25rem;
    color: #fff;
    text-align: center;
    margin: 0 auto;
}

.hero-button {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 1.25rem;
    font-weight: bold;
    transition: all 0.3s ease;
    line-height: 2.8125rem;
    padding:0 1.875rem;
    height: 2.8125rem;
    background: #d61220;
    margin: 5.3125rem auto 0;
}
.hero-button2 {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 1.25rem;
    font-weight: bold;
    transition: all 0.3s ease;
    line-height: 2.8125rem;
        padding:0 1.875rem;
    height: 2.8125rem;
    background: rgba(255, 255, 255, 0.3);

    margin: 5.3125rem auto 0;
	margin-left:1.4375rem;
}
.hero-button:hover {
    background-color: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(229,57,53,0.4);
}

.hero-wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 3;
    overflow: hidden;
}

.hero-wave {
    width: 100%;
    height: 100%;
}

.hero-tags {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    z-index: 2;
}

.hero-tag {
    text-align: center;
	animation: slowBounce 1.5s ease-in-out infinite;
}


.hero-tag:nth-child(1) {
    --rot: -30deg;
}
.hero-tag:nth-child(2) {
    --rot: 20deg;
}
.hero-tag:nth-child(3) {
    --rot: 10deg;
}
.hero-tag:nth-child(4) {
    --rot: -10deg;
}
@keyframes slowBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(var(--rot));
  }
  50% {
    transform: translateX(-50%) translateY(-6px) rotate(var(--rot));
  }
}
.hero-tag-title {
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.hero-tag-subtitle {
    font-size: 0.8rem;
    opacity: 0.6;
}

.hero-dots {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background-color: #e53935;
    transform: scale(1.2);
}

/* 产品展示 */
.product-showcase {
    background-color: #000;
}

.product-showcase .section-title {
    text-align: center;
}

.product-showcase .section-title h2 {
    font-size: 2.25rem;
    color: #fff;
}

.product-showcase .section-title h2 span {
    color: #e53935;
}

.product-showcase .section-title p {
    font-size: 1.4rem;
    color: #fff;
}

.product-main-image {
    width: 68.4375rem;
    height: 38.5rem;
    margin: 0 auto;
    position: relative;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: bold;
    color: rgba(255,255,255,0.05);
    letter-spacing: 10px;
    text-transform: uppercase;
    pointer-events: none;
}

/* 配件 */
.accessories-section {
   
    background-size: cover;
    background-position: center;
    width: 100%;
    margin: 0;
}

.accessories-section .section-title {
	
    text-align: center;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.25);
    font-weight: 700;
    color: #fff;
}

.accessories-container {
    display: flex;
    margin: 0 auto;
	padding-bottom: 3.75rem;
	gap:1.875rem;
	align-items:center;
	justify-content:center;
}

.main-product-card {
    width: 37.5rem;
    height: 33.125rem;
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
	background:#000;
 transition: transform 0.3s ease;
}

.main-product-card h3 {
	margin-top:2.4375rem;
	
	color: rgba(255, 255, 255, 1);
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
}

.main-product-card h3 span {
    color: rgba(214, 18, 32, 1);
}

.main-product-card .subtitle {
	font-size: 1rem;
	color: rgba(166, 166, 166, 1);
	text-align: center;
	margin-bottom:1.4375rem;
	margin-top:0.6rem;
}


.main-product-buttons {
    display: flex;
    gap: 1.4375rem;
   
}

.main-product-btn {
    padding: none;
    border: none;
    border-radius:100px;
    font-size:1.25rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
	color:#fff;
	transition: transform 0.3s ease;
      
      overflow: hidden;
      cursor: pointer;
}
.main-product-card:hover{
	 transform: scale(1.05);
}
.accessory-card-large:hover{
	 transform: scale(1.05);
}
.accessory-card-large:hover{
	 transform: scale(1.05);
}
.main-product-btn.primary {
width: 10.5rem;
height: 2.8125rem;
border-radius: 100px;
background: rgba(214, 18, 32, 1);
}
.main-product-btn.primary a {
color: #fff !important;
text-decoration: none !important;	
}

.main-product-btn.secondary {
	width: 10.5rem;
height: 2.8125rem;
	border: 2px solid rgba(214, 18, 32, 1);
    background-color: transparent;
    color: #fff;
border: 2px solid rgba(214, 18, 32, 1);
}

.main-product-image {

width: 26.8125rem;
height: 21.875rem;

/* background: url(https://img.js.design/assets/img/6a0a82118938f6ddd5bf296d.png#82e89c5a373b4e030c3f25fb4a9f38ee); */

}

.accessories-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 570px;
}

.accessories-top {
    display: flex;
    gap: 1.875rem;
}

.accessory-card-large {
    width: 16.875rem;
    height: 17.6875rem;
    background: rgba(0, 0, 0, 1);
    border-radius: 14px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
	padding:0.9375rem 1.625rem 0.9375rem 1.3125rem;
	 transition: transform 0.3s ease;
}

.accessory-card-large .accessory-image {
    width: 7.75rem;
    height: 7.75rem;
margin:1.375rem 0 1.75rem;

   
}

.accessory-card-large .accessory-name {
font-size: 1rem;
font-weight: 700;
line-height:1.375rem;
color: rgba(255, 255, 255, 1);
}
.accessory-card-large .accessory-name span {
color: rgba(214, 18, 32, 1);
}
.accessory-card-large .accessory-price {
   display:flex;
   justify-content:space-between;
   width:100%;
}
.accessory-price-left{
	height:2.0625rem;

}
.accessory-price-left-price{
	line-height:1.25rem;
font-size:1.25rem;
color: rgba(214, 18, 32, 1);
}
.accessory-price-left-count{
font-size: 0.625rem;
color: rgba(56, 56, 56, 1);
}
.accessory-price-left-rihgt{
width:2.0625rem;
height:2.0625rem;
border-radius: 5px;
background: rgba(214, 18, 32, 1);
font-size: 1.25rem;
}
	
.accessory-card-large .add-cart {
    width: 35px;
    height: 35px;
    background-color: #e53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accessory-card-large .add-cart:hover {
    background-color: #c62828;
}

.accessories-bottom {
    display: flex;
    gap: 20px;
}

.accessory-card-small {
    width: 10.9375rem;
    height: 14.125rem;
border-radius: 14px;
background: rgba(0, 0, 0, 1);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.accessory-card-small .accessory-image {
    width: 120px;
    height: 100px;
    margin-bottom: 8px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #222;
    border-radius: 5px;
}

.accessory-card-small .accessory-name {
    font-size: 0.7rem;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.accessory-card-small .accessory-price {
    font-size: 0.8rem;
    color: #e53935;
    font-weight: bold;
    margin-bottom: 6px;
}

.accessory-card-small .add-cart {
    width: 30px;
    height: 30px;
    background-color: #e53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accessory-card-small .add-cart:hover {
    background-color: #c62828;
}

/* 场景 */
.scenarios-section {
   
    background-color: #000;
}

 .section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: fff;
	text-align:center;
	padding:2.375rem 0;
}

.scenarios-container {
    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 1200px;
    margin: 0 auto;
}

.scenario-card {
    width: 460px;
    height: 613px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: none;
	transition: transform 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.scenario-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
	
}

/* .scenario-card::before { */
    /* content: ''; */
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    /* right: 0; */
    /* bottom: 0; */
    /* background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3)); */
    /* z-index: 1; */
/* } */
.scenario-card:hover {
      cursor:pointer;
      transform: scale(1.05);
    }
.scenario-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
	
}
.scenario-content:hover{
cursor:pointer;
      transform: scale(1.1);
}

.scenario-title-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scenario-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.4;
}

.scenario-title span {
    display: block;
    font-size: 0.95rem;
    opacity: 0.8;
}

.scenario-description {
    position:absolute;
	left:50%;
	top:80%;
	transform:translate(-50%,-50%);
    font-size: 0.8rem;
    line-height: 1.8;
    
    max-width: 380px;
    padding-bottom: 30px;
}
.scenario-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 35%; /* 渐变高度自行调整 */
    background: linear-gradient(to top, #000, transparent);
    pointer-events: none;
    z-index: 1;
}
/* 文字层级抬高，不被渐变盖住 */
.scenario-title,
.scenario-description {
    position: relative;
    z-index: 2;
}
.scenario-divider {

margin:0 2.25rem;
font-size: 3.75rem;

color: rgba(214, 18, 32, 1);


}

/* 视频 */
.video-section {
      padding: 3rem 5%;
    background-color: #000;
    text-align: center;
}

.video-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: #fff;
}

.video-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

.video-slider {
    display: flex;
    transition: transform 0.5s ease;
	gap:1.5625rem;
}
.video-box{
    position: relative;
    width: 100%;
}
.videoRef{
    width: 100%;
    display: block;
    cursor: pointer;
}
/* 隐藏原生视频控件 */
.videoRef::-webkit-media-controls{
    display: none !important;
}
.play-icon{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 55px;
    height: 55px;
    background: rgba(0,0,0,0.35);
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    text-align: center;
    line-height: 55px;
    opacity: 0;
    transition: 0.3s;
    z-index: 10;
    /* 核心：穿透点击 不影响视频点击 */
    pointer-events: none;
}
/* 移入显示图标 */
.video-box:hover .play-icon{
    opacity: 1;
}
.video-card {
    flex-shrink: 0;
    position:relative;
    /* background-color: #2a2a2a; */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  
    
}

.video-card:hover {
    background-color: #333;
}

.video-card.active {
    border-color: #3b82f6;
}

.video-placeholder {
    color: #555;
    font-size: 1.5rem;
    letter-spacing: 3px;
    font-weight: 500;
}

.video-section-2 {
    padding: 3rem 5%;
    background-color: #000;
    text-align: center;
}

.video-section-2 h2 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: #fff;
}

.video-slider-wrapper-2 {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
	 cursor: grab; 
}
.video-slider-wrapper-2:active {
  cursor: grabbing; /* 按住变成抓取状态 */
}
.video-slider-2 {
    display: flex;
    transition: transform 0.5s ease;
}

.video-card-2 {
    flex-shrink: 0;
    width: 338px;
    height: 600px;
    /* background-color: #2a2a2a; */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    margin-right: 20px;
}

.video-card-2:hover {
    /* background-color: #333; */
}

.video-card-2.active {
    border-color: #3b82f6;
}

.video-placeholder-2 {
    color: #555;
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: 500;
}

/* 底部 */
footer {
    padding: 3rem 5%;
    background-color: #000;
    border-top: 1px solid #222;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
    padding-right: 3rem;
    border-right: 1px solid #fff;
}

.footer-logo {
    display: flex;
    align-items: center;
	justify-content:center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    font-size: 1.5rem;
    color: #e53935;
    font-weight: bold;
}

.footer-logo-icon img {
    display: block;
    margin: 0 auto;
}

.footer-logo-text {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
}

.footer-form {
    display: flex;
    gap: 0;
}

.footer-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: #1a1a1a;
    border: none;
    border-radius: 5px 0 0 5px;
    color: #fff;
    font-size: 0.85rem;
}

.footer-input::placeholder {
    font-size: 0.875rem;
    color: rgba(166, 166, 166, 1);
}

.footer-submit {
    padding: 0.75rem 1rem;
    background-color: #e53935;
    border: none;
    border-radius: 0 5px 5px 0;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footer-submit:hover {
    background-color: #c62828;
}

.footer-links {
    flex: 3;
    display: flex;
    justify-content: space-around;
    padding-left: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column-title {
    font-size: 0.85rem;
   
    color: #fff;
    margin-bottom: 0.5rem;
	
text-shadow: 0px 2px 4px  rgba(0, 0, 0, 0.25);

font-size: 1.125rem;
font-weight: 700;

color: rgba(166, 166, 166, 1);


}

.footer-column a {
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
	left: 181px;

text-shadow: 0px 2px 4px  rgba(0, 0, 0, 0.25);

font-size: 0.75rem;

color: rgba(255, 255, 255, 1);


}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.75rem;
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .accessories-container {
        flex-direction: column;
    }

    .main-product-image {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .accessories-grid {
        grid-template-columns: 1fr;
    }

    .video-container {
        height: 300px;
    }
}