/* 像素风格基础样式 */
:root {
    --pixel-primary: #ff6b6b;
    --pixel-secondary: #4ecdc4;
    --pixel-dark: #000026;
    --pixel-light: #f7f7f7;
    --pixel-menu: #0dc667;
    --pixel-border: 4px solid var(--pixel-dark);
}

body {
    font-family: 'AlimamaShuHeiTi', sans-serif;
    background: var(--pixel-light);
    image-rendering: pixelated;
}

/* 导航栏像素风格 */
.navbar {
    background: var(--pixel-dark) !important;
    border-bottom: var(--pixel-border);
    padding: 0.5rem 0;
    box-shadow: 0 4px 0 rgba(0,0,0,0.2);
}

.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

.navbar-brand img {
    width: 160px;
    height: 80px;
    object-fit: cover;
    image-rendering: pixelated;
    border-radius: 8px;
    border: 2px solid var(--pixel-menu);
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 198, 103, 0.3);
}

.nav-link {
    color: var(--pixel-menu) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.6rem 1rem !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Press Start 2P', 'AlimamaShuHeiTi', sans-serif;
}

.nav-link:hover {
    color: var(--pixel-light) !important;
    transform: translateY(-2px);
}

/* 下拉菜单像素风格 */
.dropdown-menu {
    background: var(--pixel-dark);
    border: 2px solid var(--pixel-menu);  /* 改为菜单绿色边框 */
    border-radius: 0;
    padding: 0.4rem;  /* 稍微减小内边距 */
    margin-top: 0.8rem !important;
    box-shadow: 4px 4px 0 rgba(13, 198, 103, 0.3);  /* 添加绿色阴影 */
}

.dropdown-item {
    color: var(--pixel-menu);
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
    border: 2px solid transparent;
    margin: 2px 0;  /* 添加项目间距 */
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--pixel-menu);
    color: var(--pixel-dark);
    border: 2px solid var(--pixel-dark);
    transform: translateX(4px);  /* 添加悬停时的位移效果 */
}

/* 下拉菜单分隔线 */
.dropdown-divider {
    border-top: 2px solid var(--pixel-menu);
    margin: 0.4rem 0;
    opacity: 0.5;
}

/* 下拉菜单箭头 */
.dropdown-toggle::after {
    border-top: 0.4em solid var(--pixel-menu);
    border-right: 0.4em solid transparent;
    border-left: 0.4em solid transparent;
    margin-left: 0.5em;
}

/* 用户头像下拉菜单特殊样式 */
.dropdown-menu-end {
    right: 0;
    left: auto;
}

/* 按钮像素风格 */
.btn {
    font-family: 'Press Start 2P', 'AlimamaShuHeiTi', sans-serif;
    border: var(--pixel-border);
    border-radius: 0;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    position: relative;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.btn-primary {
    background-color: var(--pixel-menu) !important;
    color: var(--pixel-dark) !important;
    border-color: var(--pixel-dark) !important;
}

.btn.btn-primary:hover {
    background-color: var(--pixel-light) !important;
    color: var(--pixel-menu) !important;
    border-color: var(--pixel-menu) !important;
}

.btn.btn-outline-primary {
    background-color: transparent !important;
    color: var(--pixel-menu) !important;
    border-color: var(--pixel-menu) !important;
}

.btn.btn-outline-primary:hover {
    background-color: var(--pixel-menu) !important;
    color: var(--pixel-dark) !important;
    border-color: var(--pixel-dark) !important;
}

/* 轮播图样式 */
.carousel-item {
    height: 800px;
    width: 1920px;
    margin: 0 auto;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* 改为 contain，避免图片被裁剪或压缩 */
    image-rendering: auto;  /* 除 pixelated 效果 */
}

#productCarousel {
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--pixel-dark);  /* 添加背景色 */
}

.carousel-caption {
    background: rgba(0, 0, 26, 0.7);
    border: 2px solid var(--pixel-menu);
    padding: 2rem;
    border-radius: 8px;
    bottom: 2rem;
}

