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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.header {
    background-color: #c00;
    color: #fff;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 1.5rem;
    color: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.time {
    font-size: 0.9rem;
}

.price-toggle {
    display: flex;
    background-color: #c00;
    border-radius: 4px;
    overflow: hidden;
}

.toggle-btn {
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    background-color: #c00;
    color: #ffd700;
}

.toggle-btn.active {
    background-color: #c00;
    color: #ffd700;
    font-weight: bold;
}

.main {
    padding: 0;
}

.gold-price-section {
    background-color: #f90;
    padding: 1rem 0;
}

.gold-price-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.3rem;
}

.price-note {
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 0.9rem;
    font-style: italic;
}

.price-table-container {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th {
    background-color: #333;
    color: #fff;
    padding: 0.8rem;
    text-align: center;
    font-weight: bold;
}

.price-table td {
    padding: 0.8rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.price-table tr:nth-child(even) {
    background-color: #f5f5f5;
}

.price-red {
    color: #c00;
    font-weight: bold;
}

.price-green {
    color: #090;
    font-weight: bold;
}

.price-blue {
    color: #0066cc;
    font-weight: bold;
}

.price-orange {
    color: #ff6600;
    font-weight: bold;
}

.contact-section {
    background-color: #f90;
    padding: 1.5rem 0;
    margin-top: 0;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.3rem;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background-color: #fff;
    padding: 2rem;
    margin: 0 20px;
    border-radius: 4px;
}

.contact-info {
    text-align: center;
    max-width: 500px;
}

.contact-info p:first-child {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.qrcode {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 4px;
    max-width: 400px;
    width: 100%;
}

.qrcode img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.qrcode-info {
    margin-bottom: 1.5rem;
    text-align: center;
}

.qrcode-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    text-align: center;
}

.qrcode-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
}

.qrcode-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    margin-top: 0;
}
.footer .site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .header-right {
        justify-content: center;
    }

    .price-table th,
    .price-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .contact-content {
        padding: 1.5rem;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.2rem;
    }

    .time {
        font-size: 0.8rem;
    }

    .toggle-btn {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }

    .gold-price-section h2,
    .contact-section h2 {
        font-size: 1.1rem;
    }

    .price-table th,
    .price-table td {
        padding: 0.4rem;
        font-size: 0.8rem;
    }

    .qrcode img {
        width: 150px;
        height: 150px;
    }
}
.site-footer {
  font-size: 13px;
}
.site-footer a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer a:hover {
  color: #1890ff;
}