/* TemplateData/mobile-gateway.css */

/* 移动端全屏容器 */
#gateway-wrapper.mobile-mode {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /* 引用你提供的绿色背景图 */
    background: url('background_mobile.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
}
#gateway-wrapper.mobile-mode {
    position: fixed;
    top: 0; 
    left: 0;        /* 确保从左边界开始 */
    width: 100vw;   /* 使用 100vw 确保占满视口宽度 */
    height: 100vh;  /* 使用 100vh 确保占满视口高度 */
    
    background: url('background_mobile.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;    /* 居中子元素的核心 */
    justify-content: flex-start;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
}

/* 顶部标题 - 白色带阴影适配浅色背景 */
.mobile-system-notice-header {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
    margin-bottom: 40px;
}

/* 信息卡片 */
#gateway-card.mobile-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 26px;
    padding: 40px 20px;
    width: 88%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    margin-bottom: 50px;
}
#gateway-card.mobile-card {
    /* --- 关键新增开始 --- */
    position: relative !important;  /* 强制重置定位 */
    left: auto !important;          /* 取消原来的 left: 50% */
    transform: none !important;     /* 取消原来的 translateX(-50%) */
    margin-left: auto !important;   /* 水平居中保险 */
    margin-right: auto !important;  /* 水平居中保险 */
    /* --- 关键新增结束 --- */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 26px;
    padding: 40px 20px;
    width: 88%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    margin-bottom: 50px;
}

.mobile-card .gateway-title { font-size: 24px; font-weight: 800; margin-bottom: 10px; color: #000; }
.mobile-card .gateway-msg { font-size: 16px; color: #333; line-height: 1.6; margin-bottom: 35px; white-space: pre-line; }

.mobile-card .gateway-btn {
    background: #000; color: #fff; border: none; padding: 16px;
    border-radius: 14px; font-weight: 700; width: 100%;
    font-size: 18px; cursor: pointer;
}

/* 底部社媒区 */
.mobile-social-footer { width: 100%; text-align: center; }
.social-icons { display: flex; justify-content: center; gap: 15px; margin-bottom: 25px; }
.social-icons a {
    color: #000; background: rgba(255,255,255,0.95);
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 22px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.official-link {
    color: #fff; font-weight: 700; letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6); text-decoration: none; font-size: 14px;
}
