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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: transparent;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* 优化移动端滑动体验 */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* 背景图片模糊效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/bg.png') no-repeat center center fixed;
    background-size: cover;
    filter: blur(8px);
    z-index: -1;
    transform: scale(1.05); /* 防止模糊产生边缘空白 */
}

/* 移除网格效果，保持背景简洁/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* 优化滚动体验 */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* 主导航样式 */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.nav-logo h1 {
    color: #00ffff;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

/* 汉堡菜单样式 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 101;
    border: 1px solid transparent;
}

.menu-toggle:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}

.bar {
    width: 28px;
    height: 3px;
    background: #00ffff;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* 导航链接样式 */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease;
    /* 确保桌面端正常显示 */
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    height: auto;
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

/* 移动端导航背景遮罩 */
.nav-links::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: -1;
}

.nav-links.active::before {
    opacity: 1;
    visibility: visible;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    /* 优化移动端触摸体验 */
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    display: inline-block;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 英雄区域样式 */
.hero-header {
    text-align: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.hero-title {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ffffff;
    line-height: 1.8;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

.stat-number {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.stat-label {
    color: #ffffff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* 火炬动画容器 */
.torch-animation-container {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

/* 装饰性圆环 */
.torch-ring {
    position: absolute;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    border-color: rgba(0, 255, 255, 0.2);
    animation-duration: 15s;
}

.ring-2 {
    width: 250px;
    height: 250px;
    border-color: rgba(0, 255, 255, 0.4);
    animation-duration: 10s;
    animation-direction: reverse;
}

.ring-3 {
    width: 200px;
    height: 200px;
    border-color: rgba(0, 255, 255, 0.6);
    animation-duration: 8s;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 功能介绍区域 */
.features {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    margin: 60px 0;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.section-title {
    text-align: center;
    color: #00ffff;
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

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

.feature-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #00ffff, #ff00ff, #00ffff);
    animation: gradientShift 3s ease-in-out infinite;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    color: #00ffff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.feature-description {
    color: #bbb;
    line-height: 1.6;
}

/* 页脚样式 */
.main-footer {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.5));
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-info h3 {
    color: #00ffff;
    margin-bottom: 15px;
    font-size: 1.8rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-info p {
    color: #888;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.footer-link:hover::before {
    left: 100%;
}

.footer-link:hover {
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    color: #888;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 全局样式优化 */
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* 导航栏优化 */
    .main-nav {
        padding: 15px;
    }
    
    .nav-content {
        flex-direction: row;
        gap: 0;
        padding: 0 10px;
    }
    
    /* 显示汉堡菜单 */
    .menu-toggle {
        display: flex;
    }
    
    /* 隐藏默认导航链接（移动端平时不显示） */
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: 80vh !important;
        background: rgba(0, 0, 0, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        border-bottom: 1px solid rgba(0, 255, 255, 0.3) !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 80px 20px 30px !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        z-index: 100 !important;
        overflow-y: auto !important;
    }
    
    /* 导航链接激活状态（需要时展开显示） */
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-logo h1 {
        font-size: 1.4rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 12px 20px;
        width: 100%;
        text-align: left;
        border-radius: 8px;
    }
    
    /* 汉堡菜单动画 */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .btn-primary-small {
        font-size: 1rem;
        padding: 12px 24px;
        margin-left: 0;
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }
    
    /* 页脚优化 */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        padding: 0 15px;
    }
    
    .footer-info {
        min-width: auto;
        max-width: 100%;
    }
    
    .footer-info h3 {
        font-size: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 15px;
    }
    
    .footer-link {
        font-size: 0.95rem;
        padding: 6px 14px;
    }
    
    .footer-bottom {
        padding: 20px 15px;
        font-size: 0.9rem;
    }
    
    /* 英雄区域优化 */
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
        padding: 40px 15px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* 统计信息优化 */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin: 30px 0;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* CTA按钮优化 */
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* 火炬动画优化 */
    .torch-animation-container {
        height: 250px;
    }
    
    .torch-ring {
        display: none;
    }
    
    /* 功能卡片优化 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    /* 表单优化 */
    .form-section {
        padding: 30px 20px;
        margin: 0 15px;
        max-width: none;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    /* 证书页面优化 */
    .certificate-container {
        padding: 20px 15px;
    }
    
    .certificate {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .certificate-name {
        font-size: 1.5rem;
    }
    
    .certificate-number {
        font-size: 2rem;
    }
    
    /* 火炬展示页面优化 */
    .torch-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px 15px;
    }
    
    .torch-large-image {
        width: 200px;
    }
    
    /* 编号查验页面优化 */
    .check-container {
        padding: 20px 15px;
    }
    
    .check-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .check-type-group,
    .check-value-group {
        width: 100%;
    }
    
    /* 证书验证页面优化 */
    .verify-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .result-card {
        flex-direction: column;
        text-align: center;
    }
    
    .result-info {
        text-align: center;
    }
    
    /* 个人信息页面优化 */
    .profile-content {
        flex-direction: column;
        gap: 30px;
        padding: 20px 15px;
    }
    
    .profile-avatar,
    .profile-info {
        width: 100%;
    }
    
    .user-avatar-large {
        width: 120px;
        height: 120px;
    }
    
    /* 标题优化 */
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
}

header {
    text-align: center;
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.5);
}

header h1 {
    color: #00ffff;
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    letter-spacing: 2px;
}

header nav {
    margin-top: 25px;
}

header nav a {
    margin: 0 20px;
    text-decoration: none;
    color: #00ffff;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
}

header nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 5px;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

header nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 1);
}

header nav a:hover::before {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* 优化移动端触摸体验 */
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 小尺寸主按钮，用于导航栏 */
.btn-primary-small {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    padding: 8px 18px;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
    margin-left: 10px;
    backdrop-filter: blur(10px);
}

.btn-primary-small:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 首页样式 */
.hero {
    text-align: center;
    padding: 80px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

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

@keyframes pulse2 {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.torch-animation {
    margin-bottom: 50px;
    position: relative;
}

.torch-animation {
    perspective: 1000px;
    margin-bottom: 50px;
    position: relative;
}

.torch-image {
    width: 180px;
    height: auto;
    margin: 0 auto;
    animation: 
        torchGlow 3s ease-in-out infinite alternate,
        torchRotate 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.torch-image:hover {
    animation: 
        torchGlow 2s ease-in-out infinite alternate,
        torchRotate 3s linear infinite;
    filter: drop-shadow(0 0 50px rgba(0, 255, 255, 1));
    transform: scale(1.1);
}

@keyframes torchRotate {
    0% {
        transform: rotateY(0deg) rotateX(0deg) translateY(0px);
    }
    25% {
        transform: rotateY(90deg) rotateX(10deg) translateY(-10px);
    }
    50% {
        transform: rotateY(180deg) rotateX(0deg) translateY(-15px);
    }
    75% {
        transform: rotateY(270deg) rotateX(-10deg) translateY(-10px);
    }
    100% {
        transform: rotateY(360deg) rotateX(0deg) translateY(0px);
    }
}

/* 移除torchFloat动画，因为已经合并到torchRotate动画中 */
@keyframes torchFloat {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-15px);
    }
}

@keyframes torchGlow {
    0% {
        filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
    }
    100% {
        filter: drop-shadow(0 0 50px rgba(0, 255, 255, 1));
    }
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* 表单样式 */
.form-section {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.5));
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        inset 0 1px 3px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

.login-link {
    text-align: center;
    margin-top: 25px;
    color: #888;
}

.login-link a {
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

.login-link a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.login-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.login-link a:hover::after {
    transform: scaleX(1);
}

/* 火炬展示页面样式 */
.torch-section {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.torch-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 6s ease-in-out infinite;
}

.torch-section h2 {
    color: #00ffff;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

/* 用户头像样式 */
.user-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.avatar-container {
    position: relative;
}

.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    object-fit: cover;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.default-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.default-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

/* 头像上传部分 */
.avatar-upload-section {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    margin: 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.avatar-upload-section h3 {
    color: #00ffff;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.avatar-form {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.avatar-form .form-group {
    margin-bottom: 0;
}

.avatar-form input[type="file"] {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-form input[type="file"]:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

/* 证书头像样式 */
.certificate-avatar {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.certificate-avatar::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: avatarPulse 3s ease-in-out infinite;
    z-index: -1;
}

.certificate-avatar-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid #00ffff;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.7),
        inset 0 0 10px rgba(0, 255, 255, 0.3);
    object-fit: cover;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    padding: 3px;
}

.certificate-avatar-img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.9),
        inset 0 0 15px rgba(0, 255, 255, 0.5);
}

.certificate-avatar-default {
    width: 160px;
    height: 160px;
    font-size: 5.5rem;
    margin: 0 auto;
    border: 4px solid #00ffff;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.7),
        inset 0 0 10px rgba(0, 255, 255, 0.3);
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    animation: avatarGlow 2s ease-in-out infinite alternate;
}

/* 个人信息页面样式 */
.profile-section {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.profile-section h2 {
    color: #00ffff;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.profile-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.profile-avatar {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.profile-avatar h3 {
    color: #00ffff;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.profile-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.profile-info h3 {
    color: #00ffff;
    margin-bottom: 30px;
    font-size: 1.5rem;
    text-align: center;
}

.avatar-display {
    margin-bottom: 30px;
}

.user-avatar-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    object-fit: cover;
    transition: all 0.3s ease;
}

.user-avatar-large:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
}

.default-avatar-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.default-avatar-large:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
}

.profile-avatar .avatar-upload-section {
    margin: 30px 0 0 0;
    max-width: 100%;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: translateX(5px);
}

.info-item label {
    color: #00ffff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.info-item span {
    color: #e0e0e0;
    font-size: 1.1rem;
}

.torch-number-small {
    color: #ff00ff;
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.6);
}

@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
        gap: 40px;
        padding: 30px 20px;
    }
    
    .profile-info {
        text-align: center;
    }
    
    .info-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .info-item:hover {
        transform: none;
    }
}

/* 证书编号样式 */
.certificate-id {
    font-size: 1.2rem;
    margin: 20px 0;
    color: #00ffff;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
    letter-spacing: 2px;
}

/* 证书验证页面样式 */
.verify-section {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.verify-section h2 {
    color: #00ffff;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.verify-container {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    max-width: 700px;
    margin: 0 auto;
}

.verify-form {
    margin-bottom: 40px;
}

.verify-form .form-group {
    margin-bottom: 30px;
}

.verify-form label {
    display: block;
    margin-bottom: 10px;
    color: #00ffff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.verify-form input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1.2rem;
    color: #e0e0e0;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.verify-form input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.7);
}

.verify-result {
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.verify-result.valid {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.verify-result.invalid {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.verify-result h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.verify-result.valid h3 {
    color: #00ff00;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
}

.verify-result.invalid h3 {
    color: #ff0000;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.result-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.result-avatar {
    flex-shrink: 0;
}

.result-info {
    text-align: left;
    flex: 1;
    min-width: 300px;
}

.result-info p {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #e0e0e0;
}

.result-info strong {
    color: #00ffff;
}

@media (max-width: 768px) {
    .verify-container {
        padding: 30px 20px;
    }
    
    .result-card {
        flex-direction: column;
        text-align: center;
    }
    
    .result-info {
        text-align: center;
    }
}

/* 编号查验页面样式 */
.check-section {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.check-subtitle {
    color: #888;
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.check-section h2 {
    color: #00ffff;
    margin-bottom: 10px;
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.check-container {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.check-form {
    margin-bottom: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    align-items: flex-end;
}

.check-type-group,
.check-value-group {
    flex: 1;
    min-width: 250px;
}

.check-form label {
    display: block;
    margin-bottom: 10px;
    color: #00ffff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-align: left;
}

.check-form select,
.check-form input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1.1rem;
    color: #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.check-form select {
    cursor: pointer;
}

.check-form select:focus,
.check-form input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.7);
}

.check-result {
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.check-result.valid {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.check-result.invalid {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.check-result h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.check-result.valid h3 {
    color: #00ff00;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
}

.check-result.invalid h3 {
    color: #ff0000;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.error-message {
    font-size: 1.1rem;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.suggestions {
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.suggestions h4 {
    color: #ff0000;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.suggestions ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #e0e0e0;
}

.suggestions li {
    margin-bottom: 8px;
}

.info-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.verification-badge.invalid-badge {
    background: linear-gradient(135deg, #ff0000, #ff8000);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.badge-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.status-valid {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

.status-invalid {
    color: #ff0000;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
}

.check-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .check-container {
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .check-type-group,
    .check-value-group {
        min-width: auto;
    }
    
    .info-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .check-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .check-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

.torch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    position: relative;
}

.torch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    position: relative;
    perspective: 1200px;
}

.torch-large-image {
    width: 250px;
    height: auto;
    animation: 
        torchGlow 3s ease-in-out infinite alternate,
        torchRotate 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.8));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.torch-large-image:hover {
    animation: 
        torchGlow 2s ease-in-out infinite alternate,
        torchRotate 3s linear infinite;
    filter: drop-shadow(0 0 60px rgba(0, 255, 255, 1));
    transform: scale(1.1);
    border-color: rgba(0, 255, 255, 0.8);
}

.torch-info {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    min-width: 300px;
}

.torch-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.torch-number {
    font-size: 4rem;
    font-weight: bold;
    color: #ff00ff;
    display: block;
    margin: 20px 0;
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
    animation: numberGlow 2s ease-in-out infinite alternate;
    font-family: 'Courier New', monospace;
}

@keyframes numberGlow {
    0% {
        text-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
    }
    100% {
        text-shadow: 0 0 50px rgba(255, 0, 255, 1), 0 0 70px rgba(255, 0, 255, 0.8);
    }
}

@keyframes avatarPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes avatarGlow {
    0% {
        box-shadow: 
            0 0 30px rgba(0, 255, 255, 0.7),
            inset 0 0 10px rgba(0, 255, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 0 50px rgba(0, 255, 255, 0.9),
            inset 0 0 20px rgba(0, 255, 255, 0.5);
    }
}

.torch-info p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin: 10px 0;
}

.action-buttons {
    margin-top: 50px;
}

/* 证书页面样式 */
.certificate-section {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.certificate-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}

.certificate-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 5s ease-in-out infinite;
}

.certificate {
    width: 700px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 46, 0.9));
    padding: 80px 60px;
    border: 3px solid #00ffff;
    border-radius: 25px;
    box-shadow: 
        0 0 80px rgba(0, 255, 255, 0.3),
        0 0 150px rgba(255, 0, 255, 0.15),
        inset 0 0 100px rgba(0, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.certificate:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 100px rgba(0, 255, 255, 0.4),
        0 0 200px rgba(255, 0, 255, 0.25),
        inset 0 0 100px rgba(0, 255, 255, 0.08);
}

.certificate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #00ffff, #ff00ff, #00ffff);
    animation: gradientShift 3s ease-in-out infinite;
}

/* 证书角落装饰 */
.certificate::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    pointer-events: none;
}

.certificate-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    position: relative;
}

.certificate-logo {
    margin-bottom: 20px;
    text-align: center;
}

.certificate-logo-img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.5));
    transition: all 0.3s ease;
    max-width: 100%;
}

.certificate-logo-img:hover {
    filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.8));
    transform: scale(1.05);
}

.certificate-header h3 {
    color: #00ffff;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 
        0 0 20px rgba(0, 255, 255, 0.6),
        0 0 40px rgba(0, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-family: 'Arial Black', sans-serif;
}

.certificate-header p {
    color: #aaa;
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.certificate-content {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.certificate-text {
    font-size: 1.4rem;
    margin: 20px 0;
    color: #fff;
    font-weight: 500;
    color: #e0e0e0;
    font-weight: 300;
}

.certificate-name {
    font-size: 2.8rem;
    color: #00ffff;
    margin: 35px 0;
    font-weight: 900;
    text-shadow: 
        0 0 20px rgba(0, 255, 255, 0.8),
        0 0 40px rgba(0, 255, 255, 0.4),
        0 0 60px rgba(0, 255, 255, 0.2);
    letter-spacing: 4px;
    font-family: 'Arial Black', sans-serif;
    background: linear-gradient(45deg, #00ffff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.certificate-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: #ff00ff;
    margin: 35px 0;
    text-shadow: 
        0 0 40px rgba(255, 0, 255, 0.8),
        0 0 80px rgba(255, 0, 255, 0.4),
        0 0 120px rgba(255, 0, 255, 0.2);
    animation: numberGlow 2s ease-in-out infinite alternate;
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 5px;
    background: linear-gradient(45deg, #ff00ff, #cc00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.certificate-date {
    color: #00ffff;
    font-style: italic;
    margin-top: 35px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.certificate-id {
    color: #ffcc00;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 25px 0;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
    background: linear-gradient(45deg, #ffcc00, #ff9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.certificate-footer {
    text-align: center;
    border-top: 2px solid rgba(0, 255, 255, 0.3);
    padding: 35px 0 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 0 15px 15px;
    margin: -40px -60px -80px;
}

.certificate-footer p {
    color: #aaa;
    margin: 10px 0;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 全局样式 */
    header h1 {
        font-size: 1.8rem;
    }
    
    /* 导航栏 */
    .nav-content {
        padding: 0 15px;
    }
    
    .nav-logo h1 {
        font-size: 1.2rem;
    }
    
    /* 确保移动端导航链接正确隐藏（平时不显示） */
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: 80vh !important;
        background: rgba(0, 0, 0, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        border-bottom: 1px solid rgba(0, 255, 255, 0.3) !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 80px 20px 30px !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        z-index: 100 !important;
        overflow-y: auto !important;
    }
    
    /* 确保激活状态正确显示（需要时展开） */
    .nav-links.active {
        display: flex !important;
    }
    
    /* 英雄区域 */
    .hero {
        padding: 40px 15px;
    }
    
    .hero::before {
        width: 250px;
        height: 250px;
    }
    
    .torch-image {
        width: 120px;
    }
    
    /* 火炬页面 */
    .torch-container {
        flex-direction: column;
        gap: 25px;
        padding: 20px 15px;
    }
    
    .torch-large-image {
        width: 180px;
    }
    
    .torch-info {
        min-width: auto;
        width: 100%;
        padding: 25px 15px;
    }
    
    .torch-number {
        font-size: 2.5rem;
    }
    
    /* 证书页面 */
    .certificate-section {
        padding: 40px 15px;
    }
    
    .certificate-container {
        padding: 0 15px;
    }
    
    .certificate-container::before {
        width: 500px;
        height: 500px;
    }
    
    .certificate {
        width: 100%;
        padding: 20px 15px !important;
        max-width: 100% !important;
    }
    
    .certificate-torch-icon {
        top: 10px;
        right: 10px;
    }
    
    .torch-icon-img {
        width: 100px !important;
    }
    
    .certificate-header {
        padding: 30px 15px 20px !important;
    }
    
    .certificate-logo-img {
        width: 70px !important;
    }
    
    .certificate-header h3 {
        font-size: 1.5rem !important;
    }
    
    .certificate-header h4 {
        font-size: 1.1rem !important;
    }
    
    .certificate-content {
        padding: 0 15px 30px !important;
    }
    
    .certificate-recipient {
        margin: 25px 0 !important;
        padding: 15px !important;
    }
    
    .certificate-recipient h5 {
        font-size: 0.9rem !important;
    }
    
    .certificate-recipient h2 {
        font-size: 1.8rem !important;
        letter-spacing: 2px !important;
    }
    
    .certificate-info-grid {
        gap: 20px !important;
        margin: 25px 0 !important;
    }
    
    .certificate-info-item {
        padding: 20px !important;
    }
    
    .certificate-info-item h5 {
        font-size: 0.9rem !important;
    }
    
    .certificate-info-item p {
        font-size: 1.3rem !important;
    }
    
    .certificate-id {
        font-size: 1.1rem !important;
        letter-spacing: 1px !important;
    }
    
    .certificate-footer {
        padding: 30px 15px 40px !important;
        margin: 0 -15px -20px !important;
    }
    
    .certificate-footer p {
        font-size: 0.85rem !important;
        padding: 0 10px !important;
    }
    
    /* 按钮样式 */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    /* 表单样式 */
    .form-container {
        padding: 30px 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-input {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    /* 页脚样式 */
    footer {
        padding: 20px 15px;
        font-size: 0.8rem;
    }
}

footer {
    text-align: center;
    padding: 25px 0;
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.7);
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ffff, #ff00ff, #00ffff);
    animation: gradientShift 3s ease-in-out infinite;
}