/* ================================================================
   1. 基礎設定
   ================================================================ */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang TC", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
    background-color: #f4f6f8;
    color: #2c3e50;
    line-height: 1.5;
}

/* ================================================================
   2. 頂部導覽列
   ================================================================ */
.main-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo .logo-title {
    font-family: "Arial Black", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #111111;
    line-height: 1.1;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.logo .tagline {
    font-family: "PingFang TC", "Heiti TC", "Microsoft JhengHei", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 12px;
    text-align: center;
}

/* Logo 捲動變色 */
.main-header.header-scrolled .logo .logo-title {
    color: #00f5a0 !important;
    transition: color 0.5s ease;
}

/* ================================================================
   3. 導覽列選單
   ================================================================ */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu ul li a {
    padding: 10px 18px;
    font-weight: 700;
    font-size: 15px;
    color: #4a5568;
    transition: color 0.2s;
    text-decoration: none;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #00f5a0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* ================================================================
   4. 語言下拉選單
   ================================================================ */
.lang-dropdown {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #e2e8f0;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lang-dropdown-btn:hover {
    background: #f1f5f9;
    color: #00f5a0;
}

.lang-dropdown-btn .fa-globe {
    font-size: 15px;
}

.lang-dropdown-btn .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.lang-dropdown-btn.open .fa-chevron-down {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.96);
    transition: all 0.2s ease;
    z-index: 999;
    border: 1px solid #f1f5f9;
}

.lang-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
    gap: 12px;
}

.lang-option:hover {
    background: #f8fafc;
    color: #00f5a0;
}

.lang-option.active {
    color: #00f5a0;
    background: rgba(0, 245, 160, 0.06);
}

.lang-option .fa-check {
    font-size: 12px;
    color: #00f5a0;
}

/* ================================================================
   5. Hero 搜尋區（首頁）
   ================================================================ */
.hero-search-section {
    background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.5)), url('/images/home/travocer-homepage-travel.png');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-overlay h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-overlay p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.search-bar-container {
    background: #fff;
    padding: 6px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.search-icon {
    color: #a0aec0;
    padding: 0 15px;
    font-size: 18px;
}

.search-bar-container input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: #333;
}

.search-bar-container button {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.search-bar-container button:hover {
    background: #00f5a0;
}

/* ================================================================
   6. 快捷按鈕區（首頁）
   ================================================================ */
.quick-categories {
    max-width: 1300px;
    margin: -30px auto 40px auto;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.category-pills {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pill-item {
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-weight: 700;
    color: #2d3748;
    transition: all 0.2s;
    text-decoration: none;
}

.pill-item i {
    color: #00f5a0;
    font-size: 18px;
}

.pill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(52, 211, 153, 0.2);
}

/* ================================================================
   7. 主容器與標題
   ================================================================ */
.site-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.mega-section {
    margin-bottom: 60px;
}

.block-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.block-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    background: #00f5a0;
    border-radius: 2px;
}

.section-title {
    margin-top: 50px;
    margin-bottom: 25px;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 800;
    position: relative;
    padding-left: 15px;
}

.section-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    background: #00f5a0;
    border-radius: 2px;
}

/* ================================================================
   8. 文章標籤（共用）
   ================================================================ */
