/* --- 遊戲規章頁面專用樣式 --- */

/* 規章主容器 */
.rule-container {
    padding: 20px 0;
    color: #e0e0e0;
}

/* 每個區塊的卡片樣式 */
.rule-card {
    background: rgba(30, 30, 30, 0.8); /* 半透明深黑背景 */
    border: 1px solid #444;
    border-left: 4px solid #ffa500; /* 左側橘金色裝飾線 */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-5px); /* 滑鼠移過去微微上浮 */
    border-color: #ffa500;
}

/* 區塊標題 */
.rule-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    
    /* 金屬漸層文字效果 */
    background: linear-gradient(45deg, #ff00ff, #ffa500); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* 規章列表 */
.rule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rule-list li {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 15px;
    padding-left: 10px;
}

/* 條目編號強調 */
.rule-no {
    color: #ffa500;
    font-weight: bold;
    margin-right: 5px;
    display: block; /* 手機版換行顯示標題，比較整齊 */
    font-size: 16px;
}

/* 內文強調色 (原本的 Magenta/Yellow) */
.text-highlight {
    color: #f1c40f;
    font-weight: bold;
}

.text-danger-custom {
    color: #ff4444;
}

/* LINE 按鈕樣式 */
.btn-line-contact {
    display: inline-block;
    background-color: #00c300; /* LINE 綠色 */
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 195, 0, 0.5);
    transition: all 0.3s;
}

.btn-line-contact:hover {
    background-color: #00e000;
    box-shadow: 0 0 20px rgba(0, 195, 0, 0.8);
    transform: scale(1.05);
}

/* 手機版調整 */
@media (max-width: 768px) {
    .rule-title {
        font-size: 1.5rem;
    }
    .rule-card {
        padding: 15px;
    }
}