:root {
    --bg-primary: #0a0d14;
    --bg-secondary: #0f121a;
    --bg-card: #141822;
    --bg-hover: #1a1f2e;
    --accent: #00d9ff;
    --accent-dim: rgba(0,217,255,0.1);
    --accent2: #7c3aed;
    --accent2-dim: rgba(124,58,237,0.1);
    --accent3: #f59e0b;
    --text-primary: #e8eaed;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border: rgba(255,255,255,0.08);
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
  }

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

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* Background ambient */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
      radial-gradient(ellipse 1000px 700px at 10% 20%, rgba(0,217,255,0.08) 0%, transparent 60%),
      radial-gradient(ellipse 800px 600px at 90% 80%, rgba(124,58,237,0.08) 0%, transparent 60%);
    pointer-events: none;
  }

  /* TOP HEADER */
  .top-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10,13,20,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
  }

  .search-bar {
    flex: 1;
    max-width: 480px;
    position: relative;
  }

  .search-bar input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px 10px 42px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s;
  }

  .search-bar input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-card);
  }

  .search-bar::before {
    content: '🔍';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 18px;
    position: relative;
  }

  .icon-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
  }

  .icon-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
  }

  .mobile-menu-btn {
    display: none;
  }

  .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
  }

  .user-avatar:hover {
    border-color: var(--accent);
    transform: scale(1.05);
  }

  /* Profile Dropdown */
  .profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s;
    z-index: 2000;
  }

  .profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
  }

  .dropdown-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .dropdown-stats {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
  }

  .dropdown-stats span {
    color: var(--accent);
    font-weight: 600;
  }

  .dropdown-menu {
    padding: 8px;
  }

  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
  }

  .dropdown-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
  }

  .dropdown-item .icon {
    font-size: 18px;
    width: 20px;
  }

  .dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
  }

  .dropdown-item.danger {
    color: #ef4444;
  }

  .dropdown-item.danger:hover {
    background: rgba(239,68,68,0.1);
  }

  /* MAIN LAYOUT */
  .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 240px 1fr 340px;
    gap: 20px;
    max-width: 1440px;
    margin: 20px auto;
    padding: 0 24px;
  }

  /* LEFT SIDEBAR */
  .left-sidebar {
    position: sticky;
    top: 76px;
    height: fit-content;
    max-height: calc(100vh - 96px);
  }

  .profile-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
  }

  .profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    position: relative;
  }

  .profile-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid var(--bg-card);
    border-radius: 50%;
  }

  .profile-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .profile-info .username {
    font-size: 13px;
    color: var(--text-secondary);
  }

  .profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-item {
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 8px;
  }

  .stat-item .value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
  }

  .stat-item .label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .nav-menu {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
  }

  .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
  }

  .nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
  }

  .nav-item.active {
    background: var(--accent-dim);
    color: var(--accent);
  }

  .nav-item .icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
  }

  .nav-item .count {
    margin-left: auto;
    background: var(--accent2);
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
  }

  /* MAIN FEED */
  .main-feed {
    min-height: 100vh;
  }

  .create-post-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
  }

  .create-post-top {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
  }

  .create-post-top .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
  }

  .create-post-top textarea {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    resize: none;
    transition: all 0.2s;
  }

  .create-post-top textarea:focus {
    outline: none;
    border-color: var(--accent);
  }

  .create-post-actions {
    display: flex;
    gap: 12px;
  }

  .post-action-btn {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .post-action-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
    color: var(--accent);
  }

  /* POST CARD */
  .post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.2s;
  }

  .post-card:hover {
    border-color: rgba(0,217,255,0.3);
  }

  .post-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
  }

  .post-avatar.av2 {
    background: linear-gradient(135deg, #10b981, #06b6d4);
  }

  .post-avatar.av3 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
  }

  .post-info {
    flex: 1;
    min-width: 0;
  }

  .post-author {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .post-author a {

    text-decoration: none;
    color: #fff;
  }

  .verified-badge {
    color: var(--accent);
    font-size: 14px;
  }

  .post-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .post-menu-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
  }

  .post-menu-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
  }

  .post-content {
    padding: 0 20px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
  }
  
  .title a {
    padding: 0 20px 16px;
    text-decoration: none;
    color: #fff;
  }

  .post-content.preview {
    max-height: 100px;
    overflow: hidden;
    position: relative;
  }

  .post-content.preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--bg-card));
  }

  .read-more-btn {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    text-decoration: none;
  }

  .read-more-btn:hover {
    text-decoration: underline;
  }

  .post-tags {
    display: flex;
    gap: 4px;
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .post-tags a {
    background: var(--accent-dim);
    border: 1px solid rgba(0,217,255,0.2);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 500;
  }
  
  .post-tags {
  /* Убираем все пробелы и запятые между ссылками */
  font-size: 0;
}

.post-tags a {
  background: var(--accent-dim);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  
  /* Добавляем # перед текстом */
  position: relative;
  padding-left: 18px;
}

.post-tags a::before {
  content: "#";
  position: absolute;
  left: 10px;
  top: 4px;
  font-size: 12px;
  color: var(--accent);
}

/* Убираем стандартные запятые между тегами */
.post-tags a + a {
  margin-left: 5px;
}

  .post-media {
    margin: 0 0 16px;
  }

  .post-image {
    width: 800px;
    display: block;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
    overflow: hidden;
  }

  .post-image.img2 {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  }

  .post-image.img3 {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  }

  .post-game-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .post-stats {
    padding: 0 20px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: 8px;
  }

  .post-stats-left {
    display: flex;
    gap: 16px;
  }

  .post-actions {
    padding: 12px 20px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
  }

  .action-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .action-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
  }

  .action-btn.liked {
    color: #ef4444;
  }

  /* RIGHT SIDEBAR */
  .right-sidebar {
    position: sticky;
    top: 76px;
    height: fit-content;
    max-height: calc(100vh - 96px);
  }

  .widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
  }

  .widget-header {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .widget-title {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .widget-link {
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
  }

  .widget-link:hover {
    text-decoration: underline;
  }

  .widget-body {
    padding: 16px;
  }

  /* Comments Widget */
  .comment-item {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
  }

  .comment-content {
    flex: 1;
    min-width: 0;
  }

  .comment-author {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .comment-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
  }

  .comment-post {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
  }

  /* Trending Widget */
  .trending-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
  }

  .trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .trending-item:hover .trending-title {
    color: var(--accent);
  }

  .trending-rank {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 4px;
  }

  .trending-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    transition: color 0.2s;
  }

  .trending-meta {
    font-size: 11px;
    color: var(--text-muted);
  }

  /* Modal for Full Article */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 20px;
  }

  .modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s;
  }

  .modal-overlay.active .modal-content {
    transform: scale(1);
  }

  .modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    position: sticky;
    top: 0;
    background: var(--bg-card);
    z-index: 10;
  }

  .modal-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
  }

  .modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
  }

  .modal-body {
    padding: 24px;
    font-size: 15px;
    line-height: 1.8;
  }

  .modal-body p {
    margin-bottom: 16px;
  }

  .modal-body h2 {
    font-size: 20px;
    margin: 24px 0 12px;
    color: var(--accent);
  }

  /* Mobile Sidebar Overlay */
  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

  .sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    z-index: 2600;
    transition: left 0.3s;
    overflow-y: auto;
    padding: 20px;
  }

  .mobile-sidebar.active {
    left: 0;
  }

  .mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .mobile-sidebar-header h3 {
    font-size: 18px;
  }

  .sidebar-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-hover);
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ARTICLE CONTENT */
  .article-wrapper {
    min-width: 0;
  }

  .article-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    
  }

  .article-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-dim);
    border: 1px solid rgba(0,217,255,0.2);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
  }

  .article-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
  }

  .author-info {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
  }

  .author-details h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .author-details h4 a {
    color: #fff;
    text-decoration: none;
  }

  .verified-badge {
    color: var(--accent);
    font-size: 14px;
  }

  .author-details p {
    font-size: 13px;
    color: var(--text-muted);
  }

  .article-stats {
    display: flex;
    gap: 20px;
    margin-left: auto;
  }

  .stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
  }

  /* ARTICLE BODY */
  .article-body {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.8;
  }

  .article-body p {
    margin-bottom: 20px;
  }

  .article-body h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 36px 0 16px;
    color: var(--accent);
  }

  .article-body h2:first-child {
    margin-top: 0;
  }

  .article-body strong {
    color: #fff;
    font-weight: 600;
  }

  .article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 24px;
  }

  .article-body li {
    margin-bottom: 12px;
  }

  .article-body img {
    width: 100%;
    margin: 22px 0;
    height: 400px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
  }

  /* ARTICLE ACTIONS */
  .article-actions {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
  }

  .action-btn {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .action-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
    color: var(--accent);
  }

  .action-btn.liked {
    background: rgba(239,68,68,0.1);
    border-color: #ef4444;
    color: #ef4444;
  }

  /* TAGS */
  .article-tags {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
  }

  .tags-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
  }

  .tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .tag {
    background: var(--accent-dim);
    border: 1px solid rgba(0,217,255,0.2);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
  }

  .tag:hover {
    background: rgba(0,217,255,0.2);
    border-color: var(--accent);
  }

  /* COMMENTS SECTION */
  .comments-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
  }

  .comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }

  .comments-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .comments-count {
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 14px;
  }

  .sort-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .sort-select:hover {
    border-color: var(--accent);
  }

  /* COMMENT FORM */
  .comment-form {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
  }

  .form-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
  }

  .form-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
  }

  .form-header h4 {
    font-size: 15px;
  }

  .comment-textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    min-height: 120px;
    transition: all 0.2s;
  }

  .comment-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-card);
  }

  .comment-textarea::placeholder {
    color: var(--text-muted);
  }

  .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
  }

  .form-tools {
    display: flex;
    gap: 8px;
  }

  .tool-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }

  .tool-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .submit-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border: none;
    border-radius: 10px;
    padding: 10px 28px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
  }

  .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,217,255,0.3);
  }

  /* COMMENTS LIST */
  .comments-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .comment {
    display: flex;
    gap: 14px;
  }

  .comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
  }

  .comment-avatar.av2 {
    background: linear-gradient(135deg, #10b981, #06b6d4);
  }

  .comment-avatar.av3 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
  }

  .comment-content {
    flex: 1;
    min-width: 0;
  }

  .comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }

  .comment-author {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .comment-badge {
    background: var(--accent2-dim);
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 10px;
    color: var(--accent2);
    font-weight: 600;
    text-transform: uppercase;
  }

  .comment-time {
    font-size: 13px;
    color: var(--text-muted);
  }

  .comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
  }

  .comment-actions {
    display: flex;
    gap: 16px;
  }

  .comment-action {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
  }

  .comment-action:hover {
    color: var(--accent);
  }

  .comment-action.liked {
    color: #ef4444;
  }

  /* NESTED REPLIES */
  .comment-replies {
    margin-top: 20px;
    padding-left: 58px;
    border-left: 2px solid var(--border);
  }


  /* RESPONSIVE */
  @media (max-width: 1200px) {
    .container {
      grid-template-columns: 1fr;
    }
    .right-sidebar {
      display: none;
    }
    
  }

  @media (max-width: 900px) {
    .container {
      grid-template-columns: 1fr;
      padding: 0 16px;
    }
    .left-sidebar {
      display: none;
    }
    .mobile-menu-btn {
      display: flex;
    }
  }

  @media (max-width: 640px) {
    .search-bar {
      display: none;
    }
    .top-header {
      padding: 0 16px;
    }
    .container {
      margin: 12px auto;
    }
    .post-image img {
      height: 280px;
    }
    .post-actions {
      flex-wrap: wrap;
    }
    .action-btn {
      font-size: 13px;
      padding: 8px 12px;
    }
    .action-btn span:last-child {
      display: none;
    }
    .profile-dropdown {
      right: auto;
      left: 50%;
      transform: translateX(-50%) translateY(-10px);
    }
    .profile-dropdown.active {
      transform: translateX(-50%) translateY(0);
    }
  }