/* mobile.css - 主页面移动端样式 */
/* 字体资源已移至 css/fonts.css */

:root {
    --primary-color:#9e94d8;
    --secondary-color:#333333;
    --background-color:#f2eefc;
    --card-bg:#FAFAFA;
    --text-color:#444444;
    --online-color:#00BFA6;
    --nav-bg:rgba(109, 91, 154, 0.8);
    --nav-bg-scroll:rgba(44, 62, 80, 1);
    --button-hover:#b6ade6;
}
/* 移动端主页样式 - 从 styles.css 提取 */

/* 网站状态信息移动端样式 */
.website-status-info {
    gap: 15px;
    margin: 20px 0 10px 0;
}

.status-item {
    padding: 6px 10px;
    font-size: 0.85em;
}

/* 主页英雄区域移动端样式 */
.hero-title {
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
}

.hero-actions {
    justify-content: center;
}

.btn-hero {
    padding: 12px 24px;
    font-size: 1rem;
}

.features-grid {
    grid-template-columns: 1fr;
}

/* 移动端过渡区域样式 */
.transition-section {
    height: 120px;
}

.wave-divider {
    height: 120px;
}

/* 移动端Footer过渡区域样式 */
.footer-transition-section {
    height: 100px;
}

.footer-wave-divider {
    height: 100px;
}

/* 移动端团队布局优化 */
.team-section {
    padding: 60px 0;
}

.team-container {
    padding: 0 15px;
}

