/* CT Photos - 主样式表 */
/* 主题色: 红色 #D32F2F, 蓝色 #1565C0, 绿色 #2E7D32, 白色 #FFFFFF */

:root {
    --ct-red: #D32F2F;
    --ct-red-dark: #B71C1C;
    --ct-red-light: #EF5350;
    --ct-blue: #1565C0;
    --ct-blue-dark: #0D47A1;
    --ct-blue-light: #42A5F5;
    --ct-green: #2E7D32;
    --ct-green-dark: #1B5E20;
    --ct-green-light: #66BB6A;
    --ct-white: #FFFFFF;
    --ct-gray-50: #FAFAFA;
    --ct-gray-100: #F5F5F5;
    --ct-gray-200: #EEEEEE;
    --ct-gray-300: #E0E0E0;
    --ct-gray-500: #9E9E9E;
    --ct-gray-700: #616161;
    --ct-gray-900: #212121;
    --ct-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --ct-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --ct-radius: 12px;
    --ct-radius-sm: 8px;
    --ct-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--ct-gray-900);
    background: var(--ct-gray-50);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--ct-blue); text-decoration: none; transition: var(--ct-transition); }
a:hover { color: var(--ct-red); }

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

/* ===== 页面过渡动画 - 复兴号火车 ===== */
#page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    pointer-events: none;
    display: none;
}

#page-transition.active {
    display: block;
    pointer-events: all;
}

#page-transition .train-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ct-red) 0%, var(--ct-blue) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

#page-transition.active .train-overlay {
    opacity: 0.95;
}

.train-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.train-svg {
    position: absolute;
    top: 0;
    width: 450px;
    height: 120px;
}

