/* GS平台卡片輪播樣式 v1.0 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    padding: 20px;
    font-family: PingFang SC, miui, sans-serif;
}

/* 桌面版樣式 */
.platform-section {
    max-width: auto;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
    isolation: isolate;
    z-index: 0;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-left: 10px;
}

.section-title {
    color: #096AFF;
    font-size: 22px;
}

.swiper {
    width: 100%;
    padding: 10px;
    overflow: hidden;
    overflow-x: auto !important;
    scrollbar-width: thin; /* Firefox */
}

.swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
}

.swiper-slide {
    width: 180px !important;
    height: 180px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 20px !important;
}

.platform-card {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #1a1a2e;
}

.platform-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.platform-card:hover img {
    transform: scale(1.1);
}

.category-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(30, 81, 197, 0.8);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 2;
}

.play-button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    color: #fff;
    padding: 8px 24px;
    border-radius: 20px;
    border: 1px solid rgba(0, 123, 255, 0.8);
    display: inline-flex;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 3;
    background: transparent;
    font-size: 14px;
    text-decoration: none !important;
    text-align: center;
    line-height: 1.5;
}

.platform-card:hover .play-button {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card:hover .overlay {
    opacity: 1;
}

/* 手機版樣式 */
@media (max-width: 768px) {
    .platform-section {
        padding: 0 15px;
    }

    .swiper {
        padding: 5px;
    }

    .swiper-slide {
        width: 180px !important;
        height: 180px !important;
    }

    .title-container {
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 18px;
    }

    /* 保持與桌面版相同的懸浮效果 */
    .platform-card:hover .play-button {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    .platform-card:hover .overlay {
        opacity: 1;
    }

    .platform-card:hover img {
        transform: scale(1.1);
    }
}

/* 小型手機版樣式 */
@media (max-width: 480px) {
    .platform-section {
        padding: 0 10px;
    }

    .swiper-slide {
        width: 180px !important;
        height: 180px !important;
    }

    .section-title {
        font-size: 16px;
    }
}

.swiper-button-disabled {
    opacity: 0.3 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

/* Chrome 滾動條樣式 */
.swiper::-webkit-scrollbar {
    height: 8px;
}
.swiper::-webkit-scrollbar-thumb {
    background: #096AFF;
    border-radius: 4px;
}

/* 重置易優可能影響的樣式 */
.swiper-container * {
    box-sizing: content-box !important;
    float: none !important;
    position: static !important;
}
/* 以下省略完整樣式...保持原有所有樣式不變 */