body {
    margin: 0;
    font-family: "Microsoft JhengHei", sans-serif;
    background: #eefaff;
    color: #333;
}

/* Header */
.header {
    background: url('header-bg.jpg') no-repeat center/cover;
    text-align: center;
    padding: 30px 20px 5px;
    color: #fff;
    position: relative;
}

.banner-bg {
    background-image: url('banner.png');
}

.banner-animate {
    position: relative;
}

.banner-animate .banner-img {
    width: 60%;
    animation: ship-sway 5s ease-in-out infinite;
}

/* 左右搖動（像在航行） */
@keyframes ship-sway {
    0% { transform: translateX(-2%); }
    50% { transform: translateX(2%); }
    100% { transform: translateX(-2%); }
}


.date-box {
    background: rgba(255,255,255,0.8);
    color: #333;
    padding: 12px 50px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Buttons */
.btn-area {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}
.btn {
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
.btn.green { background: #6ad36a; color: #fff; }
.btn.blue { background: #3d8bff; color: #fff; }

/* 主體 */
.container {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
}

.title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 25px;
}

/* 冒險島卡片 */
.island-wrapper {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    width: 450px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-align: left;
}

.card-img {
    width: 100%;
    height: 50px;
    background-size: 100% auto;
    background-position: center;
}

/* 原本行內背景圖分離 */
.card-img.island1 { background-image: url('island1.jpg'); }
.card-img.island2 { background-image: url('island2.jpg'); }
.card-img.island3 { background-image: url('island3.jpg'); }

.card-body {
    padding: 15px;
}
.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.card-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.reward-btn {
    font-size: 20px;
    width: 100%;
    background: #ffd56a;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.unlock-btn {
    background: #ffa64d;
}

/* 回饋方式表格 */
.table-area {
    margin-top: 40px;
}
table {
    width: 90%;
    margin: auto;
    border-collapse: collapse;
    font-size: 15px;
}
table th, table td {
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
}
table th {
    background: #f7f7f7;
    font-weight: bold;
}

/* 表格標題補抽 */
.table-title {
    font-size: 22px;
}


/* 主框架 */
.info-wrap {
    width: 1200px;
    margin: 40px auto;
    text-align: left;
}

/* 標題 */
.info-wrap h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
}

/* 副標文字 */
.subtitle {
    color: #444;
    font-size: 15px;
    margin-bottom: 20px;
}

/* 內容區塊 */
.content-box {
    background: white;
    border-top: 1px solid #d8e3ef;
    border-bottom: 1px solid #d8e3ef;
    padding: 20px;
}

.content-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-box li {
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #edf3f8;
    color: #333;
}

.content-box li:last-child {
    border-bottom: none;
}


    .notice-wrapper {
    max-width: 1000px;
    margin:auto;
    padding: 5px 30px;
    background: url('notice.png') no-repeat center top;
    background-size: 100% auto;
    height: 630px; 
}


    h2 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 28px;
        color: #333;
        font-weight: bold;
    }

    ul.notice-list {
        list-style: decimal;
        text-align: left;
        padding-left: 20px;
        line-height: 1.8;
        font-size: 16px;
        background: rgba(255, 255, 255, 0.9);
        padding: 20px;
        border-radius: 8px;
    }

    .footer{
            color: #333;
            font-size:16px;
            text-align: center;
            padding: 10px ;
            line-height:30px;
        }

        .line{
            display:inline-block;
            position:fixed;
            right:5%;
            bottom:3%;
            z-index:99;
        }

        .line a{
            height:auto;
            width:100px;
            transition: all .5s;
        }

        .line a:hover{
            opacity: 0.7;
        }   


@media (max-width: 600px) {

    .banner-animate .banner-img {
        width: 100%;
        height: 50vh; 
        object-fit: cover;
        object-position: center;
    }

    .info-wrap {
        width: 90%;
        margin: 25px auto;
    }

    .info-wrap h2 {
        font-size: 20px;
    }

    .subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .content-box li {
        font-size: 14px;
        line-height: 1.5;
        padding: 12px 5px;
    }
}
