:root {
    --bg: #080f16;
    --surface: #1c2a36;
    --accent: #0d9488;
    --text-main: #eee8e0;
    --text-muted: #8a9aa0;
    --border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.65;
    margin: 0;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.hero {
    display: flex;
    gap: 20px;
    align-items: center;
}

.logo {
    width: 102px;
    height: 102px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.16), rgba(13, 148, 136, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 102px;
    box-shadow: 0 8px 28px rgba(5, 30, 30, 0.18);
}

.logo img {
    width: 68px;
    height: 68px;
    filter: brightness(0) invert(1);
}

h1 {
    font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.3px;
    margin: 0 0 6px;
}

.subtitle, .post-date, .status { color: var(--text-muted); }
.subtitle { font-size: 14px; margin: 0; }

.store-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 20px;
}

.store-badge img { display: block; height: 42px; width: auto; }

.btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #042022;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 22px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(4, 32, 34, 0.12);
}

.btn:hover {
    text-decoration: none;
    opacity: 0.92;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(13, 148, 136, 0.25);
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.08);
    color: var(--text-main);
    font-size: 14px;
    line-height: 22px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-button:hover {
    background: rgba(13, 148, 136, 0.16);
    border-color: rgba(13, 148, 136, 0.45);
    color: var(--text-main);
    transform: translateY(-1px);
}

.post-list { display: grid; gap: 14px; }

.post-card {
    position: relative;
    display: block;
    background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(0,0,0,.04));
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 14px;
    padding: 20px 20px 20px 28px;
    color: var(--text-main);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(3,12,14,.18);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.post-card::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--accent), rgba(13,148,136,.7));
}

.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(3,12,14,.22); text-decoration: none; }
.post-card h2 { margin: 4px 0 8px; font-size: 20px; line-height: 1.3; text-transform: none; letter-spacing: 0; color: var(--text-main); }
.post-card p { margin: 0; color: var(--text-muted); font-size: 14px; }
.post-date { display: block; font-size: 12px; font-weight: 600; }
.post-card-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

.post-content {
    background: rgba(255,255,255,.015);
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 14px;
    padding: 26px;
    overflow-wrap: anywhere;
}

.post-content h1 { font-size: 30px; margin: 0 0 20px; }
.post-content h2 { font-size: 21px; margin: 30px 0 10px; color: var(--text-main); }
.post-content h3 { font-size: 17px; margin: 24px 0 8px; }
.post-content p { margin: 0 0 18px; }
.post-content ul, .post-content ol { padding-left: 24px; }
.post-content blockquote { margin: 20px 0; padding-left: 16px; border-left: 4px solid var(--accent); color: var(--text-muted); }
.post-content code { background: var(--surface); border-radius: 4px; padding: 2px 5px; }
.post-content pre { overflow-x: auto; background: var(--surface); border-radius: 8px; padding: 14px; }
.post-content pre code { padding: 0; }
.post-content img { max-width: 100%; height: auto; border-radius: 10px; }

a:not(.nav-button) {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
a:hover { text-decoration: underline; }
.nav-button:hover,
.post-card:hover .post-card-link { text-decoration: none; }

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    text-align: center;
    font-size: 11px;
}

.footer-links { display: flex; justify-content: center; gap: 12px; }

@media (max-width: 520px) {
    .container { padding-top: 30px; }
    .logo { width: 74px; height: 74px; flex-basis: 74px; }
    .logo img { width: 48px; height: 48px; }
    h1 { font-size: 26px; }
    .store-badge img { height: 36px; }
    .nav-button { min-height: 36px; }
    .post-content { padding: 20px; }
    .post-content h1 { font-size: 25px; }
}
