/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
}

.containers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.content {
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.intro h2 {
    text-align: center;
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-align: center;
}

.contact-section {
    text-align: center;
    margin-top: 30px;
}

.contact-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    font-family: inherit;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.contact-btn:active {
    transform: translateY(0);
}

/* 模态框样式 */
.modal-collect {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-collect .boxx {
    background-color: #fff;
    width: 90%;
  /*  max-width: 400px; */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-collect .title {
    font-size: 0.8rem;
    height: auto;
    line-height: 1.8;
    padding: 20px;
    color: #e74c3c;
    text-align: center;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    font-weight: bold;
}

.modal-collect .body {
    padding: 20px;
    text-align: center;
}

.modal-collect .qrcode {
    height: auto;
    margin: 20px 0;
}

.modal-collect .qrcode img {
    width: 7.6rem;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-collect .tips {
    font-size: 0.45rem;
    margin-top: 15px;
    color: #e74c3c;
}

.modal-collect .btn {
    margin-top: 20px;
}

.modal-collect .btn .close {
    font-size: 0.6rem;
    display: block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    height: 1.2rem;
    line-height: 1.2rem;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    margin: 0 0.5rem 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.modal-collect .btn .close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.6);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .containers {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .content {
        padding: 20px;
    }
    
    .modal-collect .boxx {
        width: 95%;
        margin: 20px;
    }
    
    .modal-collect .qrcode img {
        width: 150px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .content p {
        font-size: 1rem;
    }
    
    .contact-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .modal-collect .title {
        font-size: 1rem;
        padding: 15px;
    }
    
    .modal-collect .qrcode img {
        width: 120px;
    }
}
