* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: url('https://authserver.sgmtu.edu.cn/authserver/cusThemeWhite/bg/bg1.png') center/cover fixed no-repeat;
    min-height: 100vh;
    color: #333;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(31, 38, 135, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logos {
    display: flex;
    gap: 10px;
}

.header-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.welcome-title {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.welcome-text {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    white-space: nowrap;
}

.services-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.service-card {
    flex: 0 0 320px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(31, 38, 135, 0.1);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(31, 38, 135, 0.18);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

#gpt-card .service-title {
    color: #10A37F;
}

#vscode-card .service-title {
    color: #0074d9;
}

#cloud-card .service-title {
    color: #1296DB;
}

#luogu-card .service-title {
    color: #3498DB;
}

#campus-card .service-title {
    color: #FED501;
}

.service-subtitle {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 12px;
    font-weight: 500;
}

.service-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    white-space: pre-wrap;
}

.network-hint {
    font-size: 0.85rem;
    color: #e53935;
    margin-top: 10px;
    margin-bottom: 0;
}

.service-btn {
    padding: 14px 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 35px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.147);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(31, 38, 135, 0.1);
}

#gpt-card .service-btn {
    color: #10A37F;
}

#vscode-card .service-btn {
    color: #0074d9;
}

#cloud-card .service-btn {
    color: #1296DB;
}

#luogu-card .service-btn {
    color: #3498DB;
}

#campus-card .service-btn {
    color: #FED501;
}

.service-btn:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(31, 38, 135, 0.15);
}

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

.features-section {
    padding: 30px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.features-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 30px rgba(31, 38, 135, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
}

.feature-text {
    font-size: 0.95rem;
    color: #555;
}

.footer {
    text-align: center;
    padding: 25px;
    margin-top: 30px;
    color: #000000;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .logo-section {
        flex-direction: column;
        text-align: center;
    }

    .main-title {
        font-size: 1.6rem;
    }

    .sub-title {
        font-size: 1.1rem;
    }

    .welcome-section {
        padding: 25px 15px;
    }

    .welcome-title {
        font-size: 1.4rem;
    }

    .services-section {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px 15px;
    }
}