:root {
    --bg: #0b0f14;
    --bg-2: #111827;
    --panel: rgba(17, 24, 39, 0.7);
    --glass: rgba(255, 255, 255, 0.06);
    --stroke: rgba(255, 255, 255, 0.12);
    --accent: #ff4d4d;
    --accent-2: #00d1b2;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Space Grotesk", "Unbounded", sans-serif;
    background: radial-gradient(circle at 20% 20%, #111827 0%, #0b0f14 55%, #050608 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(11, 15, 20, 0.7);
    border-bottom: 1px solid var(--stroke);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 16px;
}

.brand {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.menu {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.user {
    color: var(--muted);
}

.hero {
    padding: 90px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: center;
}

.eyebrow {
    color: var(--accent-2);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
}

h1, h2, h3 {
    font-family: "Unbounded", sans-serif;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin: 12px 0;
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 520px;
}

.cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.btn {
    background: var(--accent);
    color: #0b0f14;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 60px rgba(255, 77, 77, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--stroke);
    box-shadow: none;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid transparent;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--stroke);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.hero-card-inner {
    background: var(--panel);
    border-radius: 18px;
    padding: 24px;
}

.steps {
    margin: 16px 0 0;
    padding-left: 18px;
}

.tag {
    display: inline-block;
    margin-top: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-2);
    font-weight: 600;
}

.section {
    padding: 70px 0;
}

.mission {
    padding: 40px 0 70px;
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: center;
}

.glass {
    background: var(--glass);
    border: 1px solid var(--stroke);
    padding: 24px;
    border-radius: 20px;
}

.list {
    padding-left: 18px;
    margin: 12px 0 0;
}

.banner {
    padding: 60px 0 90px;
}

.banner-inner {
    background: linear-gradient(120deg, rgba(255, 77, 77, 0.2), rgba(0, 209, 178, 0.15));
    border: 1px solid var(--stroke);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--muted);
}

input, select, textarea {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 12px;
    color: var(--text);
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.card {
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 320px;
}

.card-top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
}

.type-scam {
    color: var(--accent);
    border: 1px solid rgba(255, 77, 77, 0.4);
}

.type-suspect {
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.status-approved {
    color: var(--accent-2);
    border: 1px solid rgba(0, 209, 178, 0.4);
}

.status-pending {
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.4);
}

.status-rejected {
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.4);
}

.meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.85rem;
}

.muted {
    color: var(--muted);
}

.clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section .empty {
    padding: 40px 0;
    text-align: center;
    color: var(--muted);
}

.narrow {
    width: min(520px, 92vw);
}

.alert {
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.alert.success {
    background: rgba(0, 209, 178, 0.15);
    border: 1px solid rgba(0, 209, 178, 0.3);
}

.alert.danger {
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.alert.info {
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.project-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.project-body {
    margin-bottom: 36px;
}

.comments {
    display: grid;
    gap: 16px;
}

.comment-list {
    display: grid;
    gap: 12px;
}

.comment {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 14px 16px;
}

.comment-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.status-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.site-footer {
    border-top: 1px solid var(--stroke);
    padding: 30px 0 60px;
    text-align: center;
}

@media (max-width: 700px) {
    .nav {
        flex-direction: column;
        align-items: stretch;
    }
    .brand {
        text-align: center;
    }
    .menu {
        justify-content: center;
        width: 100%;
    }
    .meta {
        flex-direction: column;
        gap: 6px;
    }
    .project-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

.comment-form textarea {
    min-height: 140px;
}

.comment-form .btn {
    margin-top: 12px;
    align-self: flex-start;
}

.full-width {
    width: 100%;
}

.comment-form {
    display: flex;
    flex-direction: column;
}

.project-form .btn {
    margin-top: 12px;
}

.badge-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent);
    color: #0b0f14;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 6px;
}

.comment-body {
    display: grid;
    gap: 10px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
    max-width: 720px;
}

.media-grid img {
    width: 100%;
    height: auto;
    max-width: 720px;
    max-height: 720px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: #0b0f14;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    max-width: 720px;
}

.video-grid iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
    background: #000;
    max-width: 720px;
}

.reply-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.reply-form textarea {
    min-height: 90px;
}

.is-hidden {
    display: none;
}

.reply-actions {
    margin-top: 8px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    cursor: pointer;
}

.icon-btn.danger {
    border-color: rgba(248, 113, 113, 0.5);
    color: #fca5a5;
}

.inline-form {
    display: inline-flex;
}

.notification {
    border-left: 3px solid transparent;
}

.notification.is-unread {
    border-left-color: var(--accent);
}

.notification.is-read {
    opacity: 0.8;
}

.with-avatar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.comment-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.avatar-wrap {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 32px;
    height: 32px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.avatar.placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
    color: var(--text);
    position: absolute;
    inset: 0;
}

.avatar-wrap.has-photo .avatar.placeholder {
    display: none;
}

.avatar.avatar-img {
    position: absolute;
    inset: 0;
}

.avatar-wrap.is-loaded .avatar.placeholder {
    display: none;
}
