/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

/* 全局样式重置 */
body {
    background-color: #0A0A0A;
    color: #FFFFFF;
    min-height: 100vh;
}

/* 头部区域样式 */
.header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #FFFFFF, #CCCCCC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #AAAAAA;
    max-width: 500px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

.logo-x {
    font-size: 4rem;
    font-weight: 900;
    color: #FFFFFF;
}

/* 搜索框样式 */
.search-container {
    margin-bottom: 2rem;
}

/* 搜索框样式 */
.search-input {
    width: 100%;
    max-width: 500px;
    padding: 0.75rem 1rem;
    background-color: #1A1A1A;
    border: 1px solid #333333;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.search-input::placeholder {
    color: #666666;
}

/* 表格标题样式 */
.table-header {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 1fr;
    gap: 1rem;
    padding: 1rem;
    background-color: #FFFFFF;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    color: #333333;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 产品列表样式 */
.products-list {
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-item {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 1rem;
    padding: 1.5rem 1rem;
    background-color: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
    align-items: center;
    transition: background-color 0.3s ease;
}

.product-item:hover {
    background-color: #F9F9F9;
}

/* 产品信息样式 - 确保在白色表格背景上有良好对比度 */
.product-details h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333333;
}

.product-details p {
    font-size: 0.85rem;
    color: #666666;
}

/* 地址样式 - 确保在白色表格背景上有良好对比度 */
.address-text {
    font-size: 0.85rem;
    color: #666666;
    font-family: 'Courier New', monospace;
}

.product-item:last-child {
    border-bottom: none;
}

/* 操作按钮样式 */
.info-button {
    background: none;
    border: 1px solid #DDDDDD;
    color: #666666;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.info-button:hover {
    border-color: #AAAAAA;
    color: #333333;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-details h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333333;
}

.product-details p {
    font-size: 0.85rem;
    color: #666666;
}

/* 地址样式 */
.address-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address-text {
    font-size: 0.85rem;
    color: #AAAAAA;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.copy-button {
    background: none;
    border: none;
    color: #666666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy-button:hover {
    color: #10B981;
    background-color: #F0F0F0;
}

/* 产品信息样式 */
.product-details h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333333;
}

.product-details p {
    font-size: 0.85rem;
    color: #AAAAAA;
}

/* 地址样式 */
.address-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address-text {
    font-size: 0.85rem;
    color: #AAAAAA;
    font-family: 'Courier New', monospace;
}

.copy-button {
    background: none;
    border: none;
    color: #666666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy-button:hover {
    color: #10B981;
    background-color: #1A1A1A;
}

/* 操作按钮样式 */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-button {
    background: none;
    border: 1px solid #333333;
    color: #AAAAAA;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.info-button:hover {
    border-color: #555555;
    color: #FFFFFF;
}



/* 产品信息样式 */
.product-details p {
    font-size: 0.85rem;
    color: #AAAAAA;
}

/* 地址样式 */
.address-text {
    font-size: 0.85rem;
    color: #AAAAAA;
    font-family: 'Courier New', monospace;
}

.copy-button {
    background: none;
    border: none;
    color: #666666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy-button:hover {
    color: #10B981;
    background-color: #1A1A1A;
}

/* 操作按钮样式 */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-button {
    background: none;
    border: 1px solid #333333;
    color: #AAAAAA;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.info-button:hover {
    border-color: #555555;
    color: #FFFFFF;
}

.explore-button {
    background: linear-gradient(90deg, #10B981, #059669);
    border: none;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.explore-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .table-header,
    .product-item {
        grid-template-columns: 2fr 1.5fr 1fr;
    }
    
    .ethereum-address {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .header-content p {
        max-width: 100%;
    }
    
    .search-input {
        max-width: 100%;
    }
    
    .table-header {
        display: none;
    }
    
    .product-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .info-button,
    .explore-button {
        flex: 1;
        justify-content: center;
    }
}

/* Logo图片样式 */
.logo img {
    max-width: 80px;
    max-height: 80px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 图标样式 */
.icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 所有图片的通用样式限制 */
img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 主容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* 头部区域样式 */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}