body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.container {
    text-align: center;
    color: #ffffff;
    animation: fadeIn 1.5s ease-out;
}

img {
    width: 250px;
    height: auto;
    filter: drop-shadow(0px 0px 20px rgba(0, 255, 255, 0.7));
}

h1 {
    font-size: 48px;
    color: #00e6e6;
    margin-top: 20px;
    letter-spacing: 2px;
    text-shadow: 0px 0px 10px rgba(0, 230, 230, 0.5);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}

textarea {
    width: calc(100% + 40px); /* 扩展宽度 */
    height: 40px; /* 调整高度，使其更扁 */
    padding: 10px; /* 內邊距 */
    border: none; /* 無邊框 */
    border-radius: 30px; /* 圓角邊框 */
    font-size: 16px; /* 字體大小 */
    margin: 20px -20px 0; /* 上方間距，左右各 -20px */
    resize: none; /* 禁止調整大小 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* 陰影效果 */
    background: transparent; /* 無背景 */
    color: white; /* 字體顏色 */
}

textarea::placeholder {
    color: #cccccc; /* 佔位符文字顏色 */
}

button {
    width: calc(100% + 40px); /* 確保按鈕寬度與輸入欄相同 */
    height: 40px; /* 設置高度 */
    padding: 10px; /* 內邊距與 textarea 相同 */
    background-color: #00e6e6;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 0 -20px; /* 與文本區的左右負邊距相同 */
}

button:hover {
    background-color: #00b5b5;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* 淡入動畫 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 導航欄樣式 */
.navbar {
    display: none; /* 初始隱藏 */
    position: absolute;
    top: 40px; /* 調整高度 */
    left: 10px; /* 確保導航欄在左側 */
    background-color: rgba(255, 255, 255, 0.9); /* 背景透明 */
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.navbar a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #ddd;
}

/* 導航按鈕樣式 */
#navbarToggle {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none; /* 無背景 */
    color: #00e6e6; /* 字體顏色 */
    border: none; /* 無邊框 */
    font-size: 14px; /* 調整字體大小 */
    cursor: pointer;
    z-index: 20; /* 確保按鈕在最上層 */
    transition: color 0.3s;
}

#navbarToggle:hover {
    color: #00b5b5; /* 滑鼠懸停時顏色 */
}