.tag-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.travel-hacks   { background: #fb82f6; }
.food-map       { background: #ed3459; }
.safety-tips    { background: #b406e4; }
.finance-tips   { background: #3fc6f1; }
.asia-travel    { background: #2ecc71; }
.adventure      { background: #e67e22; }
.romance        { background: #e84393; }
.road-trip      { background: #0984e3; }

/* ================================================================
   9. 首頁：混合焦點網格（1大卡 + 3側邊橫卡）
   ================================================================ */
.featured-hybrid-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.4fr;
    gap: 30px;
}

.main-feat-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.card-img-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.card-text {
    padding: 25px;
}

.card-text h3 {
    font-size: 24px;
    margin: 12px 0;
    font-weight: 800;
    line-height: 1.3;
}

.card-text p {
    color: #718096;
    font-size: 15px;
    margin-bottom: 15px;
}

.card-date {
    font-size: 13px;
    color: #a0aec0;
}

.sub-feat-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sub-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    cursor: pointer;
    transition: transform 0.2s;
}

.sub-card:hover {
    transform: translateX(4px);
}

.sub-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.sub-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sub-card-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 8px;
    line-height: 1.4;
}

/* ================================================================
   10. 首頁：促銷 Banner
   ================================================================ */
.promo-banner-section {
    width: 100%;
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.green-promo-card {
    background: #00f5a0;
    border-radius: 20px;
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 10px 25px rgba(0, 245, 160, 0.2);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.promo-content-left {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.promo-badge {
    background: #0f172a;
    color: #00f5a0;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.green-promo-card h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 0 8px 0;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.green-promo-card p {
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.5;
    opacity: 0.9;
}

.promo-btn {
    background: #0f172a;
    color: #ffffff;
    padding: 11px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.promo-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    color: #00f5a0;
}

.promo-image-slot {
    flex-shrink: 0;
    z-index: 2;
}

.image-card-wrapper {
    position: relative;
    width: 280px;
    height: 175px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    border: 3px solid #ffffff;
    transition: transform 0.3s ease;
}

.green-promo-card:hover .image-card-wrapper {
    transform: rotate(0deg) scale(1.03);
}

.promo-slot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #00f5a0;
    backdrop-filter: blur(4px);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
}

/* ================================================================
   11. 四欄式網格（首頁 & 分類頁共用）
   ================================================================ */
.quad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.grid-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.grid-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.grid-content {
    padding: 18px;
}

.grid-item h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 8px 0;
    line-height: 1.4;
}

.grid-date {
    font-size: 12px;
    color: #a0aec0;
}

.clean-grid-anchor {
    text-decoration: none;
    color: inherit;
}

/* ================================================================
   12. 分類頁 Banner
   ================================================================ */
   .premium-category-banner {
    background-color: #0f172a;  /* background-color 當 fallback */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.premium-category-banner::before {
    display: none;
}

.banner-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #00f5a0;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.banner-title {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0;
}

/* ================================================================
   13. 分類頁 Spotlight 最新文章
   ================================================================ */
.spotlight-container {
    margin-bottom: 60px;
}

.spotlight-heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111;
    margin-bottom: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spotlight-heading::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: #e2e8f0;
}

.spotlight-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.spotlight-img-wrap {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.spotlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.spotlight-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.35;
    color: #111;
    margin: 12px 0 18px 0;
}

.spotlight-summary {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ================================================================
   14. 文章頁（完整樣式）
   ================================================================ */
   .article-wrapper {
    background: #f4f6f8;
    padding: 30px 0 60px;
    width: 100%;
}

.article-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0px 20px;
    width: 100%;
    box-sizing: border-box;
}

.article-main {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* 麵包屑 */
.article-breadcrumb {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    font-size: 14px;
    color: #94a3b8;
}

.article-breadcrumb a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s;
}

.article-breadcrumb a:hover {
    color: #00f5a0;
}

.article-breadcrumb .breadcrumb-separator {
    margin: 0 8px;
    color: #cbd5e1;
}

.article-breadcrumb .breadcrumb-current {
    color: #00f5a0;
    font-weight: 600;
}

/* 文章標題 */
.article-header {
    margin-top: 32px;
    margin-bottom: 32px;
}

.article-header .tag-label {
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    display: inline-block;
}

.article-header h1 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.3;
    color: #1a202c;
    margin-bottom: 16px;
    word-break: break-word;
}

/* 文章 Meta 資訊 */
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: #718096;
    font-size: 14px;
}

.article-meta i {
    margin-right: 4px;
}

.article-meta .meta-divider {
    color: #e2e8f0;
}

/* 精選圖片 */
.article-featured-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    background: #fff;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* 文章內文 */
.article-body {
    font-size: 18px;
    line-height: 1.9;
    color: #2d3748;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.article-body p {
    margin-bottom: 24px;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 40px 0 16px 0;
    color: #1a202c;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 12px 0;
    color: #1a202c;
}

.article-body ul,
.article-body ol {
    margin: 16px 0 24px 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    border-left: 4px solid #00f5a0;
    padding-left: 20px;
    margin: 24px 0;
    color: #4a5568;
    font-style: italic;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* 文章分隔線 */
.article-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #00f5a0, transparent);
    margin: 40px 0;
}

/* 社群分享 */
.article-share {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 24px;
    background: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.article-share-label {
    font-weight: 700;
    color: #4a5568;
}

.article-share a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    transition: opacity 0.2s, transform 0.2s;
}

.article-share a:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.article-share .share-fb {
    background: #1877f2;
}

.article-share .share-tw {
    background: #000;
}

.article-share .share-line {
    background: #00c300;
}

.article-share .share-wa {
    background: #25D366;
}

/* 相關文章 */
.related-section {
    max-width: 820px;
    width: 100%;
    margin: 50px auto 0;
    padding: 0;
    box-sizing: border-box;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.related-section h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a202c;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-card .related-content {
    padding: 16px;
}

.related-card .related-content h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a202c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card .related-content .related-date {
    font-size: 12px;
    color: #a0aec0;
    margin-top: 8px;
}

/* ================================================================
   15. 優惠碼頁
   ================================================================ */
.coupon-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.coupon-hero h1 {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
}

.coupon-hero p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.filter-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-pill {
    padding: 8px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    background: #fff;
    color: #4a5568;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    border-color: #00f5a0;
    color: #00f5a0;
}

.filter-pill.active {
    background: #00f5a0;
    border-color: #00f5a0;
    color: #0f172a;
}

.coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.coupon-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.coupon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.coupon-card .coupon-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.coupon-card .discount-tag {
    font-size: 28px;
    font-weight: 900;
    color: #00f5a0;
    background: rgba(0, 245, 160, 0.1);
    padding: 4px 16px;
    border-radius: 8px;
    white-space: nowrap;
}

.coupon-card .coupon-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.4;
}

.coupon-card .coupon-code-area {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    margin: 12px 0;
}

.coupon-card .coupon-code {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0f172a;
    flex: 1;
    font-family: monospace;
}

.coupon-card .copy-btn {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.coupon-card .copy-btn:hover {
    background: #00f5a0;
    color: #0f172a;
}

.coupon-card .coupon-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #94a3b8;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 8px;
}

.coupon-card .exclude-badge {
    font-size: 12px;
    color: #e53e3e;
    background: rgba(229, 62, 62, 0.08);
    padding: 2px 10px;
    border-radius: 12px;
}

.coupon-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #a0aec0;
}

.coupon-empty i {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    color: #cbd5e1;
}

/* ================================================================
   16. 404 頁
   ================================================================ */
.error-wrapper {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    font-size: 80px;
    color: #e2e8f0;
    margin-bottom: 20px;
    display: block;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    color: #00f5a0;
    margin: 0;
    line-height: 1;
    text-shadow: 0 4px 30px rgba(0, 245, 160, 0.15);
}

.error-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a202c;
    margin: 16px 0 12px;
}

