/* 基本樣式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "微軟正黑體", "Microsoft JhengHei", "蘋方-繁", "PingFang TC", sans-serif;
    background-color: #f7f5f2;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* 容器樣式 */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* 感謝卡片樣式 */
.thank-you-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.thank-you-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #e8c3b9, #c1a3a3);
}

/* 標題區域樣式 */
.header {
    margin-bottom: 30px;
    position: relative;
}

/* 圖標樣式 */
.icon {
    font-size: 3rem;
    color: #c1a3a3;
    margin-bottom: 15px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: #f9f3f0;
    box-shadow: 0 4px 15px rgba(193, 163, 163, 0.2);
}

h1 {
    font-size: 2.2rem;
    font-weight: 500;
    color: #5d4037;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.decoration-line {
    width: 80px;
    height: 2px;
    background-color: #c1a3a3;
    margin: 0 auto;
    position: relative;
}

.decoration-line::before,
.decoration-line::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #c1a3a3;
    top: -2px;
}

.decoration-line::before {
    left: -10px;
}

.decoration-line::after {
    right: -10px;
}

/* 內容區域樣式 */
.content {
    margin-bottom: 40px;
    padding: 0 20px;
}

.message {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #5d4037;
}

.sub-message {
    font-size: 1rem;
    color: #8d6e63;
    line-height: 1.8;
}

/* 按鈕樣式 */
.return-btn {
    background-color: #c1a3a3;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(193, 163, 163, 0.3);
    letter-spacing: 1px;
}

.return-btn:hover {
    background-color: #a58a8a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 163, 163, 0.4);
}

.return-btn:active {
    transform: translateY(0);
}

/* 響應式設計 */
@media (max-width: 600px) {
    .thank-you-card {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .message {
        font-size: 1.1rem;
    }
}