﻿.primary-color {
    /* 背景主色 */
    background-color: rgb(33, 42, 90);
    /* background-size: auto; */
    /* background-color: rgb(168, 36, 36); */
    background-attachment: fixed;
    /* background-color: #D4145A; */

}

@media (max-width:768px) {
    .primary-color {
        background-image: none;
    }
}

.content-surface {
    /* 次色 */
    background-color: rgb(93, 26, 188);
    /* background-color: #ED1E79; */

}

.content-surface2 {
    /* 次色 */
    background-color: rgb(61, 53, 53);
    background-color: #794CA1;
    /* background-color: plum; */
    /* background-color: #c356d1; */
}

.page-tab-background {
    background-color: #5685D1;
    /* background-color: rgb(161, 27, 27); */
    background-color: #794CA1;
    /* background-color: #5685D1; */
    /* border: #ffffff 3px solid; */
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.bg-btn {
    background: rgb(2, 0, 36);
    background: linear-gradient(0deg, rgba(2, 0, 36, 1) 0%, rgba(181, 30, 30, 1) 35%, rgba(218, 36, 36, 1) 63%, rgba(255, 0, 0, 1) 100%);
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.bg-btn-active {
    background-color: #D4145A;

}

.page-panel {
    /* background-color: #794CA1; */
    /* background-color: #432b97; */
    border: orange 0.2rem solid;
    margin-top: 1rem;
    margin-bottom: 1rem;
    /* border-top: 0 orange solid; */
    /* border-left: orange 0.5rem solid; */
    /* border-right: orange 0.5rem solid; */
    /* glass  */
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    /* border-radius: 16px; */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* height: 1vh; */
}

.btn-title {
    display: block;
}


strong {
    /* 字重用強調色 */
    color: yellow;
    /* border-bottom: #ff1395 10px solid; */
    /* font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; */
    /* font-weight: 600; */
}

strong2 {
    /* 字重用強調色 */
    color: rgb(0, 255, 132);
    /* border-bottom: #ff1395 10px solid; */
    /* font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; */
    /* font-weight: 600; */
}







/* ------main------ */
.content-card .box {
    /* border: 1px white solid; */


}

.content-card .box .subsection-heading {
    border-left: 0.4rem solid whitesmoke;
    /* height: 2.5rem; */
}

.content-card .box .subsection-heading h2 {
    /* background: #000; */
    margin-left: 0.5rem;
    text-shadow: 3px 3px 2px black;
}



.content-card {
    margin-top: 1rem;
    /* border: 15px solid red; */
    border-radius: 0.5rem;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0rem 0.1rem 0.5rem rgb(58, 46, 58);
    border: white 1.5px solid;


}

.content-card:hover {
    /* scale:1.02; */
    /* transition: 0.3s ease-in-out; */
}

.content-card p {
    font-weight: bold;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    /* background-color: black; */
    /* background-color: rgb(94, 29, 94); */
    background-color: #4b085c;

    padding: 1rem 1.25rem;
    text-align: center;
    letter-spacing: 0;
    line-height: 1.8;

    /* effect */
    /* border: orange 3px dashed; */
    border: rgba(255, 255, 255, 0.75) 2px solid;

    max-width: min(920px, 92%);

}

@media (max-width:768px) {
    .content-card p {
        font-size: 1rem;
        line-height: 1.7;
        border: 1px solid rgba(255, 255, 255, 0.35);
        max-width: 100%;
        text-align: center;
        padding: 0.85rem;

    }

    ul {
        padding: 0;
    }
}

.content-card img {
    /* text-align: center; */
    width: 100%;
    max-width: 100%;

    height: auto;
    /* aspect-ratio: 4/19; */
    object-fit: cover;
}

.section-box {
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    /* justify-items: center; */
    /* align-items: center; */

}

.inner-box {
    border: #ff1395 solid 5px;
}

.small-box {
    width: auto;
    height: auto;
    max-height: auto;
    background-color: #ff1395;
    aspect-ratio: 1/1;
    border: 2px solid #ddd;
    /* margin: 1rem; */

}



/* ------main-END------ */
/* 注意事項 */
.notice-list {
    /* border: red 3px solid; */

    /* padding: 0rem 0.5rem 0rem 0rem; */
}

.notice-list ul {}

.notice-list ul li {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    list-style: none;
    /* letter-spacing: 0.5rem; */
    line-height: 1.7;
    padding: 1rem 0rem;

}

@media (max-width:768px) {
    .notice-list {
        /* padding: 0rem 0.1rem 1rem 1rem; */
        padding-top: 1rem;
        padding-right: 0.4rem;
        /* margin-top: 1rem; */
    }

    .notice-list ul li {
        /* padding: 0; */
        font-size: 1rem;
        padding: 0rem 0rem 1rem 0.25rem;
        line-height: 1.6;
        letter-spacing: 0;

    }
}

.notice-list ul li img {
    max-width: 20px;
    height: auto;
    align-items: center;
    margin-bottom: 8px;
    margin-right: 10px;
}

/* ------按鈕------ */
.object-box {
    width: 100%;
    display: inline-block;
    margin: auto;
    align-items: center;
    justify-content: center;
    /* margin-top: 1rem; */
    /* border: 15px solid red; */
    /* border-radius: 15px; */
    /* box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); */
    margin: 0;
    padding: auto;

}

.content-card-button {
    /* width: 600px; */
    width: 10dvw;
    /* height: 240px; */
    background-position: center;
    /* border: 3px solid rgb(97, 16, 16); */
    z-index: -10;
    /* background-color: rgb(121, 118, 118); */
    text-align: center;
    margin: auto;
    /* justify-content: center; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    box-shadow: 2px 2px 10px black;


}

.content-card-button a {
    font-weight: bold;
    font-size: 2rem;
    color: rgb(32, 43, 41);
    text-decoration: none;
    margin: auto;
    line-height: 90px;

}

.content-card-button a:hover {

    /* color: white; */
    /* transition: 0.5s ease-in-out; */


}

.content-card-button:hover {
    scale: 0.9;
    font-size: 2rem;

    /* color: white; */
    background-color: red;
    text-decoration: none;
    margin: auto;
    /* line-height: 90px; */
    transition: 0.5s ease-in-out;

}



/* 帶圖小標 title*/
.section-heading {
    margin: auto;
    width: 90%;
    min-height: 4.5rem;
    height: auto;
    padding: 1rem 0 0.5rem;
    /* border: 3px solid purple; */
    display: flex;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.section-heading-label {
    text-align: center;

    margin: auto;
    width: 100%;
    font-size: 2rem;
    height: auto;


}

.section-heading-label h2 {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    color: aliceblue;
    font-weight: bold;
    -webkit-text-stroke: 1px rgba(0, 0, 128, 0.7);
    text-shadow: 0px 2px 3px black;
    line-height: 1.25;


}

@media (max-width: 768px) {
    .section-heading {
        margin: auto;
        width: 100%;
        min-height: 0;
        height: auto;
        padding: 0.75rem 0 0.25rem;
        /* border: 3px solid purple; */
        display: flex;
        justify-content: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .section-heading-label {
        text-align: center;

        margin: auto;
        width: auto;
        font-size: 2rem;
        height: 3rem;
        background-image: none;
    }

    .section-heading-label h2 {
        font-size: 1.55rem;
        /* font-weight: bold; */
        color: aliceblue;
        text-shadow: 2px 2px 2px black;
    }
}


/* 背景滿版 */
body {
    background: url('../images/page-background.jpg') no-repeat center center fixed;
    background-size: cover;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

/* 主視覺區塊 */
.hero-media {
    overflow: hidden;
}

.hero-media img {
    width: 100%;
}

.hero-media .hero-desktop {
    display: inline-block;
}

.hero-media .hero-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-media .hero-desktop {
        display: none;
    }

    .hero-media .hero-mobile {
        display: inline-block;
    }
}

/* 玻璃立體按鈕 */
.tab-button {
    width: 100%;
    min-height: 4.25rem;
    padding: 0.8rem 0.7rem;
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: bold;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.tab-button:focus-visible {
    outline: 3px solid #ffd95a;
    outline-offset: 3px;
}

.tab-button.active {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.search-input {
    max-width: 560px;
    width: min(100%, 560px);
}

@media (max-width: 768px) {
    .page-tabs .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .tab-button {
        min-height: 3.8rem;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .page-panel {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
}

/* 內容圖片比例 */
.content-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 特約網咖列表 */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.address-card {
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.address-card h5 {
    font-weight: bold;
    line-height: 1.4;
}

.address-card a {
    color: inherit;
    text-decoration: none;
}

/* 回到頂部按鈕 */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 217, 90, 0.96), rgba(229, 121, 28, 0.96));
    border: 2px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.25s ease, visibility 0.3s;
}

#back-to-top i {
    display: block;
    font-size: 1.85rem;
    line-height: 1;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#back-to-top:hover {
    color: #fff;
    transform: translateY(-3px);
}

#back-to-top:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 768px) {
    #back-to-top {
        right: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
    }

    #back-to-top i {
        font-size: 1.55rem;
    }
}

.floating-download-btn {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 9999;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0.85;
    cursor: pointer;
    transform: translateX(0);
    animation: breathing 2.5s ease-in-out infinite;
    transition: transform 0.3s, opacity 0.3s;
}

.floating-download-btn:hover,
.floating-download-btn:focus-visible {
    opacity: 1;
    transform: scale(1.08);
}

.floating-download-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes breathing {
    0%, 100% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

/* 頁尾 */
.social-links a {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.8rem;
    color: #bbb;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: white;
    transform: scale(1.2);
}

.footer {
    background-color: #000;
    color: #777;
    font-size: 0.9rem;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-divider {
    width: 2px;
    height: 50px;
    background-color: rgb(158, 158, 158);
}

.announcement-ticker {
  width: 100%;
  background: rgba(12, 10, 20, 0.96);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0;
  border-top: 1px solid rgba(255, 217, 90, 0.35);
  border-bottom: 1px solid rgba(255, 217, 90, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.2);
}

.announcement-ticker::before {
  content: "公告";
  position: absolute;
  left: 12px;
  top: 50%;
  z-index: 2;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #ffd95a;
  color: #211326;
  font-size: 0.85rem;
  transform: translateY(-50%);
}

.announcement-ticker::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 8rem;
  background: linear-gradient(90deg, rgba(12, 10, 20, 1), rgba(12, 10, 20, 0));
  pointer-events: none;
}

.announcement-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  will-change: transform;
  animation: announcement-ticker 28s linear infinite;
}

@keyframes announcement-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .announcement-ticker {
    font-size: 0.9rem;
  }

  .announcement-ticker::before {
    left: 8px;
    font-size: 0.75rem;
  }

  .announcement-track {
    animation-duration: 34s;
  }
}

/* ===== 全站視覺重整 ===== */
:root {
  --surface: rgba(18, 22, 34, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.08);
  --surface-card: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.18);
  --gold: #ffd95a;
  --gold-deep: #d89124;
  --teal: #55dbc5;
  --ink: #10131d;
}

