/* 基礎背景：電路板與螢幕暗角 */
body {
    background: #050a10 url('/resources/Empty_Dark.png') no-repeat center center fixed;
    background-size: cover;
    color: #e0e0e0;
    font-family: 'Segoe UI', 'Microsoft JhengHei', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    /* 增加深色內陰影，模擬螢幕邊緣暗角，提升沉浸感 */
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.8);
}

/* 主容器：居中佈局 */
.register-container {
    background: rgba(0, 0, 0, 0.4); /* 背景遮罩加深，突顯卡片 */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 核心卡片：霓虹藍邊框與毛玻璃效果 */
.register-card {
    background: rgba(10, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(0, 212, 255, 0.5);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    /* 同時包含外發光與內部微妙的電子感 */
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

/* 標題：強效霓虹光輝 */
/* 標題：高銳利霓虹效果 */
.glow-text {
    color: #00d4ff;
    /* 第一層：深色極細描邊確保字體輪廓清晰 */
    /* 第二層：中度藍色發光 */
    /* 第三層：大範圍但極淡的環境光暈 */
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 1), /* 強制邊界銳利化 */
    0px 0px 8px rgba(0, 212, 255, 0.8), /* 核心發光 */
    0px 0px 15px rgba(0, 212, 255, 0.3); /* 遠程擴散 */

    font-weight: 900; /* 加粗字重可減少模糊感 */
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 0.25rem;
    /* 增加平滑抗鋸齒 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 副標題：字級放大與質感強化 */
.text-muted {
    /* 漸變色優化：增加中心亮點 */
    background: linear-gradient(to bottom, #fffce0 0%, #e7c055 50%, #a47d21 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 1.15rem; /* 從 0.9rem 放大至 1.15rem */
    font-weight: 700; /* 加粗提升辨識度 */
    margin-bottom: 2.2rem;
    letter-spacing: 3px; /* 增加字距，讓文字更有呼吸感、更像軟體介面 */
    /* 強化陰影，解決模糊感並提升立體度 */
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.9));
    display: block; /* 確保文字置中效果正常 */
}

/* 輸入框標籤 */
.form-label {
    color: #00d4ff;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 5px;
    margin-bottom: 0.5rem;
}

/* 表單輸入框：深邃黑底 */
.form-control {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    color: #ffffff !important;
    padding: 0.85rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        background: rgba(0, 0, 0, 0.8) !important;
        border-color: #00d4ff !important;
        box-shadow: 0 0 12px rgba(0, 212, 255, 0.4) !important;
        outline: none;
    }

/* 註冊按鈕：鮮豔藍漸變 */
.btn-primary {
    background: linear-gradient(135deg, #1e52f0 0%, #002db3 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 0.85rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #2b61ff 0%, #0037db 100%);
        box-shadow: 0 0 20px rgba(30, 82, 240, 0.6);
        transform: translateY(-1px);
    }

    .btn-primary:active {
        transform: scale(0.98);
    }

/* 下方連結樣式 */
.link-cyan {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
}

    .link-cyan:hover {
        color: #80eaff;
        text-decoration: underline;
    }

/* 底部 Footer 容器 */
.register-footer {
    text-align: center;
    border-top: none !important; /* 確保徹底移除分隔線 */
    margin-top: 2rem;
}

/* 底部官網連結：強化亮度與對比 */
.footer-link {
    /* 使用飽和度較高的亮金色 */
    color: #ffd700 !important;
    text-decoration: none;
    font-size: 0.9rem; /* 稍微放大字級 */
    font-weight: 600;
    letter-spacing: 2px;
    /* 加入深色文字陰影，確保在亮部背景上也能看清 */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85; /* 平時維持 85% 亮度 */
}

    .footer-link:hover {
        color: #ffffff !important; /* 懸停時變為白金色，增加回饋感 */
        opacity: 1;
        text-shadow: 0 0 15px #ffd700, 0 0 5px #ffffff;
        text-decoration: none;
        transform: translateY(-1px); /* 輕微上浮 */
    }

/* 強制移除 ASP.NET Core 預設產生的所有底部干擾線與文字 */
footer,
.border-top,
footer.border-top,
.container footer {
    display: none !important;
    border: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 確保 body 沒有底部的內距，讓背景完全貼合 */
body {
    padding-bottom: 0 !important;
}