/* 现代化网格布局系统 - minigamemadhouse.pro */
:root {
    /* 主色调 - 柔和科技风 (固定浅色主题) */
    --primary: #8ED7F8;      /* Gentle Sky */
    --primary-hover: #64B1D9; /* Quiet Azure */
    --accent: #C9B7F2;       /* Soft Lavender */
    --accent-hover: #A9EBD1; /* Mint Frost */
    --warning: #FFCDB4;      /* Warm Peach */
    --background: #F9FAFB;   /* Snow Mist */
    --background-alt: #E5E7EB; /* Lunar Grey */
    --border: #D2D6DC;       /* Silver Line */
    --text-primary: #2E3440; /* Charcoal */
    --text-secondary: #59606F; /* Soft Slate */
    --white: #FFFFFF;
    
    /* 间距系统 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* 圆角系统 */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* 阴影系统 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 网格系统 */
    --grid-gap: 1.5rem;
    --grid-gap-lg: 2rem;
    --grid-gap-xl: 3rem;
}

/* 基础重置优化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* 图片优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 链接优化 */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 标题优化 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

/* 段落优化 */
p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

/* 列表优化 */
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 容器系统优化 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
}

/* 容器响应式优化 */
@media (max-width: 768px) {
    .container,
    .container-sm,
    .container-lg {
        padding: 0 var(--spacing-md);
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container,
    .container-sm,
    .container-lg {
        padding: 0 var(--spacing-sm);
    }
}

/* 网格系统优化 */
.grid {
    display: grid;
    gap: var(--grid-gap);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-auto-fill {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* 响应式网格优化 */
@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .grid-auto-fit {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-md);
    }
    
    .grid-auto-fill {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .grid-auto-fit {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .grid-auto-fill {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
    }
}

/* 导航栏优化 */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    gap: var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.logo:hover img {
    transform: scale(1.1);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    margin: 0;
    padding: 0;
}

.navbar-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: var(--spacing-sm) 0;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.navbar-menu a:hover,
.navbar-menu a:focus {
    color: var(--primary);
    transform: translateY(-1px);
}

.navbar-menu a:hover::after,
.navbar-menu a:focus::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* 按钮样式优化 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    min-height: 44px; /* 确保触摸友好 */
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
    min-height: 52px;
}

/* 英雄区域优化 */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap-xl);
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 500px;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.hero-text .highlight {
    color: var(--accent-hover);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.6;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    flex: 1;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.hero-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
    backdrop-filter: blur(10px);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.hero-placeholder p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* 特色区域优化 */
.features {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.02em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 特色卡片优化 */
.feature-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-icon-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-placeholder {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

/* 支持小组区域优化 */
.popular-groups {
    padding: var(--spacing-2xl) 0;
    background: var(--background);
    position: relative;
}

.popular-groups::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* 支持小组网格优化 */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--grid-gap-lg);
    margin-top: var(--spacing-xl);
}

/* 支持小组卡片优化 */
.group-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.group-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.group-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    flex: 1;
    min-width: 200px;
}

.member-count {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.group-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.group-features {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.feature {
    background: var(--background-alt);
    color: var(--text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

.group-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.breadcrumb {
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 内容区域优化 */
.content-section {
    padding: var(--spacing-2xl) 0;
    background: var(--background);
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.text-content {
    max-width: 100%;
    line-height: 1.7;
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.text-content h2 {
    color: var(--text-primary);
    margin: var(--spacing-xl) 0 var(--spacing-md);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.text-content h3 {
    color: var(--text-secondary);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 600;
}

.text-content p {
    margin: var(--spacing-md) 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.text-content p:first-of-type {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 安全特性网格 */
.safety-features {
    padding: var(--spacing-2xl) 0;
    background: var(--background);
}

.safety-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.safety-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.safety-card ul {
    text-align: left;
    margin-top: var(--spacing-md);
    list-style: none;
}

.safety-card li {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-md);
    position: relative;
}

.safety-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap-lg);
    margin-top: var(--spacing-xl);
}

.feature-item {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* 隐私政策网格 */
.privacy-policy {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.privacy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--grid-gap-lg);
    margin-top: var(--spacing-xl);
}

.privacy-section {
    background: var(--background);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

/* 社区准则网格 */
.community-guidelines {
    padding: var(--spacing-2xl) 0;
    background: var(--background);
}

.guidelines-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap-lg);
    margin-top: var(--spacing-xl);
}

.guideline-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.guideline-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* 联系安全区域 */
.contact-safety {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
}

.contact-options {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* 页脚优化 */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* 页脚网格优化 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
    display: inline-block;
    position: relative;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .navbar {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .navbar-menu {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .navbar-menu a {
        width: 100%;
        text-align: center;
    }
    
    .navbar-actions {
        width: 100%;
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .btn-large {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .text-content h2 {
        font-size: 1.75rem;
    }
    
    .text-content h3 {
        font-size: 1.25rem;
    }
    
    .text-content p {
        font-size: 1rem;
    }
    
    .text-content p:first-of-type {
        font-size: 1.1rem;
    }
    
    .hero-placeholder {
        min-height: 200px;
        padding: var(--spacing-xl);
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: var(--spacing-lg);
    }
    
    .group-card {
        padding: var(--spacing-lg);
    }
    
    .group-card-small {
        padding: var(--spacing-md);
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .navbar {
        padding: var(--spacing-md);
    }
}

/* 英雄区域图片样式 */
.hero-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* 修复英雄区域布局 */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    flex: 1;
    position: relative;
}

/* 图片展示区域样式优化 */
.image-gallery {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--background-alt) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap-lg);
    margin-top: var(--spacing-xl);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
    background: var(--white);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: var(--spacing-lg);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--white);
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* 优化内容区域排版 */
.text-content {
    max-width: 100%;
    line-height: 1.7;
}

.text-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    line-height: 1.3;
}

.text-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-xl);
    line-height: 1.4;
}

.text-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.text-content p:first-of-type {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* 响应式设计优化 - 合并重复的媒体查询 */ 

/* 导航栏响应式优化 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md) var(--spacing-lg);
        position: relative;
    }
    
    .navbar-menu {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
        order: 3;
    }
    
    .navbar-menu a {
        width: 100%;
        text-align: center;
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.1);
        transition: background-color 0.3s ease;
    }
    
    .navbar-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .navbar-actions {
        width: 100%;
        justify-content: center;
        order: 2;
    }
    
    .logo {
        order: 1;
        justify-content: center;
        width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .btn-large {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .text-content h2 {
        font-size: 1.75rem;
    }
    
    .text-content h3 {
        font-size: 1.25rem;
    }
    
    .text-content p {
        font-size: 1rem;
    }
    
    .text-content p:first-of-type {
        font-size: 1.1rem;
    }
    
    .hero-placeholder {
        min-height: 200px;
        padding: var(--spacing-xl);
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    /* 修复特色卡片在移动端的显示 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .feature-card {
        text-align: center;
        padding: var(--spacing-xl);
    }
    
    /* 修复支持小组卡片在移动端的显示 */
    .groups-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .group-card {
        text-align: center;
        padding: var(--spacing-xl);
    }
    
    .group-features {
        justify-content: center;
        flex-wrap: wrap;
    }
} 

/* 页脚响应式优化 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-md);
    }
    
    .footer-section ul li {
        margin-bottom: var(--spacing-sm);
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        text-align: center;
        padding: var(--spacing-lg) 0;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-section {
        padding: var(--spacing-md) 0;
        border-bottom: 1px solid var(--border);
    }
    
    .footer-section:last-child {
        border-bottom: none;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
} 

/* 卡片悬停效果优化 */
.feature-card:hover,
.group-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card::before,
.group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-lg);
    z-index: -1;
}

.feature-card:hover::before,
.group-card:hover::before {
    opacity: 0.05;
}

/* 链接悬停效果优化 */
.navbar-menu a:hover,
.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

/* 图片悬停效果优化 */
.hero-main-image:hover,
.gallery-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* 加载动画优化 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.group-card,
.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }

.group-card:nth-child(2) { animation-delay: 0.1s; }
.group-card:nth-child(3) { animation-delay: 0.2s; }

.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.3s; } 

/* 特色区域网格优化 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap-lg);
    margin-top: var(--spacing-xl);
} 

/* 按钮焦点状态优化 */
.btn:focus,
.navbar-menu a:focus,
.footer-section ul li a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* 卡片焦点状态优化 */
.feature-card:focus,
.group-card:focus,
.gallery-item:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* 加载状态优化 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 