.team-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.team-card {
    padding: 25px 20px;
    border-radius: 16px;
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.team-name {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.team-role {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.team-links {
    gap: 12px;
    margin-top: 15px;
}

.team-link {
    width: 40px;
    height: 40px;
}

.team-link i {
    font-size: 16px;
}

.section-title {
    font-size: 2rem;
}

/* 超小屏幕样式 */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .server-status-card {
        padding: 20px;
    }
    
    .feature-card,
    .server-card {
        padding: 30px 20px;
    }
}

/* 导航栏主题切换按钮 */
.nav-theme-toggle {
    display: flex;
    align-items: center;
    margin: 0 15px;
    margin-right: auto;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.theme-toggle-btn i {
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover i {
    transform: rotate(180deg);
}

/* 深色主题变量 */
.dark-theme {
    --primary-color: #a78bfa;
    --primary-gradient: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
    --secondary-color: #f1f5f9;
    --background-color: #0f172a;
    --background-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --card-bg: #1e293b;
    --card-bg-hover: #334155;
    --text-color: #e2e8f0;
    --text-secondary: #cbd5e1;
    --online-color: #10b981;
    --nav-bg: rgba(15, 23, 42, 0.8);
    --nav-bg-scroll: #1e293b;
    --button-hover: #c4b5fd;
    --accent-color: #f59e0b;
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(71, 85, 105, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.4);
}

/* 导航栏样式已移至 navigation.css */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

header {
    padding-top: 200px;
}

.logo-and-text {
    display: flex;
    align-items: center;
}

/* 移动端样式 */
@media (max-width: 896px) {
    .container {
        padding: 40px 16px;
        margin-top: 12px;
    }
}

.LuminolMC {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
}

.LuminolMC:hover {
    color: var(--button-hover);
}

.right-align {
    margin-left: 0;
}

.status-box {
    position: relative;
    padding: 16px 20px;
    /* margin-bottom: 60px; */
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    text-align: center;
    overflow: hidden;
}
.Pure-h2 {
    position: relative;
    margin-bottom: 25px;
    margin-left: -1%;
    color: var(--secondary-color);
    text-align: center;
    font-size: clamp(1.8em, 5vw, 2.5em);
}
.Comprehensive-h2 {
    position: relative;
    margin-bottom: 25px;
    margin-left: -1%;
    color: var(--secondary-color);
    text-align: center;
    font-size: clamp(1.8em, 5vw, 2.5em);
}
.Pure-h2::after, .Comprehensive-h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
}

@media (max-width: 846px) {
    .Pure-h2 {
        position: relative;
        margin-bottom: 25px;
        margin-left: -1%;
        color: var(--secondary-color);
        text-align: center;
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .Comprehensive-h2 {
        position: relative;
        margin-bottom: 25px;
        margin-left: -1%;
        color: var(--secondary-color);
        text-align: center;
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .Pure-h2::after, .Comprehensive-h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    .section p {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.1em;
    }

}
/* 我们团队 */
@media (max-width: 1024px) {
    #team .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 846px) {
    #team .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    #team .team-grid {
        grid-template-columns: 1fr;
    }
}

/* 移动端header元素位置调整 */
@media (max-width: 846px) {
    .header-content {
        margin-top: -20px;
        padding: 0 15px;
    }
    
    .status-box {
        margin-top: -15px;
        margin-bottom: 10px;
        padding: 12px 6rem;
    }
    
    .server-config-section {
        display: none;
    }
}

/* 首页移动端样式 - 从 index.html 提取 */
@media (max-width: 846px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 15px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        padding: 12px 24px;
        font-size: 1rem;
        /* width: 100%;
        max-width: 250px; */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .server-card {
        padding: 30px 20px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .server-status-card {
        padding: 20px 15px;
    }
    
    .server-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 20px 10px;
        gap: 20px;
    }
    
    .server-status-card {
        padding: 15px 10px;
    }
    
    .feature-card,
    .server-card {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-hero {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* 系统深色主题自动应用 */
@media (prefers-color-scheme: dark) {
    :root:not(.dark-theme) {
        --primary-color: #a78bfa;
        --secondary-color: #f1f5f9;
        --background-color: #0f172a;
        --card-bg: #1e293b;
        --text-color: #e2e8f0;
        --nav-bg: rgba(15, 23, 42, 0.8);
        --nav-bg-scroll: #1e293b;
    }
    
    :root:not(.dark-theme) body {
        background: var(--background-color) !important;
        color: var(--text-color) !important;
    }
    
/* 导航栏样式已移至 navigation.css */
    
    :root:not(.dark-theme) footer {
        background: linear-gradient(135deg, #0a0f1c 0%, #1a1f2e 100%) !important;
        border-top: 1px solid rgba(71, 85, 105, 0.3) !important;
    }
    
    :root:not(.dark-theme) .footer-column h3 {
        color: #c4b5fd !important;
    }
    
    :root:not(.dark-theme) .footer-column a {
        color: #cbd5e1 !important;
    }
    
    :root:not(.dark-theme) .footer-column a:hover {
        color: #c4b5fd !important;
    }
    
    :root:not(.dark-theme) .copyright-info {
        border-top: 1px solid rgba(71, 85, 105, 0.3) !important;
        color: #94a3b8 !important;
    }
    
    /* 服务器区域深色主题 */
    :root:not(.dark-theme) .servers-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    }
    
    :root:not(.dark-theme) .server-card {
        background: rgba(30, 41, 59, 0.8) !important;
        border: 1px solid rgba(71, 85, 105, 0.3) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    }
    
    :root:not(.dark-theme) .server-card:hover {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4) !important;
    }
    
    :root:not(.dark-theme) .server-status-card {
        background: rgba(30, 41, 59, 0.6) !important;
        border: 1px solid rgba(71, 85, 105, 0.3) !important;
    }
    
    /* 系统深色主题下主题切换按钮适配 */
    :root:not(.dark-theme) .theme-toggle-btn {
        background: rgba(71, 85, 105, 0.3) !important;
        border: 1px solid rgba(71, 85, 105, 0.5) !important;
        color: #e2e8f0 !important;
    }
    
    :root:not(.dark-theme) .theme-toggle-btn:hover {
        background: rgba(71, 85, 105, 0.5) !important;
    }
}