* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: #0b111e; color: white; scroll-behavior: smooth; }

/* Navigation */
nav { display: flex; justify-content: space-between; align-items: center; padding: 15px 8%; background: #0b111e; border-bottom: 1px solid #1e293b; position: sticky; top: 0; z-index: 1000; }
.logo { font-size: 1.5rem; font-weight: 800; }
.logo span { color: #00d2ff; }
nav ul { display: flex; list-style: none; align-items: center; }
nav ul li { margin-left: 25px; }
nav ul li a { color: #94a3b8; text-decoration: none; transition: 0.3s; }
nav ul li a:hover { color: white; }

.btn-auth-nav { background: transparent; border: 1px solid #00d2ff; color: #00d2ff; padding: 8px 20px; border-radius: 20px; cursor: pointer; transition: 0.3s; }
.btn-auth-nav:hover { background: #00d2ff; color: #0b111e; }

/* Hero */
.hero { 
    height: 65vh; 
    background: linear-gradient(rgba(11, 17, 30, 0.6), #0b111e), url('https://images.unsplash.com/photo-1546708973-b339540b5162?w=1600');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 15px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.btn { padding: 12px 30px; background: #00d2ff; border: none; color: #0b111e; border-radius: 30px; text-decoration: none; font-weight: bold; cursor: pointer; display: inline-block; }

/* Auth Modal */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); }
.modal-content { background: #161e2d; margin: 10% auto; padding: 40px; border-radius: 20px; width: 90%; max-width: 400px; border: 1px solid #1e293b; position: relative; }
.close { position: absolute; right: 20px; top: 15px; font-size: 25px; cursor: pointer; color: #94a3b8; }
.form-toggle { display: flex; margin-bottom: 25px; border-bottom: 1px solid #1e293b; }
.form-toggle button { flex: 1; padding: 10px; background: none; border: none; color: #94a3b8; cursor: pointer; }
.form-toggle button.active { color: #00d2ff; border-bottom: 2px solid #00d2ff; }
.auth-form input { width: 100%; padding: 12px; margin: 10px 0; background: #0b111e; border: 1px solid #1e293b; color: white; border-radius: 8px; }

/* Grid & Cards */
.controls { padding: 40px 8%; text-align: center; }
#searchInput { width: 100%; max-width: 500px; padding: 15px; border-radius: 30px; border: 1px solid #1e293b; background: #161e2d; color: white; margin-bottom: 20px; }
.filter-buttons { margin-bottom: 30px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.filter-btn { background: #161e2d; border: 1px solid #1e293b; color: #94a3b8; padding: 8px 20px; border-radius: 20px; cursor: pointer; }
.filter-btn.active { background: #00d2ff; color: #0b111e; }

.places-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; padding: 0 8% 100px; }
.card { background: #161e2d; border-radius: 15px; overflow: hidden; border: 1px solid #1e293b; transition: 0.3s; position: relative; cursor: pointer; }
.card:hover { transform: translateY(-10px); border-color: #00d2ff; }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-info { padding: 20px; }
.category-badge { position: absolute; top: 10px; left: 10px; background: #00d2ff; color: #0b111e; padding: 4px 10px; border-radius: 10px; font-size: 0.7rem; font-weight: bold; }
footer { text-align: center; padding: 40px; border-top: 1px solid #1e293b; color: #64748b; }