/*
Theme Name: yidong
Description: rox-yidong
Author: rox
Version: 1.0
*/
/* 全局样式 */
:root {
    --primary-color: #fa7834; /* 移动橙色 */
    --secondary-color: #0066cc; /* 蓝色 */
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e56a2c;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #0055aa;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 头部样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(250, 120, 52, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.5;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(250, 120, 52, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* 套餐区域样式 */
.packages {
    padding: 80px 0 40px;
    background-color: white;
}

.package-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.package-card {
    flex: 0 0 calc(25% - 15px);
    max-width: 280px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.package-header {
    padding: 30px 20px;
    background-color: var(--light-color);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-color);
}

.package-body {
    padding: 30px 20px;
}

.package-body ul {
    margin-bottom: 30px;
}

.package-body ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.package-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.package-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.featured {
    transform: scale(1.05);
    z-index: 10;
}

.featured .package-header {
    background-color: var(--secondary-color);
    color: white;
}

.featured .package-header h3 {
    color: white;
}

.featured .price {
    color: white;
}

.featured .price span {
    color: rgba(255, 255, 255, 0.8);
}

.featured .package-tag {
    background-color: var(--success-color);
}

.package-note {
    text-align: center;
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* 促销区域样式 */
.promotion {
    padding: 40px 0 80px;
    background-color: white;
}

.promotion-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff9a5a 100%);
    padding: 40px;
    border-radius: 10px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(250, 120, 52, 0.2);
}

.promotion-banner h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.promotion-banner p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.countdown-container {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 30px;
}

.countdown-container p {
    margin-bottom: 0;
    font-weight: 600;
}

#promotion-countdown {
    font-size: 1.3rem;
    font-weight: 700;
}

/* 服务优势样式 */
.advantages {
    padding: 80px 0;
    background-color: var(--light-color);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-icon img {
    width: 64px;
    height: 64px;
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.advantage-item p {
    color: var(--gray-color);
}

/* 企业宽带样式 */
.business {
    padding: 80px 0;
    background-color: white;
}

.business .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.business-content {
    flex: 1;
    padding-right: 50px;
}

.business-image {
    flex: 1;
    text-align: center;
}

.business-features {
    margin: 30px 0;
}

.business-features li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.business-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* 客户评价样式 */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-color);
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.testimonial-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    scroll-snap-align: start;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    padding: 30px;
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.1);
    font-family: serif;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background-color: var(--light-color);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--gray-color);
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-icon img {
    width: 24px;
    height: 24px;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-text p {
    margin-bottom: 0;
    color: var(--gray-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(250, 120, 52, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* 页脚样式 */
.footer {
    padding: 50px 0;
    background-color: var(--dark-color);
    color: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-link img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 1200px) {
    .package-card {
        flex: 0 0 calc(33.333% - 20px);
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero .container,
    .business .container {
        flex-direction: column;
    }
    
    .hero-content,
    .business-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .business-features li {
        text-align: left;
    }
    
    .package-card {
        flex: 0 0 calc(50% - 15px);
        max-width: 340px;
        margin-bottom: 20px;
    }
    
    .featured {
        transform: scale(1.03);
    }
    
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .package-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .package-card {
        margin: 0;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .business {
        padding: 60px 0;
    }
    
    .business-content {
        text-align: center;
    }
    
    .business-image {
        margin-top: 30px;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }

    /* 在移动端隐藏二维码悬浮框 */
    .floating-qrcode {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .package-card {
        flex: 0 0 100%;
        max-width: 400px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav.active {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    .nav.active ul {
        flex-direction: column;
    }
    
    .nav.active ul li {
        margin: 0;
        margin-bottom: 15px;
    }
    
    .footer-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
    
    .testimonial-item {
        min-width: 250px;
    }
}

/* JavaScript 交互样式 */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

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

.qrcode-modal.active {
    display: flex;
}

.qrcode-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease forwards;
}

.qrcode-content .wechat-info {
    margin: 20px 0;
    position: relative;
}

.qrcode-content .wechat-id-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--light-color);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.qrcode-content .wechat-id-container:hover {
    background-color: #f0f0f0;
    border-color: var(--primary-color);
}

.qrcode-content .wechat-id {
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 500;
}

.qrcode-content .copy-wechat-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.qrcode-content .copy-wechat-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.qrcode-content .copy-wechat-btn img {
    width: 16px;
    height: 16px;
    margin: 0;
    display: block;
}

.qrcode-content .copy-tip {
    color: var(--gray-color);
    font-size: 12px;
    margin-top: 4px;
}

.qrcode-content .copy-success-tip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.qrcode-content .copy-success-tip.show {
    opacity: 1;
    visibility: visible;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.qrcode-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.qrcode-image {
    margin: 20px auto;
}

.qrcode-content p {
    color: var(--gray-color);
    margin-top: 15px;
}

/* 固定二维码浮窗样式 */
.floating-qrcode {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1500;
}

.floating-qrcode-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    width: 160px;
    position: relative;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.qrcode-header {
    background-color: var(--primary-color);
    padding: 12px 15px;
    text-align: center;
}

.qrcode-header h4 {
    color: white;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.qrcode-body {
    padding: 15px;
    text-align: center;
}

.qrcode-body img {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    background-color: white;
}

.wechat-info {
    position: relative;
}

.wechat-id-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--light-color);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.wechat-id-container:hover {
    background-color: #f0f0f0;
    border-color: var(--primary-color);
}

.wechat-id {
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 500;
}

.copy-wechat-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy-wechat-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.copy-wechat-btn img {
    width: 16px;
    height: 16px;
    margin: 0;
    display: block;
}

.copy-tip {
    color: var(--gray-color);
    font-size: 12px;
    margin-top: 4px;
}

.copy-success-tip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.copy-success-tip.show {
    opacity: 1;
    visibility: visible;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .floating-qrcode {
        right: 10px;
        transform: translateY(-50%) scale(0.9);
    }
}

@media (max-width: 576px) {
    .floating-qrcode {
        bottom: 20px;
        top: auto;
        right: 10px;
        transform: scale(0.85);
    }
}