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

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;
    z-index: 1000;
    transition: all 0.3s ease;
    pointer-events: none;
}

.navbar > * {
    pointer-events: auto;
}

.navbar.scrolled {
    background: transparent;
}

.navbar-logo {
    height: 40px;
}

.navbar-logo img {
    height: 100%;
    width: auto;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.navbar-menu li {
    position: relative;
}

.navbar-menu a {
    color: #FFD700;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-menu a:hover {
    color: #FFF700;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-cta {
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar-cta:hover {
    background: #FFD700;
    color: #000;
    transform: translateY(-2px);
}

/* 移动端导航 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #FFD700;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }

    .navbar-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        pointer-events: auto;
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-menu li {
        margin: 20px 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-cta {
        display: none;
    }
}

/* 第六屏样式 */
.screen-6 {
  background-color: #F5F5DC;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* 解释文本样式 */
.explanation-text {
    max-width: 800px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.explanation-text p {
    font-size: 28px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
    color: #222;
    font-weight: bold;
    text-shadow: 0 2px 8px #fff, 0 1px 1px #eee;
    letter-spacing: 0.5px;
}

/* 图片丢失容器样式 */
.missing-image-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.missing-image {
    width: 180px;
    height: 120px;
    border: 2px dashed #ccc;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    z-index: 2;
}

.random-missing-image {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    opacity: 0.92;
    pointer-events: auto;
}

.screen-6 {
    position: relative;
}

#random-missing-images {
    pointer-events: none;
    z-index: 1;
}

.missing-image:hover {
    border-color: #999;
    background-color: #f0f0f0;
    transform: scale(1.02);
}

.broken-image-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.missing-image p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.error-code {
    font-family: 'Courier New', monospace;
    font-size: 12px !important;
    color: #999 !important;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
    line-height: 1;
}

.close-btn:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

.error-details {
    margin-bottom: 25px;
}

.error-details p {
    margin: 8px 0;
    line-height: 1.5;
    color: #333;
}

.error-details strong {
    color: #d63031;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(116, 185, 255, 0.4);
}

.btn-secondary {
    background: #ddd;
    color: #666;
}

.btn-secondary:hover {
    background: #ccc;
    transform: translateY(-1px);
}

.loading-container {
    text-align: center;
    padding: 30px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #74b9ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    color: #666;
    margin: 0;
}

.screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

.screen-1 {
    background-image: url('zhizhen.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.screen-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.screen-1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(2px);
    z-index: 3;
    pointer-events: none;
}

.screen-1 .content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.screen-2 {
    background: url('pexels-kevin-ku-92347-577585.webp') center/cover no-repeat;
    position: relative;
}

.screen-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.2) 80%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.screen-2 .content {
    position: relative;
    z-index: 2;
    max-width: calc(100vw - 200px);
    width: 75%;
    padding: 80px 40px;
    margin: 180px auto 60px auto;
    text-align: left;
    min-height: 400px;
}

.screen-3 {
    background: url('mesh-757.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.screen3-container {
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: flex-start;
    align-items: flex-start;
}

.left-section {
    width: 33.33%;
    padding: 120px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    color: white;
}

.right-section {
    width: 66.67%;
    height: 100vh;
    padding: 90px 10px 60px 40px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 300px 300px;
    grid-template-rows: 400px 400px;
    column-gap: 100px;
    row-gap: 100px;
    align-items: center;
    justify-items: center;
    justify-content: center;
}

.numbered-box {
    width: 300px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.numbered-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.numbered-box:hover .box-image {
    transform: scale(1.05);
    filter: brightness(0.8);
}



picture {
    width: 100%;
    height: 100%;
    display: block;
}

.box-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.course-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-size: 22px;
    font-weight: 300;
    color: #ffd700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    opacity: 1;
    transition: all 0.4s ease;
    text-align: left;
    white-space: nowrap;
}

.image-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 5px 3px;
    padding: 5px 2px;
    height: fit-content;
    position: relative;
    align-items: start;
    overflow: hidden;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    background: transparent;
    border-radius: 10px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: calc(32vw - 20px);
    max-width: 320px;
    height: fit-content;
}

.gallery-item:nth-child(1) {
    margin-top: 0;
}

.gallery-item:nth-child(2) {
    margin-top: 0;
}

.gallery-item:nth-child(3) {
    margin-top: 0;
}

.gallery-item:nth-child(4) {
    margin-top: 0;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-placeholder {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.gallery-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 350px;
    margin: 0;
}

.work-label {
    background: #D4AF37;
    color: #000;
    padding: 15px 25px;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 30px;
    width: fit-content;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
}

.description {
    font-size: 0.45rem;
    line-height: 1.1;
    color: #ccc;
    max-width: 100%;
    font-weight: 400;
}

.description p {
    margin: 2px 0;
    line-height: 1.0;
}

.course-item {
    color: #a9c66a !important;
    font-weight: 600 !important;
    margin: 3px 0 !important;
}

.course-translation {
    color: #8fb85c !important;
    font-style: italic !important;
    margin: 1px 0 3px 20px !important;
}

.screen-4 {
    position: relative;
    overflow: hidden;
}

.screen-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.screen-4 video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.screen-4 .content {
    position: relative;
    z-index: 2;
}

.screen4-text {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 3;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.screen4-text h2 {
    font-size: 3rem;
    margin: 0 0 10px 0;
    font-weight: bold;
    font-style: italic;
    color: #ffff00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.screen4-text h3 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
    font-style: italic;
    color: #ffff00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.screen4-description {
    position: absolute;
    top: 50%;
    left: calc(50% + 350px);
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffff00;
    border-radius: 15px;
    padding: 30px;
    z-index: 3;
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.screen4-description:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #ffff66;
    box-shadow: 0 12px 40px rgba(255, 255, 0, 0.2);
    transform: translate(-50%, -50%) scale(1.02);
}

.screen4-description p {
    margin: 0 0 15px 0;
    text-align: justify;
}

.screen4-description ol {
    margin: 15px 0;
    padding-left: 25px;
}

.screen4-description li {
    margin: 8px 0;
    color: #ffff00;
    font-weight: 500;
    font-size: 1.3rem;
}

.screen-5 {
    background: #000;
    position: relative;
    overflow: hidden;
}

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.career-title {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    text-align: center;
    text-shadow: 0 0 20px #00ff00;
    margin: 0;
    z-index: 3;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00, 0 0 40px #00ff00;
    }
    to {
        text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
    }
}

/* 第六屏样式 */
.screen-6 {
  background-color: #F5F5DC;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* 解释文本样式 */
.explanation-text {
    max-width: 800px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.explanation-text p {
    font-size: 28px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
    color: #222;
    font-weight: bold;
    text-shadow: 0 2px 8px #fff, 0 1px 1px #eee;
    letter-spacing: 0.5px;
}

/* 图片丢失容器样式 */
.missing-image-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.missing-image {
    width: 180px;
    height: 120px;
    border: 2px dashed #ccc;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    z-index: 2;
}

.random-missing-image {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    opacity: 0.92;
    pointer-events: auto;
}

.screen-6 {
    position: relative;
}

#random-missing-images {
    pointer-events: none;
    z-index: 1;
}

.missing-image:hover {
    border-color: #999;
    background-color: #f0f0f0;
    transform: scale(1.02);
}

.broken-image-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.missing-image p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.error-code {
    font-family: 'Courier New', monospace;
    font-size: 12px !important;
    color: #999 !important;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
    line-height: 1;
}

.close-btn:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

.error-details {
    margin-bottom: 25px;
}

.error-details p {
    margin: 8px 0;
    line-height: 1.5;
    color: #333;
}

.error-details strong {
    color: #d63031;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(116, 185, 255, 0.4);
}

.btn-secondary {
    background: #ddd;
    color: #666;
}

.btn-secondary:hover {
    background: #ccc;
    transform: translateY(-1px);
}

.loading-container {
    text-align: center;
    padding: 30px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #74b9ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    color: #666;
    margin: 0;
}

.career-grid {
    position: absolute;
    top: 10%;
    left: 5%;
    right: 5%;
    bottom: 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 50px;
    z-index: 2;
}

.career-card {
    background: rgba(0, 20, 0, 0.9);
    border: 2px solid #00ff00;
    border-radius: 10px;
    padding: 20px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.career-card:hover {
    border-color: #00ffff;
    color: #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    transform: scale(1.02);
}

.career-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    text-align: center;
    text-shadow: 0 0 10px currentColor;
}

.career-description {
    margin: 10px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.career-examples {
    margin: 10px 0;
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
}

.career-skills {
    margin: 15px 0 0 0;
    padding-left: 20px;
    font-size: 1rem;
}

.career-skills li {
    margin: 5px 0;
    list-style-type: '▶ ';
}

@media (max-width: 768px) {
    .career-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 15px;
        height: 90%;
    }
    
    .career-card {
        padding: 15px;
    }
    
    .career-card h3 {
        font-size: 1.2rem;
    }
    
    .career-description,
    .career-examples,
    .career-skills {
        font-size: 0.8rem;
    }
}

/* 第六屏样式 */
.screen-6 {
  background-color: #F5F5DC;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* 解释文本样式 */
.explanation-text {
    max-width: 800px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.explanation-text p {
    font-size: 28px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
    color: #222;
    font-weight: bold;
    text-shadow: 0 2px 8px #fff, 0 1px 1px #eee;
    letter-spacing: 0.5px;
}

/* 图片丢失容器样式 */
.missing-image-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.missing-image {
    width: 180px;
    height: 120px;
    border: 2px dashed #ccc;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    z-index: 2;
}

.random-missing-image {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    opacity: 0.92;
    pointer-events: auto;
}

.screen-6 {
    position: relative;
}

#random-missing-images {
    pointer-events: none;
    z-index: 1;
}

.missing-image:hover {
    border-color: #999;
    background-color: #f0f0f0;
    transform: scale(1.02);
}

.broken-image-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.missing-image p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.error-code {
    font-family: 'Courier New', monospace;
    font-size: 12px !important;
    color: #999 !important;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
    line-height: 1;
}

.close-btn:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

.error-details {
    margin-bottom: 25px;
}

.error-details p {
    margin: 8px 0;
    line-height: 1.5;
    color: #333;
}

.error-details strong {
    color: #d63031;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(116, 185, 255, 0.4);
}

.btn-secondary {
    background: #ddd;
    color: #666;
}

.btn-secondary:hover {
    background: #ccc;
    transform: translateY(-1px);
}

.loading-container {
    text-align: center;
    padding: 30px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #74b9ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    color: #666;
    margin: 0;
}

.content {
    max-width: 800px;
    padding: 40px;
    text-align: center;
}

h1 {
    font-size: 6rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.screen-2 h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: #4CAF50;
    font-weight: 800;
    text-align: center;
}

h2 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    color: #f0f0f0;
    font-weight: 800;
}

.screen-2 p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #e0e0e0;
    font-weight: 500;
}

.screen-2 .large-text {
    font-size: 1.8rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #f0f0f0;
    font-weight: 600;
}

.screen-2 h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 25px;
    color: #4CAF50;
    font-weight: 700;
}

p {
    font-size: 2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ccc;
    font-weight: 700;
}

.highlight {
    color: #4CAF50;
    font-weight: bold;
}

.screen-2 .card {
    background: rgba(126, 124, 124, 0.51);
    border-radius: 0;
    padding: 25px;
    margin: 25px 0;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 120%;
    transform: translateY(-50px) translateX(-150px);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.feature-item h3 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.scroll-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: #4CAF50;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    h1 {
        font-size: 4.5rem;
        font-weight: 900;
    }
    
    h2 {
        font-size: 3.5rem;
        font-weight: 800;
    }
    
    p {
        font-size: 1.8rem;
        font-weight: 700;
    }
    
    .content {
        padding: 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .screen-1 .content {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px !important;
    }
    
    .screen-1 .content > div {
        padding: 0 !important;
        margin-bottom: 30px;
    }
    
    .screen-1 h1 {
        font-size: 4.5rem !important;
        font-weight: 900 !important;
    }
    
    .screen-1 h2 {
        font-size: 3.5rem !important;
        font-weight: 800 !important;
    }
    
    .screen-1 p {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
    }
}

/* 第六屏样式 */
.screen-6 {
  background-color: #F5F5DC;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* 解释文本样式 */
.explanation-text {
    max-width: 800px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.explanation-text p {
    font-size: 28px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
    color: #222;
    font-weight: bold;
    text-shadow: 0 2px 8px #fff, 0 1px 1px #eee;
    letter-spacing: 0.5px;
}

/* 图片丢失容器样式 */
.missing-image-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.missing-image {
    width: 180px;
    height: 120px;
    border: 2px dashed #ccc;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    z-index: 2;
}

.random-missing-image {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    opacity: 0.92;
    pointer-events: auto;
}

.screen-6 {
    position: relative;
}

#random-missing-images {
    pointer-events: none;
    z-index: 1;
}

.missing-image:hover {
    border-color: #999;
    background-color: #f0f0f0;
    transform: scale(1.02);
}

.broken-image-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.missing-image p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.error-code {
    font-family: 'Courier New', monospace;
    font-size: 12px !important;
    color: #999 !important;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
    line-height: 1;
}

.close-btn:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

.error-details {
    margin-bottom: 25px;
}

.error-details p {
    margin: 8px 0;
    line-height: 1.5;
    color: #333;
}

.error-details strong {
    color: #d63031;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(116, 185, 255, 0.4);
}

.btn-secondary {
    background: #ddd;
    color: #666;
}

.btn-secondary:hover {
    background: #ccc;
    transform: translateY(-1px);
}

.loading-container {
    text-align: center;
    padding: 30px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #74b9ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    color: #666;
    margin: 0;
}
/* 第七屏样式 */
.screen-7 {
    background-image: url('zhizhenlou.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.screen-7::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.ending-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.ending-title {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-size: 7rem;
    font-weight: bold;
    font-style: italic;
    color: #FFFF00 !important;
    margin: 0 0 30px 0;
    letter-spacing: 3px;
    line-height: 1.2;
    animation: fadeInUp 1.5s ease-out;
}

.ending-subtitle {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: bold;
    font-style: italic;
    color: #FFFF00 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    margin: 0;
    letter-spacing: 2px;
    line-height: 1.3;
    animation: fadeInUp 1.5s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .ending-title {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .ending-subtitle {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .ending-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .ending-subtitle {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }
}

/* From Uiverse.io by creator1116 */ 
@keyframes blinkCursor {
    50% {
      border-right-color: transparent;
    }
  }
  
  @keyframes typeAndDelete {
    0%,
    10% {
      width: 0;
    }
    45%,
    55% {
      width: 65em;
    } /* adjust width based on content */
    90%,
    100% {
      width: 0;
    }
  }
  
  .terminal-loader {
    border: 0.1em solid #333;
    background-color: #1a1a1a;
    color: #0f0;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.8em;
    padding: 1.5em 1em;
    width: 70em;
    height: 8em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    position: absolute;
    top: 50px;
    left: 50px;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 10;
  }
  
  .terminal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5em;
    background-color: #333;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 0 0.4em;
    box-sizing: border-box;
  }
  
  .terminal-controls {
    float: right;
  }
  
  .control {
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    margin-left: 0.4em;
    border-radius: 50%;
    background-color: #777;
  }
  
  .control.close {
    background-color: #e33;
  }
  
  .control.minimize {
    background-color: #ee0;
  }
  
  .control.maximize {
    background-color: #0b0;
}

/* 404页面样式 */
.main_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30em;
    height: 30em;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 5em;
}

.antenna {
    width: 5em;
    height: 5em;
    border-radius: 50%;
    border: 2px solid black;
    background-color: #f27405;
    margin-bottom: -6em;
    margin-left: 0em;
    z-index: -1;
}
.antenna_shadow {
    position: absolute;
    background-color: transparent;
    width: 50px;
    height: 56px;
    margin-left: 1.68em;
    border-radius: 45%;
    transform: rotate(140deg);
    border: 4px solid transparent;
    box-shadow:
      inset 0px 16px #a85103,
      inset 0px 16px 1px 1px #a85103;
    -moz-box-shadow:
      inset 0px 16px #a85103,
      inset 0px 16px 1px 1px #a85103;
}
.antenna::after {
    content: "";
    position: absolute;
    margin-top: -9.4em;
    margin-left: 0.4em;
    transform: rotate(-25deg);
    width: 1em;
    height: 0.5em;
    border-radius: 50%;
    background-color: #f69e50;
}
.antenna::before {
    content: "";
    position: absolute;
    margin-top: 0.2em;
    margin-left: 1.25em;
    transform: rotate(-20deg);
    width: 1.5em;
    height: 0.8em;
    border-radius: 50%;
    background-color: #f69e50;
}
.a1 {
    position: relative;
    top: -102%;
    left: -130%;
    width: 12em;
    height: 5.5em;
    border-radius: 50px;
    background-image: linear-gradient(
      #171717,
      #171717,
      #353535,
      #353535,
      #171717
    );
    transform: rotate(-29deg);
    clip-path: polygon(50% 0%, 49% 100%, 52% 100%);
}
.a1d {
    position: relative;
    top: -211%;
    left: -35%;
    transform: rotate(45deg);
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    border: 2px solid black;
    background-color: #979797;
    z-index: 99;
}
.a2 {
    position: relative;
    top: -210%;
    left: -10%;
    width: 12em;
    height: 4em;
    border-radius: 50px;
    background-color: #171717;
    background-image: linear-gradient(
      #171717,
      #171717,
      #353535,
      #353535,
      #171717
    );
    margin-right: 5em;
    clip-path: polygon(
      47% 0,
      47% 0,
      34% 34%,
      54% 25%,
      32% 100%,
      29% 96%,
      49% 32%,
      30% 38%
    );
    transform: rotate(-8deg);
}
.a2d {
    position: relative;
    top: -294%;
    left: 94%;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    border: 2px solid black;
    background-color: #979797;
    z-index: 99;
}

.notfound_text {
    background-color: black;
    padding-left: 0.3em;
    padding-right: 0.3em;
    font-size: 0.75em;
    color: white;
    letter-spacing: 0;
    border-radius: 5px;
    z-index: 10;
}
.tv {
    width: 17em;
    height: 9em;
    margin-top: 3em;
    border-radius: 15px;
    background-color: #d36604;
    display: flex;
    justify-content: center;
    border: 2px solid #1d0e01;
    box-shadow: inset 0.2em 0.2em #e69635;
}
.tv::after {
    content: "";
    position: absolute;
    width: 17em;
    height: 9em;
    border-radius: 15px;
    background:
      repeating-radial-gradient(#d36604 0 0.0001%, #00000070 0 0.0002%) 50% 0/2500px
        2500px,
      repeating-conic-gradient(#d36604 0 0.0001%, #00000070 0 0.0002%) 60% 60%/2500px
        2500px;
    background-blend-mode: difference;
    opacity: 0.09;
}
.curve_svg {
    position: absolute;
    margin-top: 0.25em;
    margin-left: -0.25em;
    height: 12px;
    width: 12px;
}
.display_div {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 3.5px 3.5px 0px #e69635;
}
.screen_out {
    width: auto;
    height: auto;
    border-radius: 10px;
}
.screen_out1 {
    width: 11em;
    height: 7.75em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.screen-6 .screen {
    width: 13em;
    height: 7.85em;
    font-family: Montserrat;
    border: 2px solid #1d0e01;
    background:
      repeating-radial-gradient(#000 0 0.0001%, #ffffff 0 0.0002%) 50% 0/2500px
        2500px,
      repeating-conic-gradient(#000 0 0.0001%, #ffffff 0 0.0002%) 60% 60%/2500px
        2500px;
    background-blend-mode: difference;
    animation: b 0.2s infinite alternate;
    border-radius: 10px;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #252525;
    letter-spacing: 0.15em;
    text-align: center;
}

.screenM {
    width: 13em;
    height: 7.85em;
    position: relative;
    font-family: Montserrat;
    background: linear-gradient(
      to right,
      #002fc6 0%,
      #002bb2 14.2857142857%,
      #3a3a3a 14.2857142857%,
      #303030 28.5714285714%,
      #ff0afe 28.5714285714%,
      #f500f4 42.8571428571%,
      #6c6c6c 42.8571428571%,
      #626262 57.1428571429%,
      #0affd9 57.1428571429%,
      #00f5ce 71.4285714286%,
      #3a3a3a 71.4285714286%,
      #303030 85.7142857143%,
      white 85.7142857143%,
      #fafafa 100%
    );
    border-radius: 10px;
    border: 2px solid black;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #252525;
    letter-spacing: 0.15em;
    text-align: center;
    overflow: hidden;
}
.screenM:before,
.screenM:after {
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    width: 100%;
}
.screenM:before {
    top: 0;
    height: 68.4782608696%;
    background: linear-gradient(
      to right,
      white 0%,
      #fafafa 14.2857142857%,
      #ffe60a 14.2857142857%,
      #f5dc00 28.5714285714%,
      #0affd9 28.5714285714%,
      #00f5ce 42.8571428571%,
      #10ea00 42.8571428571%,
      #0ed600 57.1428571429%,
      #ff0afe 57.1428571429%,
      #f500f4 71.4285714286%,
      #ed0014 71.4285714286%,
      #d90012 85.7142857143%,
      #002fc6 85.7142857143%,
      #002bb2 100%
    );
}
.screenM:after {
    bottom: 0;
    height: 21.7391304348%;
    background: linear-gradient(
      to right,
      #006c6b 0%,
      #005857 16.6666666667%,
      white 16.6666666667%,
      #fafafa 33.3333333333%,
      #001b75 33.3333333333%,
      #001761 50%,
      #6c6c6c 50%,
      #626262 66.6666666667%,
      #929292 66.6666666667%,
      #888888 83.3333333333%,
      #3a3a3a 83.3333333333%,
      #303030 100%
    );
}

@keyframes b {
    100% {
      background-position:
        50% 0,
        60% 50%;
    }
}

.lines {
    display: flex;
    column-gap: 0.1em;
    align-self: flex-end;
}
.line1,
.line3 {
    width: 2px;
    height: 0.5em;
    background-color: black;
    border-radius: 25px 25px 0px 0px;
    margin-top: 0.5em;
}
.line2 {
    flex-grow: 1;
    width: 2px;
    height: 1em;
    background-color: black;
    border-radius: 25px 25px 0px 0px;
}

.buttons_div {
    width: 4.25em;
    align-self: center;
    height: 8em;
    background-color: #e69635;
    border: 2px solid #1d0e01;
    padding: 0.6em;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 0.75em;
    box-shadow: 3px 3px 0px #e69635;
}
.b1 {
    width: 1.65em;
    height: 1.65em;
    border-radius: 50%;
    background-color: #7f5934;
    border: 2px solid black;
    box-shadow:
      inset 2px 2px 1px #b49577,
      -2px 0px #513721,
      -2px 0px 0px 1px black;
}
.b1::before {
    content: "";
    position: absolute;
    margin-top: 1em;
    margin-left: 0.5em;
    transform: rotate(47deg);
    border-radius: 5px;
    width: 0.1em;
    height: 0.4em;
    background-color: #000000;
}
.b1::after {
    content: "";
    position: absolute;
    margin-top: 0.9em;
    margin-left: 0.8em;
    transform: rotate(47deg);
    border-radius: 5px;
    width: 0.1em;
    height: 0.55em;
    background-color: #000000;
}
.b1 div {
    content: "";
    position: absolute;
    margin-top: -0.1em;
    margin-left: 0.65em;
    transform: rotate(45deg);
    width: 0.15em;
    height: 1.5em;
    background-color: #000000;
}
.b2 {
    width: 1.65em;
    height: 1.65em;
    border-radius: 50%;
    background-color: #7f5934;
    border: 2px solid black;
    box-shadow:
      inset 2px 2px 1px #b49577,
      -2px 0px #513721,
      -2px 0px 0px 1px black;
}
.b2::before {
    content: "";
    position: absolute;
    margin-top: 1.05em;
    margin-left: 0.8em;
    transform: rotate(-45deg);
    border-radius: 5px;
    width: 0.15em;
    height: 0.4em;
    background-color: #000000;
}
.b2::after {
    content: "";
    position: absolute;
    margin-top: -0.1em;
    margin-left: 0.65em;
    transform: rotate(-45deg);
    width: 0.15em;
    height: 1.5em;
    background-color: #000000;
}
.speakers {
    display: flex;
    flex-direction: column;
    row-gap: 0.5em;
}
.speakers .g1 {
    display: flex;
    column-gap: 0.25em;
}
.speakers .g1 .g11,
.g12,
.g13 {
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    background-color: #7f5934;
    border: 2px solid black;
    box-shadow: inset 1.25px 1.25px 1px #b49577;
}
.speakers .g {
    width: auto;
    height: 2px;
    background-color: #171717;
}

.bottom {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8.7em;
}
.base1 {
    height: 1em;
    width: 2em;
    border: 2px solid #171717;
    background-color: #4d4d4d;
    margin-top: -0.15em;
    z-index: -1;
}
.base2 {
    height: 1em;
    width: 2em;
    border: 2px solid #171717;
    background-color: #4d4d4d;
    margin-top: -0.15em;
    z-index: -1;
}
.base3 {
    position: absolute;
    height: 0.15em;
    width: 17.5em;
    background-color: #171717;
    margin-top: 0.8em;
}

.text_404 {
    position: absolute;
    display: flex;
    flex-direction: row;
    column-gap: 6em;
    z-index: -5;
    margin-bottom: 2em;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    font-family: Montserrat;
}
.text_4041 {
    transform: scaleY(24.5) scaleX(9);
}
.text_4042 {
    transform: scaleY(24.5) scaleX(9);
}
.text_4043 {
    transform: scaleY(24.5) scaleX(9);
}

@media only screen and (max-width: 495px) {
    .text_404 {
      column-gap: 6em;
    }
}
@media only screen and (max-width: 395px) {
    .text_404 {
      column-gap: 4em;
    }
    .text_4041 {
      transform: scaleY(25) scaleX(8);
    }
    .text_4042 {
      transform: scaleY(25) scaleX(8);
    }
    .text_4043 {
      transform: scaleY(25) scaleX(8);
    }
}

@media (max-width: 275px), (max-height: 520px) {
    .main {
      position: relative;
    }
}

@media only screen and (max-width: 1024px) {
    .screenM {
      display: flex;
    }
    .screen-6 .screen {
      display: none;
    }
}
@media only screen and (min-width: 1025px) {
    .screen-6 .screen {
      display: flex;
    }
    .screenM {
      display: none;
    }
}
  
  .terminal-title {
    float: left;
    line-height: 1.5em;
    color: #eee;
  }
  
  .text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 0.2em solid green; /* Cursor */
    animation: typeAndDelete 12s steps(80) infinite,
      blinkCursor 0.5s step-end infinite alternate;
    margin-top: 1.5em;
    font-size: 1.4rem;
  }
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  .macbook {
    position: relative;
    width: 228px;
    height: 260px;
  }
  .macbook__topBord {
    position: absolute;
    z-index: 0;
    top: 34px;
    left: 0;
    width: 128px;
    height: 116px;
    border-radius: 6px;
    transform-origin: center;
    background: linear-gradient(-135deg, #c8c9c9 52%, #8c8c8c 56%);
    transform: scale(0) skewY(-30deg);
  }
  
  .screen-6.animate .macbook__topBord {
    animation: topbord 0.4s 1.7s ease-out;
    animation-fill-mode: forwards;
  }
  .macbook__topBord::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 6px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: #000;
  }
  .macbook__topBord::after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: -7px;
    left: 8px;
    width: 168px;
    height: 12px;
    transform-origin: left bottom;
    transform: rotate(-42deg) skew(-4deg);
    background: linear-gradient(-135deg, #c8c9c9 52%, #8c8c8c 56%);
  }
  .macbook__display {
    position: absolute;
    z-index: 10;
    top: 17px;
    left: 12px;
    z-index: 2;
    width: calc(100% - 12px);
    height: calc(100% - 18px);
    background: linear-gradient(45deg, #3ba9ff, #c82aff);
  }
  .macbook__display::before {
    content: "";
    position: absolute;
    z-index: 5;
    top: -9px;
    left: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 18px);
    border-radius: 6px;
    background: linear-gradient(
      60deg,
      rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 0.3) 60%
    );
  }
  .macbook__load {
    position: relative;
    width: 100%;
    height: 100%;
    background: #222;
    opacity: 1;
  }
  
  .screen-6.animate .macbook__load {
    animation: display 0.4s 4.3s ease;
    animation-fill-mode: forwards;
  }
  .macbook__load:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 80px;
    height: 6px;
    border-radius: 3px;
    box-sizing: border-box;
    border: solid 1px #fff;
  }
  .macbook__load:after {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    bottom: 0;
    margin: auto;
    width: 0;
    height: 6px;
    border-radius: 3px;
    background: #fff;
  }
  
  .screen-6.animate .macbook__load:after {
    animation: load 2s 2s ease-out;
    animation-fill-mode: forwards;
  }
  .macbook__underBord {
    position: relative;
    left: 42px;
    bottom: -145px;
    width: 150px;
    height: 90px;
    border-radius: 6px;
    transform-origin: center;
    transform: rotate(-30deg) skew(30deg);
    background: linear-gradient(-45deg, #c8c9c9 61%, #8c8c8c 66%);
    opacity: 0;
  }
  
  .screen-6.animate .macbook__underBord {
    animation: modal 0.5s 1s ease-out;
    animation-fill-mode: forwards;
  }
  .macbook__underBord::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: -8px;
    left: 8px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: #dcdede;
  }
  .macbook__underBord::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: -8px;
    left: 12px;
    width: 170px;
    height: 15px;
    transform-origin: top left;
    background: linear-gradient(-45deg, #c8c9c9 61%, #8c8c8c 66%);
    transform: rotate(31deg) skew(-16deg);
  }
  .macbook__keybord {
    position: relative;
    top: 0;
    left: 16px;
    z-index: 3;
    border-radius: 3px;
    width: calc(100% - 16px);
    height: 45px;
    background: #c8c9c9;
  }
  .macbook__keybord::before {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 40px;
    height: 25px;
    border-radius: 3px;
    background: #c8c9c9;
  }
  .keybord {
    position: relative;
    top: 2px;
    left: 2px;
    display: flex;
    flex-direction: column;
    width: calc(100% - 3px);
    height: calc(100% - 4px);
  }
  .keybord__touchbar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #000;
  }
  .keybord__keyBox {
    display: grid;
    grid-template-rows: 3fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    width: 100%;
    height: 24px;
    margin: 1px 0 0 0;
    padding: 0 0 0 1px;
    box-sizing: border-box;
    list-style: none;
  }
  .keybord__key {
    position: relative;
    width: 8px;
    height: 7px;
    margin: 1px;
    background: #000;
  }
  .keybord__keyBox .keybord__key {
    transform: translate(60px, -60px);
    opacity: 0;
  }
  
  .screen-6.animate .keybord__keyBox .keybord__key {
    animation: key 0.2s 1.4s ease-out;
    animation-fill-mode: forwards;
  }
  .keybord__keyBox .keybord__key::before,
  .keybord__keyBox .keybord__key::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
  }
  .keybord__key::before {
    top: 8px;
    transform: translate(20px, -20px);
  }
  
  .screen-6.animate .keybord__key::before {
    animation: key1 0.2s 1.5s ease-out;
    animation-fill-mode: forwards;
  }
  .keybord__key::after {
    top: 16px;
    transform: translate(40px, -40px);
  }
  
  .screen-6.animate .keybord__key::after {
    animation: key2 0.2s 1.6s ease-out;
    animation-fill-mode: forwards;
  }
  .keybord__keyBox .key--12::before {
    width: 10px;
  }
  .keybord__keyBox .key--13::before {
    height: 10px;
  }
  .key--01 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }
  .key--02 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  .key--03 {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
  }
  .key--04 {
    grid-row: 1 / 2;
    grid-column: 4 / 5;
  }
  .key--05 {
    grid-row: 1 / 2;
    grid-column: 5 / 6;
  }
  .key--06 {
    grid-row: 1 / 2;
    grid-column: 6 / 7;
  }
  .key--07 {
    grid-row: 1 / 2;
    grid-column: 7 / 8;
  }
  .key--08 {
    grid-row: 1 / 2;
    grid-column: 8 / 9;
  }
  .key--09 {
    grid-row: 1 / 2;
    grid-column: 9 / 10;
  }
  .key--10 {
    grid-row: 1 / 2;
    grid-column: 10 / 11;
  }
  .key--11 {
    grid-row: 1 / 2;
    grid-column: 11 / 12;
  }
  .key--12 {
    grid-row: 1 / 2;
    grid-column: 12 / 13;
  }
  .key--13 {
    grid-row: 1 / 2;
    grid-column: 13 / 14;
  }
  .keybord__keyBox--under {
    margin: 0;
    padding: 0 0 0 1px;
    box-sizing: border-box;
    list-style: none;
    display: flex;
  }
  .keybord__keyBox--under .keybord__key {
    transform: translate(80px, -80px);
    opacity: 0;
  }
  
  .screen-6.animate .keybord__keyBox--under .keybord__key {
    animation: key3 0.3s 1.6s linear;
    animation-fill-mode: forwards;
  }
  .key--19 {
    width: 28px;
  }
  @keyframes topbord {
    0% {
      transform: scale(0) skewY(-30deg);
    }
    30% {
      transform: scale(1.1) skewY(-30deg);
    }
    45% {
      transform: scale(0.9) skewY(-30deg);
    }
    60% {
      transform: scale(1.05) skewY(-30deg);
    }
    75% {
      transform: scale(0.95) skewY(-30deg);
    }
    90% {
      transform: scale(1.02) skewY(-30deg);
    }
    100% {
      transform: scale(1) skewY(-30deg);
    }
  }
  @keyframes display {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  
  @keyframes load {
    0% {
      width: 0;
    }
    20% {
      width: 40px;
    }
    30% {
      width: 40px;
    }
    60% {
      width: 60px;
    }
    90% {
      width: 60px;
    }
    100% {
      width: 80px;
    }
  }
  
  @keyframes modal {
    0% {
      transform: scale(0) rotate(-30deg) skew(30deg);
      opacity: 0;
    }
    30% {
      transform: scale(1.1) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
    45% {
      transform: scale(0.9) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
    60% {
      transform: scale(1.05) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
    75% {
      transform: scale(0.95) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
    90% {
      transform: scale(1.02) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
    100% {
      transform: scale(1) rotate(-30deg) skew(30deg);
      opacity: 1;
    }
  }
  
  @keyframes key {
    0% {
      transform: translate(60px, -60px);
      opacity: 0;
    }
    100% {
      transform: translate(0px, 0px);
      opacity: 1;
    }
  }
  @keyframes key1 {
    0% {
      transform: translate(20px, -20px);
      opacity: 0;
    }
    100% {
      transform: translate(0px, 0px);
      opacity: 1;
    }
  }
  @keyframes key2 {
    0% {
      transform: translate(40px, -40px);
      opacity: 0;
    }
    100% {
      transform: translate(0px, 0px);
      opacity: 1;
    }
  }
  @keyframes key3 {
    0% {
      transform: translate(80px, -80px);
      opacity: 0;
    }
    100% {
      transform: translate(0px, 0px);
      opacity: 1;
    }
  }