    body {
      background-color: #f3f6f9;
      min-height: 100vh;
      transition: background 0.2s, color 0.2s;
    }

    .main-container {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: flex-start;
      gap: 40px;
      max-width: 1080px;
      margin: 60px auto 0 auto;
      padding: 0 12px;
    }

    .profile-col {
      flex: 1 1 330px;
      min-width: 320px;
      max-width: 390px;
      order: 1;
    }

    .links-col {
      flex: 1 1 360px;
      min-width: 320px;
      max-width: 450px;
      order: 2;
    }

    .profile-card {
      background: #fff;
      border-radius: 24px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 1.5px 6px rgba(0, 0, 0, 0.04);
      padding: 48px 36px 36px 36px;
      text-align: center;
      transition: background 0.2s, color 0.2s;
    }

    .avatar {
      width: 128px;
      height: 128px;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 24px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
      border: 4px solid #f3f6f9;
      transition: border 0.2s;
    }

    .profile-name {
      font-size: 1.7rem;
      font-weight: 500;
      color: #222;
      margin-bottom: 8px;
      transition: color 0.2s;
    }

    .profile-role {
      font-size: 1.05rem;
      color: #6080a7;
      margin-bottom: 22px;
      transition: color 0.2s;
    }

    .social-row {
      margin-bottom: 28px;
    }

    .social-btn {
      width: 44px;
      height: 44px;
      background: #fff;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 0 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
      font-size: 1.5rem;
      border: none;
      transition: background 0.2s, color 0.2s;
    }

    .social-btn.linkedin {
      color: #0A66C2;
    }

    .social-btn.github {
      color: #1b1f23;
    }

    .social-btn:hover {
      transform: translateY(-3px) scale(1.10);
      background: #f3f6f9;
    }

    .btn-main {
      min-width: 220px;
      font-size: 1.08rem;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
      margin: 0 16px;
      padding: 10px 0;
      transition: background 0.2s, color 0.2s;
    }

    .resources-section {
      margin: 0;
      margin-bottom: 22px;

    }

    .resource-card {
      background: #f8fafd;
      border-radius: 12px;
      border: 1px solid #e2e7ef;
      margin-bottom: 18px;
      padding: 18px 22px 12px 22px;
      text-align: center;
      transition: background 0.2s, border 0.2s;
    }

    .resource-title {
      font-weight: 700;
      font-size: 1.14rem;
      margin-bottom: 2px;
    }

    .resource-desc {
      font-size: 0.98rem;
      color: #6c788b;
      margin-bottom: 0;
    }

    .resource-link {
      color: inherit;
      text-decoration: none;
      display: block;
    }

    .resource-link:hover .resource-card {
      background: #f1f4fa;
      border: 1.5px solid #b6cffb;
      box-shadow: 0 2px 16px #d8e7fd77;
    }

    .pagination-custom {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
      margin: 18px 0 0 0;
    }

    .page-btn-custom {
      background: none;
      border: none;
      color: #2176ff;
      padding: 4px 16px;
      font-size: 1rem;
      font-weight: 500;
      border-radius: 5px;
      transition: background 0.18s, color 0.18s;
    }

    .page-btn-custom:disabled {
      color: #aaa;
      cursor: not-allowed;
    }

    .page-info-custom {
      background: #e9ecef;
      border-radius: 6px;
      padding: 5px 20px;
      font-size: 1rem;
      color: #212529;
      min-width: 150px;
      text-align: center;
      font-weight: 500;
    }

    /* --- Mobile --- */
    @media (max-width: 991px) {
      .main-container {
        flex-direction: column;
        max-width: 99vw;
        gap: 26px;
        margin: 24px auto 0 auto;
      }

      .profile-col {
        order: 1;
      }

      .links-col {
        order: 2;
      }

      .links-col,
      .profile-col {
        max-width: 99vw;
        min-width: 0;
        flex: 1 1 99vw;
      }
    }

    @media (max-width: 540px) {
      .profile-card {
        padding: 30px 7px;
      }

      .btn-main {
        margin: 8px 0;
        width: 100%;
      }

      .main-container {
        padding: 0 2vw;
      }
    }

    /* --- Dark Mode --- */
    body.dark-mode {
      background-color: #1b1e23 !important;
      color: #f3f6f9 !important;
    }

    body.dark-mode .profile-card {
      background: #22252c !important;
      color: #f3f6f9 !important;
    }

    body.dark-mode .profile-name {
      color: #fff !important;
    }

    body.dark-mode .profile-role {
      color: #90a4c0 !important;
    }

    body.dark-mode .social-btn {
      background: #242731 !important;
      color: #e2e6ed !important;
    }

    body.dark-mode .btn-main {
      background: #2e3241 !important;
      color: #f3f6f9 !important;
    }

    body.dark-mode .social-btn.linkedin {
      color: #6ea8ff !important;
    }

    body.dark-mode .social-btn.github {
      color: #ddd !important;
    }

    body.dark-mode .avatar {
      border: 4px solid #22252c !important;
    }

    body.dark-mode .btn-main:hover {
      background: #404356 !important;
      color: #fff !important;
    }

    body.dark-mode .resources-section {
      background: none;
    }

    body.dark-mode .resource-card {
      background: #21232a !important;
      border: 1px solid #343747 !important;
      color: #dde8ff;
    }

    body.dark-mode .resource-desc {
      color: #a0aec8;
    }

    body.dark-mode .resource-link:hover .resource-card {
      background: #191a22 !important;
      border: 1.5px solid #648fff !important;
      box-shadow: 0 2px 18px #32447433;
    }

    body.dark-mode .pagination-custom {
      background: none;
    }

    body.dark-mode .page-info-custom {
      background: #232634;
      color: #f1f1f2;
    }

    body.dark-mode .page-btn-custom {
      color: #7eb3ff;
    }

    body.dark-mode .page-btn-custom:disabled {
      color: #484b59;
    }