.train-svg.from-left {
    animation: trainMoveRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.train-svg.from-right {
    animation: trainMoveLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes trainMoveRight {
    0% { left: -500px; }
    40% { left: calc(50% - 225px); }
    60% { left: calc(50% - 225px); }
    100% { left: calc(100% + 500px); }
}

@keyframes trainMoveLeft {
    0% { right: -500px; left: auto; }
    40% { right: calc(50% - 225px); left: auto; }
    60% { right: calc(50% - 225px); left: auto; }
    100% { right: calc(100% + 500px); left: auto; }
}

.train-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeInText 0.5s 0.4s forwards;
}

@keyframes fadeInText {
    to { opacity: 1; }
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 10px rgba(0,0,0,0.08);
    transition: var(--ct-transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--ct-red);
    text-decoration: none;
    margin-right: 30px;
}

.nav-logo span {
    background: linear-gradient(135deg, var(--ct-red), var(--ct-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo .logo-icon {
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--ct-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--ct-gray-700);
    transition: var(--ct-transition);
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: var(--ct-red);
    background: rgba(211,47,47,0.06);
}

.nav-link.active {
    color: var(--ct-red);
    background: rgba(211,47,47,0.1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.nav-lang select {
    padding: 5px 10px;
    border: 1px solid var(--ct-gray-300);
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    cursor: pointer;
    outline: none;
}

.nav-btn {
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--ct-transition);
    border: none;
    cursor: pointer;
}

.nav-btn-login {
    color: var(--ct-blue);
    background: rgba(21,101,192,0.08);
}

.nav-btn-login:hover {
    background: rgba(21,101,192,0.15);
    color: var(--ct-blue-dark);
}

.nav-btn-register {
    color: #fff;
    background: linear-gradient(135deg, var(--ct-red), var(--ct-red-dark));
}

.nav-btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(211,47,47,0.3);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 12px 4px 4px;
    border-radius: 20px;
    transition: var(--ct-transition);
}

.nav-user:hover { background: var(--ct-gray-100); }

.nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ct-red), var(--ct-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.nav-user-name { font-size: 13px; font-weight: 500; }

.nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: var(--ct-radius);
    box-shadow: var(--ct-shadow-lg);
    min-width: 180px;
    padding: 8px;
    display: none;
    z-index: 100;
}

.nav-dropdown.show { display: block; animation: fadeInDown 0.2s; }

.nav-dropdown a {
    display: block;
    padding: 8px 14px;
    color: var(--ct-gray-700);
    border-radius: 6px;
    font-size: 13px;
}

.nav-dropdown a:hover { background: var(--ct-gray-100); color: var(--ct-red); }

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* ===== Hero Banner ===== */
.hero {
    position: relative;
    height: 520px;
    margin-top: 64px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 0;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s 0.2s both;
}

/* ===== 搜索栏 ===== */
.search-bar {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 6px;
    display: flex;
    align-items: center;
    animation: fadeInUp 0.8s 0.4s both;
    border: 1px solid rgba(255,255,255,0.2);
}

.search-bar select {
    padding: 10px 15px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    min-width: 100px;
}

.search-bar select option { color: #333; background: #fff; }

.search-bar input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.search-bar input::placeholder { color: rgba(255,255,255,0.6); }

.search-bar button {
    padding: 10px 25px;
    background: var(--ct-red);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ct-transition);
    white-space: nowrap;
}

.search-bar button:hover {
    background: var(--ct-red-dark);
    transform: scale(1.02);
}

/* ===== 统计栏 ===== */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 25px 20px;
    background: #fff;
    box-shadow: var(--ct-shadow);
    position: relative;
    z-index: 5;
}

.stat-item {
    text-align: center;
    padding: 10px 20px;
    animation: fadeInUp 0.6s both;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-icon {
    font-size: 28px;
    margin-bottom: 5px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ct-red), var(--ct-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label { font-size: 13px; color: var(--ct-gray-700); font-weight: 500; }
.stat-desc { font-size: 11px; color: var(--ct-gray-500); }

/* ===== 特色标签 ===== */
.features-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    background: linear-gradient(135deg, var(--ct-blue), var(--ct-blue-dark));
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.feature-item .icon { font-size: 20px; }

/* ===== 分类标签 ===== */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid var(--ct-gray-200);
}

.category-tab {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ct-gray-700);
    background: var(--ct-gray-100);
    cursor: pointer;
    transition: var(--ct-transition);
    border: none;
}

.category-tab:hover { background: rgba(211,47,47,0.1); color: var(--ct-red); }
.category-tab.active { background: var(--ct-red); color: #fff; }

/* ===== 内容区域 ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 0 5px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .icon {
    width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, var(--ct-red), var(--ct-blue));
    border-radius: 2px;
}

.section-more {
    font-size: 13px;
    color: var(--ct-blue);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-more:hover { color: var(--ct-red); }

/* ===== 图片网格 ===== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.photo-card {
    background: #fff;
    border-radius: var(--ct-radius);
    overflow: hidden;
    box-shadow: var(--ct-shadow);
    transition: var(--ct-transition);
    cursor: pointer;
    animation: fadeInUp 0.5s both;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ct-shadow-lg);
}

.photo-card-img {
    position: relative;
    padding-top: 66.67%;
    overflow: hidden;
    background: var(--ct-gray-200);
}

.photo-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.photo-card-id {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.photo-card-body {
    padding: 14px;
}

.photo-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--ct-gray-500);
    margin-bottom: 8px;
}

.photo-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--ct-gray-200);
}

.photo-card-user {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ct-gray-700);
}

.photo-card-user-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ct-green), var(--ct-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
}

.photo-card-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--ct-gray-500);
}

.photo-card-stats span { display: flex; align-items: center; gap: 3px; }

/* ===== 新闻滚动条 ===== */
.news-ticker {
    background: linear-gradient(90deg, var(--ct-red), var(--ct-red-dark));
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.news-ticker-label {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--ct-red-dark);
    padding: 10px 15px;
    font-weight: 600;
    font-size: 13px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-ticker-content {
    padding-left: 140px;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
}

.news-ticker-content a { color: #fff; margin-right: 50px; font-size: 13px; }
.news-ticker-content a:hover { text-decoration: underline; }

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== 页脚 ===== */
.footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 50px 0 0;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 22px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--ct-red-light), var(--ct-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.8; }

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    padding: 4px 0;
    transition: var(--ct-transition);
}

.footer-col a:hover { color: #fff; padding-left: 5px; }

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

.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ===== 表单样式 ===== */
.form-container {
    max-width: 500px;
    margin: 100px auto 50px;
    padding: 40px;
    background: #fff;
    border-radius: var(--ct-radius);
    box-shadow: var(--ct-shadow-lg);
}

.form-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--ct-red), var(--ct-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--ct-gray-700);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--ct-gray-300);
    border-radius: var(--ct-radius-sm);
    font-size: 14px;
    transition: var(--ct-transition);
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--ct-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

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

.btn {
    display: inline-block;
    padding: 10px 24px;
    border: none;
    border-radius: var(--ct-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ct-transition);
    text-align: center;
    font-family: inherit;
}

.btn-red { background: var(--ct-red); color: #fff; }
.btn-red:hover { background: var(--ct-red-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(211,47,47,0.3); }

.btn-blue { background: var(--ct-blue); color: #fff; }
.btn-blue:hover { background: var(--ct-blue-dark); transform: translateY(-1px); }

.btn-green { background: var(--ct-green); color: #fff; }
.btn-green:hover { background: var(--ct-green-dark); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--ct-gray-300);
    color: var(--ct-gray-700);
}

.btn-outline:hover { border-color: var(--ct-red); color: var(--ct-red); }

.btn-block { display: block; width: 100%; }

.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ===== 关于页面 ===== */
.about-hero {
    margin-top: 64px;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--ct-red), var(--ct-blue));
    text-align: center;
    color: #fff;
}

.about-hero h1 { font-size: 36px; margin-bottom: 15px; }
.about-hero p { font-size: 16px; opacity: 0.9; max-width: 600px; margin: 0 auto; }

.about-section {
    padding: 50px 0;
}

.about-section:nth-child(even) { background: #fff; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.team-card {
    background: #fff;
    border-radius: var(--ct-radius);
    padding: 25px 15px;
    text-align: center;
    box-shadow: var(--ct-shadow);
    transition: var(--ct-transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ct-shadow-lg);
}

.team-card-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--ct-red), var(--ct-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.team-card-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.team-card-role { font-size: 12px; color: var(--ct-gray-500); }

.team-card-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    margin-top: 8px;
    font-weight: 500;
}

.tag-management { background: rgba(211,47,47,0.1); color: var(--ct-red); }
.tag-admin { background: rgba(21,101,192,0.1); color: var(--ct-blue); }
.tag-review { background: rgba(46,125,50,0.1); color: var(--ct-green); }
.tag-tech { background: rgba(156,39,176,0.1); color: #9C27B0; }
.tag-media { background: rgba(255,152,0,0.1); color: #F57C00; }

/* ===== 更新日志 ===== */
.changelog-list {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-item {
    position: relative;
    padding: 20px 20px 20px 40px;
    border-left: 3px solid var(--ct-blue);
    margin-bottom: 20px;
}

.changelog-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ct-blue);
}

.changelog-item h4 { font-size: 16px; margin-bottom: 5px; }
.changelog-item .date { font-size: 12px; color: var(--ct-gray-500); margin-bottom: 8px; }
.changelog-item p { font-size: 14px; color: var(--ct-gray-700); line-height: 1.7; }

/* ===== 上传页面 ===== */
.upload-container {
    max-width: 900px;
    margin: 90px auto 50px;
    padding: 0 20px;
}

.upload-dropzone {
    border: 3px dashed var(--ct-gray-300);
    border-radius: var(--ct-radius);
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--ct-transition);
    background: #fff;
    margin-bottom: 25px;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
    border-color: var(--ct-blue);
    background: rgba(21,101,192,0.03);
}

.upload-dropzone .icon { font-size: 48px; color: var(--ct-gray-500); margin-bottom: 15px; }
.upload-dropzone p { color: var(--ct-gray-500); font-size: 14px; }

.upload-preview {
    max-width: 300px;
    margin: 15px auto;
    border-radius: 8px;
    overflow: hidden;
    display: none;
}

.upload-preview img { width: 100%; }

.upload-form {
    background: #fff;
    border-radius: var(--ct-radius);
    padding: 30px;
    box-shadow: var(--ct-shadow);
}

.upload-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 30px 0;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--ct-transition);
}

