/* THEME: Tech / Elektronika (Clean, High-Tech, Silver/White)
   PALETTE: Pure White, Silver, Neon Blue
   PATTERN: Circuit board / Microdots
*/

:root {
    --bg-main: #fafafa;
    --bg-card: #ffffff;
    --text-main: #171717;
    --text-muted: #737373;
    --primary: #000000;
    --primary-light: #e5e5e5;
    --accent: #404040;
    --border: #e5e5e5;
    --radius: 4px;
    --shadow: 0 15px 30px rgba(0,0,0,0.05);
}

body {
    font-family: '-apple-system', 'BlinkMacSystemFont', 'San Francisco', 'Inter', sans-serif;
    background-color: var(--bg-main);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23000000' fill-opacity='0.05'/%3E%3C/svg%3E");
    color: var(--text-main);
    line-height: 1.5;
}

body::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--primary); z-index: 9999;
}

.site-nav { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding: 15px 0; position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-box { display: flex; align-items: center; gap: 8px; text-decoration: none; }

.logo-icon {
    background: var(--primary) !important; color: #fff !important;
    width: 36px; height: 36px; border-radius: 8px !important;
    font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center;
}

.logo-text { color: var(--primary) !important; font-weight: 600; font-size: 22px; letter-spacing: -0.5px; }

.nav-menu { display: flex; list-style: none; gap: 20px; }
.nav-menu li a {
    color: var(--text-main); font-weight: 500; font-size: 14px; padding: 5px 0; 
    transition: all 0.2s; cursor: pointer; text-decoration: none; opacity: 0.8;
}
.nav-menu li a:hover { opacity: 1; color: var(--accent); }

.btn-read {
    display: inline-block; margin-top: 15px; padding: 8px 18px;
    background: var(--bg-main); color: var(--primary) !important; font-size: 13px; font-weight: 600;
    border: 1px solid var(--border); border-radius: 20px; transition: all 0.2s; cursor: pointer; text-align: center;
}
.btn-read:hover { background: var(--primary); color: #fff !important; }

.tile-item { border: 1px solid var(--border) !important; border-radius: var(--radius) !important; overflow: hidden; box-shadow: var(--shadow) !important; transition: all 0.3s; }
.tile-item:hover { transform: scale(1.02); }
.tile-overlay { background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%) !important; padding: 25px !important; border-bottom: 2px solid var(--accent); }
.tile-overlay h3 { font-weight: 700; font-size: 1.3rem; color: #ffffff !important; letter-spacing: -0.5px; }

.card { background: var(--bg-card); border: 1px solid var(--border) !important; transition: all 0.3s; border-radius: var(--radius); overflow: hidden; }
.card:hover { box-shadow: var(--shadow); }
.card-body h4 { font-weight: 600; font-size: 1.2rem; color: var(--text-main); margin-bottom: 12px; letter-spacing: -0.5px; }

#sidebar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 25px; }
#sidebar h3 { color: var(--text-main); padding: 0 0 10px 0; font-weight: 600; margin: 0 0 15px 0; border-bottom: 1px solid var(--border); font-size: 16px; }

#view-post article { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
#p-title { font-size: 2.5rem; font-weight: 700; color: var(--text-main); margin-bottom: 25px; letter-spacing: -1px; }
#view-post img { border-radius: var(--radius) !important; margin-bottom: 30px; border: 1px solid var(--border); }
.post-content { font-size: 1.1rem; color: var(--text-main); line-height: 1.7; }
.post-content h2, .post-content h3 { color: var(--text-main); font-weight: 600; margin-top: 2em; margin-bottom: 1em; letter-spacing: -0.5px; }

@media (max-width: 768px) {
    .nav-inner { flex-direction: column; gap: 15px; } .nav-menu { flex-wrap: wrap; justify-content: center; }
}
