/* 全局样式 */
:root {
    --primary-color: #6C63FF;
    --secondary-color: #FF6584;
    --gradient-color: linear-gradient(135deg, #6C63FF, #FF6584);
    --text-color: #333;
    --light-text: #fff;
    --bg-color: #f9f9f9;
    --card-bg: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-color);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--gradient-color);
    color: var(--light-text);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
    transform: translateY(-3px);
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* 首页/欢迎页样式 */
.hero {
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-color);
    opacity: 0.05;
    z-index: -1;
}

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

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.artistic-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInLeft 1s ease;
}

.quote {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
    animation: fadeInUp 1s ease 0.5s;
    animation-fill-mode: both;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-image: url('../自拍.jpg');
    background-size: cover;
    background-position: center;
    border: 5px solid #fff;
    box-shadow: var(--shadow);
    animation: fadeInRight 1s ease;
}

/* 关于我样式 */
.about {
    background-color: #fff;
}

.intro {
    font-size: 1.3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.about-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.about-card {
    flex: 1;
    min-width: 250px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-card p {
    margin-bottom: 20px;
}

/* 我的工作样式 */
.work {
    background-color: var(--bg-color);
}

.projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 44.44%;
    margin: 0 auto;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    width: 44.44%;
}

.project-img {
    height: auto;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background-color: white;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-img img {
    width: 44.44%; /* Approximately 4/9 of original size (2/3 of 2/3) */
    height: auto;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 0;
    box-shadow: none;
    display: block;
    margin: 0 auto;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px 0;
    background-color: white;
    border-radius: 0 0 10px 10px;
    margin-top: 0;
    box-shadow: var(--shadow);
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    padding: 0 20px;
}

.project-info p {
    padding: 0 20px;
}

.tech-stack {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px;
}

.tech-stack span {
    padding: 5px 10px;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
}

/* 我的生活样式 */
.life {
    background-color: #fff;
}

.life-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
}

.gallery-item {
    height: 300px;
    border-radius: 10px;
    perspective: 1000px;
    position: relative;
}

.gallery-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.gallery-item:hover .gallery-item-inner {
    transform: rotateY(180deg);
}

.gallery-item-front, .gallery-item-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item-front {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.gallery-item-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #ff9ad5, #6C63FF);
    color: white;
}

.gallery-item-front img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 300px;
}

.gallery-item-back h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.gallery-item-back p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Removed hover scale effect as we now have flip effect */

.life-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* 百宝箱样式 */
.treasure {
    background-color: var(--bg-color);
}

.treasure-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.treasure-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.treasure-item:hover {
    transform: translateY(-10px);
}

.treasure-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.treasure-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* 兴趣爱好样式 */
.interests {
    background-color: #fff;
}

.interests-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.interest-tag {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--gradient-color);
    color: var(--light-text);
    border-radius: 30px;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.interest-tag:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.interest-tag i {
    margin-right: 10px;
}

