/**
 * ZmCloud 相册系统 - 高端暗色主题样式表 v2.0
 * 风格：深黑背景 + 金色点缀，专业摄影工作室
 * 升级：动态粒子背景、精致动画、渐变卡片
 */

/* ========== CSS 变量 ========== */
:root {
    --bg-primary:    #0a0a0f;
    --bg-secondary:  #12121a;
    --bg-card:       #1a1a26;
    --bg-hover:      #22223a;
    --gold:          #c9a84c;
    --gold-light:    #e8c97a;
    --gold-dark:     #a07830;
    --text-primary:  #f0ede6;
    --text-secondary:#a89f8a;
    --text-muted:    #5a5468;
    --border:        rgba(201, 168, 76, 0.15);
    --border-hover:  rgba(201, 168, 76, 0.4);
    --shadow-card:   0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow:   0 0 40px rgba(201, 168, 76, 0.12);
    --shadow-float:  0 20px 60px rgba(0, 0, 0, 0.6);
    --radius:        16px;
    --radius-sm:     10px;
    --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== 基础重置 ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
                 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* ========== 全局动态背景 ========== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(120, 80, 200, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 动态光点 */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(201, 168, 76, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 20%, rgba(201, 168, 76, 0.2) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, rgba(201, 168, 76, 0.25) 0%, transparent 100%),
        radial-gradient(2px 2px at 70% 80%, rgba(201, 168, 76, 0.15) 0%, transparent 100%);
    animation: twinkle 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes twinkle {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* ========== 电脑端 Header ========== */
.header-desktop {
    background: linear-gradient(180deg, rgba(18, 18, 26, 0.98) 0%, rgba(14, 14, 20, 0.95) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.header-desktop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.header-desktop::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(201, 168, 76, 0.4) 50%, transparent 100%);
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.header-logo {
    position: relative;
    transition: transform 0.4s ease;
}

.header-logo:hover {
    transform: translateY(-2px);
}

.header-logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.4);
}

.header-logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.header-logo:hover img {
    filter: drop-shadow(0 6px 20px rgba(201, 168, 76, 0.3));
    transform: scale(1.03);
}

.header-title {
    position: relative;
    padding-top: 8px;
}

.header-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 6px;
    background: linear-gradient(180deg, var(--gold), transparent);
}

.header-title h1 {
    font-size: 28px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, #f5e6c8 0%, var(--gold-light) 30%, var(--gold) 60%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 2px 10px rgba(201, 168, 76, 0.3));
}

.header-accent {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.5);
}

/* ========== 移动端 Header ========== */
.header-mobile {
    display: none;
    background: linear-gradient(180deg, rgba(18, 18, 26, 0.98) 0%, rgba(14, 14, 20, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    position: relative;
    z-index: 100;
}

.header-mobile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.header-mobile-container {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.mobile-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.mobile-logo:active {
    transform: scale(0.95);
}

.mobile-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #f5e6c8 0%, var(--gold-light) 40%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 6px rgba(201, 168, 76, 0.25));
}

/* ========== 页面入场动画 ========== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

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

/* ========== 主内容区 ========== */
.main-content {
    flex: 1;
    padding: 48px 20px;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.6s ease;
}

/* ========== 轮播广告区 ========== */
.banner-section {
    position: relative;
    margin-top: 20px;
    padding: 0;
    z-index: 1;
    animation: fadeUp 0.7s ease;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 960px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-card);
    overflow: hidden;
    box-shadow: none;
    transition: all var(--transition);
}

.banner-carousel:hover {
    box-shadow: none;
}

.banner-item {
    position: absolute;
    width: 100%;
    height: 960px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-item.active {
    opacity: 1;
}

.banner-item img {
    width: auto;
    height: 860px;
    object-fit: none;
    object-position: center center;
    transition: transform 8s ease;
}

.banner-item.active img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 40px 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.banner-item.active .banner-overlay {
    opacity: 1;
    transform: translateY(0);
}

.banner-overlay span {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.carousel-btn {
    position: absolute;
    top: calc(50% + 40px);
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0;
}

.banner-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(201, 168, 76, 0.35);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: none;
}

.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 28px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.indicator.active {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    width: 48px;
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

/* ========== 搜索区 ========== */
.search-section {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 560px;
    padding: 0 20px;
    z-index: 200;
    animation: fadeUp 0.8s ease;
}

.search-container {
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 44px 40px;
    border-radius: var(--radius);
    border: none;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 8px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.search-container:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.4),
        0 12px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.search-container::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: containerGlow 4s ease-in-out infinite;
}

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

.search-container h2 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.04em;
    position: relative;
}

.search-container h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 12px auto 24px;
    border-radius: 1px;
    animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(201, 168, 76, 0.3); }
    50% { box-shadow: 0 0 16px rgba(201, 168, 76, 0.6); }
}

.search-form {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.search-form input {
    flex: 1;
    padding: 16px 20px 16px 48px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text-primary);
    letter-spacing: 0.08em;
    transition: all var(--transition);
    font-family: inherit;
    position: relative;
}

.search-form input::placeholder {
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.search-form input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg-hover);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15), 0 0 30px rgba(201, 168, 76, 0.1);
    transform: scale(1.01);
}

.search-form button {
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #1a1400;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.04em;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.search-form button::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;
}

.search-form button:hover::before {
    left: 100%;
}

