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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-btn:active {
    transform: translateY(0);
}

.nav-icon {
    font-size: 18px;
}

.page {
    display: none;
    min-height: 100vh;
    padding: 20px;
    padding-top: 90px;
    position: relative;
    z-index: 10;
}

.page.active {
    display: block;
}

/* 当设置页面激活时，隐藏设置按钮 */
#settingsPage.active ~ .settings-btn {
    display: none;
}

/* 搜索页面样式 */
#searchPage {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
    color: white;
    position: relative;
}

#searchPage.active {
    display: flex;
}

#searchPage > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
}

.search-container {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-title {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.site-slogan {
    font-size: 1.4rem;
    margin-bottom: 50px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.search-box {
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 50px;
    padding: 8px 10px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    max-width: 750px;
    width: 100%;
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.search-box:hover {
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transform: translateY(-2px);
}

.search-engine-select {
    padding: 14px 18px;
    border: none;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
    border-right: 2px solid #f0f0f0;
    outline: none;
    color: #333;
    min-width: 110px;
    font-weight: 500;
    transition: background 0.3s ease;
    border-radius: 30px 0 0 30px;
}

.search-engine-select:hover {
    background: rgba(102, 126, 234, 0.05);
}

.search-engine-select option {
    color: #333;
    padding: 10px;
}

.search-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    font-size: 16px;
    outline: none;
    color: #333;
    background: transparent;
    font-weight: 400;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    padding: 14px 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #7b8fee 0%, #8a5cb3 100%);
}

.search-btn:active {
    transform: scale(0.98);
}



/* 分区导航页面样式 */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 30px;
}

.page-title {
    font-size: 3rem;
    color: white;
    font-weight: 800;
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.category-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
    font-size: 1.7rem;
    margin-bottom: 12px;
    color: #333;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.category-card p {
    color: #666;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

/* 返回按钮 */
.back-btn, .close-btn {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.back-btn:hover, .close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}



/* 分区详情页面样式 */
.category-detail-title {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 40px;
    font-weight: 800;
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

.sites-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.site-card:hover::before {
    transform: scaleX(1);
}

.site-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.site-card h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #333;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.site-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
}

.site-card .rating-preview {
    display: inline-block;
    margin-top: 15px;
    font-size: 16px;
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 网站详情页面样式 */
.site-detail-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-detail-name {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-detail-info {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-label {
    font-weight: 700;
    margin-right: 12px;
    color: #555;
    font-size: 1.1rem;
}

.rating {
    font-size: 1.8rem;
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.site-detail-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #666;
    margin-bottom: 35px;
    font-weight: 400;
}

.visit-btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 35px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.visit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #7b8fee 0%, #8a5cb3 100%);
}

.visit-btn:active {
    transform: translateY(0) scale(0.98);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 25px;
    max-width: 600px;
    max-height: 80vh;
    margin: 50px auto;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 35px 20px;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333;
    transform: rotate(90deg);
}

.modal-content .settings-section {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 25px 35px;
    margin-bottom: 0;
    max-width: 100%;
}

.modal-content .settings-section:last-child {
    padding-bottom: 35px;
}

.modal-content .settings-section h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.background-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 18px;
}

.bg-option {
    width: 100%;
    height: 90px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.bg-option::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 24px;
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.bg-option:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.bg-option.active {
    border-color: #333;
    transform: scale(1.05);
}

.bg-option.active::after {
    transform: translate(-50%, -50%) scale(1);
}

.clear-history-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    letter-spacing: 0.5px;
}

.clear-history-btn:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff3d3d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.search-history-list {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}

.search-history-item {
    padding: 15px 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-history-item:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-history-text {
    flex: 1;
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

.search-history-delete {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 20px;
    padding: 5px 10px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.search-history-delete:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.no-history {
    text-align: center;
    color: #999;
    padding: 40px;
    font-size: 16px;
    font-weight: 500;
}

/* 设置按钮 */
.settings-btn {
    position: fixed;
    top: 90px;
    right: 25px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.settings-btn:active {
    transform: rotate(180deg) scale(0.95);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
        height: 60px;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-nav {
        gap: 8px;
    }
    
    .nav-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .nav-btn span:last-child {
        display: none;
    }
    
    .page {
        padding-top: 80px;
    }
    
    .site-title {
        font-size: 2.8rem;
    }
    
    .site-slogan {
        font-size: 1.2rem;
    }
    
    .search-box {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }
    
    .search-engine-select {
        border-right: none;
        border-bottom: 2px solid #f0f0f0;
        border-radius: 30px;
        padding: 12px 15px;
        width: 100%;
    }
    
    .search-input {
        padding: 12px 15px;
    }
    
    .search-btn {
        padding: 12px 30px;
        width: 100%;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        padding: 30px 25px;
    }
    
    .sites-list {
        grid-template-columns: 1fr;
    }
    
    .site-detail-container {
        padding: 30px 25px;
    }
    
    .background-options {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
    
    .modal-content {
        margin: 20px;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px 25px 15px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-content .settings-section {
        padding: 20px 25px;
    }
    
    .settings-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
        top: 70px;
    }
    
    .admin-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }
    
    .admin-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .admin-tab {
        width: 100%;
    }
    
    .admin-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .admin-select {
        width: 100%;
    }
    
    .admin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .admin-item-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.search-history-list::-webkit-scrollbar {
    width: 8px;
}

.search-history-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.search-history-list::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
}

.search-history-list::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

/* 后台入口按钮 */
.admin-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 登录模态框 */
.login-modal {
    max-width: 400px;
    margin: 100px auto;
}

.login-form {
    padding: 30px;
}

.login-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    outline: none;
    transition: border-color 0.3s ease;
}

.login-input:focus {
    border-color: #667eea;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.login-error {
    color: #ff6b6b;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

/* 后台管理页面 */
.admin-title {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.admin-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.admin-tab {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.admin-tab:hover {
    background: rgba(255, 255, 255, 0.35);
}

.admin-tab.active {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.admin-select {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    background: white;
    min-width: 200px;
}

.admin-add-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
}

.admin-list {
    max-height: 500px;
    overflow-y: auto;
}

.admin-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.admin-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.admin-item-info {
    flex: 1;
}

.admin-item-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.admin-item-url {
    color: #666;
    font-size: 14px;
}

.admin-item-actions {
    display: flex;
    gap: 10px;
}

.admin-action-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-edit-btn {
    background: #667eea;
    color: white;
}

.admin-edit-btn:hover {
    background: #5568d3;
}

.admin-delete-btn {
    background: #ff6b6b;
    color: white;
}

.admin-delete-btn:hover {
    background: #ff5252;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #667eea;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modal-content .form-group:last-of-type {
    margin-bottom: 25px;
}