:root {
    --bg-color: #141B3E;
    --accent-color: #B5984F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--accent-color);
    min-height: 100vh;
    padding: 20px;
}

.logo {
    text-align: center;
    margin: 20px 0 40px;
}

.logo svg {
    width: 200px;
    height: 100px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.payment-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.payment-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 保持图片比例 */
    border-radius: 4px; /* 可选：圆角效果 */
}

/* 确保二维码容器有固定尺寸 */
.qr-code {
    width: 150px;
    height: 150px;
    margin: 15px auto;
    background-color: rgba(181, 152, 79, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* 添加内边距 */
}

.address {
    font-family: monospace;
    word-break: break-all;
    font-size: 0.8rem;
    margin: 10px 0;
    color: var(--accent-color);
    opacity: 0.8;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn:hover {
    background-color: rgba(181, 152, 79, 0.1);
}

footer {
    text-align: center;
    margin-top: 60px;
    color: var(--accent-color);
    opacity: 0.6;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .logo svg {
        width: 80px;
        height: 80px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
}

/* 页脚样式 */
footer {
    text-align: center;
    margin-top: 60px;
    color: #B5984F; /* 金色文字 */
    opacity: 0.6;
    font-size: 0.9rem;
}

/* 页脚链接样式 */
footer a {
    color: inherit; /* 继承父元素颜色 */
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 1; /* 悬停时取消透明度 */
    text-decoration: underline;
}