/* ==============================================================
   檔案名稱：partner-style.css
   功能說明：TC Gaming — 合作夥伴（Partner）頁面樣式表
   設計基準：1920px 固定寬度，透過 JS transform: scale() 等比縮放
   命名規則：
     - 共用元件：tcg- 前綴（與首頁一致）
     - 頁面專屬：tcg-pt- 前綴（pt = partner）
   瀏覽器支援：Chrome / Edge / Safari / Firefox，IE11 盡量相容
   ============================================================== */


/* ★ Web 共用樣式已移至 tcg-common-web.css ★ */


/* ★ 漢堡選單已移至 tcg-common-web.css ★ */

/* [Page-Specific] Partner 頁面樣式（Web 版）
   所有 web 規則均帶 .tcg-wrapper 前綴，確保不影響手機版
   ============================================================== */

/* ================================================================
   Web 版圖片尺寸控制
   ================================================================ */
.tcg-wrapper .tcg-pt-logo-img {
    max-width: 100%;
    height: auto;
}


/* ================================================================
   Hero Section（web 版）— 背景圖模式，高度 600px
   ================================================================ */
.tcg-wrapper .tcg-pt-hero {
    background: #F5F5F5 url('img/web/partner/about2_img_00_banner.png') no-repeat right center;
    -webkit-background-size: auto 100%;
    background-size: auto 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 111px;
}
.tcg-wrapper .tcg-pt-hero-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 600px;
    padding-top: 120px;
    padding-left: 226px;
}
.tcg-wrapper .tcg-pt-hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
    margin-top: -26px;
}
.tcg-wrapper .tcg-pt-hero-title {
    font-size: 51px;
    font-weight: 800;
    color: #262626;
    color: var(--tcg-text);
    margin-bottom: 99px;
}
.tcg-wrapper .tcg-pt-hero-btn {
    /* hook：可獨立調整 hero Contact Us 按鈕 */
}


/* ================================================================
   Partners Grid（web 版）— 合作伙伴 Logo 列表
   ================================================================ */
.tcg-wrapper .tcg-pt-partners {
    background: #FFFFFF;
    padding: 189px 0 80px;
}
/* 內容容器（獨立 hook） */
.tcg-wrapper .tcg-pt-partners-inner { }
/* 外層灰色圓角大卡片 */
.tcg-wrapper .tcg-pt-partners-card {
    background: #F7F7F9;
    border-radius: 20px;
    padding: 50px 60px 60px;
}
.tcg-wrapper .tcg-pt-partners-title {
    font-size: 52px;
    font-weight: 800;
    color: #262626;
    color: var(--tcg-text);
    text-align: center;
    margin-bottom: 71px;
    padding-top: 28px;
}
/* 5 欄 logo grid */
.tcg-wrapper .tcg-pt-partners-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
}
/* 單個 logo 格子 */
.tcg-wrapper .tcg-pt-logo-cell {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(20% - 13px);
    flex: 0 0 calc(20% - 13px);
    background: #FFFFFF;
    border-radius: 12px;
    height: 194px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 16px 20px;
    -webkit-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
}
.tcg-wrapper .tcg-pt-logo-cell:hover {
    -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
/* Logo 圖片：預設顯示 _normal，hover 時 JS 換成 _selected */
.tcg-wrapper .tcg-pt-logo-img {
    max-height: 100%;
    width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}
/* 懶加載完成後的淡入效果 */
.tcg-wrapper .tcg-pt-logo-img--loaded {
    -webkit-animation: tcgPtFadeIn 0.4s ease forwards;
    animation: tcgPtFadeIn 0.4s ease forwards;
}

@-webkit-keyframes tcgPtFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes tcgPtFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* ================================================================
   Partner Slider（web 版）— 分頁滑動圓點
   ================================================================ */
.tcg-wrapper .tcg-pt-slider-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    padding-bottom: 10px;
}
.tcg-wrapper .tcg-pt-slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #262626;
    opacity: 0.25;
    cursor: pointer;
    -webkit-transition: opacity 0.3s ease, background 0.3s ease;
    transition: opacity 0.3s ease, background 0.3s ease;
}
.tcg-wrapper .tcg-pt-slider-dot.is-active {
    background: #E5222B;
    opacity: 1;
}

/* ==============================================================
   [Partner 合作夥伴] tcg-m-pt- 前綴
   ============================================================== */
/* ── Hero（Banner 圖片模式） ── */
.tcg-wrapper-mobile .tcg-m-pt-hero {
    position: relative;
}
.tcg-wrapper-mobile .tcg-m-pt-hero-bg img {
    display: block;
    width: 100%;
}
.tcg-wrapper-mobile .tcg-m-pt-hero-title {
    position: absolute;
    top: 97px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
    font-size: 52px;
    font-weight: 900;
    color: #262626;
}
.tcg-wrapper-mobile .tcg-m-pt-hero-btn-wrap {
    position: absolute;
    bottom: 68px;
    left: 0;
    width: 100%;
    text-align: center;
}

/* ── Partners Grid ── */
.tcg-wrapper-mobile .tcg-m-pt-partners {
    background: #FFFFFF;
    padding: 20px 0 80px;
    padding-top: 119px;
}
/* 灰色圓角外框 */
.tcg-wrapper-mobile .tcg-m-pt-partners-card {
    background: #F5F5F5;
    border-radius: 24px;
    padding: 50px 24px 30px;
}
.tcg-wrapper-mobile .tcg-m-pt-partners-title {
    font-size: 55px;
    font-weight: 900;
    color: #262626;
    text-align: center;
    margin-bottom: 85px;
    padding-top: 30px;
}
/* 2 欄 grid */
.tcg-wrapper-mobile .tcg-m-pt-partners-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    padding-left: 38px;
    padding-right: 38px;
}
/* 每個 logo 獨立白色圓角方框 */
.tcg-wrapper-mobile .tcg-m-pt-partner-item {
    width: calc(50% - 10px);
    background: #FFFFFF;
    border-radius: 16px;
    padding: 37px 16px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 120px;
}
.tcg-wrapper-mobile .tcg-m-pt-partner-logo {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}
.tcg-wrapper-mobile .tcg-m-pt-partner-logo-img {
    display: block;
    width: 100%;
    height: auto;
}
.tcg-m-pt-partner-logo .tcg-img-placeholder {
    width: 100%;
    height: 60px;
    min-height: 60px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

/* ── Mobile Partner Slider 分頁圓點 ── */
.tcg-wrapper-mobile .tcg-pt-slider-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    padding-bottom: 10px;
}
.tcg-wrapper-mobile .tcg-pt-slider-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #262626;
    opacity: 0.25;
    cursor: pointer;
    -webkit-transition: opacity 0.3s ease, background 0.3s ease;
    transition: opacity 0.3s ease, background 0.3s ease;
}
.tcg-wrapper-mobile .tcg-pt-slider-dot.is-active {
    background: #E5222B;
    opacity: 1;
}

/* ★ Mobile 共用樣式已移至 tcg-common-mobile.css ★ */