.carousel-caption h3 {
    color: var(--pixel-menu);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.carousel-caption p {
    color: var(--pixel-light);
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* 产品介绍部分像素风格 */
.product-section {
    min-height: 800px;
    padding: 100px 0;
    border-bottom: var(--pixel-border);
}

.hero-section {
    background: linear-gradient(135deg, var(--pixel-primary), var(--pixel-secondary));
    color: var(--pixel-dark);
}

.hero-section h1 {
    font-size: 3rem;
    text-transform: uppercase;
    text-shadow: 4px 4px 0 var(--pixel-dark);
}

.product-section img {
    border: var(--pixel-border);
    image-rendering: pixelated;
}

.feature-card {
    background: var(--pixel-light);
    border: var(--pixel-border);
    border-radius: 0;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 0 rgba(0,0,0,0.2);
}

.feature-card i {
    color: var(--pixel-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* 底部栏像素风格 */
.footer {
    background: var(--pixel-dark);
    color: var(--pixel-light);
    border-top: var(--pixel-border);
    padding: 2rem 0;
    margin-top: 0 !important;  /* 移除顶部边距 */
}

.footer h5 {
    color: var(--pixel-menu);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1rem;
}

.footer-text {
    color: var(--pixel-light);
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.8;
}

/* 响应式整 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .navbar-brand img {
        width: 120px;
        height: 60px;
        padding: 6px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .btn {
        font-size: 0.9rem;
    }
}

/* 内容区域基础样式 */
.content-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.pixel-section {
    border-bottom: var(--pixel-border);
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    text-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--pixel-menu);
    box-shadow: 0 4px 0 rgba(0,0,0,0.2);
}

/* 视频卡片样式 */
.video-card {
    background: var(--pixel-dark);
    border: var(--pixel-border);
    padding: 1rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 保持 16:9 比例 */
    border: 2px solid var(--pixel-menu);
    border-radius: 8px;
    overflow: hidden;
    background: black;
}

.preview-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;  /* 改为 contain，保持原始比例 */
    background: black;    /* 添加黑色背景 */
}

.preview-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;  /* 保持视频原始比例 */
    background: black;
}

.video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-info h3 {
    color: var(--pixel-menu);
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.video-info p {
    color: var(--pixel-light);
    opacity: 0.9;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-meta {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 2px solid rgba(13, 198, 103, 0.2);
}

/* 模型卡片样式 */
.model-card, .news-card, .blog-card {
    background: var(--pixel-light);
    border: var(--pixel-border);
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.bg-dark .model-card,
.bg-dark .blog-card {
    background: var(--pixel-dark);
    color: var(--pixel-light);
}

.model-image, .news-image, .blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid var(--pixel-menu);
    image-rendering: pixelated;
}

.pixel-subtitle {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--pixel-menu);
}

.model-desc, .news-desc, .blog-desc {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.model-meta, .news-meta, .blog-meta {
    color: var(--pixel-menu);
    font-size: 0.9rem;
}

.view-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* 动画效果 */
.pixel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 0 rgba(13, 198, 103, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .pixel-subtitle {
        font-size: 1.2rem;
    }
    
    .model-image, .news-image, .blog-image {
        height: 150px;
        margin-bottom: 1rem;
    }
}

/* 悬浮二维码样式更新 */
.floating-qrcode {
    position: fixed;
    right: 20px;  /* 默认展开状态 */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: var(--pixel-dark);
    padding: 15px;
    border: 2px solid var(--pixel-menu);
    box-shadow: 4px 4px 0 rgba(13, 198, 103, 0.3);
    transition: right 0.3s ease;
    display: flex;
    align-items: center;
}

.floating-qrcode.collapsed {
    right: -180px;  /* 收起状态 */
}

.qrcode-toggle {
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--pixel-dark);
    color: var(--pixel-menu);
    border: 2px solid var(--pixel-menu);
    border-right: none;
    width: 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    overflow: hidden;  /* 添加溢出隐藏 */
}

/* 修改竖向文字样式 */
.qrcode-toggle::before {
    content: '业务合作';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    writing-mode: vertical-lr;
    text-orientation: upright;
    color: var(--pixel-menu);
    font-size: 14px;
    letter-spacing: 2px;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    opacity: 0;
    font-family: 'AlimamaShuHeiTi', sans-serif;  /* 使用阿里妈妈像素字体 */
}

/* 添加星星动画 */
@keyframes floatingStar {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate(-20px, -20px) rotate(45deg); opacity: 0; }
}

.qrcode-toggle .star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--pixel-menu);
    animation: floatingStar 2s infinite;
}

