body {
    margin: 0;
    font-family: "Microsoft JhengHei", sans-serif;
    background: #841410;
    color: #fff;
}

/* Header */
.header {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: auto;
}

.banner-bg {
    position: absolute;
    inset: 0;
    background: url('banner.png') no-repeat center top;
    background-size: 100% auto;
    z-index: 1;
}

.banner-bg,
.banner-img {
    pointer-events: none;
}

.banner-animate {
    position: relative;
}

.banner-img {
    position: relative;
    z-index: 2;
    width: 104%;
    display: block;
    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 {
    color: #fff;
    padding: 12px 50px;
    border-radius: 12px;
    display: block;
    margin: 20px auto 0;
    font-size: 35px;
    position: relative;
    z-index: 3;
    text-align: center;
}

.highlight {
    font-size: 48px;   
    font-weight: bold; 
    color: #fdf7a1;
}

/* Buttons */
.btn-area {
    position: absolute;
    bottom: -25px;
    right:10%;
    display: flex;
    gap: 20px;
    z-index:99;
}
.btn {
    display: inline-flex;
    flex-direction: column;  
    align-items: center;
    gap: 10px;
    padding: 20px;
    text-decoration: none;
    background: none;
    color: #fdf7a1;
    font-size: 30px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn a {
    color: #fdf7a1;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    transform: scale(1.08);
}

/* 主體 */
.container {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
}

.title {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #fdf7a1;
}

/* 卡片 */
.island-wrapper {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.card {
    background: #fcf6c0;
    width: 450px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-align: left;
    animation: jumpCard 1.8s ease-in-out infinite;
}

/* 有彈性的跳動 */
@keyframes jumpCard {
    0%   { transform: translateY(0); }
    20%  { transform: translateY(-12px); }
    40%  { transform: translateY(0); }
    55%  { transform: translateY(-6px); }
    70%  { transform: translateY(0); }
    100% { transform: translateY(0); }
}

.card-img {
    width: 100%;
    height: 50px;
    background-size: 100% auto;
    background-position: center;
}


.card-body {
    padding: 15px;
}
.card-title {
    font-size: 30px;
    color: #841410;
    font-weight: bold;
    margin-bottom: 10px;
}
.card-info {
    font-size: 23px;
    color: #841410;
    margin-bottom: 15px;
}

.reward-btn {
    font-size: 30px;
    color: #841410 ;
    width: 100%;
    background: #f77908;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.unlock-btn {
    color: #841410 ;
    background: #f77908;
}

/* 回饋方式表格 */
.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: 35px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #fff;
}

.info-wrap img{
    width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

/* 副標文字 */
.subtitle {
    color: #fff;
    font-size: 30px;
    margin-bottom: 20px;
}

/* 內容區塊 */
.content-box {
    background: #fff;
    border-top: 1px solid #841410;
    border-bottom: 1px solid #841410;
    padding: 20px;
}

.content-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-box li {
    font-size: 23px;
    padding: 10px 0;
    border-bottom: 1px solid #841410;
    color: #333;
}

.content-box li:last-child {
    border-bottom: none;
}


.notice-wrapper {
    width: 100%;
    margin:auto;
    padding: 10px;
    height: auto; 
}


    h2 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 35px;
        color: #fdf7a1;
        font-weight: bold;
    }

    ul.notice-list {
        color: #841410;
        list-style: decimal;
        text-align: left;
        padding-left: 20px;
        line-height: 1.8;
        font-size: 23px;
        background: rgba(253, 247, 161, 0.8);
        padding: 50px;
        border-radius: 8px;
    }

    .footer{
        color: #fdf7a1;
        font-size:23px;
        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%;
        object-position: center;
    }

    .date-box {
        font-size: 14px;
    }

    .highlight {
        font-size: 18px;   
        font-weight: bold; 
        color: #fdf7a1;
    }

    .btn-area {
        position: static;     /* 取消 absolute */
        justify-content: center;
        margin: 20px 0;
    }

    .info-wrap {
        width: 100%;
        margin: 10px auto;
    }

    .info-wrap h2 {
        font-size: 20px;
    }

    .info-wrap img{
        width: 100%;
    }

    .subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .content-box li {
        font-size: 14px;
        line-height: 1.5;
        padding: 6px 3px;
    }
    
}
