:root { --bg-color: #0b0b0c; --sidebar-bg: #111112; --card-bg: #161618; --border-color: #242427; --text-main: #ffffff; --text-muted: #8a8a93; --alert-red: #ff3b30; --safe-green: #34c759; --blur-amount: 0px; --grayscale-amount: 0%; }

* { box-sizing: border-box; margin: 0; padding: 0; }

body { background-color: var(--bg-color); color: var(--text-main); font-family: 'JetBrains Mono', monospace; overflow-x: hidden; }

body.rtl { font-family: 'Vazirmatn', sans-serif; direction: rtl; }
.app-container { display: flex; min-height: 100vh; }
body.rtl .app-container { flex-direction: row-reverse; }

.sidebar { width: 400px; background-color: var(--sidebar-bg); border-right: 1px solid var(--border-color); padding: 30px; display: flex; flex-direction: column; gap: 25px; flex-shrink: 0; height: 100vh; overflow-y: auto; }
body.rtl .sidebar { border-right: none; border-left: 1px solid var(--border-color); }

.lang-selector { display: flex; gap: 10px; }
.lang-btn { background: transparent; border: 1px solid var(--border-color); color: var(--text-muted); padding: 5px 12px; cursor: pointer; font-weight: bold; border-radius: 4px; }
.lang-btn.active, .lang-btn:hover { border-color: var(--text-main); color: var(--text-main); }
.brand h1 { font-size: 1.4rem; letter-spacing: -0.5px; margin-bottom: 8px; }
.subtitle { color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; }

.brand { display: flex; align-items: center; gap: 15px; }
.brand-logo { flex-shrink: 0; height: auto; }
.brand-text { display: flex; flex-direction: column; }

.status-panel { display: flex; align-items: center; gap: 12px; background: #161618; padding: 12px 15px; border-radius: 4px; border: 1px solid var(--border-color); font-size: 0.85rem; font-weight: bold; }

.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background-color: var(--safe-green); box-shadow: 0 0 8px var(--safe-green); }
.pulse-dot.active-censorship { background-color: var(--alert-red); box-shadow: 0 0 8px var(--alert-red); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

.concept-section h2 { font-size: 0.95rem; text-transform: uppercase; color: var(--alert-red); margin-bottom: 12px; letter-spacing: 0.5px; }
.manifesto-text { font-size: 0.82rem; line-height: 1.6; color: #e4e4e7; white-space: pre-line; text-align: justify; }
body.rtl .manifesto-text { text-align: justify; font-size: 0.9rem; line-height: 1.8; }

.controls { background: #161618; padding: 15px; border-radius: 4px; border: 1px solid var(--border-color); margin-top: auto; }
.controls label { font-size: 0.8rem; font-weight: bold; }
.controls input[type="range"] { width: 100%; margin-top: 10px; }

.main-content { flex-grow: 1; padding: 40px; height: 100vh; overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; align-items: center; }

.nft-grid { column-count: 3; column-gap: 25px; width: 100%; }
.nft-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 6px; padding: 15px; margin-bottom: 25px; display: inline-block; width: 100%; box-sizing: border-box; }

.image-container { width: 100%; height: auto; max-height: 480px; overflow: hidden; border-radius: 4px; position: relative; background: #000; }
.nft-image { width: 100%; height: auto; display: block; transition: filter 0.3s ease; }

.active-blur .nft-image { filter: blur(var(--blur-amount)) grayscale(var(--grayscale-amount)); }

.censorship-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; text-align: center;  padding: 15px; color: var(--alert-red); font-weight: bold; font-size: 0.85rem; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.active-blur .censorship-overlay { opacity: 1; }

.nft-info h3 { margin: 15px 0 5px 0; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.artist-tag { color: var(--alert-red); font-size: 0.75rem; font-weight: bold; margin-bottom: 8px; text-transform: uppercase; }
.nft-meta-bar { display: flex; justify-content: space-between; background: #111112; padding: 8px 12px; border-radius: 4px; border: 1px solid var(--border-color); font-size: 0.75rem; margin-bottom: 12px; font-weight: bold; }
.meta-price { color: var(--safe-green); }
.meta-editions { color: var(--text-muted); }
.nft-info p.description { color: var(--text-muted); font-size: 0.8rem; line-height: 1.4; margin-bottom: 15px; }

.objkt-btn { background-color: #ffffff; color: #000000; text-decoration: none; padding: 12px; text-align: center; font-weight: bold; font-size: 0.85rem; border-radius: 4px; display: block; transition: all 0.2s; }
.objkt-btn:hover { background-color: var(--alert-red); color: #fff; }

.load-more-container { margin-top: 20px; width: 100%; display: flex; justify-content: center; }
.load-more-btn { background-color: transparent; border: 1px solid var(--border-color); color: var(--text-main); padding: 12px 30px; font-family: 'JetBrains Mono', monospace; font-weight: bold; cursor: pointer; border-radius: 4px; transition: all 0.2s; }
.load-more-btn:hover { border-color: var(--text-main); background-color: #111112; }

/* RESPONSE MOBILE */
@media (max-width: 1200px) { .nft-grid { column-count: 2; } }
@media (max-width: 768px) {
    .app-container { flex-direction: column; }
    body.rtl .app-container { flex-direction: column; }
    .sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid var(--border-color); padding: 20px; }
    .main-content { height: auto; padding: 25px 15px; }
    .nft-grid { column-count: 1; } }