/* 主内容区 - 留言板 */
.message-board {
    padding: 40px;
    background: rgba(0, 20, 60, 0.85);
    border-radius: 20px;
    margin: 40px auto;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 180, 255, 0.6), inset 0 0 15px rgba(0, 180, 255, 0.2);
    overflow: hidden;
}

.message-board::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 180, 255, 0.2) 0%, transparent 70%);
    animation: wave 10s infinite linear;
}

.message-board h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 15px #00b4ff;
    position: relative;
    z-index: 2;
}

/* 留言表单 */
.message-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.message-form textarea {
    padding: 14px;
    font-size: 16px;
    border: 1px solid rgba(0, 180, 255, 0.5);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 180, 255, 0.3);
    resize: vertical;
    min-height: 120px;
}

.message-form textarea:focus {
    border-color: #00b4ff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px #00b4ff;
}

.message-form button {
    padding: 15px;
    font-size: 20px;
    background: linear-gradient(45deg, #00b4ff, #0288d1);
    border: none;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 180, 255, 0.5);
}

.message-form button:hover {
    background: linear-gradient(45deg, #0288d1, #00b4ff);
    box-shadow: 0 0 25px #00b4ff;
    transform: scale(1.05);
}

/* 留言列表 */
.messages {
    position: relative;
    z-index: 2;
}

.message {
    background: rgba(0, 180, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.message:hover {
    background: rgba(0, 180, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 180, 255, 0.5);
}

.message .author {
    font-size: 18px;
    color: #00b4ff;
    margin-bottom: 10px;
}

.message .timestamp {
    font-size: 14px;
    color: #b3e5fc;
    margin-bottom: 15px;
}

.message p {
    font-size: 16px;
    line-height: 1.6;
    color: #e1f5fe;
}

/* 气泡装饰 */
.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
    z-index: 1;
}

.bubble:nth-child(1) {
    width: 20px;
    height: 20px;
    left: 10%;
    bottom: -20px;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 30px;
    height: 30px;
    left: 20%;
    bottom: -30px;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 15px;
    height: 15px;
    left: 80%;
    bottom: -15px;
    animation-delay: 2s;
}



/* 动画效果 */
@keyframes glow {
    0% {
        text-shadow: 0 0 10px #00b4ff;
    }

    100% {
        text-shadow: 0 0 20px #00b4ff, 0 0 30px #0288d1;
    }
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-600px);
        opacity: 0;
    }
}