/* 最新地址通知页面样式 */
.links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.links-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #2c1810 0%, #3d2317 50%, #2c1810 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.links-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 165, 0, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.links-title {
    color: #ff6b35;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.links-subtitle {
    color: #ffa500;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.important-notice {
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.links-section {
    margin-bottom: 35px;
    background: #222;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #333;
}

.links-section-title {
    color: #ff6b35;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
    display: flex;
    align-items: center;
    gap: 10px;
}

.links-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.link-item {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border: 2px solid #4a5568;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-item:hover {
    border-color: #ffa500;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.2);
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-url {
    color: #ffa500;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    word-break: break-all;
}

.link-url:hover {
    color: #ff8c00;
    text-decoration: underline;
}

.link-description {
    color: #cbd5e0;
    font-size: 14px;
    line-height: 1.4;
}

.link-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-active {
    background: #48bb78;
    color: white;
}

.status-backup {
    background: #ed8936;
    color: white;
}

.qr-code-section {
    text-align: center;
    background: #2d3748;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
}

.qr-code-title {
    color: #ffa500;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.qr-code-placeholder {
    width: 200px;
    height: 200px;
    background: #4a5568;
    border: 2px dashed #ffa500;
    border-radius: 8px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffa500;
    font-size: 16px;
    margin-bottom: 15px;
}

.qr-code-description {
    color: #cbd5e0;
    font-size: 14px;
}

.contact-info {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
}

.contact-title {
    color: #63b3ed;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-method {
    color: #a0aec0;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #4a5568;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    color: #63b3ed;
    border-color: #63b3ed;
    background: rgba(99, 179, 237, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .links-container {
        margin: 10px;
        padding: 15px;
    }
    
    .links-header {
        padding: 20px 15px;
    }
    
    .links-title {
        font-size: 24px;
    }
    
    .links-subtitle {
        font-size: 16px;
    }
    
    .links-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .links-section {
        padding: 20px 15px;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 15px;
    }
    
    .qr-code-placeholder {
        width: 150px;
        height: 150px;
    }
}

/* 增强点击效果 */
.link-item {
    cursor: pointer;
}

.link-item:hover {
    border-color: #ffa500;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.2);
}

.important-notice {
    cursor: pointer;
    user-select: none;
}

.important-notice:hover {
    background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%);
    transform: scale(1.02);
}