.search-form button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.5);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.search-form button:active {
    transform: translateY(-1px) scale(0.98);
}

.back-home {
    display: inline-block;
    margin-top: 20px;
    color: var(--gold);
    text-decoration: none;
    font-size: 14px;
    transition: all var(--transition);
    position: relative;
}

.back-home::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.back-home:hover {
    color: var(--gold-light);
}

.back-home:hover::after {
    width: 100%;
}

/* ========== 错误提示 ========== */
.error-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 24px 30px;
    background: rgba(200, 50, 50, 0.08);
    border: 1px solid rgba(200, 50, 50, 0.25);
    border-radius: var(--radius);
    text-align: left;
}

.error-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c0392b;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.error-message p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ========== 相册结果 ========== */
.album-section {
    max-width: 1200px;
    margin: 30px auto 0;
}

.album-info {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
}

.album-info h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.album-info h3::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--gold);
    border-radius: 2px;
    display: inline-block;
}

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

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-item label {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.info-item span {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
}

/* ========== 文件网格 ========== */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.file-item {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

.file-item:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 168, 76, 0.08);
}

.file-link {
    display: block;
}

.file-link img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.file-document {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.file-icon {
    font-size: 44px;
    opacity: 0.85;
}

.file-name {
    font-size: 13px;
    color: var(--text-secondary);
    word-break: break-all;
}

.download-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #1a1400;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
}

.download-btn:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.file-info {
    padding: 10px 12px;
    background: var(--bg-secondary);
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

.no-files {
    text-align: center;
    padding: 80px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 16px;
}

/* ========== Footer ========== */
.footer-desktop {
    background: linear-gradient(180deg, rgba(18, 18, 26, 0.95) 0%, rgba(12, 12, 18, 0.98) 100%);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    padding: 18px 32px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer-desktop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0.6;
}

.footer-desktop::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-info {
    color: var(--gold);
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.footer-info .separator {
    color: rgba(201, 168, 76, 0.4);
    font-weight: 300;
}

.footer-info span {
    white-space: nowrap;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 12px auto;
    opacity: 0.5;
}

.footer-link {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.footer-link a {
    color: rgba(201, 168, 76, 0.7);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
    position: relative;
    padding: 8px 0;
}

.footer-link a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: width 0.4s ease;
}

.footer-link a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.5);
}

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

.footer-link .icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-link a:hover .icon {
    opacity: 1;
}

.footer-tagline {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.5;
}

.footer-mobile {
    display: none;
    background: linear-gradient(180deg, rgba(18, 18, 26, 0.98) 0%, rgba(12, 12, 18, 1) 100%);
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    padding: 30px 24px;
    position: relative;
    z-index: 1;
}

.footer-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0.4;
}

.footer-mobile-container {
    text-align: center;
}

.footer-mobile-container .footer-info {
    color: var(--gold);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-shadow: 0 0 15px rgba(201, 168, 76, 0.25);
}

.footer-mobile-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 10px auto;
    opacity: 0.4;
}

.footer-info span,
.footer-record span {
    color: var(--gold);
    font-size: 14px;
}

.footer-record {
    margin: 4px 0;
}

.footer-mobile .admin-link {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 20px;
    color: rgba(201, 168, 76, 0.8);
    font-size: 13px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.footer-mobile .admin-link:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
    color: var(--gold-light);
}

.admin-link {
    color: var(--gold);
    font-size: 16px;
    text-decoration: none;
    opacity: 0.8;
    transition: all var(--transition);
}

.admin-link:hover {
    opacity: 1;
    color: var(--gold-light);
}

/* ========== Toast 通知 ========== */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: toastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

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

.toast-success {
    background: rgba(46, 160, 67, 0.9);
    color: #fff;
}

.toast-error {
    background: rgba(200, 50, 50, 0.9);
    color: #fff;
}

.toast-info {
    background: rgba(201, 168, 76, 0.9);
    color: #1a1400;
}

/* ========== 响应式布局 ========== */
@media screen and (max-width: 768px) {
    .header-desktop { display: none; }
    .header-mobile  { display: block; }
    .footer-desktop { display: none; }
    .footer-mobile  { display: block; }

    .main-content {
        padding: 24px 12px;
    }

    .banner-section {
        margin-bottom: 0;
    }

    .banner-carousel {
        height: 100vh;
    }

    .banner-item {
        height: 100vh;
    }

    .search-section {
        top: 40%;
        padding: 0 16px;
    }

    .search-container {
        padding: 32px 22px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
        opacity: 1;
    }

    .carousel-btn.prev { left: 12px; }
    .carousel-btn.next { right: 12px; }

    .banner-overlay { 
        padding: 24px 18px 18px; 
    }
    .banner-overlay span { font-size: 17px; }

    .search-container {
        padding: 32px 22px;
        border-radius: 14px;
    }

    .search-container h2 {
        font-size: 18px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form input {
        padding: 14px 16px;
    }

    .search-form button {
        width: 100%;
        padding: 14px 28px;
    }

    .files-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .album-info {
        padding: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 480px) {
    .main-content {
        padding: 16px 10px;
    }

    .banner-overlay span {
        font-size: 15px;
    }

    .search-container {
        padding: 24px 16px;
    }

    .files-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .indicator {
        width: 20px;
        height: 3px;
    }

    .indicator.active {
        width: 32px;
    }
}
