/* ==========================================
   Discount Page Styles (明亮網格風格)
   ========================================== */

/* 確保與全站一致的淺色背景 */
.page-background {
    background-color: #f4f7f6;
    min-height: calc(100vh - 150px);
    padding-bottom: 60px;
}

.discount-page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ==========================================
   Hero Section (對齊最新情報的設計)
   ========================================== */
.discount-hero {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 20px;
    background: linear-gradient(135deg, #2b323a 0%, #1a1e24 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 裝飾性背景紋理 (可依需求替換為真實圖片) */
.discount-hero .hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.discount-hero .hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 0 20px;
}

.discount-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.discount-hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================
   Card Grid Layout (雙欄網格系統)
   ========================================== */
.discount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* 響應式：手機版轉為單欄 */
@media (max-width: 768px) {
    .discount-grid {
        grid-template-columns: 1fr;
    }
    .discount-hero {
        height: 200px;
    }
    .discount-hero h1 {
        font-size: 2rem;
    }
}

/* ==========================================
   Discount Card Styles (純白質感卡片)
   ========================================== */
.discount-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.discount-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

/* Pill 標籤設計 (致敬截圖) */
.country-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.tag-thailand {
    background-color: #fdf2f2;
    color: #c53030;
}

.tag-vietnam {
    background-color: #ebf8ff;
    color: #2b6cb0;
}

/* 折扣亮點文字 */
.discount-highlight {
    font-weight: 700;
    color: #d97706; /* 暖金色系 */
    font-size: 1.05rem;
}

.discount-highlight i {
    margin-right: 4px;
}

/* 店家名稱 */
.store-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

/* 卡片內文區域 */
.card-body {
    flex-grow: 1; /* 讓按鈕可以對齊底部 */
}

.deal-rule, .deal-contact {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.deal-rule i, .deal-contact i {
    margin-top: 4px;
    margin-right: 8px;
    color: #94a3b8;
}

/* 卡片底部按鈕 */
.card-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
}

.store-link-btn {
    display: inline-flex;
    align-items: center;
    color: #0284c7;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.store-link-btn i {
    margin-left: 6px;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.store-link-btn:hover {
    color: #0369a1;
}

.store-link-btn:hover i {
    transform: translateX(4px);
}