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

body {
    background-image: url('../image/taikong.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
}

.logo {
    width: 100px;
    height: 100px;
    background-color: rgb(240, 150, 36);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo img {
    width: 60px;
    height: 60px;
}

.logo-container h1 {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 500;
}

.logo-container p {
    font-size: 14px;
    opacity: 0.9;
}

.tutorial-title {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    padding: 15px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.tutorial-title h2 {
    font-size: 22px;
    font-weight: 500;
}

.buttons-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.button-card, .video-card {
    background-color: transparent;
    border-radius: 15px;
    padding: 0;
    display: block;
    position: relative;
    color: black;
    box-shadow: none;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
}

.button-icon, .video-icon {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.button-icon img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.video-icon {
    background-color: #000;
    color: white;
}

.video-icon svg {
    width: 24px;
    height: 24px;
}

.button-text, .video-text {
    flex: 1;
}

.button-text h2, .video-text h2 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
}

.button-text p, .video-text p {
    font-size: 14px;
    color: #666;
}

.heart {
    color: #ff5252;
}

.menu-dots {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dots {
    width: 5px;
    height: 20px;
    background-color: #ccc;
    border-radius: 2px;
    position: relative;
}

.dots:before, .dots:after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #ccc;
    border-radius: 50%;
    left: 0;
}

.dots:before {
    top: -7px;
}

.dots:after {
    bottom: -7px;
}

.qr-section {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: black;
    font-size: 12px;
    cursor: pointer;
}

.qr-section img {
    width: 40px;
    height: 40px;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    color: black;
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
}

/* 自适应手机端 */
@media (max-width: 576px) {
    .container {
        padding: 10px 5px;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    .tutorial-title h2 {
        font-size: 18px;
    }
    
    .button-card, .video-card {
        padding: 0;
    }
    
    .button-icon, .video-icon {
        width: 100%;
        height: auto;
    }
    
    .button-text h2, .video-text h2 {
        font-size: 14px;
    }
    
    .button-text p, .video-text p {
        font-size: 12px;
    }
    
    .info-card {
        font-size: 12px;
        padding: 15px;
    }
    
    .modal-content {
        width: 90%;
        margin: 30% auto;
    }
}

/* 更大屏幕 */
@media (min-width: 992px) {
    .container {
        max-width: 700px;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .logo img {
        width: 70px;
        height: 70px;
    }
    
    .tutorial-title h2 {
        font-size: 24px;
    }
    
    .button-card:hover, .video-card:hover {
        transform: translateY(-2px);
        transition: all 0.3s ease;
    }
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 15px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.modal-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 15px;
}

.modal-content p {
    color: #333;
    font-size: 14px;
    margin-top: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
} 