.qrcode-toggle .star:nth-child(1) { top: 10%; left: 50%; animation-delay: 0s; }
.qrcode-toggle .star:nth-child(2) { top: 30%; left: 30%; animation-delay: 0.3s; }
.qrcode-toggle .star:nth-child(3) { top: 50%; left: 70%; animation-delay: 0.6s; }
.qrcode-toggle .star:nth-child(4) { top: 70%; left: 40%; animation-delay: 0.9s; }
.qrcode-toggle .star:nth-child(5) { top: 90%; left: 60%; animation-delay: 1.2s; }

/* 收起状态显示文字和星星 */
.collapsed .qrcode-toggle::before {
    opacity: 1;
}

.collapsed .qrcode-toggle .star {
    display: block;
}

/* 展开状态隐藏星星 */
.qrcode-toggle .star {
    display: none;
}

.qrcode-wrapper {
    text-align: center;
    width: 180px;  /* 固定宽度 */
}

.qrcode-image {
    width: 120px;
    height: 120px;
    border: 2px solid var(--pixel-menu);
    image-rendering: pixelated;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: white;
    padding: 5px;
}

.qrcode-image:hover {
    transform: scale(1.05);
}

.qrcode-title {
    color: var(--pixel-menu);
    margin: 10px 0 5px;
    font-size: 1rem;
    font-weight: bold;
}

