* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f5f7fa;
    color: #1a1a2e;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Header */
.header {
    background: linear-gradient(135deg, #0f3460, #16213e);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e94560;
    text-decoration: none;
}
.nav {
    display: flex;
    gap: 20px;
}
.nav a {
    color: #eee;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav a:hover {
    color: #e94560;
}
.hamburger {
    display: none;
    background: none;
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.8rem;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
}
/* Hero */
.hero {
    background: linear-gradient(135deg, #0f3460, #533483);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}
.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}
.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: #e94560;
    color: #fff;
}
.btn-primary:hover {
    background: #c23152;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233,69,96,0.4);
}
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn-secondary:hover {
    background: #fff;
    color: #0f3460;
}
.btn-outline {
    background: transparent;
    border: 2px solid #e94560;
    color: #e94560;
}
.btn-outline:hover {
    background: #e94560;
    color: #fff;
}
.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}
/* Sections */
.section {
    padding: 60px 0;
}
.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: #0f3460;
}
/* Filter bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}
.filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-select, .search-input {
    padding: 10px 16px;
    border-radius: 25px;
    border: 2px solid #ddd;
    background: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}
.filter-select:focus, .search-input:focus {
    border-color: #e94560;
}
.search-group {
    display: flex;
    gap: 8px;
}
/* Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.tool-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.card-header h3 {
    font-size: 1.2rem;
    color: #0f3460;
}
.badge {
    background: #e94560;
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.card-desc {
    color: #555;
    flex: 1;
    margin-bottom: 15px;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.price-tag {
    background: #eef;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}
.price-tag.free { background: #d4edda; color: #155724; }
.price-tag.paid { background: #f8d7da; color: #721c24; }
.rating { color: #f39c12; }
.card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
/* Reviews */
.reviews-list {
    margin-bottom: 30px;
}
.review-item {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.review-header {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.review-rating { color: #f39c12; }
.review-form {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.review-form h3 { margin-bottom: 20px; color: #0f3460; }
.review-form input, .review-form select, .review-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #ddd;
    margin-bottom: 15px;
    font-size: 0.95rem;
    outline: none;
}
.review-form textarea { min-height: 100px; resize: vertical; }
.review-form input:focus, .review-form select:focus, .review-form textarea:focus {
    border-color: #e94560;
}
/* Gulaoshi highlight */
.gulaoshi-highlight {
    background: linear-gradient(135deg, #16213e, #0f3460);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
.gulaoshi-highlight h2 { font-size: 2rem; margin-bottom: 20px; }
.gulaoshi-highlight p { font-size: 1.05rem; margin-bottom: 25px; opacity: 0.9; }
/* Footer */
.footer {
    background: #16213e;
    color: #ccc;
    text-align: center;
    padding: 30px 20px;
}
.footer a {
    color: #e94560;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
/* Admin */
.admin-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}
.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    max-width: 400px;
    margin: 0 auto;
}
.login-box h2 { margin-bottom: 25px; text-align: center; color: #0f3460; }
.login-box input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #ddd;
    margin-bottom: 15px;
    font-size: 1rem;
}
.error-msg { color: #e74c3c; margin-bottom: 15px; }
.success-msg { color: #27ae60; margin-bottom: 15px; }
.admin-panel {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.admin-form h3 { margin-top: 25px; margin-bottom: 15px; color: #0f3460; }
.tool-entry, .review-entry {
    background: #f9f9fb;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tool-entry input, .tool-entry select, .review-entry input, .review-entry textarea {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}
.tool-entry input[type="text"], .tool-entry input[type="number"] { width: 120px; }
.review-entry textarea { width: 100%; min-height: 60px; }
/* Page inner */
.page-inner {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}
.page-inner h1 { color: #0f3460; margin-bottom: 20px; }
.page-inner h2 { color: #0f3460; margin: 30px 0 15px; }
.page-inner p { margin-bottom: 15px; line-height: 1.8; }
.page-inner ul { margin-left: 20px; margin-bottom: 15px; }
.page-inner li { margin-bottom: 8px; }
/* Responsive */
@media (max-width: 768px) {
    .nav { display: none; flex-direction: column; background: #16213e; position: absolute; top: 60px; left: 0; width: 100%; padding: 20px; }
    .nav.active { display: flex; }
    .hamburger { display: block; }
    .hero h1 { font-size: 1.6rem; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-group { flex-wrap: wrap; }
    .tools-grid { grid-template-columns: 1fr; }
}
/* 隐藏滚动条但可滚动 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #e94560; border-radius: 10px; }