/* Twitter page specific styles */
body.twitter-page {
    background-color: #f0f2f5; /* 与Facebook页面相同的背景色 */
}
 
.twitter-content .main-title {
    color: #1DA1F2; /* Twitter主题色 */
} 

/* 保留特定的Bootstrap 5樣式但避免覆蓋全局字體和基本樣式 */
.rounded-4 {
    border-radius: 1rem;
}
.btn-danger {
    background-color: #1DA1F2;
    border-color: #1DA1F2;
}
.btn-danger:hover {
    background-color: #0c85d0;
    border-color: #0c85d0;
}
.text-danger {
    color: #1DA1F2 !important;
}
.badge {
    font-weight: 500;
}
.twitter-hero-image {
    max-width: 100%;
    height: auto;
}
/* 修復可能的衝突，但保留原有字體 */
.card {
    border: none;
}
.card-body {
    padding: 1.5rem;
}
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.text-center {
    text-align: center !important;
}
.bg-success {
    background-color: #198754 !important;
}
.bg-light {
    background-color: #f8f9fa !important;
}
.text-dark {
    color: #212529 !important;
}
.text-muted {
    color: #6c757d !important;
}
.text-primary {
    color: #1DA1F2 !important; /* Twitter主题色 */
}
.text-success {
    color: #198754 !important;
}

/* Twitter特定樣式 */
/* 合作夥伴數字樣式 */
.partner-number {
    color: #8a4bdb !important;
}

/* 立即體驗按鈕懸停效果 */
.btn-primary {
    background-color: #1DA1F2; /* Twitter主题色 */
    border-color: #1DA1F2; /* Twitter主题色 */
}

.btn-primary:hover {
    background-color: transparent !important;
    color: #1DA1F2 !important; /* Twitter主题色 */
    border-color: #1DA1F2 !important; /* Twitter主题色 */
}

/* 確保Twitter第一屏的按鈕與Facebook頁面一致 */
.twitter-content .hero-section .btn-primary {
    background-color: #1DA1F2 !important;
    border-color: #1DA1F2 !important;
    font-size: 1rem !important;
    padding: 0.375rem 1.5rem !important;
}

.twitter-content .hero-section .btn-primary:hover {
    background-color: transparent !important;
    color: #1DA1F2 !important;
    border-color: #1DA1F2 !important;
}

/* 評分樣式 */
.rating-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.rating-item {
    width: 100px;
    margin: 0 10px;
}
.logo-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
}
.rating-logo {
    max-height: 56px;
    max-width: 110px;
}
.rating-stars {
    font-size: 14px;
    line-height: 1;
    margin-bottom: 3px;
}
.rating-score {
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 2px;
    font-weight: 500;
}
.rating-count {
    font-size: 12px;
    line-height: 1;
    color: #6c757d;
    margin-bottom: 0;
}

/* 移動端樣式 */
@media (max-width: 768px) {
    .rating-logos {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 5px 0;
    }
    .rating-item {
        flex: 0 0 auto;
    }
}

/* 確保使用網站原有字體 */
.twitter-content h1,
.twitter-content h2,
.twitter-content h3,
.twitter-content h4,
.twitter-content h5,
.twitter-content p,
.twitter-content a,
.twitter-content span,
.twitter-content div {
    font-family: inherit;
}

/* 自定義圖標背景 */
.custom-icon-bg {
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e6eb 100%);
    border-color: #e4e6eb;
} 

/* 從PHP文件轉移的樣式 - 開始 */
/* 確保第一屏按鈕大小與Instagram相同 */
.hero-section .btn-lg {
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
}

/* 確保所有按鈕字號一致 */
.btn--base {
    font-size: 1rem !important;
}
/* 從PHP文件轉移的樣式 - 結束 */ 