:root {
    --main: #d70f64;
    --main-light: #fff0f5;
    --text: #343a40;
    --muted: #858b93;
    --border: #e9ecef;
    --bg: #f7f8fa;
    --success: #198754;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft JhengHei", "Noto Sans TC", sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none !important;
}

.site-nav{background:#fff;border-bottom:1px solid var(--line)}
.brand{font-size:1.18rem;font-weight:900;color:var(--pink)!important;letter-spacing:.2px}
.brand .fa{margin-right:7px}
.nav-note{font-size:.82rem;color:var(--muted)}
.hero{background:linear-gradient(120deg,#fff 0%,#fff0f6 100%);border:1px solid #f3d6e2;border-radius:20px;padding:30px 32px;margin:26px 0 20px}
.eyebrow{font-size:.75rem;letter-spacing:.12em;font-weight:900;color:var(--pink)}
.hero h1{font-size:2rem;line-height:1.25;font-weight:900;margin:8px 0 10px}
.hero p{max-width:850px;color:#596170;margin:0}
.hero-meta{font-size:.82rem;color:var(--muted);margin-top:14px}
.hero-stat{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;margin:14px 6px 0 0;background:#fff;border:1px solid #f0d3e0;border-radius:30px;font-size:.82rem;font-weight:700}


.page-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px 50px;
}

.main-layout {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.coupon-main {
    flex: 1;
    min-width: 0;
}

.right-sidebar {
    width: 225px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.left-subnav {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 16px;
    margin-bottom: 20px;
}

.left-subnav-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.subnav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subnav-list a {
    padding: 5px 13px;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: #666;
    font-size: 13px;
    transition: .2s;
}

.subnav-list a:hover,
.subnav-list a.active {
    background: var(--main);
    color: #fff;
    border-color: var(--main);
}

.section-block {
    margin-bottom: 28px;
    scroll-margin-top: 20px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.section-heading h2 {
    font-size: 19px;
    font-weight: 800;
    margin: 0;
}

.section-heading h2 i {
    color: var(--main);
    margin-right: 7px;
}

.section-count {
    font-size: 12px;
    color: var(--muted);
}

.coupon-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    transition: .2s;
    scroll-margin-top: 20px;
}

.coupon-card:hover {
    border-color: #f0a2c1;
    box-shadow: 0 3px 12px rgba(0,0,0,.045);
}

.coupon-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.coupon-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
}

.coupon-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

.coupon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

.meta-tag {
    display: inline-block;
    background: #f4f5f7;
    border-radius: 4px;
    padding: 3px 8px;
    color: #737981;
    font-size: 11px;
}

.status {
    flex-shrink: 0;
    border-radius: 20px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
}

.status-valid {
    color: #16784b;
    background: #e8f7ef;
}

.status-check {
    color: #a66a00;
    background: #fff5dc;
}

.status-expired {
    color: #888;
    background: #eee;
}

.coupon-code-box {
    background: #fff8fb;
    border: 1px dashed #ed9cba;
    border-radius: 7px;
    padding: 9px 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 13px;
    gap: 10px;
}

.coupon-code {
    font-size: 16px;
    font-weight: 800;
    color: var(--main);
    word-break: break-all;
}

.copy-btn {
    flex-shrink: 0;
    background: var(--main);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 6px 13px;
    font-size: 12px;
    cursor: pointer;
    transition: .2s;
}

.copy-btn:hover {
    background: #b90953;
    color: #fff;
}

.copy-btn.copied {
    background: var(--success);
}

.sidebar-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.sidebar-title {
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 4px;
}

.sidebar-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    color: #555;
    font-size: 13px;
    transition: .2s;
}

.sidebar-nav a i {
    width: 20px;
    color: var(--main);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--main-light);
    color: var(--main);
    font-weight: 700;
}

.sidebar-nav .nav-count {
    font-size: 11px;
    color: #999;
}

.month-link {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.month-link:hover,
.month-link.active {
    color: var(--main);
    background: var(--main-light);
}

.month-link i {
    color: var(--main);
    margin-right: 7px;
}

.month-anchor {
    scroll-margin-top: 20px;
    margin-bottom: 15px;
}

.month-anchor h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
}

.notice-box {
    padding: 13px 15px;
    background: #fff8e7;
    border: 1px solid #f3e0b0;
    border-radius: 8px;
    color: #84651f;
    font-size: 12px;
    margin-bottom: 18px;
}

.empty-note {
    color: var(--muted);
    font-size: 13px;
}

.faq-item{border-bottom:1px solid #ddd;padding:13px 0}.faq-item:last-child{border-bottom:0}.faq-q{font-weight:900;margin-bottom:4px}.faq-a{font-size:.87rem;color:#596170}

footer{background:#242936;color:#d9dce4;margin-top:30px;padding:27px 0;font-size:.84rem}
footer a{color:#ffd4e5}

/* Tablet */
@media (max-width: 991px) {
    .right-sidebar {
        width: 190px;
    }
    .hero{padding:25px}

}

/* Mobile */
@media (max-width: 767px) {
    .hero{padding:22px 18px;margin:17px 0 15px;border-radius:15px}.hero h1{font-size:1.62rem}.hero p{font-size:.91rem}

    .main-layout {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .coupon-main {
        width: 100%;
    }

    .right-sidebar {
        width: 100%;
        position: static;
        order: -1;
    }

    .right-sidebar .sidebar-box {
        margin-bottom: 10px;
        padding: 11px;
    }

    .sidebar-title {
        margin-bottom: 8px;
        padding-bottom: 7px;
    }

    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 6px;
        scrollbar-width: none;
        padding-bottom: 3px;
    }

    .sidebar-nav::-webkit-scrollbar {
        display: none;
    }

    .sidebar-nav li {
        margin: 0;
        flex-shrink: 0;
    }

    .sidebar-nav a {
        border: 1px solid var(--border);
        padding: 6px 12px;
        border-radius: 20px;
    }

    .sidebar-nav .nav-count {
        display: none;
    }

    .month-list {
        display: flex;
        gap: 8px;
    }

    .month-link {
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 5px 12px;
        margin: 0;
        white-space: nowrap;
    }

    .left-subnav {
        padding: 11px;
        margin-bottom: 15px;
    }

    .subnav-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        padding-bottom: 3px;
    }

    .subnav-list::-webkit-scrollbar {
        display: none;
    }

    .subnav-list a {
        flex-shrink: 0;
    }

    .coupon-card {
        padding: 13px;
        margin-bottom: 10px;
    }

    .coupon-title {
        font-size: 15px;
    }

    .section-heading h2 {
        font-size: 17px;
    }

    .coupon-code {
        font-size: 15px;
    }
}

@media (max-width: 525px) {
    .hero h1{font-size:1.45rem}
    
    .coupon-card {
        padding: 11px;
    }

    .coupon-code-box {
        padding: 8px;
    }

    .copy-btn {
        padding: 6px 10px;
    }
}