* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif
}

body {
    background: #f4f4f4;
    color: #333;
    line-height: 1.7
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px
}

.header {
    background: #111;
    color: #fff;
    padding: 20px 0;
    position: relative;
    z-index: 99
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap
}

.logo h1 {
    color: #ff6c00;
    font-size: 28px;
    margin-bottom: 5px
}

.logo p {
    font-size: 13px;
    color: #aaa
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 24px;
    font-size: 16px;
    transition: .3s
}

.nav a:hover {
    color: #ff6c00
}

.banner {
    background: linear-gradient(90deg, #ff5a00, #ff2a00);
    color: #fff;
    padding: 80px 0;
    text-align: center
}

.banner h2 {
    font-size: 42px;
    margin-bottom: 15px
}

.banner p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto
}

.btn {
    display: inline-block;
    background: #fff;
    color: #ff6c00;
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: .3s
}

.btn:hover {
    background: #111;
    color: #fff
}

.main {
    padding: 40px 0
}

.section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 35px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .05)
}

.section-title {
    text-align: center;
    margin-bottom: 40px
}

.section-title h2 {
    font-size: 32px;
    color: #ff6c00;
    margin-bottom: 12px;
    position: relative;
    display: inline-block
}

.section-title h2:after {
    content: "";
    width: 70%;
    height: 4px;
    background: #ff6c00;
    position: absolute;
    bottom: -10px;
    left: 15%
}

.section-title p {
    color: #666;
    font-size: 17px
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px
}

.card {
    padding: 25px;
    border-radius: 8px;
    background: #fafafa;
    border-left: 5px solid #ff6c00
}

.card h3 {
    color: #ff6c00;
    font-size: 22px;
    margin-bottom: 12px
}

.card p {
    color: #555;
    font-size: 15px
}

.normal-card {
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px
}

.normal-card h3 {
    font-size: 21px;
    margin-bottom: 10px
}

.server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 10px
}

.server-item:hover {
    background: #fff3eb
}

.tag {
    background: #ff6c00;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700
}

.name {
    font-weight: 700;
    font-size: 16px
}

.time {
    color: #666
}

.enter-btn {
    background: #ff6c00;
    color: #fff;
    padding: 7px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px
}

.news-item {
    padding: 20px;
    border-bottom: 1px dashed #eee
}

.news-item h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 8px
}

.news-item p {
    color: #666
}

.tool-box {
    background: linear-gradient(135deg, #222, #333);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 35px
}

.tool-box h3 {
    color: #ff6c00;
    margin-bottom: 15px
}

.tool-list li {
    list-style: none;
    padding: 8px 0;
    font-size: 15px
}

.footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 40px 0
}

.footer p {
    margin-bottom: 10px;
    font-size: 15px
}

@media(max-width:1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:768px) {
    .grid-3,
    .grid-2,
    .grid-4 {
        grid-template-columns: 1fr
    }
    .header .container {
        flex-direction: column;
        text-align: center
    }
    .nav {
        margin-top: 20px
    }
    .nav a {
        margin: 0 10px
    }
    .server-item {
        flex-direction: column;
        gap: 10px;
        text-align: center
    }
}

        #iframeContainer {
            width: 1200px;
            margin: 0 auto;
            overflow-x: auto;
            direction: rtl;
            scrollbar-width: thin;
            -webkit-scrollbar-width: thin;
            padding: 0;
        }

        #iframeWrap {
            direction: ltr;
            display: inline-block;
        }
        .index-course {height:410px;}
            }
}