body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-attachment: fixed;
    color: #e0e0e0;
    line-height: 1.6;
}

header {
    background: linear-gradient(90deg, #0c0c0c 0%, #1a1a2e 100%);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 89, 255, 0.2) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(132, 0, 255, 0.2) 0%, transparent 20%);
    pointer-events: none;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00a8ff, #0055ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: rotate(30deg);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.7);
    position: relative;
    z-index: 1;
}

header h1 a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

header h1 a:hover {
    text-shadow: 0 0 20px rgba(0, 150, 255, 1);
}

nav {
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 150, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    float: left;
    display: block;
    color: #a0c8ff;
    text-align: center;
    padding: 16px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

nav a:hover {
    background-color: rgba(0, 100, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

nav a.active {
    background: linear-gradient(90deg, rgba(0, 89, 255, 0.3), rgba(0, 42, 77, 0.3));
    color: #fff;
    font-weight: bold;
}

nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00a8ff, #0055ff);
    border-radius: 3px 3px 0 0;
}

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

.hero {
    background: linear-gradient(135deg, rgba(0, 42, 77, 0.8) 0%, rgba(15, 15, 35, 0.9) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(100, 150, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.7);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 2rem;
}

.feature {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, rgba(25, 25, 50, 0.8) 0%, rgba(15, 15, 35, 0.9) 100%);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(100, 150, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 100, 255, 0.4);
    border-color: rgba(100, 150, 255, 0.3);
}

.feature h3 {
    color: #4dccff;
    margin-top: 0;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(100, 150, 255, 0.2);
    padding-bottom: 10px;
}

.feature p {
    color: #c0c0c0;
}

/* 物品列表样式 */
.item-search {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.item-search input[type="text"] {
    padding: 10px 15px;
    border-radius: 25px 0 0 25px;
    border: 1px solid rgba(100, 150, 255, 0.3);
    background: rgba(15, 15, 35, 0.8);
    color: #e0e0e0;
    width: 300px;
    outline: none;
}

.item-search button {
    padding: 10px 20px;
    border-radius: 0 25px 25px 0;
    border: 1px solid rgba(100, 150, 255, 0.3);
    background: linear-gradient(90deg, #0055ff, #00a8ff);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-search button:hover {
    background: linear-gradient(90deg, #0077ff, #00ccff);
}

.item-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(25, 25, 50, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.item-table th,
.item-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(100, 150, 255, 0.1);
}

.item-table th {
    background: rgba(0, 42, 77, 0.8);
    color: #4dccff;
    font-weight: 600;
}

.item-table tr:last-child td {
    border-bottom: none;
}

.item-table tr:hover {
    background: rgba(0, 100, 255, 0.1);
}

.btn {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, #0055ff, #00a8ff);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #0077ff, #00ccff);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(90deg, #555555, #888888);
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.btn-secondary:hover {
    background: linear-gradient(90deg, #666666, #999999);
    transform: translateY(-2px);
}

/* 新的分页样式 */
.pagination-nav {
    margin: 30px 0;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.page-item {
    display: inline-block;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(15, 15, 35, 0.5);
    color: #6c757d;
    pointer-events: none;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 150, 255, 0.5);
    border-color: rgba(0, 150, 255, 0.5);
}

.page-link {
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(15, 15, 35, 0.8);
    color: #a0c8ff;
    text-decoration: none;
    border: 1px solid rgba(100, 150, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-link:hover:not(.disabled) {
    background: linear-gradient(135deg, #0055ff, #00a8ff);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 150, 255, 0.4);
    border-color: rgba(0, 150, 255, 0.5);
}

.page-link.ellipsis {
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: default;
}

.pagination-info {
    color: #a0c8ff;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 15px;
}

/* 物品详情样式 */
.item-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(100, 150, 255, 0.2);
}

.info-section {
    background: linear-gradient(135deg, rgba(25, 25, 50, 0.8) 0%, rgba(15, 15, 35, 0.9) 100%);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(100, 150, 255, 0.1);
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.info-section h3 {
    color: #4dccff;
    margin-top: 0;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(100, 150, 255, 0.2);
    padding-bottom: 10px;
}

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

.detail-table th,
.detail-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(100, 150, 255, 0.1);
}

.detail-table th {
    width: 20%;
    color: #4dccff;
    font-weight: 600;
}

.detail-table tr:last-child td,
.detail-table tr:last-child th {
    border-bottom: none;
}

.description {
    line-height: 1.8;
    color: #c0c0c0;
}

footer {
    background: linear-gradient(90deg, #0c0c0c 0%, #1a1a2e 100%);
    color: #a0a0c0;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(100, 150, 255, 0.1);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    nav a {
        padding: 14px 12px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .features {
        flex-direction: column;
    }
    
    .item-search input[type="text"] {
        width: 200px;
    }
    
    .item-table {
        font-size: 0.9rem;
    }
    
    .item-table th,
    .item-table td {
        padding: 8px 10px;
    }
    
    .detail-table th,
    .detail-table td {
        padding: 8px 10px;
        display: block;
    }
    
    .detail-table th {
        width: 100%;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 5px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}