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

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

.container {
    max-width: none;
    margin: 0;
    padding: 0;
}

header {
    background-color: #000;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 30px;
}

.logo {
    width: 50%;
    height: 207px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 648px;
    height: 207px;
    object-fit: contain;
    max-width: 100%;
}

h1 {
    font-size: 5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    width: 50%;
    text-align: center;
    letter-spacing: 0.3em;
}

.warning-bar {
    background: repeating-linear-gradient(
        45deg,
        #feb71e,
        #feb71e 20px,
        #000 20px,
        #000 40px
    );
    height: 50px;
}

main {
    min-height: 400px;
    padding: 40px 20px;
    text-align: center;
    color: #666;
    background-color: #fff8dc;
}

.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 40px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.main-content h2 {
    color: #333;
    margin: 30px 0 20px 0;
    font-size: 1.8rem;
    border-bottom: 3px solid #999;
    padding-bottom: 10px;
    font-weight: bold;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: left;
    color: #555;
    text-indent: 2em;
}

.main-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.main-content li {
    margin: 10px 0;
    padding: 6px 0;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.main-content li:last-child {
    border-bottom: none;
}

.main-content a {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.main-content a:hover {
    color: #feb71e;
    text-decoration: none;
}

.main-content a[target="_blank"] {
    position: relative;
    color: #666;
    font-style: italic;
}

.main-content a[target="_blank"]:after {
    content: " ↗";
    margin-left: 2px;
    font-size: 0.9em;
    font-style: normal;
}

/* 二维码相关样式 */
.i-button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.9em;
    margin-left: 10px;
    padding: 2px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.i-button:hover {
    color: #feb71e;
    border-color: #feb71e;
}

.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.qr-modal.show {
    display: flex;
}

.qr-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-content h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.2em;
}

.qr-canvas {
    margin: 20px 0;
    border: 1px solid #ddd;
}

.qr-close {
    background: #666;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.qr-close:hover {
    background: #feb71e;
    color: #000;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    margin-top: auto;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* 移动端媒体查询 */
@media screen and (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .logo {
        width: 100%;
        height: auto;
        order: 1;
    }
    
    .logo img {
        width: 95%;
        max-width: none;
        height: auto;
    }
    
    h1 {
        width: 100%;
        font-size: 2rem;
        order: 2;
        letter-spacing: 0.1em;
    }
    
    header {
        padding: 15px 10px;
    }
    
    .main-content {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .main-content h2 {
        font-size: 1.5rem;
    }
}

/* 小屏幕手机适配 */
@media screen and (max-width: 480px) {
    header {
        padding: 10px 5px;
    }
    
    h1 {
        font-size: 1.5rem;
        letter-spacing: 0.05em;
    }
    
    .logo img {
        width: 98%;
        max-width: none;
    }
    
    .main-content {
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .main-content h2 {
        font-size: 1.3rem;
    }
} 