/* 基礎設定 */
/* 全站字體套用 */
body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Noto Sans TC', "Microsoft JhengHei", sans-serif;
    background-color: #ffffff;
}


/* 背景固定：電腦版 */
.main-container {
    width: 100%;
    min-height: 100vh;
    background-image: url('../images/c_bg.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

/* 導覽列高度調整，以容納較大的字體 */
header {
    background-color: #e75296;
    height: 70px;
    /* 從 60px 稍微增加到 70px，維持視覺平衡 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 45px;
    /* Logo 也稍微放大一點點 */
}

/* 電腦版選單 - 字體放大與樣式調整 */
nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    /* 從 14px 提升至 17px */
    font-weight: 700;
    /* 加粗字重，增加權威感 */
    letter-spacing: 1px;
    /* 增加一點字距，更有質感 */
    transition: 0.3s;
    white-space: nowrap;
}

nav ul li a:hover {
    color: #ffdaeb;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    /* 增加一個微弱的發光感 */
}

/* 漢堡選單按鈕 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
}

/* 主視覺內容區 (修正 iOS Safari 變形臭蟲) */
.hero-section {
    display: block;
    /* 🚨 關鍵：捨棄 flex，改回傳統 block 排版 */
    padding: 60px 20px;
    text-align: center;
}

.w-title {
    display: block;
    margin: 0 auto 30px auto;
    /* 🚨 左右 auto 自動置中，下方留白 30px */
    width: 100%;
    max-width: 800px;
    /* 🚨 將固定的 width 改為 max-width 讓它更具彈性 */
    height: auto;
}

.main-visual {
    display: block;
    margin: 0 auto;
    /* 🚨 左右 auto 自動置中 */
    width: 100%;
    max-width: 1100px;
    /* 🚨 將固定的 width 改為 max-width */
    height: auto;
}

/* 響應式設定 (手機裝置) */
@media screen and (max-width: 768px) {

    .main-visual {
        width: 100%;
        /* 手機端自動縮小 */
        height: auto;
    }

    .w-title {
        width: 90%;
        /* 手機端自動縮小 */
        height: auto;
        margin-bottom: 30px;
        /* 增加與下方的間距 */
    }


    /* 1. 背景切換 (方案 B：滿版固定底紋) */
    .main-container {
        background-image: url('../images/m_bg.png');
        background-attachment: fixed;
        /* 固定在背後不隨滾動條移動 */
        background-size: cover;
        /* 讓圖片完美填滿整個手機螢幕 */
        background-position: center center;
        /* 視覺重心保持在正中間 */

        /* 🚨 針對 iOS Safari 的專屬修正，避免 fixed 加上 cover 產生破圖無限放大的 bug */
        height: 100vh;
        overflow-y: auto;
    }

    /* 2. Header 佈局強化：徹底強制左右撐開 */
    header {
        padding: 0 15px !important;
        /* 縮減手機版邊距 */
        justify-content: space-between !important;
        /* 確保內容物一左一右 */
        height: 60px;
        /* 手機版稍微縮窄一點點更精緻 */
    }

    /* 3. 漢堡選單按鈕：強制靠最右邊 */
    .menu-toggle {
        display: flex !important;
        margin-left: auto !important;
        /* 🚨 必殺技：利用 auto margin 將自己推向最右側 */
        margin-right: 0 !important;
        z-index: 1001;
    }

    /* 4. 手機版下拉選單：修正定位與視覺 */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        /* 對應 Header 高度 */
        left: 0;
        width: 100%;
        background-color: #e75296;
        padding: 10px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    /* 選單點開後的狀態 */
    nav ul.active {
        display: flex !important;
    }

    nav ul li {
        margin: 0 !important;
        /* 清除電腦版的 35px margin-left */
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul li a {
        display: block;
        padding: 15px 0;
        font-size: 18px;
        color: #ffffff;
    }
}

/* 倒數計時容器 - 緊貼上方 */
.countdown-container {
    padding: 10px 20px 60px 20px;
    /* 大幅縮減上方內距 (10px) */
    text-align: center;
    background: transparent;
}

/* 上方標題：更大、更有力 */
.countdown-title {
    color: #555555;
    font-size: 42px;
    /* 從 32px 提升至 42px */
    font-weight: 900;
    /* 使用極粗體 */
    margin-bottom: 5px;
    /* 縮小與下方數字的距離 */
    letter-spacing: 0px;
}

/* 下方計時顯示區 */
.countdown-display {
    color: #e75296;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 2px;
}

/* 「還有」與「天、時、分、秒」文字 */
.prefix,
.unit {
    font-size: 48px;
    /* 從 36px 提升至 48px */
    font-weight: 700;
}

/* 倒數數字同樣套用 900 */
.num {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 82px;
    font-weight: 900;
    color: #e75296;
}

/* 手機版 RWD 調整：確保在大字體下不會破版 */
@media screen and (max-width: 768px) {
    .countdown-title {
        font-size: 24px;
    }

    .prefix,
    .unit {
        font-size: 24px;
    }

    .num {
        font-size: 34px;
    }

    .countdown-display {
        gap: 2px;
    }
}

/* 資訊容器 */
/* 標題：極粗體 (900)，展現音樂獎的權威感 */
.info-title {
    color: #e75296;
    font-size: 64px;
    font-weight: 900;
    /* 使用 Noto Sans TC 的最重字重 */
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-align: center;
}


/* 日期圖片：置中且大小適中 */
.info-date {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

.info-date img {
    max-width: 380px;
    /* 縮小圖片以符合視覺比例 */
    width: 100%;
    height: auto;
    display: inline-block;
    /* 配合父層 text-align center */
}

/* 列表容器 */
.info-list {
    margin: 0 auto;
    max-width: 800px;
}

.info-item {
    display: flex;
    align-items: center;
    /* 讓標籤與單行內容垂直居中 */
    margin-bottom: 30px;
}

/* 膠囊標籤：粗體 (700) 並微調文字大小 */
.label {
    background-color: #e75296;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 35px;
    font-size: 24px;
    font-weight: 700;
    /* 標籤使用粗體 */
    min-width: 170px;
    text-align: center;
    margin-right: 30px;
    flex-shrink: 0;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 內容文字：適中粗體 */
.content {
    font-size: 21px;
    color: #333333;
    font-weight: 700;
    line-height: 1.5;
}

.highlight-pink {
    color: #e75296;
}

/* 重播區塊的特殊對齊：因為重播內容多，標籤維持對齊頂端 */
.info-section:last-child .info-item {
    align-items: center;
}

.broadcast-container {
    margin-top: 180px;
}

/* 手機版 RWD */
@media screen and (max-width: 768px) {
    .broadcast-container2 {
        width: 95%;
        margin: 0 auto;
    }

    .info-container {
        width: 90%;
        margin: 0 auto;
    }

    .info-title {
        font-size: 38px;
        letter-spacing: 0px;
    }

    .info-date img {
        max-width: 280px;
    }

    .label {
        font-size: 18px;
        min-width: 130px;
        margin-right: 0;
        padding: 6px 15px;
        border-radius: 15px;
        margin-bottom: 10px;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        /* 🚨 關鍵解法：手機版變為直排時，強制元素靠左對齊 */
        margin-bottom: 35px;
        /* 順手幫您微調一下每個項目的距離，避免太擁擠 */
    }

    .content {
        text-align: center;
    }
}

/* ================= 最新消息 (16:9 接近滿版大氣設計 / 僅圖片內縮放) ================= */
.newsarea {
    max-width: 1600px;
    /* 🚨 放寬最大寬度限制，讓畫面更大氣伸展 */
    width: 92%;
    /* 🚨 設定為 92%，接近滿版但左右保留與 Header 呼應的完美留白 */
    display: flex;
    justify-content: center;
    /* 讓未滿 4 則時也能乖乖靠左排列 */
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 50px auto;
    padding: 0;
    box-sizing: border-box;
}

/* 單一新聞卡片 (電腦版：一排 4 則) */
.grid-inner {
    width: calc(25% - 20px);
    margin: 0 10px 30px 10px;
    /*border-radius: 8px;*/
    /* 圓角卡片質感 */
    overflow: hidden;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);*/
    /* 柔和淡陰影 */
    /*background-color: #e75296;*/
    /* 🚨 已經移除卡片本身的 transition 與 hover 變形，整張卡片穩如泰山 🚨 */
}

.grid-inner a {
    text-decoration: none;
    display: block;
}

/* 圖片容器：強制 16:9 比例，並負責裁切超出的圖片 */
.news-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* 完美鎖定 16:9 */
    overflow: hidden;
    /* 🚨 關鍵：把超出的部分切掉，圖片才不會飛出框外 */
    position: relative;
    /*background-color: #f5f5f5;*/
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 確保圖片不變形填滿 */
    display: block;
    transition: transform 0.5s ease;
    /* 🚨 僅針對圖片設定滑順的轉場動畫 */
}

/* 🚨 懸浮特效：只有圖片本身放大，外框完全不動 🚨 */
.grid-inner:hover .news-img-wrapper img {
    transform: scale(1.08);
    /* 圖片在 16:9 框內微放大 */
}

/* 粉紅文字框：固定高度、接在圖片下方 */
.news-text-box {
    /*background-color: #e75296;*/
    padding: 10px 12px;
    height: 70px;
    /* 固定高度 */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
}

/* 文字設定：最多兩行，超過自動隱藏 */
.grid-inner h2.noborder {
    color: #e75296;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    line-height: 1.4;

    /* 限制最多兩行的魔法屬性 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

/* 超大螢幕適配 */
@media screen and (min-width: 2000px) {
    .newsarea {
        max-width: 1800px;
    }

    /* 超大螢幕進一步放寬 */
    .news-text-box {
        height: 80px;
    }

    .grid-inner h2.noborder {
        font-size: 17px;
        line-height: 1.5;
    }
}

/* 手機版與平板適配 (一排 1 則) */
@media screen and (max-width: 768px) {
    .newsarea {
        width: 90%;
        /* 手機版兩側留白稍微多一點點 */
    }

    .grid-inner {
        width: 100%;
        /* 手機版強制佔滿，變為一排一則 */
        margin: 0 0 30px 0;
    }

    .news-text-box {
        min-height: 70px;
        height: auto;
        /* 手機版如果字真的太大，允許它稍微長高 */
    }

    .grid-inner h2.noborder {
        font-size: 17px;
    }
}

/* ================= 最新影音 (16:9 全新比例鎖定) ================= */
.videoWrapper {
    max-width: 100%;
    height: auto;
    margin: 0 auto 50px;
    text-align: center;
    padding-top: 10px;
    position: relative;
}

.mv {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* 🚨 魔法屬性：強制鎖定 16:9 的完美影片比例 */
    height: auto !important;
    /* 🚨 放棄死板的固定高度 */
    padding: 0px;
    /*border: 1px solid #e75296;*/
    margin: 5px;
    outline: none;
    box-sizing: border-box;
    background-color: #fce3ec;
    /* 👑 加上極淡的粉色底，讓 COMING SOON 框不單調 */
}

.mv img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 0px 0px 2px #e75296;
    /* 確保影片縮圖填滿不變形 */
}

.mvh1 {
    width: 100%;
    height: 100%;
    /* 🚨 完美填滿外層的 16:9 空間 */
    color: #e75296;
    font-size: 28px;
    /* 字體稍微放大更有氣勢 */
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 🚨 絕對垂直與水平居中 */
    margin: 0;
    padding: 0;
    /* 🚨 消除原本的 padding 擠壓問題 */
}


/* === 最新影音 Slick 箭頭 (徹底覆蓋 theme 衝突) === */
.slick-prev,
.slick-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
    display: block !important;
    /* 強制顯示，避免被 JS 的 arrows: false 隱藏 */
    width: auto !important;
    height: auto !important;
}

/* 完美落在中間影片的左右兩側 */
.slick-prev {
    left: 26% !important;
}

.slick-next {
    right: 26% !important;
}

/* 🚨 最關鍵：強制換回微軟正黑體，解除 slick-theme.css 的字體限制 🚨 */
.slick-prev:before,
.slick-next:before {
    font-family: "Microsoft JhengHei", Arial, sans-serif !important;
    color: #e75296 !important;
    /* 今年的粉紅色 */
    font-size: 70pt !important;
    opacity: 1 !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important;
    line-height: 1 !important;
}

.slick-prev:before {
    content: "◀" !important;
}

.slick-next:before {
    content: "▶" !important;
}

/* 手機版/平版 RWD 適配 */
@media screen and (max-width: 768px) {

    /* 手機版因為只顯示單張影片，所以箭頭放回最邊緣 */
    .slick-prev {
        left: 2% !important;
    }

    .slick-next {
        right: 2% !important;
    }

    .slick-prev:before,
    .slick-next:before {
        font-size: 40pt !important;
    }
}

/* 輪播下方的點點 */
.slick-dots li button:before {
    color: #e75296 !important;
    font-size: 20pt !important;
}

.slick-dots li.slick-active button:before {
    color: #e75296 !important;
}

/* ================= 關於 ================= */
.aboutus {
    max-width: 1000px;
    color: #333333;
    /* 從白色改為深灰以適應白底 */
    font-size: 14pt;
    font-weight: 300;
    margin: 100px auto 50px;
}

.aboutus p {
    width: 100%;
    line-height: 1.6;
}

.aboutus h3 {
    color: #e75296;
    /* 從金色 #edd590 改為粉色 */
    font-size: 20pt;
    font-weight: 500;
    line-height: 1.6;
    margin-top: 20px;
}

.aboutus ul,
.aboutus li {
    list-style: disc;
    /*list-style-position: inside;*/
    line-height: 1.6;
}

@media screen and (min-width: 2000px) {
    .aboutus {
        max-width: 1500px;
        font-size: 25pt;
    }

    .aboutus h3 {
        font-size: 30pt;
    }
}

@media screen and (max-width: 767px) {
    .aboutus {
        max-width: 90%;
        font-size: 9pt;
        margin: 50px auto 30px;
        /* 修正原本200px過大的間距 */
    }

    .aboutus h3 {
        font-size: 14pt;
    }
}

/* ================= 歷年影音按鈕區塊 ================= */
.contendarea {
    width: 340px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto 100px;
    /*padding-top: 20px;*/
    gap: 12px;
    /* 按鈕之間的間距稍微拉開一點 */
}

@media screen and (min-width: 2000px) {
    .contendarea {
        width: 450px;
    }
}

@media screen and (max-width: 767px) {
    .contendarea {
        width: 80%;
        margin: 40px auto 100px;
    }
}

/* 手機版稍微放寬到80%，避免按鈕太擠 */

.buttonabous {
    font-size: 22px;
    /* 🚨 電腦版：從 2rem(32px) 縮小至 22px，更顯精緻 */
    color: #FFF;
    font-weight: 700;
    background: #e75296;
    /* 粉色按鈕 */
    padding: 12px 20px;
    /* 調整上下左右內距 */
    width: 100%;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    /* 增加一點圓角，與全站風格一致 */
    letter-spacing: 2px;
    /* 增加字距提升質感 */
    transition: all 0.3s ease;
    /* 增加平滑動畫 */
}

/* Hover 懸浮效果提升 */
.buttonabous:hover {
    background: #c93b7a;
    transform: translateY(-2px);
    /* 輕微上浮 */
    box-shadow: 0 4px 12px rgba(231, 82, 150, 0.3);
    /* 增加粉色發光陰影 */
}

/* 🚨 新增：手機版按鈕專屬 RWD 適配 🚨 */
@media screen and (max-width: 768px) {
    .buttonabous {
        width: 50%;
        /* 🚨 關鍵修正：將寬度限制為原本的一半 */
        margin: 0 auto;
        /* 確保按鈕縮小後依然維持置中 */
        font-size: 16px;
        padding: 10px 15px;
        letter-spacing: 1px;
    }
}

/* ================= 底部 Banner 區塊 ================= */
.jingdubanner {
    width: 100%;
    max-width: 600px;
    /* 🚨 關鍵修正：從 1000px 縮小至 600px，電腦版不再過大 */
    margin: 200px auto;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.jingdubanner img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* Hover 時的微放大效果 */
.jingdubanner img:hover {
    transform: scale(1.03);
    /* 稍微增加一點點點擊回饋感 */
}

/* 手機版依然保持良好的間距 */
@media screen and (max-width: 768px) {
    .jingdubanner {
        margin: 40px auto 100px;
    }

    .jingdubanner img {
        width: 90%;
    }
}

/* ================= 底部贊助 Logo 區塊 ================= */
.logoarea {
    max-width: 800px;
    margin: 160px auto 10px;
    /* 縮小下方的 margin，將距離控制權交給下方的 sponsor-container */
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.logoarea img.responsive {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ================= 贊助文字區塊 ================= */
.sponsor-container {
    text-align: center;
    margin-top: 40px;
    /* 🚨 大幅增加與上方 Logo 的距離，讓畫面更清爽 🚨 */
    margin-bottom: 80px;
    padding: 0 20px;
}

.sponsor-text {
    font-size: 1.5rem;
    color: #555555;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 2px;
}

/* ================= RWD 手機版適配 ================= */
@media screen and (max-width: 768px) {

    .logoarea {
        max-width: 98%;
        margin: 40px auto 5px;
    }

    .sponsor-container {
        margin-top: 30px;
        /* 手機版也保持適當的距離 */
    }

    .sponsor-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

@media screen and (max-width: 480px) {
    .sponsor-text {
        font-size: 0.9rem;
    }

    .sponsor-container {
        margin-bottom: 50px;
    }
}

/* ================= Modal 影片彈窗 ================= */
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    /* 提高層級，避免被蓋住 */
}

iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    display: block;
}

.is-hide {
    display: none;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 24pt;
    font-weight: bold;
    color: #fff;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 2001;
}

.close-btn:hover {
    color: #e75296;
}

/* ================= 頁尾版權宣告 (Footer) ================= */
.myfooter {
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    /* 取代去年的 9pt，更適合現代螢幕閱讀 */
    font-weight: 300;
    color: #555555;
    /* 配合今年的深灰主色調 */
    line-height: 1.8;
    padding-top: 20px;
    padding-bottom: 60px;
    /* 用 padding 撐開底部空間，取代多個 <br> */
    pointer-events: none;
    /* 防止誤觸版權文字 */
    letter-spacing: 1px;
}

.myfooter p {
    margin: 0;
    padding: 0;
}

/* RWD 手機版適配 */
@media screen and (max-width: 768px) {
    .myfooter {
        max-width: 95%;
        font-size: 12px;
        padding-bottom: 80px;
        /* 手機版底部多留一點空間，避免被瀏覽器工具列遮擋 */
    }
}

/* 超大螢幕適配 (保留去年的設定邏輯) */
@media screen and (min-width: 2000px) {
    .myfooter {
        font-size: 18px;
    }
}


/* ================= 投票規則說明區塊 (字體全面放大與整合) ================= */
.vote-rules-container {
    max-width: 900px;
    margin: 0 auto 60px;
}

.rule-subtitle {
    text-align: center;
    color: #e75296;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* 電腦版隱藏強制換行 */
@media screen and (min-width: 769px) {
    .mobile-break {
        display: none;
    }
}

.rule-row {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.rule-label {
    background: #e75296;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 20px;
    white-space: nowrap;
    margin-right: 25px;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.rule-content {
    color: #555555;
    font-size: 20px;
    line-height: 1.8;
    font-weight: bold;
}

.rule-content .pink-title {
    color: #e75296;
    margin-bottom: 8px;
    font-size: 22px;
}

/* 清單樣式整合 */
.rule-content ol {
    list-style-type: decimal;
    padding-left: 24px;
    margin: 5px 0 25px 0;
}

.rule-content li {
    margin-bottom: 8px;
}

.rule-notes {
    margin-top: 25px;
    font-size: 16px;
    color: #888888;
    text-align: left;
    line-height: 1.6;
    font-weight: normal;
}


/* ================= 錨點導覽列 (選項) ================= */
.vote-nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 15px;
    margin: 0 auto 80px;
    max-width: 1100px;
    padding: 0 20px;
}

.vote-nav a {
    background: #e75296;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background-color 0.3s ease;
    flex: 1;
    border-radius: 5px;
}

.vote-nav a:hover {
    background: #c93b7a;
}

.vote-nav .small {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.vote-nav .large {
    font-size: 26px;
    font-weight: 700;
}

/* ================= 投票項目網格 ================= */
.category-section {
    margin-bottom: 80px;
    padding-top: 100px;
    margin-top: -100px;
}

.category-header {
    text-align: center;
    color: #e75296;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.vote-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.vote-item {
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.vote-item .img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 5px;
}

.vote-item .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.vote-item:hover .img-wrapper img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

/* ================= 投票項目文字 ================= */
.vote-item .name {
    color: #e75296;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 1px;
}

.vote-item .sub-name {
    color: #888888;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-top: 6px;
    letter-spacing: 1px;
}

/* ================= 投票頁面 手機版 RWD 適配 ================= */
@media screen and (max-width: 768px) {

    /* 1. 投票規則靠左對齊修正 */
    .rule-row {
        flex-direction: column;
        align-items: flex-start;
        /* 強制靠左 */
        text-align: left;
    }

    .rule-label {
        font-size: 18px;
        padding: 6px 18px;
        margin-right: 0;
        margin-bottom: 15px;
        /* 拉開與內文距離 */
    }

    .rule-content {
        font-size: 16px;
        text-align: left;
        width: 100%;
        /* 確保內容撐滿 */
    }

    .rule-content .pink-title {
        font-size: 18px;
    }

    .rule-content ol {
        display: block;
        padding-left: 20px;
        text-align: left;
    }

    .rule-subtitle {
        font-size: 20px;
        line-height: 1.5;
        text-align: center;
        margin-bottom: 30px;
    }

    .mobile-break {
        display: block;
    }

    .rule-notes {
        font-size: 14px;
        margin-top: 20px;
    }

    /* 2. 導覽列折行 */
    .vote-nav {
        flex-wrap: wrap;
        gap: 8px;
    }

    .vote-nav a {
        min-width: 40%;
        flex: 0 0 40%;
        padding: 10px;
    }

    .vote-nav .small {
        font-size: 13px;
    }

    .vote-nav .large {
        font-size: 20px;
    }

    /* 3. 網格與項目修正 (圖片極大化、保證兩兩一排、奇數置中) */
    .category-header {
        font-size: 28px;
    }

    .vote-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /* 奇數置中 */
        gap: 15px 8px;
        /* 🚨 上下間距維持，左右間距縮小至 8px */
        padding: 0 5px;
        /* 🚨 縮減網格最外側的左右留白，把空間還給圖片 */
    }

    .vote-item {
        flex: 0 0 48%;
        /* 🚨 關鍵修正：將寬度從原本的 42% 大幅提升至 48% */
        max-width: 48%;
        box-sizing: border-box;
    }

    .vote-item .img-wrapper {
        margin-bottom: 10px;
        /* 縮短一點點圖片與文字的距離，視覺更緊湊 */
    }

    .vote-item .name {
        font-size: 18px;
        letter-spacing: 0;
    }

    .vote-item .sub-name {
        font-size: 14px;
        margin-top: 4px;
    }
}

/* ================= 回到最上方按鈕 (現代極簡折線設計) ================= */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e75296;
    border-radius: 50%;
    /* 換成與主題色呼應的粉色發光陰影，比原本的黑影更有質感 */
    box-shadow: 0 4px 15px rgba(231, 82, 150, 0.4);
    z-index: 9999;
    display: none;
    transition: all 0.3s ease;
}

/* 👑 利用 CSS 畫出銳利、現代的 V 型折線箭頭 */
#back-to-top::before {
    content: '';
    position: absolute;
    top: 55%;
    /* 稍微往下壓一點，視覺上才會絕對置中 */
    left: 50%;
    width: 14px;
    height: 14px;
    /* 控制線條粗細與顏色 */
    border-top: 3px solid #ffffff;
    border-left: 3px solid #ffffff;
    /* 旋轉 45 度變成向上的箭頭，並精準定位 */
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform 0.3s ease;
}

/* Hover 懸浮特效：按鈕上浮、陰影加深 */
#back-to-top:hover {
    background-color: #c93b7a;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(231, 82, 150, 0.6);
}

/* Hover 懸浮特效：裡面的小箭頭也會跟著再往上推一點，增加細膩的互動感 */
#back-to-top:hover::before {
    transform: translate(-50%, -65%) rotate(45deg);
}

/* 手機版適配 */
@media screen and (max-width: 768px) {
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* 手機版箭頭等比例縮小 */
    #back-to-top::before {
        width: 12px;
        height: 12px;
        border-width: 2.5px;
    }
}

