  /* ============================================
     RESPONSIVE STYLESHEET - Alireza Bolbolabadi
     Breakpoints:
     Mobile: <= 768px
     Tablet: 769px - 1024px
     Desktop: > 1024px
     ============================================ */

  /* CSS Variables */
  :root {
      --bg-primary: #0a0a0f;
      --bg-secondary: #111118;
      --bg-card: #16161f;
      --border-color: #1f1f2e;
      --text-primary: #e0e0e0;
      --text-secondary: #a0a0b0;
      --text-muted: #606070;
      --accent-red: #ff2a2a;
      --accent-cyan: #00d4ff;
      --accent-green: #00ff41;
      --accent-orange: #ff6b35;
      --glow-red: 0 0 20px rgba(255, 42, 42, 0.3);
      --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
      --font-heading: 'Rajdhani', sans-serif;
  }

  /* Reset & Base */
  *,
  *::before,
  *::after {
      box-sizing: border-box;
  }

  html {
      font-size: 16px;
      -webkit-text-size-adjust: 100%;
  }

  body {
      margin: 0;
      padding: 0;
      font-family: var(--font-mono);
      background: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
      min-height: 100vh;
  }

  img {
      max-width: 100%;
      height: auto;
      display: block;
  }

  /* Matrix Canvas */
  #matrix-canvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
  }

  .scanlines {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none;
      background: repeating-linear-gradient(
          0deg,
          rgba(0, 0, 0, 0.08),
          rgba(0, 0, 0, 0.08) 1px,
          transparent 1px,
          transparent 2px
      );
  }

  /* Loader */
  #loader-overlay {
      position: fixed;
      inset: 0;
      background: var(--bg-primary);
      z-index: 9999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: opacity 0.6s ease;
  }

  #loader-overlay.hidden {
      opacity: 0;
      pointer-events: none;
  }

  .radar-container {
      width: 200px;
      height: 200px;
      position: relative;
  }

  .radar {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      border: 2px solid var(--accent-red);
      position: relative;
      overflow: hidden;
  }

  .radar-sweep {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 50%;
      height: 2px;
      background: linear-gradient(90deg, var(--accent-red), transparent);
      transform-origin: left center;
      animation: radarSweep 2s linear infinite;
  }

  @keyframes radarSweep {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
  }

  .radar-ring {
      position: absolute;
      border: 1px solid rgba(255, 42, 42, 0.3);
      border-radius: 50%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  }

  .radar-ring.ring-1 { width: 30%; height: 30%; }
  .radar-ring.ring-2 { width: 60%; height: 60%; }
  .radar-ring.ring-3 { width: 90%; height: 90%; }

  .radar-crosshair {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 6px;
      height: 6px;
      background: var(--accent-red);
      border-radius: 50%;
      transform: translate(-50%, -50%);
  }

  .radar-dot {
      position: absolute;
      width: 4px;
      height: 4px;
      background: var(--accent-green);
      border-radius: 50%;
      animation: radarDot 2s ease-in-out infinite;
  }

  @keyframes radarDot {
      0%, 100% { opacity: 0; transform: scale(0); }
      50% { opacity: 1; transform: scale(1); }
  }

  .radar-status {
      margin-top: 2rem;
      text-align: center;
      width: 100%;
      max-width: 400px;
      padding: 0 1rem;
  }

  .radar-status-line {
      font-family: var(--font-mono);
      font-size: 0.9rem;
      color: var(--accent-green);
      margin-bottom: 0.5rem;
      transition: opacity 0.15s;
  }

  .radar-progress-bar {
      width: 100%;
      height: 4px;
      background: var(--border-color);
      border-radius: 2px;
      overflow: hidden;
  }

  .radar-progress-fill {
      height: 100%;
      background: var(--accent-red);
      width: 0%;
      transition: width 0.3s ease;
  }

  .radar-coords {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 0.5rem;
  }

  /* Navigation */
  .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(10, 10, 15, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
  }

  .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 60px;
  }

  .logo {
      font-family: var(--font-heading);
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--accent-red);
      text-decoration: none;
      letter-spacing: 2px;
      text-shadow: var(--glow-red);
      white-space: nowrap;
  }

  .mobile-menu-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 36px;
      height: 36px;
      background: transparent;
      border: 1px solid var(--border-color);
      cursor: pointer;
      padding: 6px;
      border-radius: 4px;
  }

  .mobile-menu-toggle span {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--text-primary);
      transition: all 0.3s ease;
      border-radius: 1px;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
      opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-links {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      gap: 0.5rem;
      align-items: center;
      flex-wrap: wrap;
  }

  .nav-links li a,
  .nav-links li button {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.85rem;
      padding: 0.4rem 0.7rem;
      border-radius: 4px;
      transition: all 0.2s;
      white-space: nowrap;
      display: inline-block;
  }

  .nav-links li a:hover,
  .nav-links li a.active {
      color: var(--accent-red);
      background: rgba(255, 42, 42, 0.1);
  }

  /* Main Content */
  .main-content {
      position: relative;
      z-index: 2;
      padding-top: 60px;
      min-height: 100vh;
  }

  .main-content.admin-main {
      margin-left: 260px;
      padding: 2rem;
  }

  /* Hero Section */
  .hero {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: calc(100vh - 60px);
      padding: 2rem 1.5rem;
      text-align: center;
  }

  .hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      width: 100%;
  }

  .hero-badge {
      display: inline-block;
      padding: 0.4rem 1rem;
      border: 1px solid var(--accent-red);
      color: var(--accent-red);
      font-size: 0.8rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 1rem;
      background: var(--bg-card);
      border-radius: 4px;
  }

  .hero h1 {
      font-family: var(--font-heading);
      font-size: clamp(2rem, 6vw, 4rem);
      margin: 0 0 1rem;
      line-height: 1.1;
  }

  .hero h1 .highlight {
      color: var(--accent-red);
      text-shadow: var(--glow-red);
  }

  .hero-subtitle {
      font-family: var(--font-mono);
      color: var(--accent-green);
      font-size: clamp(0.9rem, 2vw, 1.2rem);
      margin-bottom: 1rem;
      min-height: 1.6em;
      background: var(--bg-card);
      padding: 0.25rem 1rem;
      border-radius: 4px;
      display: inline-block;
  }

  .hero-description {
      color: var(--text-secondary);
      font-size: clamp(0.85rem, 1.5vw, 1rem);
      max-width: 600px;
      margin: 0 auto 2rem;
      line-height: 1.8;
      background: var(--bg-card);
      padding: 1rem;
      border-radius: 8px;
  }

  .hero-stats {
      display: flex;
      justify-content: center;
      gap: 2rem;
      margin-bottom: 2rem;
      flex-wrap: wrap;
  }

  .stat-item {
      text-align: center;
      position: relative;
      z-index: 2;
      padding: 0.5rem 1rem;
      background: var(--bg-card);
      border-radius: 8px;
      border: 1px solid var(--border-color);
  }

  .stat-number {
      font-family: var(--font-heading);
      font-size: clamp(1.5rem, 3vw, 2.5rem);
      font-weight: 700;
      color: var(--accent-cyan);
  }

  .stat-label {
      font-size: 0.75rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 1px;
  }

  .hero-cta {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
  }

  /* Sections */
  .section {
      position: relative;
      z-index: 2;
      padding: 4rem 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
  }

  .section-header {
      position: relative;
      z-index: 2;
      text-align: center;
      margin-bottom: 3rem;
  }

  .section-tag {
      font-family: var(--font-mono);
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
      display: inline-block;
      padding: 0.25rem 0.75rem;
      background: var(--bg-card);
      border-radius: 4px;
      border: 1px solid var(--border-color);
  }

  .section-title {
      font-family: var(--font-heading);
      font-size: clamp(1.5rem, 3vw, 2.5rem);
      margin: 0 0 0.5rem;
      color: var(--text-primary);
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }

  .section-desc {
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto;
      font-size: clamp(0.85rem, 1.5vw, 1rem);
      background: var(--bg-card);
      padding: 0.5rem 1rem;
      border-radius: 4px;
      display: inline-block;
  }

  /* Buttons */
  .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.75rem 1.5rem;
      font-family: var(--font-mono);
      font-size: 0.85rem;
      text-decoration: none;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.2s;
      border: 1px solid transparent;
      white-space: nowrap;
  }

  .btn-primary {
      background: var(--accent-red);
      color: #fff;
      border-color: var(--accent-red);
  }

  .btn-primary:hover {
      background: #ff4444;
      box-shadow: var(--glow-red);
  }

  .btn-outline {
      background: transparent;
      color: var(--text-primary);
      border-color: var(--border-color);
  }

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

  /* Card Grid */
  .card-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 1.5rem;
  }

  .card {
      position: relative;
      z-index: 2;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      padding: 1.5rem;
      border-radius: 4px;
      transition: all 0.3s;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .card:hover {
      border-color: var(--accent-red);
      transform: translateY(-2px);
  }

  .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
      flex-wrap: wrap;
      gap: 0.5rem;
  }

  .card-category {
      font-size: 0.75rem;
      color: var(--accent-cyan);
      text-transform: uppercase;
      letter-spacing: 1px;
  }

  .card-date {
      font-size: 0.75rem;
      color: var(--text-muted);
  }

  .card h3 {
      font-family: var(--font-heading);
      font-size: 1.1rem;
      margin: 0 0 0.75rem;
      line-height: 1.3;
  }

  .card h3 a {
      color: var(--accent-cyan);
      text-decoration: none;
      font-weight: 600;
  }

  .card h3 a:hover {
      color: var(--accent-red);
      text-decoration: underline;
  }

  .card p {
      color: var(--text-secondary);
      font-size: 0.85rem;
      line-height: 1.6;
      margin: 0;
  }

  .card-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 1.5rem;
      flex-wrap: wrap;
      gap: 0.75rem;
  }

  .card-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
  }

  .tag {
      display: inline-block;
      padding: 0.25rem 0.6rem;
      background: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      font-size: 0.75rem;
      color: var(--text-secondary);
  }

  .tag a {
      color: inherit;
      text-decoration: none;
  }

  .read-more {
      color: var(--accent-red);
      text-decoration: none;
      font-size: 0.85rem;
      white-space: nowrap;
      font-weight: 600;
      background: rgba(255, 42, 42, 0.1);
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
      border: 1px solid var(--accent-red);
  }

  .read-more:hover {
      text-decoration: none;
      background: var(--accent-red);
      color: #fff;
  }

  /* Project Cards */
  .project-card {
      position: relative;
      z-index: 2;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      padding: 1.5rem;
      border-radius: 4px;
      transition: all 0.3s;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .project-card:hover {
      border-color: var(--accent-red);
      transform: translateY(-2px);
  }

  .project-card h3 {
      font-family: var(--font-heading);
      font-size: 1.1rem;
      margin: 0 0 0.75rem;
      line-height: 1.3;
  }

  .project-card h3 a {
      color: var(--accent-cyan);
      text-decoration: none;
      font-weight: 600;
      transition: color 0.2s;
  }

  .project-card h3 a:hover {
      color: var(--accent-red);
      text-decoration: underline;
  }

  .project-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
  }

  .project-icon {
      font-size: 1.5rem;
  }

  .project-stars {
      color: var(--accent-orange);
      font-size: 0.85rem;
  }

  .project-lang {
      display: inline-block;
      padding: 0.25rem 0.6rem;
      background: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      font-size: 0.75rem;
      color: var(--accent-cyan);
  }

  /* Skills */
  .skills-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1rem;
  }

  .skill-item {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      padding: 1rem;
      border-radius: 4px;
  }

  .skill-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.5rem;
  }

  .skill-name {
      font-size: 0.85rem;
      color: var(--text-primary);
  }

  .skill-percent {
      font-family: var(--font-heading);
      font-size: 0.9rem;
      color: var(--accent-cyan);
  }

  .skill-bar {
      height: 6px;
      background: var(--bg-secondary);
      border-radius: 3px;
      overflow: hidden;
  }

  .skill-progress {
      height: 100%;
      background: var(--accent-red);
      border-radius: 3px;
      transition: width 1s ease-out;
  }

  /* Terminal */
  .terminal {
      position: relative;
      z-index: 2;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      overflow: hidden;
      max-width: 800px;
      margin: 0 auto;
  }

  .terminal-header {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1rem;
      background: var(--bg-secondary);
      border-bottom: 1px solid var(--border-color);
  }

  .terminal-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
  }

  .terminal-dot.red { background: var(--accent-red); }
  .terminal-dot.yellow { background: var(--accent-orange); }
  .terminal-dot.green { background: var(--accent-green); }

  .terminal-title {
      margin-left: auto;
      font-size: 0.8rem;
      color: var(--text-muted);
  }

  .terminal-body {
      padding: 1.5rem;
      font-family: var(--font-mono);
      font-size: 0.85rem;
      overflow-x: auto;
  }

  .terminal-line {
      margin-bottom: 0.5rem;
      line-height: 1.6;
  }

  .terminal-prompt {
      color: var(--accent-green);
  }

  .terminal-command {
      color: var(--text-primary);
  }

  .terminal-output {
      color: var(--text-secondary);
      padding-left: 1rem;
  }

  /* Forms */
  .form-group {
      position: relative;
      z-index: 2;
      margin-bottom: 1.5rem;
  }

  .form-group label {
      display: block;
      margin-bottom: 0.5rem;
      color: var(--text-secondary);
      font-size: 0.85rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
      width: 100%;
      padding: 0.75rem 1rem;
      background: var(--bg-secondary);
      border: 1px solid var(--border-color);
      color: var(--text-primary);
      font-family: var(--font-mono);
      font-size: 0.9rem;
      border-radius: 4px;
      transition: border-color 0.2s;
  }

  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
      outline: none;
      border-color: var(--accent-red);
  }

  .form-group textarea {
      min-height: 120px;
      resize: vertical;
  }

  .form-group small {
      display: block;
      margin-top: 0.5rem;
      color: var(--text-muted);
      font-size: 0.75rem;
  }

  /* Alerts */
  .alert {
      position: relative;
      z-index: 2;
      padding: 1rem 1.5rem;
      border-radius: 4px;
      margin-bottom: 1.5rem;
      font-size: 0.9rem;
  }

  .alert-success {
      background: rgba(0, 255, 65, 0.1);
      border: 1px solid var(--accent-green);
      color: var(--accent-green);
  }

  .alert-error {
      background: rgba(255, 42, 42, 0.1);
      border: 1px solid var(--accent-red);
      color: var(--accent-red);
  }

  /* Post / Tutorial Content */
  .post-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      margin: 0 auto;
      padding: 2rem 1.5rem;
  }

  .post-header {
      position: relative;
      z-index: 2;
      text-align: center;
      margin-bottom: 3rem;
      padding-top: 2rem;
  }

  .post-meta {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
      color: var(--text-muted);
      font-size: 0.85rem;
      margin-top: 1rem;
  }

  .post-body {
      line-height: 1.8;
      color: var(--text-secondary);
  }

  .post-body h1,
  .post-body h2,
  .post-body h3,
  .post-body h4 {
      font-family: var(--font-heading);
      color: var(--text-primary);
      margin-top: 2rem;
      margin-bottom: 1rem;
  }

  .post-body p {
      margin-bottom: 1rem;
  }

  .post-body pre {
      background: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      padding: 1rem;
      overflow-x: auto;
      font-size: 0.85rem;
  }

  .post-body code {
      background: var(--bg-secondary);
      padding: 0.2rem 0.4rem;
      border-radius: 3px;
      font-size: 0.85rem;
  }

  .post-body blockquote {
      border-left: 3px solid var(--accent-red);
      padding-left: 1rem;
      margin-left: 0;
      color: var(--text-muted);
  }

  .post-body ul,
  .post-body ol {
      padding-left: 1.5rem;
      margin-bottom: 1rem;
  }

  .post-body img {
      max-width: 100%;
      border-radius: 4px;
      margin: 1rem 0;
  }

  .post-body table {
      width: 100%;
      border-collapse: collapse;
      margin: 1rem 0;
      overflow-x: auto;
      display: block;
  }

  .post-body th,
  .post-body td {
      border: 1px solid var(--border-color);
      padding: 0.5rem 0.75rem;
      text-align: left;
  }

  .post-body th {
      background: var(--bg-secondary);
  }

  /* Pagination */
  .pagination {
      position: relative;
      z-index: 2;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
      margin-top: 3rem;
      flex-wrap: wrap;
  }

  .pagination a,
  .pagination span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.5rem 1rem;
      min-width: 40px;
      height: 40px;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.85rem;
      border-radius: 4px;
  }

  .pagination a:hover {
      border-color: var(--accent-red);
      color: var(--accent-red);
  }

  .pagination span.active {
      background: var(--accent-red);
      border-color: var(--accent-red);
      color: #fff;
  }

  /* Footer */
  .footer {
      position: relative;
      z-index: 2;
      background: var(--bg-secondary);
      border-top: 1px solid var(--border-color);
      padding: 3rem 1.5rem 1.5rem;
  }

  .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
  }

  .footer-section h4 {
      font-family: var(--font-heading);
      color: var(--accent-red);
      margin: 0 0 1rem;
      font-size: 1rem;
  }

  .footer-section p,
  .footer-section a {
      display: block;
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.85rem;
      margin-bottom: 0.5rem;
      transition: color 0.2s;
  }

  .footer-section a:hover {
      color: var(--accent-red);
  }

  .social-links {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-top: 1rem;
  }

  .social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border: 1px solid var(--border-color);
      border-radius: 4px;
      color: var(--text-secondary);
      font-size: 0.75rem;
      text-decoration: none;
      transition: all 0.2s;
  }

  .social-links a:hover {
      border-color: var(--accent-red);
      color: var(--accent-red);
  }

  .footer-bottom {
      text-align: center;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border-color);
      color: var(--text-muted);
      font-size: 0.8rem;
  }

  /* Admin Sidebar */
  .admin-sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: 260px;
      height: 100vh;
      background: var(--bg-secondary);
      border-right: 1px solid var(--border-color);
      z-index: 200;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      transition: transform 0.3s ease;
  }

  .admin-sidebar-header {
      padding: 1.5rem;
      border-bottom: 1px solid var(--border-color);
  }

  .admin-sidebar-logo {
      font-family: var(--font-heading);
      font-size: 1.2rem;
      color: var(--accent-red);
      text-decoration: none;
      display: block;
      margin-bottom: 0.5rem;
  }

  .admin-sidebar-badge {
      font-size: 0.7rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 2px;
  }

  .admin-sidebar-nav {
      flex: 1;
      padding: 1rem 0;
  }

  .admin-sidebar-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 1.5rem;
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.85rem;
      transition: all 0.2s;
  }

  .admin-sidebar-link:hover,
  .admin-sidebar-link.active {
      background: rgba(255, 42, 42, 0.1);
      color: var(--accent-red);
      border-left: 3px solid var(--accent-red);
  }

  .admin-sidebar-icon {
      font-size: 1rem;
      width: 20px;
      text-align: center;
  }

  .admin-sidebar-footer {
      padding: 1rem 1.5rem;
      border-top: 1px solid var(--border-color);
  }

  .admin-sidebar-lang {
      width: 100%;
      padding: 0.5rem;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      color: var(--text-primary);
      font-family: var(--font-mono);
      font-size: 0.8rem;
      cursor: pointer;
      border-radius: 4px;
  }

  .admin-menu-toggle {
      display: none;
      position: fixed;
      top: 1rem;
      left: 1rem;
      z-index: 250;
      width: 40px;
      height: 40px;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      cursor: pointer;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 4px;
  }

  .admin-menu-toggle span {
      display: block;
      width: 20px;
      height: 2px;
      background: var(--text-primary);
      transition: all 0.3s;
  }

  .admin-sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      z-index: 150;
  }

  .admin-sidebar-overlay.active {
      display: block;
  }

  /* Admin Header */
  .admin-header {
      position: relative;
      z-index: 2;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      flex-wrap: wrap;
      gap: 1rem;
  }

  /* Admin Tables */
  .admin-table-wrapper {
      position: relative;
      z-index: 2;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin-bottom: 1rem;
  }

  .admin-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.85rem;
      min-width: 600px;
  }

  .admin-table th,
  .admin-table td {
      padding: 0.75rem 1rem;
      text-align: left;
      border-bottom: 1px solid var(--border-color);
  }

  .admin-table th {
      background: var(--bg-secondary);
      color: var(--text-primary);
      font-weight: 600;
      white-space: nowrap;
  }

  .admin-table td {
      color: var(--text-secondary);
  }

  .admin-table tr:hover td {
      background: rgba(255, 42, 42, 0.05);
  }

  /* Bulk Actions */
  .bulk-actions {
      margin-bottom: 1rem;
  }

  /* News Filters */
  .news-filters {
      position: relative;
      z-index: 2;
      margin-bottom: 2rem;
  }

  .filter-group {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      align-items: center;
  }

  .filter-label {
      color: var(--text-muted);
      font-size: 0.85rem;
      margin-right: 0.5rem;
  }

  .filter-tag {
      display: inline-block;
      padding: 0.4rem 0.8rem;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.8rem;
      border-radius: 4px;
      transition: all 0.2s;
  }

  .filter-tag:hover,
  .filter-tag.active {
      border-color: var(--accent-red);
      color: var(--accent-red);
      background: rgba(255, 42, 42, 0.1);
  }

  /* Markdown Editor */
  .markdown-editor {
      position: relative;
      z-index: 2;
      border: 1px solid var(--border-color);
      border-radius: 4px;
      overflow: hidden;
  }

  .md-toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 0.25rem;
      padding: 0.5rem;
      background: var(--bg-secondary);
      border-bottom: 1px solid var(--border-color);
  }

  .md-toolbar button {
      padding: 0.4rem 0.6rem;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      color: var(--text-primary);
      font-family: var(--font-mono);
      font-size: 0.8rem;
      cursor: pointer;
      border-radius: 3px;
      transition: all 0.2s;
  }

  .md-toolbar button:hover {
      border-color: var(--accent-red);
      color: var(--accent-red);
  }

  .md-toolbar-sep {
      width: 1px;
      background: var(--border-color);
      margin: 0 0.25rem;
  }

  .md-editor-body {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 300px;
  }

  .md-textarea {
      width: 100%;
      padding: 1rem;
      background: var(--bg-primary);
      border: none;
      border-right: 1px solid var(--border-color);
      color: var(--text-primary);
      font-family: var(--font-mono);
      font-size: 0.9rem;
      resize: vertical;
      min-height: 300px;
  }

  .md-preview {
      padding: 1rem;
      background: var(--bg-card);
      overflow-y: auto;
      font-size: 0.9rem;
  }

  /* Empty State */
  .empty-state {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 3rem;
      color: var(--text-muted);
      grid-column: 1 / -1;
  }

  /* Timeline */
  .timeline {
      position: relative;
      z-index: 2;
      padding-left: 2rem;
  }

  .timeline::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--border-color);
  }

  .timeline-item {
      position: relative;
      padding-bottom: 2rem;
      padding-left: 1.5rem;
  }

  .timeline-item::before {
      content: '';
      position: absolute;
      left: -2rem;
      top: 0.25rem;
      width: 10px;
      height: 10px;
      background: var(--accent-red);
      border-radius: 50%;
      margin-left: -4px;
  }

  .timeline-date {
      font-family: var(--font-mono);
      font-size: 0.8rem;
      color: var(--accent-cyan);
      margin-bottom: 0.25rem;
  }

  .timeline-title {
      font-family: var(--font-heading);
      font-size: 1.1rem;
      color: var(--text-primary);
      margin-bottom: 0.25rem;
  }

  .timeline-company {
      font-size: 0.85rem;
      color: var(--text-secondary);
      margin-bottom: 0.5rem;
  }

  .timeline-desc {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.6;
  }

  /* CVE Cards */
  .cve-card {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
  }

  /* Glitch Effect */
  .glitch {
      position: relative;
  }

  .glitch::before,
  .glitch::after {
      content: attr(data-text);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }

  .glitch::before {
      left: 2px;
      text-shadow: -1px 0 var(--accent-cyan);
      clip: rect(24px, 550px, 90px, 0);
      animation: glitch-anim-2 3s infinite linear alternate-reverse;
  }

  .glitch::after {
      left: -2px;
      text-shadow: -1px 0 var(--accent-red);
      clip: rect(85px, 550px, 140px, 0);
      animation: glitch-anim 2.5s infinite linear alternate-reverse;
  }

  @keyframes glitch-anim {
      0% { clip: rect(14px, 9999px, 127px, 0); }
      20% { clip: rect(80px, 9999px, 30px, 0); }
      40% { clip: rect(90px, 9999px, 12px, 0); }
      60% { clip: rect(15px, 9999px, 80px, 0); }
      80% { clip: rect(60px, 9999px, 10px, 0); }
      100% { clip: rect(120px, 9999px, 70px, 0); }
  }

  @keyframes glitch-anim-2 {
      0% { clip: rect(65px, 9999px, 100px, 0); }
      20% { clip: rect(20px, 9999px, 30px, 0); }
      40% { clip: rect(80px, 9999px, 5px, 0); }
      60% { clip: rect(10px, 9999px, 110px, 0); }
      80% { clip: rect(50px, 9999px, 60px, 0); }
      100% { clip: rect(90px, 9999px, 80px, 0); }
  }

  /* Farsi name styling */
  .farsi-name {
      font-family: 'Vazirmatn', 'Tahoma', sans-serif;
  }

  .farsi-family {
      font-family: 'Vazirmatn', 'Tahoma', sans-serif;
      font-size: 0.8em;
  }

  /* ============================================
     RESPONSIVE BREAKPOINTS
     ============================================ */

  /* Tablet: 769px - 1024px */
  @media (max-width: 1024px) {
      .main-content.admin-main {
          margin-left: 0;
          padding: 1.5rem;
      }

      .admin-sidebar {
          transform: translateX(-100%);
      }

      .admin-sidebar.open {
          transform: translateX(0);
      }

      .admin-menu-toggle {
          display: flex;
      }

      .card-grid {
          grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      }

      .md-editor-body {
          grid-template-columns: 1fr;
      }

      .md-textarea {
          border-right: none;
          border-bottom: 1px solid var(--border-color);
      }
  }

  /* Mobile: <= 768px */
  @media (max-width: 768px) {
      html {
          font-size: 15px;
      }

      .nav-container {
          padding: 0 1rem;
          height: 56px;
      }

      .mobile-menu-toggle {
          display: flex;
      }

      .nav-links {
          display: none;
          position: absolute;
          top: 56px;
          left: 0;
          right: 0;
          background: rgba(10, 10, 15, 0.98);
          backdrop-filter: blur(10px);
          flex-direction: column;
          padding: 1rem;
          gap: 0.25rem;
          border-bottom: 1px solid var(--border-color);
          max-height: calc(100vh - 56px);
          overflow-y: auto;
      }

      .nav-links.active {
          display: flex;
      }

      .nav-links li {
          width: 100%;
      }

      .nav-links li a,
      .nav-links li button {
          display: block;
          width: 100%;
          padding: 0.75rem 1rem;
          text-align: center;
      }

      .main-content {
          padding-top: 56px;
      }

      .hero {
          min-height: calc(100vh - 56px);
          padding: 1.5rem 1rem;
      }

      .hero-stats {
          gap: 1.5rem;
      }

      .section {
          padding: 2.5rem 1rem;
      }

      .card-grid {
          grid-template-columns: 1fr;
          gap: 1rem;
      }

      .skills-grid {
          grid-template-columns: 1fr;
      }

      .footer-content {
          grid-template-columns: 1fr 1fr;
          gap: 1.5rem;
      }

      .terminal-body {
          padding: 1rem;
          font-size: 0.8rem;
      }

      .post-content {
          padding: 1rem;
      }

      .post-meta {
          gap: 0.75rem;
      }

      .admin-header {
          flex-direction: column;
          align-items: flex-start;
      }

      .admin-table {
          font-size: 0.8rem;
      }

      .admin-table th,
      .admin-table td {
          padding: 0.5rem 0.75rem;
      }

      .filter-group {
          justify-content: center;
      }

      .timeline {
          padding-left: 1.5rem;
      }

      .timeline-item {
          padding-left: 1rem;
          padding-bottom: 1.5rem;
      }

      .timeline-item::before {
          width: 8px;
          height: 8px;
          left: -1.5rem;
      }

      .pagination a,
      .pagination span {
          padding: 0.4rem 0.75rem;
          min-width: 36px;
          height: 36px;
          font-size: 0.8rem;
      }

      .form-group input,
      .form-group textarea,
      .form-group select {
          padding: 0.6rem 0.75rem;
      }

      .btn {
          padding: 0.6rem 1.2rem;
          font-size: 0.8rem;
      }

      .hero-cta {
          flex-direction: column;
          width: 100%;
          max-width: 300px;
          margin: 0 auto;
      }

      .hero-cta .btn {
          width: 100%;
      }

      .social-links {
          justify-content: center;
      }

      .news-filters {
          text-align: center;
      }

      .filter-group {
          justify-content: center;
      }
  }

  /* Small Mobile: <= 480px */
  @media (max-width: 480px) {
      html {
          font-size: 14px;
      }

      .footer-content {
          grid-template-columns: 1fr;
          text-align: center;
      }

      .footer-section .social-links {
          justify-content: center;
      }

      .card-footer {
          flex-direction: column;
          align-items: flex-start;
      }

      .project-header {
          flex-wrap: wrap;
      }

      .hero h1 {
          font-size: clamp(1.8rem, 10vw, 2.5rem);
      }

      .stat-number {
          font-size: 1.5rem;
      }

      .section-title {
          font-size: clamp(1.3rem, 6vw, 1.8rem);
      }

      .post-header h1 {
          font-size: clamp(1.5rem, 6vw, 2rem);
      }

      .admin-table th,
      .admin-table td {
          padding: 0.4rem 0.5rem;
          font-size: 0.75rem;
      }

      .md-toolbar button {
          padding: 0.3rem 0.4rem;
          font-size: 0.75rem;
      }

      .timeline {
          padding-left: 1rem;
      }

      .timeline-item::before {
          left: -1rem;
      }
  }

  /* RTL Support */
  [dir="rtl"] .admin-sidebar {
      left: auto;
      right: 0;
      border-right: none;
      border-left: 1px solid var(--border-color);
  }

  [dir="rtl"] .main-content.admin-main {
      margin-left: 0;
      margin-right: 260px;
  }

  [dir="rtl"] .admin-sidebar-link:hover,
  [dir="rtl"] .admin-sidebar-link.active {
      border-left: none;
      border-right: 3px solid var(--accent-red);
  }

  [dir="rtl"] .timeline {
      padding-left: 0;
      padding-right: 2rem;
  }

  [dir="rtl"] .timeline::before {
      left: auto;
      right: 0;
  }

  [dir="rtl"] .timeline-item {
      padding-left: 0;
      padding-right: 1.5rem;
  }

  [dir="rtl"] .timeline-item::before {
      left: auto;
      right: -2rem;
      margin-left: 0;
      margin-right: -4px;
  }

  [dir="rtl"] .admin-menu-toggle {
      left: auto;
      right: 1rem;
  }

  @media (max-width: 1024px) {
      [dir="rtl"] .main-content.admin-main {
          margin-right: 0;
      }

      [dir="rtl"] .admin-sidebar {
          transform: translateX(100%);
      }

      [dir="rtl"] .admin-sidebar.open {
          transform: translateX(0);
      }
  }

  @media (max-width: 768px) {
      [dir="rtl"] .timeline {
          padding-right: 1.5rem;
      }

      [dir="rtl"] .timeline-item {
          padding-right: 1rem;
      }

      [dir="rtl"] .timeline-item::before {
          right: -1.5rem;
      }
  }

  @media (max-width: 480px) {
      [dir="rtl"] .timeline {
          padding-right: 1rem;
      }

      [dir="rtl"] .timeline-item::before {
          right: -1rem;
      }
  }

  /* Print styles */
  @media print {
      #matrix-canvas,
      .scanlines,
      #loader-overlay,
      .navbar,
      .admin-sidebar,
      .admin-menu-toggle,
      .footer {
          display: none !important;
      }

      .main-content {
          padding-top: 0;
          margin-left: 0 !important;
          margin-right: 0 !important;
      }

      body {
          background: #fff;
          color: #000;
      }

      .card,
      .post-content {
          break-inside: avoid;
      }
  }

  /* Accessibility - Reduced motion */
  @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
      }

      .radar-sweep {
          animation: none;
      }

      .radar-dot {
          animation: none;
          opacity: 1;
      }
  }

  /* Focus visible for keyboard navigation */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  select:focus-visible {
      outline: 2px solid var(--accent-red);
      outline-offset: 2px;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
  }

  ::-webkit-scrollbar-track {
      background: var(--bg-secondary);
  }

  ::-webkit-scrollbar-thumb {
      background: var(--border-color);
      border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
      background: var(--text-muted);
  }

