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

  :root {
      --bg: #000;
      --surface: #121212;
      --surface2: #1c1c1c;
      --border: #262626;
      --text: #f5f5f5;
      --muted: #a8a8a8;
      --accent: #0095f6;
      --heart: #ff3040;
  }

  body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Nunito', -apple-system, sans-serif;
      font-size: 14px;
      display: flex;
      min-height: 100vh;
  }

  /* ── LEFT SIDEBAR ── */
  .sidebar {
      width: 72px;
      background: var(--bg);
      border-right: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px 0;
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      z-index: 100;
      gap: 8px;
  }

  .sidebar .logo {
      margin-bottom: 16px;
      width: 28px;
      height: 28px;
  }

  .sidebar .logo svg {
      width: 28px;
      height: 28px;
      fill: var(--text);
  }

  .nav-item {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--muted);
      transition: background 0.15s, color 0.15s;
      position: relative;
  }

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

  .nav-item.active {
      color: var(--text);
  }

  .nav-item svg {
      width: 24px;
      height: 24px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
  }

  .badge {
      position: absolute;
      top: 6px;
      right: 6px;
      background: var(--heart);
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid var(--bg);
  }

  .sidebar .avatar-sm {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
      padding: 2px;
      margin-top: auto;
      cursor: pointer;
  }

  .sidebar .avatar-sm img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--bg);
      background: #555;
      display: block;
  }

  /* ── MAIN FEED ── */
  .main {
      margin-left: 72px;
      flex: 1;
      display: flex;
      justify-content: center;
      padding: 0 24px;
      gap: 32px;
  }

  .feed-col {
      width: 468px;
      padding: 24px 0 60px;
  }

  /* Stories */
  .stories {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 16px;
      display: flex;
      gap: 16px;
      overflow-x: auto;
      margin-bottom: 24px;
      scrollbar-width: none;
  }

  .stories::-webkit-scrollbar {
      display: none;
  }

  .story-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      flex-shrink: 0;
  }

  .story-ring {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
      padding: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .story-ring.seen {
      background: var(--border);
  }

  .story-ring .inner {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      border: 2px solid var(--bg);
      background: var(--surface2);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      font-size: 20px;
  }

  .story-item span {
      font-size: 11px;
      color: var(--muted);
      white-space: nowrap;
      max-width: 60px;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center;
  }

  .add-story .story-ring {
      background: var(--surface2);
      border: 1px dashed var(--border);
  }

  .add-story .inner {
      color: var(--accent);
      font-size: 24px;
      font-weight: 300;
      background: var(--surface);
  }

  /* Post card */
  .post {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      margin-bottom: 24px;
      overflow: hidden;
      animation: fadeUp 0.4s ease both;
  }

  @keyframes fadeUp {
      from {
          opacity: 0;
          transform: translateY(12px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  .post:nth-child(2) {
      animation-delay: 0.05s;
  }

  .post:nth-child(3) {
      animation-delay: 0.10s;
  }

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

  .post-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, #f09433, #bc1888);
      padding: 2px;
      flex-shrink: 0;
      cursor: pointer;
  }

  .post-avatar .inner {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: var(--surface2);
      border: 2px solid var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      overflow: hidden;
  }

  .post-avatar.seen {
      background: var(--border);
  }

  .post-meta {
      flex: 1;
  }

  .post-meta .uname {
      font-weight: 700;
      font-size: 13px;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 4px;
  }

  .post-meta .uname .verified {
      width: 14px;
      height: 14px;
      background: var(--accent);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
  }

  .post-meta .uname .verified svg {
      width: 8px;
      height: 8px;
      fill: #fff;
  }

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

  .post-menu {
      color: var(--muted);
      cursor: pointer;
      padding: 4px;
      border-radius: 50%;
      transition: background 0.15s;
  }

  .post-menu:hover {
      background: var(--surface2);
  }

  .post-menu svg {
      width: 20px;
      height: 20px;
      fill: var(--muted);
  }

  /* Post image */
  .post-img {
      width: 100%;
      aspect-ratio: 1;
      background: var(--surface2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 80px;
      user-select: none;
      position: relative;
      overflow: hidden;
  }

  .post-img .img-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  /* Scholarship card inside post */
  .schol-card {
      width: 100%;
      height: 100%;
      background: #fff;
      display: flex;
      flex-direction: column;
      font-family: Arial, sans-serif;
  }

  .schol-top {
      background: linear-gradient(135deg, #006c35, #004d26);
      padding: 18px 20px 14px;
      position: relative;
      overflow: hidden;
  }

  .schol-top::after {
      content: '';
      position: absolute;
      top: -20px;
      right: -20px;
      width: 100px;
      height: 100px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 50%;
  }

  .schol-flag {
      background: #fff;
      color: #006c35;
      font-size: 10px;
      font-weight: bold;
      padding: 2px 8px;
      border-radius: 20px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      margin-bottom: 8px;
  }

  .schol-title {
      color: #f5c842;
      font-size: 15px;
      font-weight: 800;
      line-height: 1.2;
  }

  .schol-title span {
      color: #fff;
  }

  .schol-badge {
      background: #f5c842;
      color: #006c35;
      font-size: 10px;
      font-weight: bold;
      padding: 2px 8px;
      border-radius: 20px;
      margin-left: 6px;
  }

  .schol-body {
      flex: 1;
      padding: 12px 16px;
      font-size: 11px;
      color: #333;
      line-height: 1.6;
  }

  .schol-section {
      background: #006c35;
      color: #fff;
      font-size: 11px;
      font-weight: bold;
      padding: 5px 16px;
  }

  .schol-details {
      padding: 8px 16px;
      font-size: 11px;
      color: #333;
  }

  .schol-details div {
      padding: 2px 0;
  }

  .schol-details strong {
      color: #000;
  }

  .schol-benefits {
      padding: 6px 16px 10px;
      font-size: 11px;
      color: #333;
  }

  .schol-benefits ul {
      padding-left: 14px;
      line-height: 1.9;
  }

  .apply-red {
      color: #c0392b;
      font-size: 13px;
      font-weight: 800;
      text-align: right;
      padding-right: 16px;
      padding-bottom: 8px;
  }

  /* Post actions */
  .post-actions {
      padding: 8px 12px 4px;
      display: flex;
      align-items: center;
      gap: 4px;
  }

  .action-btn {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border-radius: 50%;
      transition: background 0.15s, transform 0.1s;
      color: var(--text);
  }

  .action-btn:hover {
      background: var(--surface2);
  }

  .action-btn:active {
      transform: scale(0.88);
  }

  .action-btn svg {
      width: 22px;
      height: 22px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
  }

  .action-btn.liked svg {
      stroke: var(--heart);
      fill: var(--heart);
  }

  .action-btn.saved svg {
      fill: var(--text);
  }

  .spacer {
      flex: 1;
  }

  .post-likes {
      padding: 0 16px 6px;
      font-size: 13px;
      font-weight: 700;
  }

  .post-caption {
      padding: 0 16px 8px;
      font-size: 13px;
      line-height: 1.5;
      color: var(--text);
  }

  .post-caption .uname2 {
      font-weight: 700;
      margin-right: 4px;
  }

  .post-caption .more {
      color: var(--muted);
      cursor: pointer;
  }

  .post-comments {
      padding: 0 16px 4px;
      color: var(--muted);
      font-size: 13px;
      cursor: pointer;
  }

  .comment-box {
      display: flex;
      align-items: center;
      padding: 8px 16px 12px;
      gap: 10px;
      border-top: 1px solid var(--border);
  }

  .comment-box .cavatar {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--surface2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      flex-shrink: 0;
  }

  .comment-box input {
      flex: 1;
      background: none;
      border: none;
      outline: none;
      color: var(--muted);
      font-size: 13px;
      font-family: inherit;
  }

  .comment-box input::placeholder {
      color: var(--border);
  }

  .comment-box .post-btn {
      color: var(--accent);
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
  }

  .post-time {
      padding: 0 16px 10px;
      font-size: 10px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
  }

  /* ── RIGHT SIDEBAR ── */
  .right-sidebar {
      width: 320px;
      padding: 24px 0;
      flex-shrink: 0;
  }

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

  .profile-row .av {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, #f09433, #bc1888);
      padding: 2px;
  }

  .profile-row .av .inner img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: #444;
      border: 2px solid var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
  }

  .profile-row .info {
      flex: 1;
  }

  .profile-row .info .name {
      font-weight: 700;
      font-size: 13px;
  }

  .profile-row .info .handle {
      color: var(--muted);
      font-size: 12px;
  }

  .profile-row .switch-btn {
      color: var(--accent);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
  }

  .section-label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
  }

  .section-label span:first-child {
      font-weight: 700;
      font-size: 13px;
      color: var(--muted);
  }

  .section-label .see-all {
      font-size: 12px;
      font-weight: 700;
      color: var(--text);
      cursor: pointer;
  }

  .suggest-item {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
  }

  .suggest-av {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--surface2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      flex-shrink: 0;
      overflow: hidden;
      border: 1px solid var(--border);
  }

  .suggest-info {
      flex: 1;
  }

  .suggest-info .sname {
      font-size: 13px;
      font-weight: 700;
  }

  .suggest-info .sreason {
      font-size: 11px;
      color: var(--muted);
  }

  .follow-btn {
      color: var(--accent);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
  }

  .follow-btn:hover {
      color: #fff;
  }

  .footer-links {
      margin-top: 24px;
      font-size: 10px;
      color: var(--muted);
      line-height: 2;
  }

  .footer-links a {
      color: var(--muted);
      text-decoration: none;
      margin-right: 6px;
  }

  .footer-links a:hover {
      text-decoration: underline;
  }

  .footer-copy {
      font-size: 10px;
      color: var(--muted);
      margin-top: 8px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
  }

  /* scrollbar */
  ::-webkit-scrollbar {
      width: 4px;
  }

  ::-webkit-scrollbar-track {
      background: transparent;
  }

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

  @media (max-width: 1000px) {
      .right-sidebar {
          display: none;
      }
  }

  @media (max-width: 640px) {
      .sidebar {
          width: 48px;
      }

      .main {
          margin-left: 48px;
      }
  }