/* ================= 投票完成的狀態視覺 ================= */

/* ================= 投票完成的狀態視覺 (移除變淡) ================= */

/* 1. 外框：已投票的項目給予粉紅粗框與發光陰影，並微微放大 */
.voted-active .img-wrapper {
    border: 4px solid #e75296;
    box-shadow: 0 0 20px rgba(231, 82, 150, 0.5);
    position: relative;
    transform: scale(1.02);
    /* 讓選中的稍微突出 */
    transition: all 0.3s ease;
}

/* 2. 徽章：維持原本醒目的粉紅標籤 */
.voted-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e75296;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 3. 類別鎖定：拿掉 opacity 和 grayscale，僅保留游標鎖定 */
.category-disabled .vote-item {
    cursor: default !important;
    /* 讓滑鼠移上去不再是手指，而是普通箭頭 */
}

/* 4. 確保已投過的項目，滑鼠移上去不會再有縮放動畫（避免誤導可點擊） */
.category-disabled .vote-item:hover .img-wrapper img {
    transform: none;
}

/* 5. 讓已投過的區塊完全不產生任何滑鼠互動 */
.category-disabled .vote-item {
    pointer-events: auto;
    /* 維持自動，讓 JS 能攔截點擊但我們不處理 */
}

/* 已投票區塊內的所有卡片都停用手指游標 */
.category-disabled .vote-item {
    cursor: default !important;
}