body {
  color: #fff;
}

.page-tabs {
  max-width: 1120px;
}

.page-tabs .tab-button {
  min-height: 4rem;
  border-radius: 10px;
  background: rgba(16, 19, 29, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.page-tabs .tab-button:hover {
  background: rgba(255, 217, 90, 0.14);
}

.page-tabs .tab-button.active {
  color: #2a1a11;
  background: linear-gradient(180deg, var(--gold), #f1a94a);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(255, 217, 90, 0.18);
}

.page-section.page-panel {
  max-width: 1120px;
  padding: clamp(1.25rem, 3vw, 2.5rem) !important;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 22, 34, 0.9), rgba(32, 25, 54, 0.86));
  border: 1px solid rgba(255, 217, 90, 0.22);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page-section > .text-light.text-center:first-child {
  padding: 0.25rem 0 1rem !important;
}

.page-section h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  color: #1c1724;
  background: linear-gradient(180deg, #fff2a8, var(--gold));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.content-card {
  margin-top: 1.15rem;
  padding: clamp(0.9rem, 2vw, 1.25rem) !important;
  border-radius: 12px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.content-surface {
  background-color: var(--surface-card);
}

.section-heading {
  width: 100%;
  min-height: 0;
  padding: 0 0 0.8rem;
}

.section-heading-label h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(85, 219, 197, 0.13);
  border: 1px solid rgba(85, 219, 197, 0.35);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.section-heading-label h2::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px rgba(85, 219, 197, 0.8);
}

.content-card p {
  border: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.activity-period {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.activity-period.active-period {
  color: #1c1724 !important;
  background: linear-gradient(180deg, #fff2a8, var(--gold)) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22), 0 0 0 3px rgba(255, 217, 90, 0.18);
}

.activity-period.active-period::before {
  content: "目前";
  display: inline-flex;
  align-items: center;
  margin-right: 0.55rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  color: #fff;
  background: #1c1724;
  font-size: 0.85rem;
  line-height: 1;
}

strong {
  color: var(--gold);
}

.table-responsive {
  overflow-x: auto;
  border: 0;
  background: transparent;
}

.table {
  width: min(100%, 760px) !important;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  margin-bottom: 0 !important;
}

.table-bordered > :not(caption) > * {
  border-width: 0;
}

.table-bordered > :not(caption) > * > * {
  border-width: 0 1px 1px 0;
}

.table-bordered > :not(caption) > * > *:last-child {
  border-right-width: 0;
}

.table tbody tr:last-child > * {
  border-bottom-width: 0;
}

.table-dark {
  --bs-table-bg: rgba(12, 16, 24, 0.84);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
  --bs-table-border-color: rgba(255, 255, 255, 0.12);
}

.table-info {
  --bs-table-bg: #ffe08a;
  --bs-table-color: #1d1720;
}

.notice-list ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.notice-list ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-list ul li img {
  flex: 0 0 auto;
  margin: 0.2rem 0 0;
}

.notice-list {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-list ul {
  display: block;
}

.notice-list ul li {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.65rem 0;
}

.notice-list ul li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gift-image,
.content-card .container > img.img-fluid {
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

@media (max-width: 768px) {
  .page-section.page-panel {
    padding: 1rem !important;
    border-radius: 10px;
  }

  .page-section h1 {
    width: 100%;
    border-radius: 10px;
  }

  .content-card {
    border-radius: 10px;
  }

  .section-heading-label h2 {
    width: 100%;
    justify-content: center;
  }
}

/* 標題對齊微調 */
.page-section h1 {
  padding-left: clamp(1.75rem, 5vw, 3.5rem);
  padding-right: clamp(1.75rem, 5vw, 3.5rem);
}

.section-heading {
  justify-content: flex-start;
  margin-left: 0;
  margin-right: 0;
}

.section-heading-label {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-heading-label h2 {
  justify-content: flex-start;
  text-align: left;
}

@media (max-width: 768px) {
  .section-heading-label {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .section-heading-label h2 {
    justify-content: flex-start;
    text-align: left;
  }
}





