@charset "utf-8";
/* CSS Document */

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", sans-serif;
            
        }
        body {
            background-color: #0a1a40;
            color: #fff;
            line-height: 1.6;font-size: 16px;
        }
        /* 全局容器：宽度100%，内容最大1200px居中 */
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 头部Banner */
        .banner-section {
            background: url(/images/tti-line/bannerBG.jpg) no-repeat #081f42;           
            position: relative;
            overflow: hidden;
            height: 428px;
        }
        .banner-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .logo-tti {
        margin-top: 36px;           
        }
       
        .banner-bg {
            position: absolute;
            top: 0;
            right: 0;
            width: 60%;
            height: 100%;
            z-index: 0;
        }
        .banner-content {
            position: relative;
            z-index: 1;
        }
        .banner-title {
            font-size:54px;
            font-weight: bold;
            margin-bottom: 15px;
            line-height: 1.5;
            font-style: italic;
        }
        .banner-subtitle {
            font-size: 18px;
            margin-bottom: 20px;
        }
        
        .bg{background: linear-gradient(135deg, #142d77 0%, #006ac5 100%);}

        /* 介绍文本区域 */
       
        .intro-box {           
            padding: 30px 40px;
            border-radius: 6px;           
            line-height: 1.5;
        }

        /* 精品资源区域 */
        .resource-section {
            padding: 30px 0;
        }
        .section-title {
            font-size: 36px;
            font-weight: bold;
            text-align: center;  
            padding: 5px;
            border-radius: 4px 4px 0 0;
        }
		.section-title2{margin: 0px 0 30px;}
        .resource-card {
            background:url(/images/tti-line/bg2.jpg) no-repeat bottom right #e3eeff;
            color: #333;
            border-radius: 0 0 8px 8px;
            display: flex;
            overflow: hidden;
        }
        .resource-list {
            width: 40%;
            padding: 20px;
            margin: 20px 40px;
        }
        .resource-item {
           
           
            margin-bottom: 6px;
        }
        .resource-item a{display: block; padding: 10px 4px 10px 20px;  background: #fff;color: #333;text-decoration: none;}
        .resource-item a:hover{color: #153b91;}
        .quiz-title{background: url(/images/tti-line/icon-04.png) no-repeat; height: 38px; line-height: 38px;padding-left: 55px;font-size: 30px;font-weight: bold;margin:50px 0 20px;}
        /* 趣味活动区域 */
        .activity-section {
            padding: 30px 0;
        }
        .activity-steps {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }
        .step-card {
            background-color: rgba(0, 80, 160, 0.3);
            padding: 15px;
            border-radius: 8px;
			position: relative;
        }
        .step-number {
            background:url(/images/tti-line/icon-01.png);
            color: white;
            width: 89px;
            height: 42px; 
			line-height: 42px;
			text-indent: 1em;
            font-size: 20px;
            font-weight: bold;
            position: absolute;
			top: 0;left: 0;
        }
		.step-line{display: flex;margin-top: 40px;gap: 5px;justify-content: space-between;}
        .step-text {            
            margin-bottom: 15px;
        }
        .step-btn {
            background-color: #3399ff;
            color: #222;
            border: none;
            padding: 6px 10px;
            border-radius: 20px;   
			background: #fff;border: 2px solid #15b0ff;text-align: center;
           
        }
		.step-l{background:url(/images/tti-line/icon-03.png) no-repeat bottom;position: absolute; bottom: 0; left: 20px;width: 133px; height: 50px;}
        .qr-code {
            width: 80px;
            height: 80px;
            margin: 10px auto 0;
        }

        /* 连线题区域 */
        .game-box{}
.game-box h3 , .game-box p{text-align: center;word-break: break-all;line-height: 22px;}
.game-box h3{font-size: 22px;font-weight: bold;margin-bottom: 15px;}

.pt10 {padding-top: 10px;}
.show { position: relative; width: 100%; margin: 10px auto;cursor: pointer;}
.cb {clear: both;zoom: 1;z-index: 99;}
.now_one {border:solid 1px #e71d0f;border-radius:8px;width:100%;margin-top:10px;}
.showleft, .showright {float: left; }
.showleft {}
.showleft .showitem {
    width: 318px; 
    margin: 20px 0;
    text-align: center;
    font-size: 18px;
    color: #fff;
	background:#1b2f6d;
	border-radius: 8px;
	align-items: center;
	justify-content: center;
	display: flex;
	height: 68px;
	border: 1px solid #3a8df4;
	
	
}
.showleft .showitem a {color:#e71d0f;text-decoration:none;}
.showleft .showitem a:hover {color:#000;}

.showright {float: right;}
.showright .showitem {
    width: 440px; 
    margin: 20px 0;
    text-align: center;
    font-size: 16px;
    color: #fff;
	background:#1b2f6d;
	border-radius: 8px;
	align-items: center;
	justify-content: center;
	display: flex;
	height: 68px;
	border: 1px solid #3a8df4;
}
.tools2 {
    text-align: center;
    width: 100%;
    position: relative;
    display: inline-block;
    margin: 10px auto;
}
.tools_set {
    position: absolute;
    top: 40px;
    left: 100px;
}
.tools_set>div{
    padding: 0 15px;
    margin: 0 5px;
    border-radius: 5px;
    background-color: #1d91ed;
    box-shadow: #666 0px 0px 10px;
    line-height: 30px;
    display: inline-block;
}
.getPair {
    background:#4faef9;
    width: 162px;
    text-align: center;
    height: 50px;
    line-height: 50px;
    color: #fff;
    display: block;
    margin: 30px auto 20px;
    font-size: 18px;
    font-weight: bold;
    padding: 0 20px;
    border-radius: 8px;
}
.canvas {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: -1;
}
.backcanvas {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: -2;
}
.top-line{background: #fff;height: 38px;line-height: 38px; width: 100%;}
.top-line .login{float: right;margin-right: 10%; color: #03234b;}
.top-line .login a{color: #03234b;margin: 0 6px;}
.game-success{background: url(/images/stm32c0-line/p-bj2.jpg) no-repeat bottom center #fff5ec; height: 520px; border-radius: 20px;text-align: center;font-size: 18px;color: #222;}
.game-success h3{font-size: 28px;color: #EC2124;font-weight: bold;margin: 50px 0 20px;display: inline-block;}
.zt-img{text-align: center; background: #fff;padding: 10px 0;}
.zt-img img{max-width: 100%;}

        /* 底部区域 */
        .footer-section {
            padding: 30px 0;
            background-color: #0a1a40;
            border-top: 1px solid #153b91;
        }
        .footer-text {   
		width: 80%;float: left;   color: #d4d4d4;        
        }
		.mtop20{margin-top: 20px;}
		.mtop20 a{color: #329dff;text-decoration:none;}
		.mtop20 a:hover{text-decoration: underline;}
        .footer-qr {
            width: 140px;            
            margin-left: auto;
        }
		.footer-qr img{max-width: 140px;}
.layui-layer-dialog .layui-layer-content{color:#000; }
        /* 响应式适配 */
        @media (max-width: 992px) {
		body{font-size: 15px;}
		    .banner-section{height: auto;}
		    .banner-header{margin-bottom: 10px;}
		    .logo-tti img{max-width: 280px;}
			.intro-box{padding: 15px;}
			.section-title{font-size: 30px;}
			.resource-list{padding: 15px;margin: 0;}
			.resource-item a{padding: 10px 15px;}
			.resource-section{padding-bottom: 20px;}
			.section-title2 { margin: 0px 0 20px;}
			.tools_set{top: 0;    left: 50%;   margin-left: -70px;}
			.getPair{margin-top: 50px;}
			.footer-text{width: 100%;}
			.footer-qr{width: 100%; text-align: center;margin-top: 10px;}
			.mtop20{margin-top: 0;}
			.showleft .showitem{width: 120px;font-size: 15px;}
			.showright .showitem{width: 190px;font-size: 14px;line-height: 18px;padding: 0 10px;}
			.game-box h3, .game-box p{line-height: 18px;}
            .resource-card {
                flex-direction: column;
            }
            .resource-list, .resource-img {
                width: 100%;
            }
            .activity-steps {
                grid-template-columns: 1fr;
            }
            .quiz-grid {
                grid-template-columns: 1fr;
            }
            .quiz-dot {
                display: none;
            }
            .banner-title {
                font-size: 32px;
            }
        }