@charset "utf-8";
/* CSS Document */

 /* 全局样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft Yahei', sans-serif;
        }

        /* 页面背景与基础样式 */
        body {
            background: linear-gradient(135deg, #1a0b2e, #2d1b69, #4a1e6d);
            background-size: 400% 400%;
            animation: gradientMove 15s ease infinite;
            min-height: 100vh;
            color: #333;
            overflow-x: hidden;
            padding-bottom: 50px;
            padding-top: 70px; /* 为导航栏预留空间 */
        }
        
        a{
            text-decoration:none; color:#FFF;
        }

        /* 导航栏样式 */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(26, 11, 46, 0.25);
            z-index: 1000;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
        }
        
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }
        
        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: #ffc1e9;
            text-shadow: 0 0 8px rgba(255, 193, 233, 0.5);
        }
        
        /* 桌面端导航菜单 */
        .main-nav {
            display: flex;
            list-style: none;
        }
        
        .nav-item {
            position: relative;
            margin-left: 30px;
        }
        
        .nav-link {
            display: block;
            padding: 10px 0;
            color: #fff;
            font-size: 1rem;
            transition: color 0.3s ease;
        }
        
        .nav-link:hover {
            color: #ffc1e9;
        }
        
        /* 二级菜单 */
        .sub-nav {
            position: absolute;
            top: 100%;
            left: 0;
            background: rgba(45, 27, 105, 0.95);
            border-radius: 8px;
            list-style: none;
            min-width: 200px;
            padding: 10px 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }
        
        .nav-item:hover .sub-nav {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .sub-nav-item {
            padding: 0 15px;
        }
        
        .sub-nav-link {
            display: block;
            padding: 10px 5px;
            color: #f0f0f0;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        
        .sub-nav-link:hover {
            color: #ffc1e9;
            padding-left: 10px;
        }
        
        /* 移动端菜单按钮 */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #fff;
            font-size: 1.8rem;
            cursor: pointer;
        }

        /* 背景渐变动画 */
        @keyframes gradientMove {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* 标题容器 */
        .header {
            text-align: center;
            padding: 60px 20px 40px;
            position: relative;
        }

        /* 主标题样式 */
        .main-title {
            font-size: clamp(2.5rem, 6vw, 4rem);
            color: #fff;
            text-shadow: 0 0 10px rgba(255, 0, 150, 0.5), 0 0 20px rgba(138, 43, 226, 0.4);
            margin-bottom: 15px;
            letter-spacing: 2px;
            position: relative;
            animation: titleFloat 3s ease-in-out infinite;
        }

        /* 标题浮动动画 */
        @keyframes titleFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        /* 副标题样式 */
        .sub-title {
            font-size: clamp(1rem, 3vw, 1.5rem);
            color: #fff;
            text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* 按钮容器 */
        .btn-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            padding: 30px 20px;
            max-width: 900px;
            margin: 0 auto;
        }
        
        .btn-gengduo {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            
            max-width: 900px;
            margin: 0 auto;
        }
        

        /* 核心按钮样式 */
        .action-btn {
            padding: clamp(15px, 4vw, 25px) clamp(25px, 5vw, 40px);
            border: none;
            border-radius: 50px;
            font-size: clamp(1rem, 3vw, 1.4rem);
            font-weight: bold;
            color: #fff;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* 生日礼物按钮 */
        .gift-btn {
            background: linear-gradient(45deg, #c21212, #ff8e8e);
        }

        /* 表白礼物按钮 */
        .confess-btn {
            background: linear-gradient(45deg, #845ec2, #d65db1);
        }

        /* 按钮hover效果 */
        .action-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }

        /* 按钮点击波纹效果 */
        .action-btn::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }

        .action-btn:active::after {
            width: 300px;
            height: 300px;
        }

        /* 内容卡片通用样式 */
        .content-card {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: clamp(20px, 4vw, 35px);
            margin: 20px auto;
            max-width: 1000px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .content-card:hover {
            transform: translateY(-5px);
        }

        /* 标题样式 */
        .card-title {
            font-size: clamp(1.5rem, 4vw, 2.2rem);
            color: #ffc1e9;
            margin-bottom: 20px;
            text-align: center;
            position: relative;
            padding-bottom: 10px;
        }

        .card-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #ff6b6b, #845ec2);
            border-radius: 3px;
        }

        /* 网站简介样式 */
        .intro-text {
            font-size: clamp(1rem, 2vw, 1.2rem);
            line-height: 1.8;
            color: #ffffff;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
        }

        /* 场景/对象网格布局 */
        .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        /* 网格项样式 */
        .grid-item {
            background: rgba(255, 255, 255, 0.12);
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .grid-item:hover {
            transform: scale(1.05);
            border-color: #ff8e8e;
        }

        /* 网格图标 */
        .grid-icon {
            font-size: 2rem;
            margin-bottom: 10px;
            color: #ffc1e9;
        }

        /* 网格文字 */
        .grid-text {
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            color: #ffffff;
            font-weight: 500;
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        }

        /* 底部版权样式 */
        .footer {
            text-align: center;
            padding: 20px;
            margin-top: 40px;
            color: #fff;
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
            font-size: clamp(0.8rem, 2vw, 1rem);
        }

        /* 飘落花瓣动画 */
        .petal {
            position: absolute;
            width: 15px;
            height: 15px;
            background: rgba(255, 107, 107, 0.8);
            border-radius: 50% 0;
            animation: petalFall linear infinite;
            opacity: 0;
        }

        @keyframes petalFall {
            0% {
                transform: translateY(-20px) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(100vh) rotate(720deg);
                opacity: 0;
            }
        }

        /* 响应式调整 */
        @media (max-width: 768px) {
            /* 移动端导航样式 */
            .menu-toggle {
                display: block;
            }
            
            .main-nav {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                flex-direction: column;
                background: rgba(26, 11, 46, 0.98);
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
            }
            
            .main-nav.active {
                max-height: 800px;
            }
            
            .nav-item {
                margin: 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            .nav-link {
                padding: 15px 20px;
            }
            
            /* 移动端二级菜单 */
            .sub-nav {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                background: transparent;
                box-shadow: none;
                max-height: 0;
                overflow: hidden;
                padding: 0;
                transition: max-height 0.3s ease;
            }
            
            .nav-item.active .sub-nav {
                max-height: 500px;
                padding: 10px 0;
            }
            
            .sub-nav-item {
                padding: 0 40px;
            }
            
            .btn-container {
                align-items: center;
            }
            .action-btn {
                text-align: center;
            }
            .grid-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .header {
                padding: 40px 10px 20px;
            }
            
        }

        /* 产品列表样式 */
        .products-section {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .products-title {
            font-size: clamp(1.8rem, 5vw, 2.5rem);
            color: #ffc1e9;
            text-align: center;
            margin-bottom: 30px;
            text-shadow: 0 0 10px rgba(255, 193, 233, 0.5);
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 40px;
        }

        .product-card {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 10px;
        }

        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .product-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            border-radius: 10px;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        }

        .product-info {
            padding: 20px;
        }

        .product-name {
            font-size: 1.2rem;
            color: #fff;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .product-desc {
            font-size: 0.95rem;
            color: #f0f0f0;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .product-price {
            color: #ff8e8e;
            font-weight: bold;
            font-size: 1.1rem;
            text-align: center;
        }

        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }

        .page-btn {
            padding: 8px 15px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 5px;
            color: #fff;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .page-btn:hover, .page-btn.active {
            background: #ff8e8e;
            border-color: #ff8e8e;
        }

        /* 产品列表响应式调整 */
        @media (max-width: 992px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .products-grid {
                grid-template-columns: 1fr;
            }
        }
        
         /* 联系我们样式 - 新增 */
        .contact-section {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: clamp(20px, 4vw, 35px);
            margin: 20px auto;
            max-width: 1000px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .contact-section:hover {
            transform: translateY(-5px);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 20px;
        }

        .contact-item {
            background: rgba(255, 255, 255, 0.12);
            padding: 30px 20px;
            border-radius: 15px;
            text-align: center;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .contact-item:hover {
            transform: scale(1.05);
            border-color: #845ec2;
        }

        .contact-icon {
            font-size: 3rem;
            margin-bottom: 15px;
            color: #ffc1e9;
            text-shadow: 0 0 10px rgba(255, 193, 233, 0.5);
        }

        .contact-title {
            font-size: clamp(1.2rem, 3vw, 1.5rem);
            color: #fff;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .contact-value {
            font-size: clamp(1rem, 2vw, 1.2rem);
            color: #f0f0f0;
            line-height: 1.6;
            word-break: break-all;
        }
   /* 二维码提示文字 */
        .qrcode-tip {
            font-size: clamp(0.8rem, 1.5vw, 0.9rem);
            color: #ffc1e9;
            margin-top: 5px;
            font-weight: 500;
        }
