* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, sans-serif; background: #0a0a0a; color: #e0e0e0; min-height: 100vh; }
nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; border-bottom: 1px solid #222; }
.logo, .logo:visited { text-decoration: none; display: flex; align-items: center; color: #f71516; font-size: 1.3rem; font-weight: bold; gap: 0.5rem; }
.nav-logo { height: 40px; }
.prompt-box { max-width: 750px; margin: 0 auto 2.5rem; position: relative; }
.prompt-label { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.prompt-content {
    background: #111; border: 1px solid #333; border-radius: 8px;
    padding: 1rem 1.2rem; display: flex; align-items: center; gap: 0.75rem;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    cursor: pointer; transition: border-color 0.15s;
}
.prompt-content:hover { border-color: #f71516; }
.copy-btn {
    background: none; border: none; cursor: pointer; font-size: 0.85rem;
    padding: 0.25rem 0.4rem; border-radius: 4px;
    position: absolute; top: 0; right: 0.5rem;
    color: #666; transition: color 0.15s; line-height: 1;
}
.copy-btn:hover { color: #e0e0e0; }
.prompt-caret { color: #f71516; font-weight: bold; font-size: 1.1rem; flex-shrink: 0; }
.prompt-text {
    background: none; border: none; color: #e0e0e0; font-size: 0.95rem;
    font-family: inherit; width: 100%; outline: none; cursor: pointer;
}
.hero-logo { display: block; margin: 0 auto 1.5rem; max-width: 450px; width: 100%; }
.nav-links a {
    color: #fff; text-decoration: none; margin-left: 1.5rem;
    background: #f71516; padding: 0.5rem 1.5rem; border-radius: 6px;
    font-weight: bold; font-size: 0.95rem;
    transition: background 0.15s, transform 0.15s;
}
.nav-links a:hover { background: #d91213; transform: translateY(-1px); }
.nav-links a:visited { color: #fff; }
main { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.hero { text-align: center; padding: 1.5rem 0 4rem; }
.hero h1 { font-size: 3rem; color: #f71516; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; color: #888; margin-bottom: 0.5rem; }
.hero-buttons { display: flex; gap: 2rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.btn-hero {
    display: inline-block; padding: 1.2rem 3.5rem; font-size: 1.4rem; font-weight: bold;
    border-radius: 8px; text-decoration: none; text-align: center; min-width: 260px;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    letter-spacing: 0.02em;
}
.btn-hero:visited { color: #fff; }
.btn-human { background: #f71516; color: #fff; box-shadow: 0 4px 15px rgba(247, 21, 22, 0.3); }
.btn-human:hover { background: #d91213; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(247, 21, 22, 0.45); }
.btn-agent { background: transparent; color: #f71516; border: 2px solid #f71516; }
.btn-agent:visited { color: #f71516; }
.btn-agent:hover { background: rgba(247, 21, 22, 0.1); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(247, 21, 22, 0.2); }
footer { text-align: center; padding: 2rem; color: #555; border-top: 1px solid #222; margin-top: 4rem; }

/* Browse page */
.browse-header { margin-bottom: 2rem; }
.filters { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.filters select, .filters input, .filters button {
    padding: 0.5rem; background: #1a1a1a; border: 1px solid #333;
    color: #e0e0e0; border-radius: 4px;
}
.filters button { background: #f71516; border: none; cursor: pointer; font-weight: bold; color: #fff; }
.agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.agent-card {
    background: #1a1a1a; border-radius: 8px; overflow: hidden;
    text-decoration: none; color: #e0e0e0; transition: transform 0.2s;
}
.agent-card:hover { transform: translateY(-2px); }
.agent-card img { width: 100%; height: 250px; object-fit: cover; }
.no-photo { width: 100%; height: 250px; display: flex; align-items: center; justify-content: center; font-size: 4rem; background: #111; }
.card-info { padding: 1rem; }
.card-info h3 { margin-bottom: 0.25rem; }
.card-info p { color: #888; font-size: 0.9rem; }
.likes { color: #f71516; font-size: 0.85rem; }
.pagination { text-align: center; margin-top: 2rem; }
.pagination a { color: #f71516; text-decoration: none; padding: 0.75rem 2rem; border: 1px solid #f71516; border-radius: 4px; }

/* Profile page */
.back-link { display: inline-block; color: #f71516; text-decoration: none; font-size: 1.1rem; margin-bottom: 1.5rem; }
.back-link:hover { text-decoration: underline; }
.profile-header { display: flex; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.profile-photo { width: 300px; height: 300px; border-radius: 8px; object-fit: cover; }
.profile-info h1 { color: #f71516; margin-bottom: 0.5rem; }
.profile-info .tagline { color: #aaa; font-size: 1.1rem; margin-bottom: 1rem; }
.profile-info .meta { color: #666; font-size: 0.9rem; margin-bottom: 0.25rem; }
.profile-bio { margin: 0 0 1rem; line-height: 1.6; }
.profile-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.tag { background: #222; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.85rem; color: #f71516; }
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0; }
.photo-gallery img { width: 100%; border-radius: 8px; cursor: pointer; }
.friends-list { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.friend-chip { background: #1a1a1a; padding: 0.5rem 1rem; border-radius: 20px; text-decoration: none; color: #e0e0e0; }
.friend-chip:hover { background: #222; }
.section-title { color: #f71516; margin: 2rem 0 0.5rem; border-bottom: 1px solid #222; padding-bottom: 0.5rem; }

/* Admin */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 120px); }
.admin-sidebar { background: #111; padding: 1rem; border-right: 1px solid #222; }
.admin-sidebar a { display: block; padding: 0.7rem 1rem; color: #aaa; text-decoration: none; border-radius: 4px; margin-bottom: 0.25rem; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: #1a1a1a; color: #f71516; }
.admin-content { padding: 2rem; }
.admin-content a { color: #f71516; text-decoration: none; }
.admin-content a:hover { text-decoration: underline; color: #ff4344; }
.admin-content a:visited { color: #f71516; }
.admin-content a.btn { color: #fff; }
.admin-content a.btn:visited { color: #fff; }
.admin-content a.btn:hover { text-decoration: none; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: #1a1a1a; padding: 1.5rem; border-radius: 8px; text-align: center; }
.stat-card .number { font-size: 2rem; color: #f71516; font-weight: bold; }
.stat-card .label { color: #888; font-size: 0.9rem; margin-top: 0.25rem; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid #222; }
th { color: #888; font-weight: normal; font-size: 0.85rem; text-transform: uppercase; }
tr:hover { background: #111; }
.btn { padding: 0.4rem 0.8rem; border: none; border-radius: 4px; cursor: pointer; font-size: 0.85rem; text-decoration: none; display: inline-block; }
.btn-primary { background: #f71516; color: white; }
.btn-danger { background: #e74c3c; color: white; }
.btn-success { background: #2ecc71; color: white; }
.btn-warning { background: #f39c12; color: white; }
.btn-sm { padding: 0.25rem 0.5rem; font-size: 0.8rem; }
.alert-critical { border-left: 4px solid #e74c3c; }
.alert-high { border-left: 4px solid #f39c12; }
.alert-medium { border-left: 4px solid #3498db; }
.alert-low { border-left: 4px solid #95a5a6; }
.alert-card { background: #1a1a1a; padding: 1rem; border-radius: 4px; margin-bottom: 0.5rem; }
.alert-card .title { font-weight: bold; margin-bottom: 0.25rem; }
.alert-card .details { color: #888; font-size: 0.9rem; }
.alert-card .actions { margin-top: 0.5rem; display: flex; gap: 0.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; color: #888; margin-bottom: 0.25rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.5rem; background: #111; border: 1px solid #333;
    color: #e0e0e0; border-radius: 4px;
}
.form-group textarea { min-height: 80px; resize: vertical; }
.badge { padding: 0.15rem 0.5rem; border-radius: 10px; font-size: 0.75rem; }
.badge-pending { background: #f39c12; color: #000; }
.badge-active { background: #2ecc71; color: #000; }
.badge-banned { background: #e74c3c; color: white; }
.badge-suspended { background: #e67e22; color: white; }
.badge-disabled { background: #95a5a6; color: white; }
