/* ==========================================
   Lazy Sheep - Transparent & Split Pixel Footer CSS
   ========================================== */

/* 1. 頁尾占位點容器 */
#footer-placeholder {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

/* 2. 頁尾外層容器：完全透明背景 */
.site-footer {
    width: 100%;
    background: transparent;
    border-top: none;
    box-shadow: none;
    color: #ccc;
    padding: 40px 24px 30px 24px;
    margin-top: 60px;
    position: relative;
    z-index: 100;
    box-sizing: border-box;
}

/* 3. 內容中央容器 */
.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* 4. 上半部橫列：左右兩端對齊 */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
}

/* 上半部左側：品牌 Logo 與名稱 */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    object-fit: contain;
    filter: drop-shadow(2px 2px 0px #000);
}

.footer-title {
    font-family: 'Press Start 2P', cursive;
    color: #ffff55;
    font-size: 1.15rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px #000, 0 0 8px rgba(0, 0, 0, 0.9);
}

/* 上半部右側：按鈕連結區塊 */
.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-link {
    color: #ffaa00;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 8px 16px;
    background-color: rgba(26, 26, 26, 0.85);
    border: 2px solid #000;
    box-shadow: inset -2px -2px 0px #000, inset 2px 2px 0px #444, 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
}

.footer-link:hover {
    color: #ffffff;
    background-color: rgba(42, 42, 42, 0.95);
    border-color: #ffaa00;
    box-shadow: inset -2px -2px 0px #553300, inset 2px 2px 0px #ffcf40, 0 6px 14px rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

/* 5. 下半部橫列：靠左對齊版權與免責聲明 */
.footer-bottom-row {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.footer-copyright-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    align-items: flex-start;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #ddd;
    margin: 0;
    text-shadow: 1px 1px 3px #000, 0 0 6px rgba(0, 0, 0, 0.9);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: #aaa;
    margin: 0;
    line-height: 1.5;
    max-width: 800px;
    text-shadow: 1px 1px 3px #000, 0 0 6px rgba(0, 0, 0, 0.9);
}

/* 6. RWD 手機版支援 */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 16px 20px 16px;
        margin-top: 40px;
    }
    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-links {
        width: 100%;
        justify-content: flex-start;
    }
}