.error-message {
    font-size: 18px;
    color: #718096;
    margin-bottom: 32px;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #0f172a;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.error-btn:hover {
    background: #00f5a0;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 245, 160, 0.3);
}

.error-suggestions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.error-suggestions h4 {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 12px;
}

.error-suggestions a {
    color: #00f5a0;
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px;
}

.error-suggestions a:hover {
    text-decoration: underline;
}

/* ================================================================
   17. 載入更多按鈕
   ================================================================ */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: transparent;
    border: 2px solid #2d3748;
    padding: 12px 35px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-load-more:hover {
    background: #2d3748;
    color: #fff;
}

/* ================================================================
   18. 頁尾
   ================================================================ */
.main-footer {
    background: #1a202c;
    color: #a0aec0;
    text-align: center;
    padding: 30px;
    font-size: 14px;
    margin-top: 50px;
}

/* ================================================================
   19. 響應式設計
   ================================================================ */

/* 平板 */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid #e2e8f0;
        z-index: 999;
    }

    .nav-menu.active ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active ul li {
        width: 100%;
    }

    .nav-menu.active ul li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .menu-toggle {
        display: block;
    }

    .featured-hybrid-grid {
        grid-template-columns: 1fr;
    }

    .hero-overlay h1 {
        font-size: 28px;
    }

    .promo-banner-section {
        margin: 30px auto;
        padding: 0 15px;
    }

    .green-promo-card {
        flex-direction: column;
        padding: 24px 20px;
        text-align: left;
        gap: 20px;
    }

    .promo-content-left {
        width: 100%;
    }

    .green-promo-card h2 {
        font-size: 1.5rem;
    }

    .promo-image-slot {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .image-card-wrapper {
        width: 100%;
        max-width: 320px;
        height: 140px;
        transform: rotate(0deg);
    }

    .lang-dropdown {
        margin: 15px 0 0 0;
        padding: 12px 0 0 0;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        width: 100%;
    }

    .lang-dropdown-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 15px;
    }

    .lang-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 8px;
        background: #f8fafc;
        margin-top: 4px;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.25s ease;
        padding: 0;
    }

    .lang-dropdown-menu.open {
        opacity: 1;
        visibility: visible;
        max-height: 120px;
        padding: 4px 0;
    }

    .lang-option {
        padding: 10px 20px;
        justify-content: center;
        gap: 10px;
    }

    .coupon-grid {
        grid-template-columns: 1fr;
    }

    .coupon-hero h1 {
        font-size: 28px;
    }

    .coupon-hero p {
        font-size: 16px;
    }
}

/* 手機 */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2rem;
    }

    .spotlight-card {
        grid-template-columns: 1fr;
    }

    .spotlight-img-wrap {
        min-height: 200px;
    }

    .spotlight-content {
        padding: 24px;
    }

    .spotlight-title {
        font-size: 1.4rem;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .article-body {
        font-size: 16px;
        padding: 24px;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .article-body h3 {
        font-size: 20px;
    }

    .article-share {
        padding: 16px;
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-breadcrumb {
        font-size: 13px;
    }

    .category-article-grid {
        grid-template-columns: 1fr;
    }

    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 22px;
    }

    .error-message {
        font-size: 16px;
    }

    .error-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* 小手機 */
@media (max-width: 480px) {
    .category-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-header h1 {
        font-size: 24px;
    }

    .article-meta {
        font-size: 13px;
        gap: 10px;
    }

    .article-body {
        font-size: 15px;
        padding: 16px;
    }

    .article-share a {
        font-size: 12px;
        padding: 6px 12px;
    }

    .category-article-card .card-image {
        height: 180px;
    }

    .coupon-card .coupon-top {
        flex-direction: column;
    }

    .coupon-card .discount-tag {
        font-size: 22px;
    }
}