/* ========== 全局样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6ec7;
    --secondary-color: #a855f7;
    --accent-color: #ff9ff3;
    --success-color: #4ade80;
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --bg-dark: #0f0f23;
    --bg-light: #fef7ff;
    --bg-gradient: linear-gradient(135deg, #ffeef8 0%, #f3e8ff 50%, #e0f2fe 100%);
    --border-color: #e9d5ff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(168, 85, 247, 0.15);
    --shadow-lg: 0 16px 48px rgba(168, 85, 247, 0.25);
    --shadow-glow: 0 0 40px rgba(255, 110, 199, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-gradient);
    position: relative;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 3D背景场景 ========== */
.scene-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    perspective: 1000px;
    overflow: hidden;
}

.scene-layer {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), 
        rgba(255, 110, 199, 0.1) 0%, 
        rgba(168, 85, 247, 0.05) 50%, 
        transparent 100%);
    animation: layerMove 20s ease-in-out infinite;
}

.layer-1 {
    animation-duration: 25s;
    animation-delay: 0s;
}

.layer-2 {
    animation-duration: 30s;
    animation-delay: -5s;
    opacity: 0.6;
}

.layer-3 {
    animation-duration: 35s;
    animation-delay: -10s;
    opacity: 0.4;
}

@keyframes layerMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
}

/* ========== 交互式导航栏 ========== */
.interactive-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 110, 199, 0.2);
}

.interactive-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.interactive-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: var(--transition);
}

.interactive-brand:hover {
    transform: scale(1.05);
}

.brand-icon {
    font-size: 1.8rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.interactive-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.interactive-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.interactive-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.interactive-link:hover::after,
.interactive-link.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 110, 199, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 110, 199, 0.2);
    transform: scale(1.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ========== Hero区域 - 3D交互式 ========== */
.interactive-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-3d-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-bottom: 4rem;
    perspective: 1000px;
}

/* 3D卡片 */
.card-3d {
    width: 100%;
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
}

.card-3d:hover {
    transform: rotateY(180deg);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 2px solid rgba(255, 110, 199, 0.3);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(255, 110, 199, 0.1), rgba(168, 85, 247, 0.1));
}

.hero-title-3d {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-subtitle-3d {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 110, 199, 0.1);
    border-radius: 20px;
    min-width: 120px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 110, 199, 0.2);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 浮动元素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.float-item {
    position: absolute;
    font-size: 3rem;
    animation: floatAround 15s ease-in-out infinite;
    opacity: 0.6;
}

.float-1 { top: 10%; left: 10%; animation-delay: 0s; }
.float-2 { top: 20%; right: 15%; animation-delay: -3s; }
.float-3 { bottom: 30%; left: 20%; animation-delay: -6s; }
.float-4 { bottom: 20%; right: 25%; animation-delay: -9s; }
.float-5 { top: 50%; left: 50%; animation-delay: -12s; }

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(20px, 30px) rotate(270deg); }
}

