.author-avatar{
  height: 58px;
  width:  58px;
  margin: 5px 10px;
  border-radius:50%;
}

.project-title{
  color: #333;
  line-height: 28px;
  height: 28px;
  margin-top: 16px;
  font-size:large;
}
.author-name{
  color: #666;
  font-size: smaller;
}

.scratch-flag{
  height: 24px;
  width: 24px;
  margin: 15px;
}
.scratch-flag:hover{
background-color: #FFF;
border-radius:5px;
cursor: pointer;
opacity: 0.8;
}

#project_slt{
    background-repeat:no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: 100%;
    height: 450px;
    border-radius: 10px;
    display:flex;
    align-items: center;
    justify-content: center;
}
  

.scratch-player-bottom{
margin: 10px 0;
display: flex;
justify-content: center;
}
.share-iconbox {
margin: 10px 5px;
}

#qrCodeDiv{
margin: 0 2px;
width: 80px;
height:80px;
}

.go-center{
  display: flex;
  justify-content: center;
}
/*虚拟键盘------------------------------*/
.key {
width: 3.5rem;
height: 3.5rem;
position:absolute;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.up {
  left: 4rem;
  top: 0rem;
  background: url(/img/icon/up.png) no-repeat center/contain;
}
.down {
  left: 4rem;
  bottom: 0rem;
  background: url(/img/icon/down.png) no-repeat center/contain;
}
.left {
left: 1rem;
bottom: 3rem;
background: url(/img/icon/left.png) no-repeat center/contain;
}
.right {
left: 7rem;
bottom: 3rem;
background: url(/img/icon/right.png) no-repeat center/contain;
}
.up .active{
background: url(/img/icon/upactive.png) no-repeat center/contain;
}
.down .active{
background: url(/img/icon/downactive.png) no-repeat center/contain;
}
.left .active{
background: url(/img/icon/leftactive.png) no-repeat center/contain;
}
.right .active{
background: url(/img/icon/rightactive.png) no-repeat center/contain;
}

.space {
width: 5rem;
height: 5rem;
position: absolute;
right: 1rem;
top: 2.5rem;
background: url(/img/icon/space.png) no-repeat center/contain;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.space .active{
  background: url(/img/icon/spaceactive.png) no-repeat center/contain;
}

/*播放部分------------------------------*/
#container_play{
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  font-size: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow: hidden;
}
  #wrapper {
    display: block;
    width: 100vw;
    height: 75vw;
    position: relative;
  }
  #monitors {
    position: absolute;
    top: 0;
    left: 0;
  }
  @media (min-aspect-ratio: 480/360) {
    #wrapper.bak {
      height: 100vh;
      width: 133.33333333333334vh;
    }
    #wrapper {
      height: 100%;
      width: 133.33333333333334vh;

      display:flex;
      align-items: center;
      justify-content: center;
    }
  }
  #stage {
    width: 100%;
    height: 100%;
    background-color: #333;
  }
  

  #loading-progress {
  position: absolute;
  left: 0;
  right: 0;
  top:65px;
  text-align: center;
  line-height: 58px;
  color:  rgb(92, 255, 109);
  
}
  .monitor {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    overflow: hidden;
    padding: 3px;
    color: white;
    white-space: pre;
  }
  .monitor-label {
    margin: 0 5px;
    font-weight: bold;
  }
  .monitor-value {
    display: inline-block;
    vertical-align: top;
    min-width: 34px;
    text-align: center;
    border-radius: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: text;
    transform: translateZ(0);
  }
  .default .monitor-value, .slider .monitor-value {
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0 5px;
    padding: 1px 3px;
  }
  .large {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0.1rem 0.25rem;
    min-width: 3rem;
  }
  .large .monitor-label {
    display: none;
  }
  .large .monitor-value {
    font-size: 1rem;
    width: 100%;
  }
  .list {
    padding: 0;
    overflow: auto;
    overflow-x: hidden;
  }
  .list .monitor-label {
    text-align: center;
    padding: 3px;
    width: 100%;
    display: block;
    margin: 0;
    box-sizing: border-box;
    white-space: pre-wrap;
  }
  .list .monitor-value {
    display: block;
  }
  .slider input {
    display: block;
    width: 100%;
    transform: translateZ(0);
  }
  #asking-box {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(33, 33, 33, 0.7);
  }
  .asking #asking-box {
    display: block;
  }
  #question {
    display: block;
    margin: 0 10px;
    margin-top: 10px;
    font-size: 12px;
    color: white;
  }
  #answer {
    border: none;
    background: none;
    width: 100%;
    font: inherit;
    font-size: 16px;
    color: white;
    padding: 10px;
    box-sizing: border-box;
  }
  #answer:focus {
    outline: none;
  }