.qrcode-text {
    color: var(--pixel-menu);
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* 二维码弹出层样式 */
.qrcode-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 26, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.qrcode-modal-content {
    max-width: 300px;
    width: 80%;
    height: auto;
    border: 4px solid var(--pixel-menu);
    border-radius: 8px;
    background: white;
    padding: 10px;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 产品信息样式 */
.product-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(13, 198, 103, 0.2);
}

.product-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price {
    color: var(--pixel-primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.sales {
    color: var(--pixel-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

.cart-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 2px solid var(--pixel-dark);
    border-radius: 8px;
    background-color: var(--pixel-menu);
    color: var(--pixel-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-btn i {
    font-size: 20px;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 198, 103, 0.3);
}

/* 淘宝二维码弹出层样式 */
.taobao-modal-content {
    text-align: center;
}

.taobao-hint {
    color: var(--pixel-menu);
    margin-top: 1rem;
    font-size: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 购物车按钮样式 */
.shop-btn {
    width: 40px;
    height: 40px;
    padding: 8px;
    margin: 0;
    border: 2px solid var(--pixel-dark);
    border-radius: 8px;
    background-color: var(--pixel-menu);
    color: var(--pixel-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 198, 103, 0.3);
}

.shop-btn svg {
    width: 20px;
    height: 20px;
}

.product-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price {
    color: var(--pixel-primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.sales {
    color: var(--pixel-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 购买按钮样式 */
.btn-success {
    background-color: var(--pixel-menu) !important;
    border-color: var(--pixel-dark) !important;
    color: var(--pixel-dark) !important;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 198, 103, 0.3);
}

/* 视频播放按钮样式 */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 比例 */
    border: 2px solid var(--pixel-menu);
    border-radius: 8px;
    overflow: hidden;
    background: black;
}

.preview-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;  /* 改为 contain，保持原始比例 */
    background: black;    /* 添加黑色背景 */
}

.preview-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;  /* 保持视频原始比例 */
    background: black;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--pixel-menu);
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.2);
    color: #fff;
    text-shadow: 0 0 10px rgba(13, 198, 103, 0.8);
}

/* 面包屑导航样式 */
.breadcrumb-section {
    background: var(--pixel-dark);
    padding: 1rem 0;
    border-bottom: var(--pixel-border);
}

.breadcrumb {
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--pixel-menu);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--pixel-light);
}

/* 文章样式 */
.article-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.article-title {
    color: var(--pixel-menu);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-subtitle {
    color: var(--pixel-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.article-meta {
    color: var(--pixel-dark);
    font-size: 0.9rem;
}

.meta-item {
    margin: 0 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content {
    margin: 2rem 0;
    line-height: 1.8;
}

/* 购买信息样式 */
.purchase-info {
    background: var(--pixel-dark);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-box .price {
    font-size: 2rem;
    color: var(--pixel-primary);
}

.price-box .sales {
    color: var(--pixel-light);
    opacity: 0.8;
}

/* 硬件标题链接样式 */
.hardware-title-link {
    color: var(--pixel-menu);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hardware-title-link:hover {
    color: var(--pixel-light);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(13, 198, 103, 0.8);
}

/* Logo 容器和打字机效果样式 */
.logo-container {
    position: relative;
    width: 160px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container img {
    position: relative;
    z-index: 1;
}

.star-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.typewriter-text {
    position: absolute;
    bottom: 0;  /* 确保文字在底部 */
    left: 50%;  /* 居中定位 */
    transform: translateX(-50%);  /* 水平居中 */
    color: #a5ff7f;  /* 修改为亮绿色 */
    font-family: 'AlimamaShuHeiTi', sans-serif;
    font-size: 12px;
    min-height: 20px;
    text-align: center;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    white-space: nowrap;  /* 防止文字换行 */
    z-index: 2;  /* 确保文字在最上层 */
}

/* 移动端导航栏样式 */
@media (max-width: 768px) {
    .navbar-brand img {
        width: 120px;
        height: 60px;
    }
    
    .navbar-toggler {
        border: 2px solid var(--pixel-menu);
        padding: 4px 8px;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(13, 198, 103, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .nav-link {
        padding: 0.5rem 1rem !important;
        border-bottom: 1px solid rgba(13, 198, 103, 0.1);
    }
    
    .dropdown-menu {
        background: var(--pixel-dark);
        border: none;
        margin-left: 1rem;
    }
}

/* 移动端轮播图样式 */
@media (max-width: 768px) {
    .carousel-item {
        height: auto;
        width: 100%;
    }
    
    .carousel-item img {
        height: auto;
        max-height: 400px;
    }
    
    .carousel-caption {
        padding: 0.5rem;  /* 减小内边距 */
        bottom: 0;
        background: rgba(0, 0, 26, 0.7);  /* 半透明背景 */
        max-height: 30%;  /* 限制最大高度 */
        overflow: hidden;  /* 超出部分隐藏 */
    }
    
    .carousel-caption h3 {
        font-size: 1rem;  /* 减小标题字体 */
        margin-bottom: 0.2rem;  /* 减小标题下方间距 */
    }
    
    .carousel-caption p {
        font-size: 0.8rem;  /* 减小描述文字 */
        margin-bottom: 0;  /* 移除底部间距 */
        display: -webkit-box;
        -webkit-line-clamp: 2;  /* 限制最多显示2行 */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 轮播图控制按钮样式 */
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;  /* 减小控制按钮宽度 */
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;  /* 减小箭头图标大小 */
        height: 20px;
    }
}

/* 微信浏览器特定的轮播图样式 */
.wechat-browser .carousel-caption {
    max-height: 25%;  /* 在微信浏览器中进一步限制高度 */
    padding: 0.3rem;  /* 更小的内边距 */
}

.wechat-browser .carousel-caption h3 {
    font-size: 0.9rem;  /* 更小的标题 */
}

.wechat-browser .carousel-caption p {
    font-size: 0.7rem;  /* 更小的描述文字 */
    -webkit-line-clamp: 1;  /* 只显示1行 */
}

/* 移动端内容区域样式 */
@media (max-width: 768px) {
    .content-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .video-card {
        margin-bottom: 1.5rem;
    }
    
    .model-card, .news-card {
        padding: 1rem;
    }
    
    .pixel-subtitle {
        font-size: 1.2rem;
    }
}

/* 移动端底部栏样式 */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
    }
    
    .footer h5 {
        margin-top: 1.5rem;
    }
    
    .qrcode-image {
        width: 100px;
        height: 100px;
    }
}

/* 移动端二维码浮窗样式 */
@media (max-width: 768px) {
    .floating-qrcode {
        display: none;  /* 在移动端隐藏浮动二维码 */
    }
}

/* 移动端表单样式 */
@media (max-width: 768px) {
    .form-control {
        font-size: 16px;  /* 防止 iOS 自动缩放 */
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
}

/* 移动端文章内容样式 */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        font-size: 0.95rem;
    }
    
    .markdown-body {
        padding: 15px;
    }
}

/* 移动端视频播放器样式 */
@media (max-width: 768px) {
    .video-container {
        margin-bottom: 1rem;
    }
    
    .play-button {
        font-size: 2rem;
    }
}

/* 移动端产品信息样式 */
@media (max-width: 768px) {
    .product-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
} 