/* 確保已選中的那一張也不會觸發 Hover 效果 */
.voted-active {
    pointer-events: none;
    /* 直接讓滑鼠事件穿透，點不到它 */
}

/* ================= 出席歌手頁面樣式 (移除陰影) ================= */

.artist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.artist-item {
    text-align: center;
}

.artist-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #eeeeee;
    /* 改用極淡細線取代陰影，更有質感 */
}

.artist-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 移除 Hover 時的陰影效果，僅保留圖片微縮放 */
.artist-item:hover .artist-img-wrapper img {
    transform: scale(1.05);
}

.artist-name {
    color: #e75296;
    font-size: 24px;
    font-weight: 700;
    margin-top: 15px;
    letter-spacing: 1px;
}

/* ================= 響應式設定 (手機裝置) ================= */
@media screen and (max-width: 768px) {

    /* 出席歌手在手機版的調整 */
    .artist-grid {
        gap: 30px 20px !important;
    }

    .artist-name {
        font-size: 18px;
    }
}

/* ================= 索票攻略樣式 (2026 最終正確顏色版) ================= */

.ticket-timeline {
    max-width: 850px;
    margin: 0 auto;
}

/* 基礎卡片設定 */
.ticket-card {
    border-radius: 25px;
    padding: 30px 40px;
    margin-bottom: 40px;
    position: relative;
    text-align: left;
}

