/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&display=swap');

:root {
    --bg-color: #F0F0F0;       
    --line-color: #555555;     
    --text-color: #333333;     
    --glass-bg: rgba(255, 255, 255, 0.25);
    --border-color: rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* 標題 */
header {
    margin-top: 70px;
    margin-bottom: 40px;
    text-align: center;
}

h1 {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 28px;
    margin: 0;
    color: var(--line-color);
    text-transform: uppercase;
}

.subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    color: #777;
    margin-top: 10px;
}

/* 網格佈局 */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 380px;
}

/* 卡片基礎樣式 */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    /* 關鍵的磨砂玻璃效果 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.5);
}

/* 首頁 Icon 卡片造型 */
.nav-card {
    height: 160px;
    border-radius: 80px 80px 10px 10px; /* 拱門造型 */
}

/* 第 5 個按鈕橫跨兩欄 */
.nav-card.full-width {
    grid-column: span 2;
    height: 100px;
    flex-direction: row;
    border-radius: 50px;
    gap: 15px;
}

.card-label {
    margin-top: 15px;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

/* SVG 線條設定 */
svg {
    stroke: var(--line-color);
    stroke-width: 1.2;
    fill: none;
}

/* --- 導覽播放頁 --- */
.player-wrapper {
    width: 100%;
    max-width: 350px;
    text-align: center;
    margin-top: 20px;
}

.album-art {
    width: 100%;
    height: 320px;
    border-radius: 160px 160px 0 0;
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.track-info h2 {
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.track-info p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    padding: 0 20px;
}

audio {
    width: 100%;
    margin-top: 30px;
    filter: grayscale(100%) opacity(0.8);
}

.back-btn {
    display: inline-block;
    margin-top: 50px;
    font-size: 12px;
    color: var(--line-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    letter-spacing: 2px;
    transition: 0.3s;
}
.back-btn:hover {
    border-bottom: 1px solid var(--line-color);
}
/* --- style.css 最下方加入 --- */

/* 新增文字區塊的容器 */
.intro-text-container {
    width: 88%;          /* 寬度設定比下方按鈕區塊稍微窄一點點 */
    max-width: 360px;    /* 限制最大寬度 */
    text-align: center;  /* 文字居中對齊 */
    margin-bottom: 30px; /* 與下方 Icon 保持距離 */
    margin-top: -10px;   /* 稍微拉近與上方標題的距離 */
}

/* 區塊內的標題 (永續進行室) */
.intro-text-container h2 {
    font-size: 22px;
    font-weight: normal; /* 不用粗體 */
    color: var(--text-color);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

/* 區塊內的內文段落 */
.intro-text-container p {
    font-size: 13px;     /* 字體稍小 */
    line-height: 1.7;    /* 行高拉大，增加閱讀舒適度 */
    color: #666;         /* 使用稍淺的灰色 */
    text-align: justify; /* 文字左右對齊 (為了符合截圖的方塊感) */
    letter-spacing: 0.5px;
}

/* 如果是在手機上，最後為了避免太貼底，增加 body 的下方內距 */
body {
    padding-bottom: 50px; 
}

/* --- style.css 最下方加入 --- */

.sdg-icon {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin-bottom: 10px;
    
    /* mix-blend-mode: multiply;  <-- 把它註解掉或直接刪除 */
    
    filter: grayscale(100%) opacity(0.7); /* 保持首頁灰色風格 */
    transition: all 0.3s ease;
}

/* 滑鼠移過去時，讓它恢復原本的彩色 (選用) */
.nav-card:hover .sdg-icon {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}