* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fc;
    color: #1a1a2e;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a6cf7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}
.nav-link:hover {
    background: #4a6cf7;
    color: #fff;
    transform: translateY(-2px);
}
.admin-link {
    background: #ff6b6b;
    color: #fff;
    border-radius: 20px;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 5px;
    transition: 0.3s;
}
.hero {
    background: linear-gradient(135deg, #4a6cf7 0%, #6c63ff 50%, #ff6584 100%);
    color: #fff;
    padding: 80px 20px 60px;
    text-align: center;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}
.hero-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.hero-search input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    outline: none;
    font-size: 1rem;
}
.hero-search button {
    background: #4a6cf7;
    color: #fff;
    border: none;
    padding: 16px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}
.hero-search button:hover {
    background: #3451d1;
}
.section {
    padding: 60px 0;
}
.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1a2e;
}
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 120px;
}
.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
}
.filter-group select, .filter-group input {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
}
.filter-group select:focus, .filter-group input:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74,108,247,0.15);
}
.btn-filter {
    padding: 10px 24px;
    background: #4a6cf7;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-filter.reset {
    background: #eee;
    color: #333;
}
.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74,108,247,0.3);
}
.sort-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.sort-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}
.sort-btn:hover {
    background: #4a6cf7;
    color: #fff;
    border-color: #4a6cf7;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s;
    position: relative;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(74,108,247,0.15);
}
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 14px;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 2;
}
.card-badge.冲 { background: #ff6b6b; }
.card-badge.稳 { background: #4a6cf7; }
.card-badge.保 { background: #2ed573; }
.card-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.7);
}
.card-body {
    padding: 20px;
}
.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}
.card-location {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.card-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #555;
}
.card-rating {
    margin-bottom: 10px;
    color: #f39c12;
}
.card-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}
.card-actions {
    display: flex;
    gap: 10px;
}
.btn-sm {
    padding: 8px 18px;
    background: #4a6cf7;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s;
}
.btn-sm.outline {
    background: transparent;
    border: 1px solid #4a6cf7;
    color: #4a6cf7;
}
.btn-sm:hover {
    transform: scale(1.05);
}
.event-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.event-item {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.event-date {
    background: #4a6cf7;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}
.event-content h4 {
    margin-bottom: 5px;
}
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}
.comment-item {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.comment-avatar {
    width: 45px;
    height: 45px;
    background: #4a6cf7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}
.comment-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 5px;
    flex-wrap: wrap;
}
.comment-time {
    color: #aaa;
    font-size: 0.8rem;
}
.comment-form {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.comment-form h3 {
    margin-bottom: 15px;
}
.comment-form input, .comment-form select, .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    outline: none;
}
.comment-form textarea {
    min-height: 80px;
    resize: vertical;
}
.comment-form button {
    padding: 12px 28px;
    background: #4a6cf7;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.comment-form button:hover {
    background: #3451d1;
}
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
}
.footer-links {
    margin-bottom: 10px;
}
.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 8px;
}
.footer-links a:hover {
    color: #fff;
}
/* Admin */
.admin-login-body {
    background: linear-gradient(135deg, #4a6cf7, #6c63ff);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}
.admin-login-form {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.admin-login-form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #1a1a2e;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
}
.btn-login {
    width: 100%;
    padding: 14px;
    background: #4a6cf7;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-login:hover {
    background: #3451d1;
}
.back-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #888;
    text-decoration: none;
}
.error-msg {
    color: #ff6b6b;
    text-align: center;
    margin-bottom: 15px;
}
.admin-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}
.admin-form {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 30px;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}
.form-row input, .form-row textarea {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    flex: 1;
    min-width: 150px;
}
.form-row button {
    padding: 10px 24px;
    background: #4a6cf7;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
.admin-table {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    margin-bottom: 30px;
}
.admin-table th, .admin-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}
.admin-table th {
    background: #f8f9fc;
    font-weight: 600;
}
.btn-danger {
    padding: 6px 12px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; background: #fff; position: absolute; top: 70px; left: 0; right: 0; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 0 0 20px 20px; }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 1.8rem; }
    .filter-bar { flex-direction: column; }
    .card-grid { grid-template-columns: 1fr; }
    .event-item { flex-direction: column; }
    .form-row { flex-direction: column; }
}