/* --- 進行中樣式 (Active) --- */
.ticket-card.active {
    background-color: #ffffff;
    border: 3px solid #e75296;
}

/* --- 已結束樣式 (Expired) --- */
.ticket-card.expired {
    background-color: #999999;
    /* 灰色背景 */
    border: 3px solid #999999;
}

/* --- 標題列：包含第幾波與超大圓圈字 --- */
.ticket-header {
    display: flex;
    align-items: center;
    font-size: 28px;
    /* 🚨 調整：統一設為 28px */
    font-weight: 700;
    margin-bottom: 15px;
}

.wave-text {
    margin-right: 0px;
    /* 🚨 修正：歸零，因為全形冒號本身就有右側間距了 */
}

/* 🚨 圓圈字絕對置中與正圓修正 🚨 */
.first-word {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    box-sizing: border-box;
    /* 🚨 關鍵：確保加入 padding 後，總長寬依然鎖死在 56x56 的正圓 */
    flex-shrink: 0;
    /* 確保在任何螢幕寬度下都不會被擠壓變形 */
    line-height: 1;
    border-radius: 50%;
    margin: 0 10px 0 2px;
    /* 🚨 修正：左側距離縮減為 2px，讓它貼近冒號，右側保留 10px 推開後方文字 */
    font-weight: 700;
    font-size: 32px;
    padding-bottom: 4px;
    /* 維持微調，把中文字重心往上托 */
}