/* 交互式按钮 */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.action-btn::before {
    content: attr(data-hover);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn .btn-text {
    transition: var(--transition);
}

.action-btn:hover .btn-text {
    opacity: 0;
}

.primary-action {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.primary-action:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.secondary-action {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.secondary-action:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.05);
}

.accent-action {
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.accent-action:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* ========== 3D卡片通用样式 ========== */
[data-tilt] {
    transition: transform 0.3s ease;
}

.section-3d {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-3d {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title-3d::before,
.section-title-3d::after {
    content: '✨';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    animation: sparkleRotate 3s linear infinite;
}

.section-title-3d::before {
    left: -50px;
}

.section-title-3d::after {
    right: -50px;
    animation-direction: reverse;
}

@keyframes sparkleRotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* 卡片发光效果 */
.card-glow,
.item-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

[data-tilt]:hover .card-glow,
[data-tilt]:hover .item-glow {
    opacity: 0.6;
}

/* ========== 关于我部分 ========== */
.about-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card-3d {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255, 110, 199, 0.2);
    transition: var(--transition);
    overflow: hidden;
}

.about-card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.about-image-3d {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-image-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-card-3d:hover .about-image-3d img {
    transform: scale(1.1);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffeef8, #f3e8ff);
    border: 3px dashed rgba(255, 110, 199, 0.4);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-light);
}

.placeholder-icon {
    font-size: 4rem;
}

.upload-hint-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.upload-hint-btn:hover {
    transform: scale(1.05);
}

.about-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-info p {
    color: var(--text-light);
    line-height: 1.8;
}

.about-stats-3d {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item-3d {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 110, 199, 0.1);
    border-radius: 20px;
    transition: var(--transition);
}

.stat-item-3d:hover {
    transform: scale(1.05);
    background: rgba(255, 110, 199, 0.2);
}

.stat-icon-large {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-number-large {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label-large {
    color: var(--text-light);
    font-size: 1rem;
}

.about-tags-3d h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tag-3d {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 110, 199, 0.2), rgba(168, 85, 247, 0.2));
    border: 2px solid rgba(255, 110, 199, 0.4);
    border-radius: 25px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.tag-3d:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(255, 110, 199, 0.3), rgba(168, 85, 247, 0.3));
}

.social-links-3d {
    display: flex;
    gap: 1rem;
}

.social-link-3d {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 110, 199, 0.3);
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.social-link-3d:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ========== 作品展示 ========== */
.portfolio-filters-3d {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn-3d {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 110, 199, 0.3);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.filter-btn-3d::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 110, 199, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.filter-btn-3d:hover::before,
.filter-btn-3d.active::before {
    width: 200px;
    height: 200px;
}

.filter-btn-3d:hover,
.filter-btn-3d.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.portfolio-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item-3d {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 110, 199, 0.2);
}

.portfolio-item-3d:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.portfolio-link-3d {
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio-image-3d {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.portfolio-image-3d .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.douyin-video {
    background: linear-gradient(135deg, #ff0050 0%, #ff6b9d 50%, #ffeef5 100%);
    flex-direction: column;
    gap: 10px;
}

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

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

.portfolio-overlay-3d {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item-3d:hover .portfolio-overlay-3d {
    opacity: 1;
}

.portfolio-overlay-3d h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay-3d p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.douyin-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #ff0050;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.portfolio-item-3d.hidden {
    display: none;
}

/* ========== 博客/动态 ========== */
.blog-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card-3d {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255, 110, 199, 0.2);
    transition: var(--transition);
}

.blog-card-3d:hover {
    transform: translateY(-10px) rotateX(3deg);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.blog-date-3d {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 110, 199, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    z-index: 2;
}

.blog-image-3d {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-content-3d {
    padding: 1.5rem;
}

.blog-category-3d {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 110, 199, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-title-3d {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.blog-excerpt-3d {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link-3d {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link-3d:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* ========== 联系合作 ========== */
.contact-grid-3d {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-3d,
.contact-form-3d {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255, 110, 199, 0.2);
    transition: var(--transition);
}

.contact-info-3d:hover,
.contact-form-3d:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.contact-info-3d h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info-3d > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details-3d {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item-3d {
    color: var(--text-light);
}

.contact-item-3d strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item-3d a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item-3d a:hover {
    color: var(--secondary-color);
}

.form-group-3d {
    margin-bottom: 1.5rem;
}

.form-group-3d label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group-3d input,
.form-group-3d select,
.form-group-3d textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 110, 199, 0.3);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-group-3d input:focus,
.form-group-3d select:focus,
.form-group-3d textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 110, 199, 0.3);
    background: rgba(255, 255, 255, 1);
}

.form-group-3d textarea {
    resize: vertical;
}

.submit-btn-3d {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.submit-btn-3d:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ========== 页脚 ========== */
.footer-3d {
    background: linear-gradient(135deg, var(--text-dark), #2d1b3d);
    color: white;
    padding: 3rem 0;
    border-top: 3px solid rgba(255, 110, 199, 0.3);
    position: relative;
}

.footer-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.footer-content-3d {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links-3d {
    display: flex;
    gap: 2rem;
}

.footer-links-3d a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links-3d a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .interactive-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }

    .interactive-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title-3d {
        font-size: 3rem;
    }

    .hero-subtitle-3d {
        font-size: 1.2rem;
    }

    .section-title-3d {
        font-size: 2rem;
    }

    .section-title-3d::before,
    .section-title-3d::after {
        display: none;
    }

    .about-grid-3d {
        grid-template-columns: 1fr;
    }

    .contact-grid-3d {
        grid-template-columns: 1fr;
    }

    .portfolio-grid-3d {
        grid-template-columns: 1fr;
    }

    .blog-timeline {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title-3d {
        font-size: 2.5rem;
    }

    .card-3d {
        height: 400px;
    }

    .card-front,
    .card-back {
        padding: 2rem 1.5rem;
    }
}

/* ========== 平滑滚动 ========== */
html {
    scroll-behavior: smooth;
}

/* ========== 鼠标跟随效果 ========== */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="%23ff6ec7" stroke-width="2"/></svg>'), auto;
}
