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

:root {
    --ocean: #0a6e8a;
    --ocean-deep: #064a5e;
    --reef: #00b4d8;
    --sand: #f5e6c8;
    --sand-light: #faf3e6;
    --honey: #f4a023;
    --honey-glow: #ffc857;
    --jungle: #2d6a4f;
    --jungle-light: #40916c;
    --sunset: #e76f51;
    --ink: #1a1a2e;
    --ink-light: #4a4a5a;
    --mist: #e8e8ee;
    --white: #ffffff;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
}

html { font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--sand-light);
    color: var(--ink);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Nav */
.bz-nav {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 100%);
    color: var(--white);
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(6, 74, 94, 0.3);
}
.bz-nav__logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white);
}
.bz-nav__logo .bee { font-size: 1.5rem; display: inline-block; animation: buzz-float 3s ease-in-out infinite; }
@keyframes buzz-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(3deg); }
    75% { transform: translateY(2px) rotate(-2deg); }
}
.bz-nav__right { display: flex; gap: 6px; align-items: center; }
.bz-nav__right a {
    color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.82rem;
    font-weight: 500; padding: 7px 14px; border-radius: 20px; transition: all 0.2s;
}
.bz-nav__right a:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.bz-nav__right a.active { background: rgba(255,255,255,0.15); color: var(--white); }
.bz-nav__right a.btn-honey { background: var(--honey); color: var(--ink); font-weight: 600; }
.bz-nav__right a.btn-honey:hover { background: var(--honey-glow); }
.bz-nav__user { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 0.85rem; font-weight: 500; }
.bz-nav__user-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 600; font-size: 0.8rem;
    border: 2px solid rgba(255,255,255,0.3);
}
.bz-nav__logout { color: rgba(255,255,255,0.6) !important; font-size: 0.78rem !important; }

/* Subnav */
.bz-subnav { background: var(--ocean); padding: 0 24px; display: flex; justify-content: center; border-bottom: 2px solid rgba(255,255,255,0.1); }
.bz-subnav__list { display: flex; gap: 2px; list-style: none; overflow-x: auto; }
.bz-subnav__list a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.78rem; font-weight: 500; padding: 10px 14px; display: block; transition: all 0.2s; white-space: nowrap; letter-spacing: 0.02em; }
.bz-subnav__list a:hover, .bz-subnav__list a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.bz-subnav__list a.active { border-bottom: 2px solid var(--honey); }

/* Hero */
.bz-hero { text-align: center; padding: 32px 16px 24px; }
.bz-hero h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--ocean-deep); font-weight: 400; }
.bz-hero p { color: var(--ink-light); font-size: 0.9rem; margin-top: 6px; }

/* Content */
.bz-main { max-width: 640px; margin: 0 auto; padding: 24px 16px; }

/* Filters */
.bz-filters { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 0 16px 20px; }
.bz-filters button {
    padding: 6px 14px; border: 1.5px solid var(--mist); border-radius: 20px;
    background: var(--white); color: var(--ink-light); font-family: var(--font-body);
    font-size: 0.78rem; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.bz-filters button:hover { border-color: var(--ocean); color: var(--ocean); }
.bz-filters button.active { background: var(--ocean); color: var(--white); border-color: var(--ocean); }

/* Feed header */
.bz-feed-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bz-feed-header h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--ocean-deep); }


/* District hero */
.district-hero { text-align: center; padding: 32px 16px 24px; }
.district-hero h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--ocean-deep); font-weight: 400; }
.district-hero p { color: var(--ink-light); font-size: 0.9rem; margin-top: 8px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.5; }

/* Profile */
.profile-main { max-width: 640px; margin: 0 auto; padding: 24px 16px; }

.profile-header {
    background: var(--white); border-radius: var(--radius); padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(10,110,138,0.08); text-align: center; margin-bottom: 20px;
}
.profile-avatar {
    width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 2rem; font-family: var(--font-body);
}
.profile-name { font-family: var(--font-display); font-size: 1.6rem; color: var(--ocean-deep); }
.profile-username { color: var(--ink-light); font-size: 0.85rem; margin-top: 2px; }
.profile-location { color: var(--ink-light); font-size: 0.85rem; margin-top: 6px; }
.profile-badge {
    display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 0.75rem;
    font-weight: 600; text-transform: capitalize; margin-top: 8px;
    background: linear-gradient(135deg, rgba(10,110,138,0.1), rgba(0,180,216,0.1));
    color: var(--ocean-deep);
}
.profile-badge:empty { display: none; }
.profile-bio { margin-top: 14px; font-size: 0.92rem; color: var(--ink); line-height: 1.6; }
.profile-bio:empty { display: none; }
.profile-stats {
    display: flex; justify-content: center; gap: 32px; margin-top: 20px;
    padding-top: 16px; border-top: 1px solid var(--mist);
}
.profile-stat { text-align: center; }
.profile-stat__num { font-size: 1.3rem; font-weight: 700; color: var(--ocean-deep); }
.profile-stat__label { font-size: 0.75rem; color: var(--ink-light); text-transform: uppercase; letter-spacing: 0.05em; }

.profile-follow-btn {
    margin-top: 16px; padding: 8px 28px; border-radius: 20px; font-family: var(--font-body);
    font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.2s; border: 2px solid var(--ocean);
    background: var(--ocean); color: var(--white);
}
.profile-follow-btn:hover { background: var(--ocean-deep); border-color: var(--ocean-deep); }
.profile-follow-btn.following { background: transparent; color: var(--ocean); }
.profile-follow-btn.following:hover { background: #fff0f0; color: #c0392b; border-color: #c0392b; }
.profile-follow-btn.self { display: none; }

.profile-section-title {
    font-family: var(--font-display); font-size: 1.2rem; color: var(--ocean-deep);
    margin-bottom: 16px;
}
.profile-joined { font-size: 0.78rem; color: var(--ink-light); margin-top: 8px; }
