/* gallery.css (V5 - Live Aquarium) */

:root {
    --bg-color: #010416;
    --text-light: #e0f7fa;
    --text-dark: #b0bec5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "LXGW WenKai Screen", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    overflow: hidden;
    /* 禁止滚动，整个屏幕都是水族馆 */
}

/* --- 水族馆舞台 --- */
#aquarium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at 50% 50%, #1a237e, #010416 70%);
}

/* --- 游动的鱼 --- */
.swimming-fish {
    position: absolute;
    /* 关键：让JS可以控制其top和left */
    width: 150px;
    /* 定义一个基础宽度 */
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
    cursor: pointer;
    will-change: transform;
    /* 性能优化：告诉浏览器这个元素的transform会频繁变化 */
    transition: filter 0.3s ease;
    /* 悬停时的滤镜过渡 */
}

.swimming-fish:hover {
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 1));
}

/* --- UI元素：页头和页脚 --- */
.main-header,
.main-footer {
    position: fixed;
    z-index: 10;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(1, 4, 22, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header {
    top: 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.main-footer {
    bottom: 0;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: center;
}

.logo {
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--text-light);
    text-decoration: none;
}

.header-info {
    text-align: center;
}

.page-title {
    font-size: 1.5rem;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.main-header nav a {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: none;
}

/* 备案号链接样式 */
.beian-link {
    color: var(--text-dark);
    text-decoration: none;
}