/* 资源矩阵样式 */
.resources {
    background-color: var(--bg-color);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.resource-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.resource-item:hover {
    transform: translateY(-10px);
    background: var(--gradient-color);
    color: var(--light-text);
}

.resource-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.resource-item:hover i {
    color: var(--light-text);
}

/* 联系方式样式 */
.contact {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-item h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* 邮件联系样式 */
.email-contact {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    padding: 35px 25px;
    background: linear-gradient(145deg, #f8f9ff, #ffffff);
    border: 1px solid #eaeaea;
}

.email-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(103, 58, 183, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-contact i {
    font-size: 2.5rem;
    color: #673AB7;
    margin: 0;
}

.email-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.email-desc {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #555;
}

.email-contact .email-link {
    color: #673AB7;
    font-weight: 500;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: rgba(103, 58, 183, 0.05);
    cursor: pointer;
    user-select: none;
}

.email-contact .email-link:hover {
    color: #512DA8;
    background-color: rgba(103, 58, 183, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(103, 58, 183, 0.15);
}

.email-contact .email-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(103, 58, 183, 0.1);
}

/* 社交链接样式 */
.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 15px 10px;
    width: 120px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.social-link i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #673AB7;
}

.social-link:hover {
    transform: translateY(-5px);
    color: #673AB7;
}

.jump-tip {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    color: #777;
    font-size: 0.9rem;
}

/* 微信信息样式 */
.wechat-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.wechat-text {
    text-align: center;
    width: 100%;
}

.wechat-qr-inline {
    width: 100%;
    text-align: center;
}

.inline-qr-code {
    width: 180px;
    height: 180px;
    border: 1px solid #eee;
    border-radius: 5px;
    object-fit: contain;
}

.copy-btn {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    margin-top: 10px;
}

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

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* 微信二维码容器样式 */
.wechat-qr-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.qr-code {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
    width: 350px;
}

.qr-code img {
    width: 200px;
    height: 200px;
    margin: 20px 0;
}

.close-qr-btn, .close-mp-qr-btn {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.close-qr-btn:hover, .close-mp-qr-btn:hover {
    background-color: var(--secondary-color);
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: var(--light-text);
    text-align: center;
    padding: 20px 0;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-color);
    color: var(--light-text);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* 动画 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .artistic-name {
        font-size: 3.5rem;
    }
    
    .profile-circle {
        width: 250px;
        height: 250px;
    }
    
    .about-cards, 
    .contact-content {
        flex-direction: column;
    }
    
    .about-card {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-link {
        padding: 15px;
        display: block;
    }
    
    .artistic-name {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects, 
    .life-gallery, 
    .treasure-items, 
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    .artistic-name {
        font-size: 2.5rem;
    }
    
    .profile-circle {
        width: 200px;
        height: 200px;
    }
    
    .interests-content {
        flex-direction: column;
        align-items: center;
    }
    
    .interest-tag {
        width: 80%;
    }
} 

/* 表单状态消息 */
#form-status {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

#form-status .success-message {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
    padding: 10px;
    border-left: 4px solid #4CAF50;
    margin: 0;
}

#form-status .error-message {
    color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
    padding: 10px;
    border-left: 4px solid #f44336;
    margin: 0;
} 

/* 邮件链接样式 */
.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
} 

/* 联系表单iframe样式 */
#contactIframe {
    width: 100%;
    min-height: 365px;
    border: none;
    margin-top: 20px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
} 

/* 联系表单注释样式 */
.contact-note {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.contact-note p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
} 

/* 联系方式样式 */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.contact-method {
    flex: 1;
    min-width: 280px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-method h4 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-method h4 i {
    margin-right: 10px;
    font-size: 1.4rem;
}

.contact-method p {
    margin-bottom: 15px;
    color: #666;
}

.qr-code-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px; /* 增加底部间距 */
    padding: 10px;
    width: 170px; /* 设置固定宽度 */
    margin-left: auto;
    margin-right: auto;
}

/* 创建一个悬停时的放大容器 */
.qr-code-link::after {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: transparent;
    z-index: -1;
    pointer-events: none;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.qr-code-link:hover::after {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.qr-code-link {
    position: relative;
    display: block;
    width: 150px;
    height: 150px;
    overflow: visible;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: var(--transition);
    cursor: zoom-in;
    margin: 0 auto;
}

.qr-code-link:hover {
    border-color: var(--primary-color);
    z-index: 100; /* 提高z-index确保在最上层 */
}

.qr-code-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center center;
    border-radius: 6px;
}

.qr-code-link:hover .qr-code-img {
    transform: scale(1.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 媒体查询，在小屏幕上调整放大效果 */
@media screen and (max-width: 768px) {
    .qr-code-link:hover .qr-code-img {
        transform: scale(1.5);
    }
    
    .qr-code-link::after {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
}

.qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
    pointer-events: none;
}

.qr-overlay i {
    font-size: 24px;
    margin-bottom: 5px;
}

.qr-overlay span {
    font-size: 12px;
}

.qr-code-link:hover .qr-overlay {
    opacity: 0;
}

.qr-code-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
    z-index: 5; /* 确保文字在放大的二维码下方 */
}

.qr-code-text p {
    margin: 0;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .contact-methods {
        flex-direction: column;
    }
    
    .qr-code-container {
        flex-direction: column;
        align-items: flex-start;
    }
} 

/* 二维码弹窗样式 */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.qr-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 12px;
    width: 300px;
    max-width: 85%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: scaleIn 0.3s ease;
    text-align: center;
}

.qr-close {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

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

#largeQrCode {
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto 10px;
    display: block;
    border-radius: 8px;
}

.qr-modal-footer {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-modal-footer p {
    margin: 0;
    font-weight: 500;
}

.modal-copy-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.modal-copy-btn:hover {
    background-color: var(--primary-dark);
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes scaleIn {
    from {transform: scale(0.9);}
    to {transform: scale(1);}
} 

@media screen and (max-width: 768px) {
    .qr-modal-content {
        width: 95%;
        padding: 25px 15px;
    }
    
    #largeQrCode {
        max-width: 300px;
    }
} 

/* 作品展示弹窗样式 - 已移除，改为直接跳转到平台 */ 