.pagination a { background: #fff; color: var(--ct-gray-700); box-shadow: var(--ct-shadow); }
.pagination a:hover { background: var(--ct-red); color: #fff; }
.pagination .active { background: var(--ct-red); color: #fff; box-shadow: 0 2px 8px rgba(211,47,47,0.3); }

/* ===== 消息提示 ===== */
.alert {
    padding: 12px 16px;
    border-radius: var(--ct-radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error { background: #fce4ec; color: #c62828; border: 1px solid #ef9a9a; }
.alert-info { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.alert-warning { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }

/* ===== 通用动画 ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .nav-links.mobile-show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 15px;
        box-shadow: var(--ct-shadow-lg);
    }

    .hero { height: 400px; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 14px; }

    .search-bar { flex-direction: column; border-radius: 16px; padding: 10px; }
    .search-bar select { width: 100%; }
    .search-bar input { width: 100%; }
    .search-bar button { width: 100%; border-radius: 10px; }

    .stats-bar { flex-wrap: wrap; gap: 15px; }
    .stat-item { min-width: 45%; }

    .features-bar { flex-wrap: wrap; gap: 15px; padding: 15px; }

    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }

    .footer-grid { grid-template-columns: 1fr; gap: 25px; }

    .upload-form-grid { grid-template-columns: 1fr; }

    .team-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ct-gray-100); }
::-webkit-scrollbar-thumb { background: var(--ct-gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ct-gray-500); }

/* ===== 加载骨架屏 ===== */
.skeleton {
    background: linear-gradient(90deg, var(--ct-gray-200) 25%, var(--ct-gray-100) 50%, var(--ct-gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}