/* 狀態顏色切換 */
.active .ticket-header {
    color: #e75296;
}

.active .first-word {
    background-color: #e75296;
    color: #ffffff;
}

.expired .ticket-header {
    color: #000000;
}

.expired .first-word {
    background-color: #000000;
    color: #ffffff;
}

/* --- 👑 標題名稱字體大小修正 👑 --- */
.ticket-title {
    color: #e75296;
    font-size: 28px;
    /* 🚨 修正：從 32px 改為 28px，與上方保持同等大小 */
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* 當父層是 expired 時，標題強制變黑色 */
.ticket-card.expired .ticket-title {
    color: #000000 !important;
}

/* --- (中間省略原本的 .ticket-date, .ticket-body 等設定) --- */

/* --- 手機版 RWD 調整 --- */
@media screen and (max-width: 768px) {
    .ticket-card {
        padding: 20px;
    }

    .ticket-header {
        font-size: 22px;
    }

    .first-word {
        width: 44px;
        height: 44px;
        font-size: 24px;
        margin: 0 6px 0 2px;
        /* 🚨 手機版也同步縮減左側間距 */
        padding-bottom: 2px;
    }

    .ticket-title {
        font-size: 22px;
    }

    .ticket-body {
        font-size: 16px;
    }

    .btn-ticket {
        font-size: 16px;
        padding: 8px 20px;
    }
}

/* --- 🚨 活動狀態標籤 (縮小字體避免手機版折行) 🚨 --- */
.status-note {
    font-size: 18px;
    /* 電腦版設定為 18px，比主標題的 28px 小，產生層次感 */
    font-weight: 500;
    /* 稍微降低字重，不搶主標題風采 */
    color: #000000;
    /* 用灰色呈現已結束的狀態 */
    margin-left: 12px;
    /* 和前面的「就對了！」拉開一點距離 */
    white-space: nowrap;
    /* 👑 必殺技：保證這段文字絕對不會被從中間切斷折行 */
}

/* 手機版 RWD 追加設定 */
@media screen and (max-width: 768px) {
    .status-note {
        font-size: 14px;
        /* 手機版進一步縮小到 14px，絕對塞得下 */
        margin-left: 6px;
    }
}

/* --- 頁尾按鈕：淺藍底白字 --- */
.ticket-footer {
    text-align: right;
}

.btn-ticket {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    background-color: #5bc9f1;
    color: #ffffff !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-ticket:hover {
    background-color: #48b5db;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* --- 手機版 RWD 調整 --- */
@media screen and (max-width: 768px) {
    .ticket-card {
        padding: 20px;
    }

    .ticket-header {
        font-size: 20px;
    }

    .first-word {
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 22px;
        margin: 0 5px;
    }

    .ticket-title {
        font-size: 24px;
    }

    .ticket-body {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .btn-ticket {
        font-size: 16px;
        padding: 8px 20px;
    }
}

/* ================= FAQ 頁面樣式 ================= */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 50px;
}

/* 大分類標題 (如：票務與會場) */
.faq-category-title {
    color: #e75296;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* 分類標題右側的圖示 */
.faq-icon-main {
    font-size: 36px;
    font-weight: 300;
}

.faq-list-container {
    display: block;
    /* 預設展開 */
}

/* QA 項目容器 */
.faq-item {
    border-bottom: 1px solid #ffb6c1;
    /* 溫柔的粉紅分隔線 */
}

.faq-item:last-child {
    border-bottom: none;
    /* 最後一個項目不要底線 */
}

/* 問題區塊 (可點擊) */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* 確保文字折行時圖示仍靠上 */
    padding: 25px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover:not(.no-hover) {
    color: #e75296;
}

.faq-question .qt {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    line-height: 1.5;
    padding-right: 20px;
    /* 避免文字黏到加號 */
}

.faq-question .faq-icon {
    font-size: 24px;
    color: #333333;
    font-weight: 300;
    flex-shrink: 0;
    /* 防止加號被壓縮 */
}

/* 解答區塊 */
.faq-answer {
    padding: 0 0 25px 0;
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
}

/* 內文強調用粉紅色 (取代原本的 <font>) */
.highlight-pink {
    color: #e75296 !important;
    font-weight: 700;
    text-decoration: none;
}

.highlight-pink:hover {
    text-decoration: underline;
}

.fw-bold {
    font-weight: 700;
}

/* 底部回首頁按鈕 */
.btn-home {
    display: inline-block;
    background-color: #e75296;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    padding: 12px 40px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-home:hover {
    background-color: #c93b7a;
    color: #ffffff;
}

/* 手機版適配 */
@media screen and (max-width: 768px) {
    .faq-category-title {
        font-size: 26px;
    }

    .faq-question .qt {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 15px;
    }

    .faq-question {
        padding: 18px 0;
    }
}

/* ================= 你的集卡 (Game) 樣式 ================= */
.game-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* 讓第二排的 3 張卡片自動完美置中 */
    gap: 30px;
    max-width: 1100px;
    /* 🚨 關鍵修正：放寬容器，讓一排剛好能塞下 4 張卡 */
    margin: 0 auto;
    perspective: 1500px;
    /* 3D 景深 */
}

/* 確保卡片大小不變，維持精緻感 */
.card-box {
    width: 240px;
    height: 240px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ... 以下維持原本的設定 ... */

/* Hover 懸浮效果 (僅限可點擊或已翻開) */
.card-box.flipped:hover,
.card-box:has(.face-back.active):hover {
    transform: translateY(-10px);
}

.card-box.flipped:hover {
    transform: translateY(-10px) rotateY(180deg);
}

.card-box.flipped {
    transform: rotateY(180deg);
}

/* 卡片正反面基礎 */
.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 3px solid #ffdaeb;
    /* 預設淡粉色邊框 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* 正面 (抽到的圖) */
.face-front {
    transform: rotateY(180deg);
    z-index: 2;
}

.face-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

/* 背面 (您的底圖 gameback.jpg) */
.face-back {
    z-index: 1;
    position: relative;
}

.face-back .back-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 背面的文字與遮罩層 */
.back-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    /* 微微的亮面質感 */
}

/* 卡片文字 */
.day-text {
    color: #e75296;
    font-weight: 900;
    font-size: 18px;
    text-align: center;
    letter-spacing: 1px;
}

.status-text {
    color: #e75296;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
}

/* --- 狀態 1：今天 (可抽卡) --- */
.face-back.active {
    border-color: #e75296;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(231, 82, 150, 0.6);
    animation: pulse-pink 2s infinite;
}

@keyframes pulse-pink {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 82, 150, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(231, 82, 150, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(231, 82, 150, 0);
    }
}

/* --- 狀態 2：已過期 --- */
.face-back.expired {
    border-color: #cccccc;
}

/* 過期時底圖變灰暗 */
.face-back.expired .back-bg {
    filter: grayscale(100%) brightness(50%);
}

.face-back.expired .back-overlay {
    background: rgba(0, 0, 0, 0.3);
    /* 加深遮罩 */
}

.face-back.expired .day-text {
    color: #aaaaaa;
}

.face-back.expired .status-text {
    color: #ffffff;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8);
}

/* 手機版適配 */
@media screen and (max-width: 768px) {
    .card-box {
        width: 150px;
        height: 150px;
    }

    .game-container {
        gap: 15px;
    }

    .day-text {
        font-size: 14px;
        padding-top: -20px;
    }

    .status-text {
        font-size: 16px;
        padding-bottom: -20px;
    }
}

/* ================= 得獎名單樣式 ================= */

.winners-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    /* 給予一個白底卡片的高級感 */
    border: 1px solid #ffdaeb;
}

/* 類別標題：粉紅膠囊造型 */
.winner-cat {
    color: #ffffff;
    background-color: #e75296;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 25px;
    letter-spacing: 2px;
    box-shadow: 0 4px 10px rgba(231, 82, 150, 0.3);
}

/* 移除第一個標題的上方間距 */
.winners-wrapper .winner-cat:first-child {
    margin-top: 0;
}

/* 名單列表容器 */
.winner-list {
    list-style: none;
    /* 移除預設的黑點 */
    padding: 0;
    margin: 0 0 50px 0;
}

/* 單一名單項目 */
.winner-list li {
    font-size: 20px;
    color: #444444;
    font-weight: 700;
    line-height: 1.8;
    padding: 12px 15px 12px 40px;
    /* 左側留空間給音符圖示 */
    border-bottom: 1px dashed #ffb6c1;
    /* 粉色虛線分隔，更有氣質 */
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

/* 拿掉最後一個項目的底線 */
.winner-list li:last-child {
    border-bottom: none;
}

/* 列表 Hover 互動效果 */
.winner-list li:hover {
    background-color: #fff5f9;
    /* 滑鼠移過去顯示極淡粉色 */
    transform: translateX(5px);
    /* 微幅右移增加互動感 */
    border-radius: 8px;
    color: #e75296;
}

/* 自訂音樂符號圖示 (取代預設黑點) */
.winner-list li::before {
    content: '♪';
    /* 使用音符符號 */
    position: absolute;
    left: 15px;
    color: #e75296;
    font-size: 22px;
    font-weight: 700;
    top: 50%;
    transform: translateY(-50%);
}

/* 手機版適配 */
@media screen and (max-width: 768px) {
    .winners-wrapper {
        padding: 30px 20px;
    }

    .winner-cat {
        font-size: 20px;
        padding: 8px 20px;
        margin-bottom: 20px;
    }

    .winner-list li {
        font-size: 16px;
        padding: 10px 10px 10px 30px;
        line-height: 1.6;
    }

    .winner-list li::before {
        left: 5px;
        font-size: 18px;
    }
}

/* ================= 彈窗樣式微調 (SweetAlert2) ================= */
.swal2-title {
    /* 🚨 關鍵：改為標準粉紅色，!important 強制覆蓋外掛預設值 🚨 */
    color: #e75296 !important;

    font-weight: 700 !important;
    font-size: 28px !important;
    /* 加大一點字體，更有氣勢 */
    letter-spacing: 1px;

    /* Proactive Detail: 加上淡淡的粉紅光暈，增加質感 */
    text-shadow: 0 1px 2px rgba(231, 82, 150, 0.2);

    margin-bottom: 15px !important;
}

/* 🚨 修正 iOS Safari 輪播器底部框線被切斷的問題 */
.fademv .slick-list {
    padding-top: 2px;
    padding-bottom: 6px;
}