/* ============================================================
   GLOBAL RESET & BASE
============================================================ */

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

body {
    background: #0d0f14;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

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

button {
    cursor: pointer;
    border: none;
}

/* ============================================================
   NAVIGATION BAR
============================================================ */

.nav {
    display: flex;
    justify-content: space-between;
    padding: 22px 40px;
    align-items: center;
    background: #0f1218;
    border-bottom: 1px solid #1b202b;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #5865f2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 21px;
    font-weight: 700;
}

.nav-title-main {
    font-size: 22px;
    font-weight: 700;
}

.nav-subtitle {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 2px;
}

.nav-pill {
    background: #1d2030;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 11px;
    margin-left: 6px;
    opacity: 0.8;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-tag {
    background: #282d3a;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    opacity: 0.8;
}

.btn-login {
    background: #5865f2;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.2s;
}

.btn-login:hover {
    background: #4652d8;
}


/* ============================================================
   HERO SECTION
============================================================ */

.hero {
    padding: 70px 40px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-highlight {
    color: #5865f2;
}

.hero-subtitle {
    color: #b4bacb;
    max-width: 550px;
    margin-bottom: 20px;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background: #1b1e29;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.badge-strong {
    background: #5865f2;
}

.hero-statline {
    display: flex;
    align-items: center;
    margin-top: 20px;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #43b581;
}


/* ============================================================
   SEARCH + FILTER PANEL
============================================================ */

.controls-card {
    background: #10131a;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #1b202b;
    width: 100%;
}

.search-wrap {
    background: #181c25;
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.filters-wrap {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.chip {
    background: #1a1d27;
    padding: 7px 16px;
    font-size: 13px;
    border-radius: 20px;
    transition: 0.2s;
}

.chip:hover {
    background: #232633;
}

.chip-active {
    background: #5865f2;
}


/* ============================================================
   GRID – TEMPLATE CARDS
============================================================ */

.grid {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: #10131a;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #1b202b;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #5865f2;
}

.card-header {
    display: flex;
    justify-content: space-between;
}

.card-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.card-category span {
    background: #1d2030;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 6px;
}

.card-badge {
    font-size: 12px;
    opacity: 0.8;
}

.card-body {
    color: #b6bccd;
    margin: 14px 0;
    min-height: 40px;
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.pill-meta {
    background: #181c23;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.btn {
    background: #5865f2;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.btn:hover {
    background: #4652d8;
}


/* ============================================================
   EMPTY STATE
============================================================ */

.empty {
    text-align: center;
    padding: 60px 20px;
    color: #9ea4b5;
}

.empty-emoji {
    font-size: 40px;
    margin-bottom: 10px;
}


/* ============================================================
   FOOTER
============================================================ */

.footer {
    padding: 30px;
    text-align: center;
    opacity: 0.65;
    font-size: 14px;
}
