/* 全域基礎重設，統一邊距、內距與盒模型 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 設定首頁整體畫面尺寸、背景色與隱藏捲軸 */
html, body {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    overflow: hidden;
}

/* 六角排列容器，作為中央定位基準點 */
.hex-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

/* 六個外圍圖片的共用尺寸與置中方式 */
.hex-item {
    position: absolute;
    width: 150px;
    height: 150px;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* 上方中央圖片位置 */
.gif-01 { transform: translate(calc(-50% + 0px),    calc(-50% - 260px)); }
/* 右上圖片位置 */
.gif-02 { transform: translate(calc(-50% + 225px),  calc(-50% - 130px)); }
/* 右下圖片位置 */
.gif-03 { transform: translate(calc(-50% + 225px),  calc(-50% + 130px)); }
/* 下方中央圖片位置 */
.gif-04 { transform: translate(calc(-50% + 0px),    calc(-50% + 260px)); }
/* 左下圖片位置 */
.gif-05 { transform: translate(calc(-50% - 225px),  calc(-50% + 130px)); }
/* 左上圖片位置 */
.gif-06 { transform: translate(calc(-50% - 225px),  calc(-50% - 130px)); }

/* 中央可點擊主圖的尺寸、層級與滑鼠效果 */
.center-click {
    width: 120px;
    height: 120px;
    cursor: pointer;
    transition: opacity 0.2s;
    z-index: 10;
}
/* 中央主圖滑入時透明度效果 */
.center-click:hover { opacity: 0.8; }

/* 右下角說明文字位置與字體樣式 */
.bottom-text {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-weight: bold;
    font-size: 14px;
    text-align: right;
    color: #000000;
}

/* 手機版響應式調整：縮小圖片尺寸與六角排列距離 */
@media (max-width: 768px) {
    /* 手機版六角外圍圖片尺寸 */
    .hex-item { width: 100px; height: 100px; }
    /* 手機版上方中央圖片位置 */
    .gif-01 { transform: translate(calc(-50% + 0px),    calc(-50% - 180px)); }
    /* 手機版右上圖片位置 */
    .gif-02 { transform: translate(calc(-50% + 156px),  calc(-50% - 90px)); }
    /* 手機版右下圖片位置 */
    .gif-03 { transform: translate(calc(-50% + 156px),  calc(-50% + 90px)); }
    /* 手機版下方中央圖片位置 */
    .gif-04 { transform: translate(calc(-50% + 0px),    calc(-50% + 180px)); }
    /* 手機版左下圖片位置 */
    .gif-05 { transform: translate(calc(-50% - 156px),  calc(-50% + 90px)); }
    /* 手機版左上圖片位置 */
    .gif-06 { transform: translate(calc(-50% - 156px),  calc(-50% - 90px)); }
    /* 手機版中央可點擊主圖尺寸 */
    .center-click { width: 90px; height: 90px; }
}