.j-center{display:flex; justify-content: center}
		.fixed-nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: #000000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
            padding: 15px 0;
			margin-bottom: 50px;
        }
        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between; /* 改为两端对齐 */
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 10px;
        }
        .logo-title {
            display: flex;
            align-items: center;
            /* 移除 margin-left: -70px; 这是导致布局问题的原因 */
        }
        .logo-title a {
            margin-left: 10px;
            text-decoration: none;
            font-weight: bold;
            color: #ffffea;
        }
        .nav-center {
            display: flex;
            align-items: center;
            flex: 1;
            justify-content: center; /* 使中间内容居中 */
        }
        .nav-items {
            display: flex;
            align-items: center;
        }
        .nav-item {
            padding: 10px 15px;
            text-decoration: none;
            color: #ffffea;
            font-weight: 500;
            transition: all 0.3s;
            white-space: nowrap;
        }
        .nav-item:hover {
            color: rgb(92, 255, 109);
        }
        .nav-right {
            display: flex;
            align-items: center;
        }
        .login-nickname {
            margin-left: 10px;
            text-align: center;
        }
		.login-nickname {
			display: flex;
			align-items: center;      /* 垂直居中 */
			justify-content: center;  /* 水平居中 */
			height: 40px;             /* 固定高度 */
			min-width: 60px;          /* 最小宽度 */
			width: 150px;
			margin-left: 15px;
			color:  rgb(92, 255, 109);
			text-align: center;       /* 文本居中 */
		}
    
        #avatar_img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin-right: 5px;
        }

        #loading-progress{
            background-image: url(/scratch_slt/<%=project.id%>);
            background-repeat:no-repeat;
            background-position-x: center;
            background-position-y: center;
            background-size: 100%;
            height: 505px;
            width: 670px;
            display:flex;
            align-items: center;
            justify-content: center;
            color: #FFF;
            font-size: large;
             /* 
             background-image: url(/scratch_slt/<%=project.id%>);
            background-repeat:no-repeat;
            background-position-x: center;
            background-position-y: center;
             */
        }
  

        body {
            padding-top: 60px;
        }
        /* 下拉菜单样式 */
        .dropdown {
            position: relative;
        }
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #000;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 4px;
            overflow: hidden;
            top: 100%;
            left: 0;
        }
        .dropdown-content a {
            color: #ffffea;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            transition: all 0.3s;
        }
        .dropdown-content a:hover {
            background-color: #222;
            color: rgb(92, 255, 109);
        }
        .dropdown:hover .dropdown-content {
            display: block;
        }
        .dropdown:hover .nav-item {
            color: rgb(92, 255, 109);
        }
        .search-box {
            position: relative;
            width: 60%;
            max-width: 400px;
        }
        
        .search-form {
            display: flex;
            align-items: center;
            background: #222;
            border-radius: 50px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .search-form:focus-within {
            box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
        }
        
        .search-input {
            flex: 1;
            border: none;
            outline: none;
            padding: 13px 6px;
            height: 14px;
            width: 20%;
            font-size: 16px;
            background: transparent;
            color: #FFF;
        }
        
        .search-input::placeholder {
            color: #aaa;
        }
        
        .search-btn {
            border: none;
            height: 24px;
            width: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #FFF;
            background: transparent;
        }
        
        .search-btn:hover {
            background: rgb(92, 255, 109)
        }
        
        .search-btn i {
            font-size: 18px;
            width: 10px;
        }

        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .nav-container {
                flex-wrap: wrap;
            }
            .nav-center {
                order: 3;
                width: 100%;
                margin-top: 10px;
                justify-content: center;
            }
            .nav-items {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
        
        @media (max-width: 768px) {
            .nav-item {
                padding: 8px 10px;
                font-size: 14px;
            }
        }

        /* 基础样式与MC配色 */
        :root {
            --mc-green: #5B8C29;
            --mc-dark-green: #3B5C1A;
            --mc-blue: #3C44AA;
            --mc-dark-blue: #232C7A;
            --mc-brown: #8B6B4D;
            --mc-dark-brown: #6B4B2D;
            --mc-light: #F0F0F0;
            --mc-dark: #0A0A14;
            --mc-darker: #050510;
            --mc-gray: #7D7D7D;
            --mc-grass: #5B8C29;
            --mc-dirt: #8B6B4D;
            --mc-stone: #7D7D7D;
            --mc-water: #3C44AA;
            --mc-lava: #FF6A00;
            --mc-glow: #5CFF6D;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: var(--mc-darker);
            color: var(--mc-light);
            line-height: 1.6;
            overflow-x: hidden;
            background: linear-gradient(135deg, var(--mc-darker) 0%, var(--mc-dark) 100%);
            padding-top: 0px;
        }
        
        .mc-pixel-font {
            font-family: 'Courier New', monospace;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* 导航栏样式 - 修改为全屏宽度 */
        header {
            background-color: rgba(10, 10, 20, 0.95);
            position: fixed;
            width: 100%;
            z-index: 100;
            padding: 10px 0;
            box-shadow: 0 4px 20px rgba(92, 255, 109, 0.2);
            backdrop-filter: blur(10px);
        }
        
        /* 修改导航栏容器为全宽度 */
        .nav-container {
            width: 100%;
            padding: 0 20px;
        }
        
        /* 修改导航栏布局 */
        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* 导航菜单居中 */
        nav {
            flex: 1;
            display: flex;
            justify-content: center;
            
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo-icon {
            width: 45px;
            height: 45px;
            margin-right: 12px;
            position: relative;
            animation: pulse 2s infinite;
        }
        .logo-text {
            font-size: 1.4rem;
            color: var(--mc-light);
            text-shadow: 0 0 10px rgba(92, 255, 109, 0.7);
            font-weight: bold;
        }
        
        .logo-text span {
            color: var(--mc-glow);
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav li {
            margin: 0 15px;
        }
        
        nav a {
            color: var(--mc-light);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            padding: 8px 16px;
            border-radius: 20px;
            position: relative;
            font-size: 0.95rem;
        }
        
        nav a:hover {
            color: var(--mc-glow);
            background: rgba(92, 255, 109, 0.1);
            text-shadow: 0 0 8px rgba(92, 255, 109, 0.8);
        }
        
        .cta-button {
            background: linear-gradient(135deg, var(--mc-green), var(--mc-glow));
            color: var(--mc-dark);
            padding: 12px 28px;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            box-shadow: 0 4px 15px rgba(92, 255, 109, 0.4);
            position: relative;
            overflow: hidden;
        }
        
        .cta-button:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: 0.5s;
        }
        
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(92, 255, 109, 0.6);
        }
        
        .cta-button:hover:before {
            left: 100%;
        }
        
        /* 英雄区域样式 - MC主题 */
        .hero {
            background: radial-gradient(circle at 30% 50%, rgba(92, 255, 109, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 70% 20%, rgba(60, 68, 170, 0.1) 0%, transparent 50%),
                        linear-gradient(135deg, var(--mc-darker) 0%, var(--mc-dark) 100%);
            padding: 180px 0 120px;
            text-align: center;
            position: relative;
            overflow: hidden;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }
        
        .mc-world {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 120px;
            background: 
                linear-gradient(to bottom, 
                    transparent 0%, 
                    rgba(91, 140, 41, 0.3) 10%,
                    var(--mc-grass) 20%, var(--mc-grass) 25%, 
                    var(--mc-dirt) 25%, var(--mc-dirt) 40%, 
                    var(--mc-stone) 40%, var(--mc-stone) 100%);
            z-index: 1;
        }

        .head {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 120px;
            background: 
                linear-gradient(to bottom, 
                    transparent 0%, 
                    rgba(91, 140, 41, 0.3) 10%,
                    var(--mc-grass) 20%, var(--mc-grass) 25%, 
                    var(--mc-dirt) 25%, var(--mc-dirt) 40%, 
                    var(--mc-stone) 40%, var(--mc-stone) 100%);
            z-index: 1;
        }
        
        .hero h1 {
            font-size: 4rem;
            margin-bottom: 25px;
            text-shadow: 0 0 20px rgba(92, 255, 109, 0.8);
            color: var(--mc-glow);
            font-weight: 800;
            line-height: 1.1;
        }
        
        .hero p {
            font-size: 1.4rem;
            max-width: 800px;
            margin: 0 auto 40px;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 300;
        }
        
        /* 学院特色区域 */
        .academy-features {
            padding: 100px 0;
            background: var(--mc-dark);
            position: relative;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 70px;
            font-size: 2.8rem;
            color: var(--mc-glow);
            text-shadow: 0 0 15px rgba(92, 255, 109, 0.6);
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 25%;
            width: 50%;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--mc-glow), transparent);
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 40px;
        }
        
        .feature-card {
            background: rgba(20, 20, 30, 0.7);
            border-radius: 15px;
            padding: 40px 30px;
            text-align: center;
            border: 1px solid rgba(92, 255, 109, 0.2);
            transition: all 0.4s;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(5px);
        }
        
        .feature-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--mc-green), var(--mc-glow));
        }
        
        .feature-card:hover {
            transform: translateY(-15px);
            border-color: rgba(92, 255, 109, 0.5);
            box-shadow: 0 15px 40px rgba(92, 255, 109, 0.2);
        }
        
        .feature-icon {
            font-size: 3.5rem;
            margin-bottom: 25px;
            color: var(--mc-glow);
            filter: drop-shadow(0 0 10px rgba(92, 255, 109, 0.7));
        }
        
        .feature-card h3 {
            margin-bottom: 20px;
            color: var(--mc-glow);
            font-size: 1.5rem;
        }
        
        .feature-card p {
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 20px;
        }
        
        /* 课程区域样式 */
        .courses {
            padding: 100px 0;
            background: var(--mc-darker);
            position: relative;
        }
        
        .course-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
        }
        
        .course-card {
            background: rgba(25, 25, 35, 0.8);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(92, 255, 109, 0.1);
            transition: all 0.4s;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
        .course-card:hover {
            transform: translateY(-15px) scale(1.02);
            border-color: rgba(92, 255, 109, 0.4);
            box-shadow: 0 20px 40px rgba(92, 255, 109, 0.2);
        }
        
        .course-header {
            padding: 10px 10px;
            text-align: center;
            
            position: relative;
            overflow: hidden;
        }
        
        .course-header:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
            transform: translateX(-100%);
        }
        
        .course-card:hover .course-header:before {
            transform: translateX(100%);
            transition: transform 0.8s;
        }
        
        .course-icon {
            font-size: 3rem;
            margin-bottom: 15px;
            filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
        }
        
        .course-body {
            padding: 30px 25px;
        }
        
        .course-features {
            list-style: none;
            margin: 25px 0;
        }
        
        .course-features li {
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            position: relative;
            padding-left: 35px;
            color: rgba(255, 255, 255, 0.9);
        }
        
        .course-features li:before {
            content: "■";
            color: var(--mc-glow);
            position: absolute;
            left: 0;
            font-size: 1.2rem;
            text-shadow: 0 0 8px rgba(92, 255, 109, 0.8);
        }
        
        /* 学员作品区域 */
        .student-works {
            padding: 100px 0;
            background: var(--mc-dark);
            position: relative;
        }
        
        .works-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
        }
        
        .work-item {
            height: 240px;
            background: linear-gradient(135deg, var(--mc-brown), var(--mc-dark-brown));
            border: 2px solid rgba(92, 255, 109, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            transition: all 0.4s;
        }
        
        .work-item:hover {
            transform: translateY(-10px) scale(1.03);
            border-color: rgba(92, 255, 109, 0.5);
            box-shadow: 0 15px 35px rgba(92, 255, 109, 0.3);
        }
        
        .work-item:before {
            content: "探索作品";
            position: absolute;
            background: linear-gradient(135deg, rgba(92, 255, 109, 0.9), rgba(60, 68, 170, 0.9));
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.4s;
            color: white;
            font-weight: bold;
            font-size: 1.4rem;
            text-shadow: 0 0 10px rgba(0,0,0,0.5);
        }
        
        .work-item:hover:before {
            opacity: 1;
        }
        
        /* MC生物元素 */
        .mc-mob {
            position: absolute;
            z-index: 2;
            filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
        }
        
        .creeper {
            width: 50px;
            height: 80px;
            background: 
                linear-gradient(to right, #5B8C29 0%, #5B8C29 25%, 
                #3B5C1A 25%, #3B5C1A 50%, 
                #5B8C29 50%, #5B8C29 75%, 
                #3B5C1A 75%, #3B5C1A 100%);
            bottom: 120px;
            left: 15%;
            animation: float-mob 6s ease-in-out infinite;
        }
        
        .steve {
            width: 50px;
            height: 80px;
            background: 
                linear-gradient(to right, #3C44AA 0%, #3C44AA 25%, 
                #232C7A 25%, #232C7A 50%, 
                #3C44AA 50%, #3C44AA 75%, 
                #232C7A 75%, #232C7A 100%);
            bottom: 120px;
            right: 15%;
            animation: float-mob 7s ease-in-out infinite 1s;
        }
        
        @keyframes float-mob {
            0%, 100% { transform: translateY(0) rotate(0); }
            25% { transform: translateY(-20px) rotate(2deg); }
            50% { transform: translateY(-10px) rotate(0); }
            75% { transform: translateY(-15px) rotate(-2deg); }
        }
        
        /* 页脚样式 */
        footer {
            
            background: linear-gradient(135deg, var(--mc-dark), var(--mc-darker));
            padding: 70px 0 30px;
            position: relative;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 50px;
            margin-bottom: 40px;
        }
        
        .footer-section h3 {
            color: var(--mc-glow);
            margin-bottom: 25px;
            font-size: 1.3rem;
            text-shadow: 0 0 10px rgba(92, 255, 109, 0.5);
        }
        
        .footer-section ul {
            list-style: none;
        }
        
        .footer-section li {
            margin-bottom: 12px;
        }
        
        .footer-section a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .footer-section a:hover {
            color: var(--mc-glow);
            text-shadow: 0 0 8px rgba(92, 255, 109, 0.8);
            padding-left: 5px;
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(92, 255, 109, 0.2);
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-content {
                flex-direction: column;
                text-align: center;
            }
            
            nav {
                order: 3;
                width: 100%;
                margin-top: 15px;
            }
            
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            nav li {
                margin: 8px;
            }
            
            .hero h1 {
                font-size: 2.8rem;
            }
            
            .hero p {
                font-size: 1.2rem;
            }
            
            .features-grid, .course-cards {
                grid-template-columns: 1fr;
            }
            
            .section-title {
                font-size: 2.2rem;
            }
        }
        
        /* MC方块动画 */
        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0); }
            33% { transform: translateY(-20px) rotate(90deg); }
            66% { transform: translateY(-10px) rotate(180deg); }
        }
        
        .floating-block {
            animation: float 6s ease-in-out infinite;
            position: absolute;
            width: 40px;
            height: 40px;
            box-shadow: 0 0 15px rgba(92, 255, 109, 0.5);
            z-index: 1;
        }
        
        .block-1 {
            top: 20%;
            left: 10%;
            background: linear-gradient(135deg, var(--mc-green), var(--mc-glow));
            animation-delay: 0s;
        }
        
        .block-2 {
            top: 30%;
            right: 15%;
            background: linear-gradient(135deg, var(--mc-blue), #5C8CFF);
            animation-delay: 2s;
        }
        
        .block-3 {
            bottom: 40%;
            left: 20%;
            background: linear-gradient(135deg, var(--mc-brown), #C8A86D);
            animation-delay: 4s;
        }
        
        /* MC进度条 */
        .mc-progress {
            height: 25px;
            background: rgba(30, 30, 40, 0.8);
            border-radius: 12px;
            overflow: hidden;
            margin: 15px 0;
            position: relative;
            box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
            border: 1px solid rgba(92, 255, 109, 0.2);
        }
        
        .mc-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--mc-green), var(--mc-glow));
            border-radius: 12px;
            width: 0;
            transition: width 1.5s ease-in-out;
            position: relative;
            overflow: hidden;
        }
        
        .mc-progress-bar:after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transform: translateX(-100%);
            animation: shine 2s infinite;
        }
        
        @keyframes shine {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .mc-progress-text {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            text-align: center;
            font-size: 0.9rem;
            line-height: 25px;
            color: white;
            text-shadow: 0 0 5px rgba(0,0,0,0.8);
            font-weight: bold;
        }
        
        /* 粒子背景 */
        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 0;
        }
        
        .content-overlay {
            position: relative;
            z-index: 2;
        }

        /* 新增样式 - 作品展示和精品教程 */
        .project-card {
            background: rgba(25, 25, 35, 0.8);
            border-radius: 15px;
            overflow: hidden;
            border: 1px solid rgba(92, 255, 109, 0.1);
            transition: all 0.4s;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            position: relative;
            height: 100%;
        }
        
        .project-card:hover {
            transform: translateY(-10px);
            border-color: rgba(92, 255, 109, 0.4);
            box-shadow: 0 15px 35px rgba(92, 255, 109, 0.2);
        }
        
        .project-image {
            width: 100%;
            height: 270px;
            object-fit: cover;
        }
        
        .project-info {
            padding: 20px;
        }
        
        .project-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: #F0F0F0;
        }
        
        .project-stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }
        
        .project-author {
            display: flex;
            align-items: center;
            margin-top: 15px;
        }
        
        .author-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin-right: 10px;
        }
        
        .course-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
        }
        
        .course-card-small {
            background: rgba(25, 25, 35, 0.8);
            border-radius: 15px;
            overflow: hidden;
            border: 1px solid rgba(92, 255, 109, 0.1);
            transition: all 0.4s;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
        .course-card-small:hover {
            transform: translateY(-10px);
            border-color: rgba(92, 255, 109, 0.4);
            box-shadow: 0 15px 35px rgba(92, 255, 109, 0.2);
        }
        
        .course-cover {
            width: 100%;
            height: 240px;
            object-fit: cover;
        }
        
        .course-title {
            padding: 15px;
            font-size: 1.1rem;
            color: #F0F0F0;
            text-align: center;
        }
        .login-nickname {
        font-size: 12px;
        margin-left: 10px;
        }
        .coming-soon {
            position: relative;
        }
        
        .coming-soon::after {
            content: "火热进行中";
            position: absolute;
            top: -8px;
            right: -5px;
            background: var(--mc-lava);
            color: white;
            font-size: 0.6rem;
            padding: 2px 5px;
            border-radius: 10px;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 0.7; }
            50% { opacity: 1; }
            100% { opacity: 0.7; }
        }