:root {
    --primary: #74b9ff;
    --dark-navy: #0f172a;
    --menu-bg: #1e293b;
    --glass: rgba(255, 255, 255, 0.05);
    --white: #f8fafc;
    --card-bg: rgba(30, 41, 59, 0.5);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
    background-attachment: fixed;
    color: var(--white);
    min-height: 100vh;
    padding-bottom: 120px;
    overflow-x: hidden;
}

/* ვარსკვლავური ფონი */
.stars {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

/* --- Header --- */
header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-icon {
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.header-icon:hover { color: var(--primary); }

.app-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(to right, #ffffff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    text-decoration: none;
}

/* --- ფილტრაციის სექცია --- */
.filter-wrapper {
    padding: 15px 0 10px 0;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 10px;
    padding-left: 15px;
    scrollbar-width: none;
    position: sticky;
    top: 55px;
    z-index: 90;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
}

.filter-wrapper::-webkit-scrollbar { display: none; }

.filter-item {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.3s;
}

.filter-item.active {
    background: var(--primary);
    color: var(--dark-navy);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(116, 185, 255, 0.3);
}

/* --- Container & Cards --- */
.container {
    max-width: 480px;
    margin: 10px auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    gap: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
}

.card:active { transform: scale(0.97); }

.card-img-wrapper {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img { width: 100%; height: 100%; object-fit: cover; }
.card-content { flex-grow: 1; min-width: 0; }

.cat-tag {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

h3 { margin: 0 0 4px 0; font-size: 15px; color: #fff; }
.desc { color: #94a3b8; font-size: 12px; line-height: 1.4; }

.meta {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 10px;
    color: #64748b;
}

/* --- Bottom Nav --- */
.nav-wrapper {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 12px;
    z-index: 1000;
}

.nav-container {
    position: relative;
    width: 94%;
    max-width: 500px;
    height: 65px;
    background: var(--menu-bg);
    border-radius: 32px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 15px 45px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

.center-btn-area {
    position: absolute;
    top: -28px;
    width: 75px;
    height: 75px;
    background: var(--menu-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -8px 20px rgba(0,0,0,0.2);
}

.plus-btn {
    width: 58px;
    height: 58px;
    background: var(--white);
    color: var(--dark-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(116, 185, 255, 0.4);
    transition: 0.3s;
    text-decoration: none;
}

.plus-btn:hover { transform: scale(1.05); }

.nav-icon { 
    color: #64748b; 
    font-size: 20px; 
    cursor: pointer; 
    flex: 1; 
    text-align: center; 
    text-decoration: none;
    transition: 0.2s;
}
.nav-icon.active { color: var(--primary); }